/* 로그인 게이트는 배경을 흐리고 1.1배 확대한다. body 만 hidden 이면 html 이 visible 이라
   확대분(좌우 각 21px)이 가로 스크롤로 새어 나가 비로그인 화면이 옆으로 끌린다. */
html, body { overflow: hidden; }
.wrapper {filter:blur(6px);}
.wrapper.lm-still *, .wrapper.lm-still *::before, .wrapper.lm-still *::after { animation-play-state: paused !important; transition: none !important; }

#loginModal {
	--lm-panel: #141210;
	--lm-panel-2: #1b1815;
	--lm-line: rgba(212,175,55,.22);
	--lm-line-soft: rgba(212,175,55,.12);
	--lm-gold: #d4af37;
	--lm-gold-hi: #f1d67e;
	--lm-gold-deep: #9a7b1e;
	--lm-ink: #efe9dc;
	--lm-ink-dim: #9d968a;
	--lm-ink-faint: #6b655b;
	--lm-danger: #e06a5a;
	--lm-ok: #8fc98f;
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	color: var(--lm-ink);
}
#loginModal, #loginModal *, #loginModal *::before, #loginModal *::after { box-sizing: border-box; }

.lm-overlay {
	position: fixed; inset: 0; z-index: 2147483300;
	display: flex; align-items: center; justify-content: center;
	background-color: rgba(7,6,5,.88);
	background-image:
		radial-gradient(1200px 600px at 50% -10%, rgba(212,175,55,.08), transparent 60%),
		radial-gradient(800px 500px at 90% 110%, rgba(212,175,55,.05), transparent 60%);
	overflow: hidden;
}
.lm-modal-wrap { position: absolute; top: calc(var(--lm-top, 0px) + var(--lm-fit, var(--lm-vh, 100%)) / 2); transform: translateY(-50%); z-index: 1; width: 440px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; align-items: center; transition: opacity .3s ease, transform .3s ease; }
.lm-modal {
	position: relative;
	width: 100%; max-height: calc(var(--lm-fit, var(--lm-vh, 100vh)) - 48px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
	background: var(--lm-panel);
	border: 1px solid var(--lm-line);
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4);
	box-sizing: border-box;
	animation: lmCardIn .6s cubic-bezier(.22,.9,.28,1);
}
.lm-modal::before {
	content: ''; display: block; position: sticky; top: 0; z-index: 5; height: 2px;
	background: linear-gradient(90deg, transparent, var(--lm-gold-hi) 30%, var(--lm-gold) 50%, var(--lm-gold-hi) 70%, transparent);
	opacity: .9;
}
.lm-modal.shake { animation: lmShake .4s ease; }
@keyframes lmCardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lmShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }

.lm-mote { position: absolute; bottom: -8px; border-radius: 50%; background: var(--lm-gold-hi); opacity: 0; pointer-events: none; z-index: 0; animation: lmRise linear infinite; }
@keyframes lmRise { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .3; } 85% { opacity: .1; } 100% { transform: translateY(-105vh); opacity: 0; } }

.lm-head { padding: 22px 24px 0; text-align: center; }
.lm-crest {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11px; letter-spacing: .28em; color: var(--lm-gold);
	border: 1px solid var(--lm-line); border-radius: 999px;
	padding: 6px 16px 6px 18px; background: rgba(212,175,55,.05);
}
.lm-crest::before, .lm-crest::after { content: ''; width: 14px; height: 1px; background: var(--lm-line); }
.lm-logo {
	margin-top: 12px;
	font-family: 'Noto Serif KR', 'Nanum Myeongjo', Georgia, 'Times New Roman', serif;
	font-weight: 600; font-size: 1.5rem; letter-spacing: .32em; text-indent: .32em;
	background: linear-gradient(105deg, var(--lm-gold-deep), var(--lm-gold-hi) 40%, var(--lm-gold) 60%, var(--lm-gold-deep));
	background-size: 220% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: lmSheen 7s ease-in-out infinite;
}
@keyframes lmSheen { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.lm-head-sub { margin: 8px 0 0; font-size: 13px; color: var(--lm-ink-dim); }

.lm-tabs { position: relative; display: flex; margin: 16px 24px 0; border-bottom: 1px solid var(--lm-line-soft); }
.lm-tab { flex: 1; background: none; border: none; cursor: pointer; padding: 12px 4px 13px; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--lm-ink-faint); transition: color .25s; }
.lm-tab.active { color: var(--lm-gold-hi); }
.lm-tab-bar {
	position: absolute; bottom: -1px; left: 0; width: 50%; height: 2px; pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--lm-gold-hi) 30%, var(--lm-gold) 50%, var(--lm-gold-hi) 70%, transparent);
	box-shadow: 0 0 12px rgba(241,214,126,.5);
	transition: left .35s cubic-bezier(.4,0,.2,1);
}
.lm-tabs:has(.lm-tab:nth-of-type(2).active) .lm-tab-bar { left: 50%; }

