body.login-preview-open { overflow: hidden; }
dialog#login-preview { position: fixed; inset: var(--lp-top,0px) 0 auto; width: 100%; height: var(--lp-height,100dvh); max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: transparent; color: var(--text); box-shadow: none; }
#login-preview::backdrop { background: #020b1385; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
#login-preview > .bottom-nav { position: absolute; }
.lp-panel { position: absolute; inset: 50% 16px auto; transform: translateY(-50%); width: auto; max-width: 420px; max-height: calc(var(--lp-height,100dvh) - 48px); margin-inline: auto; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 28px; background: var(--bg); box-shadow: 0 24px 80px #0004; }
.lp-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.lp-header > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.lp-header .icon-button { width: 36px; height: 36px; }
.lp-header svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lp-content { padding: 8px 28px 28px; text-align: center; }
.lp-logo { display: grid; place-items: center; height: 72px; margin-bottom: 12px; }
.lp-logo img { width: 96px; height: auto; }
.lp-content h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -1px; word-break: keep-all; }
.lp-content > p:not(.lp-preview-note) { margin: 9px 0 24px; font-size: 13px; line-height: 1.6; color: var(--accent); word-break: keep-all; }
.lp-actions { display: grid; gap: 10px; }
.lp-actions button { position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 14px 20px; border: 1px solid transparent; border-radius: 15px; font-size: 14px; font-weight: 650; line-height: 1.4; }
.lp-actions svg { position: absolute; left: 18px; width: 20px; height: 20px; flex-shrink: 0; stroke: none; }
.lp-google { border-color: #dce1e7!important; background: #fff; color: #202124; }
.lp-kakao { background: #fee500; color: #191919; }
.lp-kakao svg, .lp-apple svg, .lp-naver svg { fill: currentColor; }
.lp-apple { border-color: #ffffff30!important; background: #000; color: #fff; }
.lp-naver { background: #03c75a; color: #fff; }
.lp-actions button:disabled { display: grid; grid-template-columns: 20px minmax(0,1fr) auto; gap: 10px; border-color: var(--line)!important; background: var(--surface); color: var(--muted); opacity: 1; cursor: not-allowed; transform: none; }
.lp-actions button:disabled svg { position: static; }
.lp-actions button:disabled .lp-provider-label { min-width: 0; text-align: left; white-space: nowrap; }
.lp-provider-status { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-size: 11px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.lp-preview-note { margin: 20px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; word-break: keep-all; }
@media (max-width: 959px) {
  .lp-panel { top: calc((var(--lp-height,100dvh) - 88px) / 2); max-height: calc(var(--lp-height,100dvh) - 112px - env(safe-area-inset-top)); }
}
@media (max-width: 359px) {
  .lp-panel { left: 12px; right: 12px; border-radius: 24px; }
  .lp-content { padding-inline: 20px; }
  .lp-content h2 { font-size: 23px; }
  .lp-content > p:not(.lp-preview-note) { font-size: 13px; }
  .lp-preview-note { font-size: 9px; }
}
@media (max-height: 540px) {
  .lp-logo { height: 62px; margin-bottom: 6px; }
  .lp-logo img { width: 84px; }
  .lp-content { padding-top: 0; padding-bottom: 20px; }
  .lp-content h2 { font-size: 22px; }
  .lp-content > p:not(.lp-preview-note) { margin-bottom: 18px; }
}
