/* 로그인 · 설정(/settings)과 휴대폰 번호 확인(/auth/phone) 화면. 밤 바탕 위 카드 한 장. */
:root { --gold: #d4af37; --cream: #f3ecdc; --fg: rgba(250,247,238,.78); --muted: rgba(250,247,238,.55); --line: rgba(212,175,55,.25); }
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(900px 500px at 50% -10%, #16263a 0%, transparent 60%), #0e1620;
  color: var(--fg); font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased; min-height: 100vh;
}
a { color: #e3c46f; }
.au { padding: 28px 16px 40px; }
.au-card {
  max-width: 440px; margin: 0 auto; padding: 28px 22px 26px; border-radius: 18px;
  background: linear-gradient(180deg, #151f2e, #0f1723); border: .5px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.au-owl { display: block; margin: 0 auto 6px; height: 150px; width: auto; }
.au-title { margin: 6px 0 10px; text-align: center; font-family: "Noto Serif KR", "Nanum Myeongjo", serif; font-size: 23px; font-weight: 600; color: #fff7e2; }
.au-desc { margin: 0 0 16px; font-size: 14.5px; word-break: keep-all; }
.au-small { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); word-break: keep-all; }
.au-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: rgba(212,175,55,.1); font-size: 13.5px; color: #f3e2b0; }
.au-msg { margin: 12px 0 0; font-size: 13.5px; color: #f3e2b0; text-align: center; word-break: keep-all; }
.au-h { margin: 26px 0 10px; padding-top: 18px; border-top: .5px solid rgba(250,247,238,.1); font-family: "Noto Serif KR", serif; font-size: 16px; color: var(--cream); }
.au-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--cream); }
.au-btn, .au-solid, .au-ghost {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 8px 0 0; padding: 14px;
  border-radius: 12px; font-family: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; border: 0;
}
.au-btn svg { width: 20px; height: 20px; }
.au-btn b { font: 800 16px/1 Arial, sans-serif; }
.au-kakao { background: #FEE500; color: #191919; }
.au-naver { background: #03C75A; color: #fff; }
.au-google { background: #fff; color: #1f1f1f; }
.au-google b { color: #4285F4; }
.au-solid { background: linear-gradient(180deg, #ecd383, #d4af37 60%, #b08d2c); color: #1b1408; }
.au-ghost { background: transparent; color: var(--cream); border: 1px solid rgba(227,196,111,.5); }
.au-solid:disabled, .au-ghost:disabled { opacity: .45; cursor: default; }
.au-field {
  width: 100%; margin: 8px 0 0; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(250,247,238,.2);
  background: rgba(0,0,0,.25); color: var(--cream); font-family: inherit; font-size: 16px; outline: none;
}
.au-field:focus { border-color: var(--gold); }
.au-agree { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 2px; font-size: 13px; color: var(--fg); word-break: keep-all; cursor: pointer; }
.au-agree input { margin-top: 3px; accent-color: var(--gold); flex: none; }
.au-link { background: none; border: 0; padding: 6px 0; color: #e3c46f; font-family: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.au-withdraw { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--muted); font-family: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* 배경 별자리(styles.css .sky 와 같은 것) — 카드가 그 위에 뜨게 */
.sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.6;            /* overall field strength — dial 0.45~0.75 */
  overflow: hidden;
}
.sky svg {
  width: 100%; height: 100%; display: block;
  transform: scale(1.1);   /* room to drift without exposing edges */
  transform-origin: center;
  will-change: transform;
  animation: sky-drift 24s ease-in-out infinite alternate;
}
/* per-star twinkle: bright-star group only; staggered so they blink out of phase */
.sky .tw circle {
  animation: star-tw 4.5s ease-in-out infinite;
  will-change: opacity;
}
.sky .tw circle:nth-child(2n)   { animation-duration: 3.4s; animation-delay: -2.1s; }
.sky .tw circle:nth-child(3n)   { animation-duration: 5.6s; animation-delay: -1.3s; }
.sky .tw circle:nth-child(3n+1) { animation-duration: 4.1s; animation-delay: -3.0s; }
.sky .tw circle:nth-child(5n)   { animation-duration: 6.2s; animation-delay: -0.6s; }
.sky .tw circle:nth-child(7n)   { animation-duration: 2.8s; animation-delay: -1.8s; }
@keyframes sky-drift {
  from { transform: scale(1.1) translate3d(-2.4%, -1.6%, 0); }
  to   { transform: scale(1.1) translate3d( 2.4%,  1.6%, 0); }
}
@keyframes star-tw {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.95; }
}
/* honor reduced-motion: keep the sky, drop all movement */
@media (prefers-reduced-motion: reduce) {
  .sky svg { animation: none; }
  .sky .tw circle { animation: none; }
}
.au { position: relative; z-index: 1; }
.au-gear { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: transparent; border: 0; color: #e3c46f; cursor: pointer; }
.au-gear[hidden] { display: none; }
.au-gear:hover { background: rgba(212,175,55,.12); }