.lm-body { padding: 18px 24px 22px; }
.lm-panel { display: none; }
.lm-panel.active { display: block; animation: lmScrIn .35s ease; }
@keyframes lmScrIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.lm-foot { border-top: 1px solid var(--lm-line-soft); padding: 13px; text-align: center; font-size: 11px; letter-spacing: .14em; color: var(--lm-ink-faint); }
.lm-foot b { color: var(--lm-gold); font-weight: 600; }

#loginModal label { display: flex; align-items: center; justify-content: unset; font-size: 12px; font-weight: 500; color: var(--lm-ink-dim); margin-bottom: 6px; letter-spacing: .3px; }
#loginModal input { max-width: 100%; }
#loginModal input[type=text], #loginModal input[type=password], #loginModal input[type=email] {
	width: 100%;
	height: 40px;
	padding: 0 14px;
	background: var(--lm-panel-2);
	border: 1px solid var(--lm-line-soft);
	border-radius: 11px;
	font-family: inherit;
	font-size: 13px;
	color: var(--lm-ink);
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
#panelLogin { padding-top: 2px; }
#panelLogin input[type=text], #panelLogin input[type=password], #panelLogin input[type=email] { height: 46px; font-size: 14px; }
#panelLogin .lm-field { margin-bottom: 14px; }
#loginModal input::placeholder { color: var(--lm-ink-faint); }
#loginModal input[type=text]:focus, #loginModal input[type=password]:focus, #loginModal input[type=email]:focus {
	border-color: var(--lm-gold); box-shadow: 0 0 0 3px rgba(212,175,55,.12);
}
#loginModal input:-webkit-autofill, #loginModal input:-webkit-autofill:hover, #loginModal input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--lm-ink);
	-webkit-box-shadow: 0 0 0 1000px var(--lm-panel-2) inset;
	caret-color: var(--lm-ink);
	transition: background-color 9999s ease-in-out 0s;
}

.lm-input-wrap { position: relative; }
.lm-input-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--lm-ink-faint); pointer-events: none; transition: color .2s; }
.lm-input-wrap input { padding-left: 38px !important; }
.lm-input-wrap input:focus + svg { color: var(--lm-gold); }

.lm-field { margin-bottom: 8px; }

.lm-submit, .lm-auth-btn {
	position: relative; overflow: hidden;
	width: 100%; height: 52px; border: none; border-radius: 13px;
	font-family: inherit; font-size: 15.5px; font-weight: 800; letter-spacing: .01em;
	color: #17130c;
	background: linear-gradient(120deg, var(--lm-gold-deep), var(--lm-gold) 40%, var(--lm-gold-hi) 60%, var(--lm-gold));
	background-size: 200% 100%;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(212,175,55,.25), inset 0 1px 0 rgba(255,255,255,.35);
	transition: background-position .5s, transform .1s, box-shadow .3s;
}
.lm-submit { margin-top: 4px; }
.lm-submit:hover, .lm-auth-btn:hover {
	background-position: 100% 0;
	box-shadow: 0 10px 34px rgba(212,175,55,.45), 0 0 60px rgba(212,175,55,.12), inset 0 1px 0 rgba(255,255,255,.4);
}
.lm-submit:active, .lm-auth-btn:active { transform: translateY(1px); }
.lm-submit:disabled, .lm-auth-btn:disabled { opacity: .5; cursor: default; box-shadow: none; }
.lm-submit span, .lm-auth-btn span { position: relative; z-index: 1; }
.lm-submit::after, .lm-auth-btn::after {
	content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent) -80px 0 / 60px 100% no-repeat;
	transform: skewX(-20deg); pointer-events: none;
	animation: lmBtnSheen 3.8s ease-in-out infinite;
}
@keyframes lmBtnSheen { 0%,70% { transform: translateX(0) skewX(-20deg); } 85%,100% { transform: translateX(calc(100% + 120px)) skewX(-20deg); } }

