/* 어쩌다 계정 — 어쩌다 타로의 밤하늘·금빛 토큰과 로그인 버튼 규격을 그대로 쓴다 */
:root {
  --bg: #0d1028; --line: rgba(226, 185, 107, 0.3); --gold: #e2b96b; --gold-soft: #f3dca8; --gold-hot: #ffd98a;
  --text: #ecebf7; --muted: #a3a6c9;
  --font-head: 'Gowun Batang', 'Noto Serif KR', serif;
  --font-body: 'Gowun Dodum', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; background: radial-gradient(120% 70% at 50% 0%, #1d2257 0%, var(--bg) 60%); color: var(--text); font-family: var(--font-body); line-height: 1.65; word-break: keep-all; }
button { font: inherit; color: inherit; }
a { color: var(--gold-soft); }
.wrap { max-width: 440px; margin: 0 auto; padding: 36px 16px 40px; }
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 28px; font-family: var(--font-head); color: var(--gold-soft); font-size: 1.35rem; }
.moon { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset -6px -2px 0 0 var(--gold); transform: rotate(-20deg); }
h2 { margin: 0; text-align: center; font-family: var(--font-head); color: var(--gold-soft); font-size: 1.3rem; }
.eyebrow { margin: 0 0 4px; text-align: center; color: var(--gold); font-size: .85rem; letter-spacing: .12em; }
.sub { margin: 6px 0 18px; text-align: center; color: var(--muted); font-size: .9rem; }
.buttons { display: grid; gap: 10px; }
.provider { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 0; border-radius: 12px; font-weight: 700; font-size: .98rem; cursor: pointer; }
.provider img { width: 20px; height: 20px; object-fit: contain; }
.provider:disabled { opacity: .45; cursor: default; }
.provider-apple { background: #000; color: #fff; }
.provider-naver { background: #03a94d; color: #fff; }
.provider-kakao { background: #fee500; color: rgba(0,0,0,.85); }
.provider-google { background: #fff; border: 1px solid #747775; color: #1f1f1f; }
.provider-dev { background: transparent; border: 1px dashed var(--line); color: var(--gold-soft); }
:is(.provider, .ghost, .back):focus-visible { outline: 2px solid var(--gold-hot); outline-offset: 3px; }
.ghost { display: block; width: 100%; min-height: 48px; margin-top: 10px; cursor: pointer; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.04); color: var(--gold-soft); font-size: .95rem; }
.back { display: block; margin: 18px 0 0; text-align: center; font-size: .9rem; }
.back[hidden] { display: none; }
.error { margin: 0 0 12px; color: #ff9a92; font-size: .88rem; text-align: center; }
.error[hidden] { display: none; }
.fine { margin: 24px 0 0; color: var(--muted); font-size: .78rem; text-align: center; line-height: 1.5; }
.toast { position: fixed; left: 50%; top: 50%; z-index: 90; transform: translate(-50%, -50%); max-width: min(86vw, 340px); padding: 12px 18px; border-radius: 12px; background: rgba(17,17,17,.92); color: #fff; font-size: .9rem; text-align: center; }
.toast[hidden], section[hidden], [hidden] { display: none !important; }