.lm-find { display: block; text-align: center; padding-top: 12px; font-size: 12px; color: var(--lm-ink-faint); line-height: 1.6; text-decoration: none; }
.lm-find.lg { padding-top: 14px; }
.lm-find-toggle { color: var(--lm-ink-faint); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lm-find-toggle:hover { color: var(--lm-ink-dim); }
.lm-find-box { margin-top: 12px; padding: 16px; background: rgba(212,175,55,.04); border: 1px solid var(--lm-line-soft); border-radius: 12px; }
.lm-find-actions { display: flex; gap: 8px; margin-top: 6px; }
.lm-find-btn { flex: 1; height: 42px; background: rgba(255,255,255,.03); color: var(--lm-ink-dim); border: 1px solid var(--lm-line-soft); border-radius: 11px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.lm-find-btn:hover { background: rgba(212,175,55,.08); color: var(--lm-ink); }
.lm-find-btn.primary { background: linear-gradient(120deg, var(--lm-gold-deep), var(--lm-gold) 45%, var(--lm-gold-hi)); color: #17130c; border: none; box-shadow: 0 6px 18px rgba(212,175,55,.25); }
.lm-find-msg { font-size: 12px; margin-top: 10px; text-align: center; color: var(--lm-ink-dim); }
.lm-find-msg:empty { margin-top: 0; }
.lm-find-msg.ok { color: var(--lm-ok); }
.lm-find-msg.err { color: var(--lm-danger); }

.lm-error { background: rgba(224,106,90,.1); border: 1px solid rgba(224,106,90,.34); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: #ea9382; margin-bottom: 10px; display: none; text-align: center; line-height: 1.55; }

.rg-steps { display: flex; align-items: center; justify-content: center; margin: 0 0 16px; }
.rg-step { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--lm-ink-faint); }
.rg-step .n { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; border: 1px solid var(--lm-line-soft); color: var(--lm-ink-faint); }
.rg-step.done { color: var(--lm-ink-dim); }
.rg-step.done .n { background: rgba(212,175,55,.08); border-color: var(--lm-line); color: var(--lm-gold); }
.rg-step.now { color: var(--lm-gold-hi); font-weight: 600; }
.rg-step.now .n { background: linear-gradient(135deg, var(--lm-gold-deep), var(--lm-gold)); border-color: var(--lm-gold); color: #141210; box-shadow: 0 0 14px rgba(212,175,55,.4); }
.rg-step-bar { width: 24px; height: 1px; background: var(--lm-line-soft); margin: 0 8px; }

.lm-verify {
	position: relative; overflow: hidden;
	border: 1px solid var(--lm-line-soft); border-radius: 14px;
	background: linear-gradient(180deg, rgba(212,175,55,.05), transparent);
	padding: 20px 18px 18px; margin-bottom: 16px; text-align: center;
}
.lm-verify::after {
	content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%;
	background: linear-gradient(100deg, transparent, rgba(241,214,126,.05), transparent);
	animation: lmVSweep 6s ease-in-out infinite; pointer-events: none;
}
@keyframes lmVSweep { 0%,55% { transform: translateX(0); } 100% { transform: translateX(380%); } }
.lm-verify-shield {
	width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%;
	display: grid; place-items: center; color: var(--lm-gold-hi);
	border: 1px solid var(--lm-line); background: rgba(212,175,55,.06);
	position: relative;
}
.lm-verify-shield::after {
	content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
	box-shadow: 0 0 22px rgba(212,175,55,.35);
	animation: lmShield 3s ease-in-out infinite;
}
@keyframes lmShield { 0%,100% { opacity: 0; } 50% { opacity: 1; } }
.lm-verify-shield svg { width: 20px; height: 20px; }
.lm-verify h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.6; color: var(--lm-ink); }
.lm-verify p { margin: 6px 0 0; font-size: 12.5px; color: var(--lm-ink-dim); line-height: 1.6; }
.lm-verify p b { color: var(--lm-gold-hi); font-weight: 700; }

#loginModal .rg-ref-chip {
	color: var(--lm-gold-hi) !important;
	background: rgba(212,175,55,.06) !important;
	border: 1px solid var(--lm-line) !important;
}

.lm-terms-box { max-height: 90px; overflow-y: auto; padding: 12px; border: 1px solid var(--lm-line-soft); border-radius: 11px; background: rgba(255,255,255,.02); font-size: 12px; color: var(--lm-ink-dim); line-height: 1.6; margin: 8px 0 0; }
.lm-terms-box .policy { font-size: 12px; color: var(--lm-ink-dim); }
.lm-terms-box b, .lm-terms-box strong { color: var(--lm-gold-hi); }

.rg-purge-note { margin: 10px 0 2px; padding: 10px 12px; border: 1px solid var(--lm-line-soft); background: rgba(212,175,55,.04); border-radius: 10px; font-size: 12px; line-height: 1.6; color: var(--lm-ink-dim); text-align: center; }
.rg-purge-note b { color: var(--lm-ink-dim); font-weight: 600; }
.rg-purge-note em { color: var(--lm-gold-hi); font-weight: 800; font-style: normal; }
.rg-purge-note i { color: var(--lm-danger); font-weight: 800; font-style: normal; }

.lm-auth-loading { text-align: center; padding: 24px 16px; display: none; }
.lm-spinner { width: 38px; height: 38px; border: 3px solid var(--lm-line-soft); border-top-color: var(--lm-gold); border-radius: 50%; animation: lm-spin .75s linear infinite; margin: 0 auto 14px; }
@keyframes lm-spin { to { transform: rotate(360deg); } }
.lm-auth-loading p { font-size: 13px; color: var(--lm-ink-dim); margin: 0; }

.lm-fx { position: fixed; inset: 0; z-index: 3; pointer-events: none; }

.lm-overlay.gating .lm-modal-wrap { opacity: 0; transform: translateY(-50%) scale(.97); pointer-events: none; }

.lm-gate { position: fixed; inset: 0; z-index: 2; display: none; }
.lm-gate.run { display: block; }
.lm-gate-veil { position: absolute; inset: 0; z-index: 0; background: #0a0908; opacity: 0; }
.lm-gate.run .lm-gate-veil { animation: lmVeilIn .3s ease forwards; }
@keyframes lmVeilIn { to { opacity: 1; } }
.lm-gate-door { position: absolute; top: 0; bottom: 0; z-index: 1; background: linear-gradient(180deg, #0c0a08, #12100c 50%, #0c0a08); }
.lm-gate-door.l { left: -1px; right: 50%; border-right: 1px solid var(--lm-gold); box-shadow: inset -40px 0 80px rgba(212,175,55,.08); --lm-from: -101%; }
.lm-gate-door.r { right: -1px; left: 50%; border-left: 1px solid var(--lm-gold); box-shadow: inset 40px 0 80px rgba(212,175,55,.08); --lm-from: 101%; }
.lm-gate.run .lm-gate-door { animation: lmDoorClose .45s ease-out forwards; }
.lm-gate.run.open .lm-gate-door.l { animation: lmDoorOpenL 1.4s cubic-bezier(.7,0,.2,1) forwards; }
.lm-gate.run.open .lm-gate-door.r { animation: lmDoorOpenR 1.4s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes lmDoorClose { from { transform: translateX(var(--lm-from)); } to { transform: translateX(0); } }
@keyframes lmDoorOpenL { from { transform: translateX(0); } to { transform: translateX(-101%); } }
@keyframes lmDoorOpenR { from { transform: translateX(0); } to { transform: translateX(101%); } }
.lm-gate-seam {
	position: absolute; top: 0; bottom: 0; left: 50%; z-index: 1; width: 2px; margin-left: -1px; opacity: 0; filter: blur(.5px);
	background: linear-gradient(180deg, transparent, var(--lm-gold-hi) 30%, var(--lm-gold) 50%, var(--lm-gold-hi) 70%, transparent);
}
.lm-gate.run .lm-gate-seam { animation: lmSeamIn .9s ease-in-out .35s forwards; }
.lm-gate.run.open .lm-gate-seam { animation: lmSeamOut .35s ease forwards; }
@keyframes lmSeamIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes lmSeamOut { from { opacity: 1; } to { opacity: 0; } }
.lm-gate-msg { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.lm-gate-msg .p {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
	padding: 26px 46px; border-radius: 22px;
	background: radial-gradient(ellipse at center, #0c0a08 0 46%, rgba(12,10,8,.9) 72%, rgba(12,10,8,0) 100%);
}
.lm-gate.run .lm-gate-msg { animation: lmMsgIn .8s ease .5s forwards; }
.lm-gate.run.open .lm-gate-msg { animation: lmMsgOut .5s ease forwards; }
@keyframes lmMsgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes lmMsgOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(1.04); } }
.lm-gate-msg .c { font-size: 11px; letter-spacing: .4em; color: var(--lm-gold); }
.lm-gate-msg .w {
	font-size: 24px; font-weight: 800; letter-spacing: .02em;
	background: linear-gradient(120deg, var(--lm-gold-deep), var(--lm-gold-hi) 45%, var(--lm-gold));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.lm-gate-msg .s { font-size: 12px; color: var(--lm-ink-dim); letter-spacing: .08em; }


#loginModal [hidden] { display: none !important; }
.lm-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.lm-agree { margin: 12px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--lm-ink-faint); text-align: center; }
.lm-agree-more { display: flex; justify-content: center; gap: 16px; margin-top: 6px; }
.lm-agree-btn { border: none; background: none; padding: 0; font-family: inherit; font-size: 11.5px; color: var(--lm-ink-dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lm-agree-btn.on { color: var(--lm-gold-hi); }

.rg-pin, .lm-offer { text-align: center; }
.lm-pin-id, .lm-pin-ask, .lm-safe p, .lm-agree, .lm-pl-tip, #loginModal .lm-error { word-break: keep-all; }
.lm-pin-ok { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; color: var(--lm-gold-hi); letter-spacing: -.01em; }
.lm-pin-ok svg { flex: 0 0 auto; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #17130c; background: linear-gradient(135deg, var(--lm-gold-hi), var(--lm-gold-deep)); }
.lm-pin-id { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--lm-ink-dim); }
.lm-pin-id b { display: inline-block; margin: 0 2px; padding: 1px 10px; border: 1px solid var(--lm-line); border-radius: 8px; background: rgba(212,175,55,.07); color: var(--lm-gold-hi); font-weight: 800; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.lm-pin-ask { margin: 4px 0 0; font-size: 13.5px; font-weight: 700; line-height: 1.6; color: var(--lm-ink); }

.lm-pin-cells { display: flex; justify-content: center; gap: 10px; margin: 16px 0 6px; }
.lm-pin-cells i { position: relative; display: grid; place-items: center; width: 48px; height: 56px; border: 1px solid var(--lm-line-soft); border-radius: 13px; background: var(--lm-panel-2); font-style: normal; font-size: 24px; font-weight: 800; color: var(--lm-gold-hi); font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s; }
.lm-pin-cells i.on { border-color: var(--lm-gold); }
.lm-pin-cells i.now { border-color: var(--lm-gold-hi); box-shadow: 0 0 0 3px rgba(212,175,55,.14); }
.lm-pin-cells i.dot::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--lm-gold-hi); box-shadow: 0 0 8px rgba(241,214,126,.5); }
.lm-pin-cells.sm { margin: 0; gap: 8px; }
.lm-pin-cells.sm i { width: 40px; height: 44px; border-radius: 11px; font-size: 20px; }
.lm-pin-cells.sm i.dot::after { width: 10px; height: 10px; }

.lm-safe { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--lm-line-soft); border-radius: 12px; background: rgba(212,175,55,.04); text-align: left; }
.lm-safe svg { flex: 0 0 auto; width: 20px; height: 22px; margin-top: 1px; filter: drop-shadow(0 0 6px rgba(212,175,55,.35)); }
.lm-safe p { margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--lm-ink-dim); }
.lm-safe b { color: var(--lm-gold-hi); font-weight: 800; }

.lm-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; user-select: none; -webkit-user-select: none; }
.lm-pad button { height: 54px; border: 1px solid var(--lm-line-soft); border-radius: 14px; background: linear-gradient(180deg, #1e1b17, #15130f); color: var(--lm-ink); font-family: inherit; font-size: 23px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .12s, border-color .12s, transform .06s; }
.lm-pad button:active { transform: scale(.96); border-color: var(--lm-gold); background: rgba(212,175,55,.16); }
.lm-pad button[data-k=back] { display: grid; place-items: center; color: var(--lm-ink-dim); }
.lm-pad button[data-k=back] svg { width: 24px; height: 24px; }

.lm-pl-title { margin: 0; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--lm-ink-dim); }
.lm-pl-tip { margin: 4px 0 14px; text-align: center; font-size: 11.5px; color: var(--lm-ink-faint); }
.lm-forgot.hot { border-style: solid; border-color: var(--lm-gold); background: rgba(212,175,55,.1); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.lm-pl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lm-pl-label { flex: 0 0 auto; font-size: 12px; color: var(--lm-ink-faint); }
.lm-pl-phone { display: flex; align-items: center; gap: 4px; }
.lm-pl-phone b { font-size: 19px; font-weight: 800; color: var(--lm-ink-dim); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.lm-pl-phone em { font-style: normal; color: var(--lm-ink-faint); }
.lm-pl-cells { display: flex; gap: 3px; }
.lm-pl-cells i { display: grid; place-items: center; width: 22px; height: 34px; border-bottom: 2px solid var(--lm-line); font-style: normal; font-size: 19px; font-weight: 800; color: var(--lm-gold-hi); font-variant-numeric: tabular-nums; transition: border-color .15s; }
.lm-pl-cells i.on { border-color: var(--lm-gold); }
.lm-pl-cells i.now { border-color: var(--lm-gold-hi); box-shadow: 0 2px 0 0 var(--lm-gold-hi); }

.lm-forgot { display: block; width: 100%; margin-top: 12px; padding: 11px 12px; border: 1px dashed var(--lm-line); border-radius: 12px; background: rgba(212,175,55,.03); font-family: inherit; font-size: 12px; color: var(--lm-ink-dim); text-align: center; cursor: pointer; }
.lm-forgot b { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 800; color: var(--lm-gold-hi); }
.lm-forgot b::before { content: '\2794  '; }
.lm-forgot:disabled { opacity: .5; cursor: default; }
.lm-link { display: block; margin: 14px auto 0; padding: 0; border: none; background: none; font-family: inherit; font-size: 11.5px; color: var(--lm-ink-faint); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lm-link:hover { color: var(--lm-ink-dim); }

@media (max-width:999px) {
	.lm-pin-cells i { width: 46px; height: 52px; font-size: 22px; }
	.lm-pad button { height: 50px; font-size: 22px; }
	.wrapper {transform:scale(1.1);}

	.lm-overlay { padding: 16px 0 24px; }
	.lm-modal-wrap { max-width: calc(100vw - 28px); }
	.lm-modal { max-height: calc(var(--lm-fit, var(--lm-vh, 100vh)) - 40px); border-radius: 16px; }
	#loginModal.lm-blind { --lm-fit: min(var(--lm-vh, 100vh), 50vh); }
	.lm-head { padding: 18px 20px 0; }
	.lm-logo { font-size: 1.35rem; }
	.lm-head-sub { font-size: 12px; }
	.lm-tabs { margin: 14px 20px 0; }
	.lm-tab { font-size: 14px; }
	.lm-body { padding: 16px 20px 20px; }
	.lm-find { font-size: 11px; }
	.lm-find.lg { font-size: 12px; }

	.lm-submit, .lm-auth-btn { height: 48px; font-size: 14.5px; }
	.lm-verify h3 { font-size: 13.5px; }
	.lm-verify p { font-size: 12px; }

	#loginModal input[type=text], #loginModal input[type=password], #loginModal input[type=email] { font-size: 13px; }
	#panelLogin input[type=text], #panelLogin input[type=password], #panelLogin input[type=email] { height: 44px; }
	#loginModal label { font-size: 11px; margin-bottom: 4px; padding-top: 0; }
	.lm-error { font-size: 11.5px; }
	.lm-find-btn { font-size: 12px; }
	.lm-find-msg { font-size: 11px; }
	.lm-terms-box { font-size: 11px; max-height: 60px; }

	.lm-terms-box .policy { font-size: 11px; }
	.lm-gate-msg .w { font-size: 21px; }
}

@media (max-width: 480px) {
	.rg-step { font-size: 10.5px; }
	.rg-step-bar { width: 18px; margin: 0 6px; }
	.rg-purge-note { font-size: 11px; }
}

@media (max-height: 720px) {
	.lm-pad { gap: 6px; }
	.lm-pad button { height: 44px; font-size: 20px; }
	.lm-pin-cells { margin: 12px 0 4px; }
	.lm-pin-cells i { height: 46px; }
	.lm-safe { margin-top: 8px; padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	#loginModal *, #loginModal *::before, #loginModal *::after { animation: none !important; }
	.lm-mote, .lm-gate { display: none !important; }
	.lm-spinner { animation: lm-spin 2s linear infinite !important; }
}

