:root {
  --ink: #fdfbff;
  --ink-soft: rgba(253, 251, 255, 0.72);
  --glass: rgba(20, 18, 44, 0.78);
  --glass-line: rgba(255, 255, 255, 0.16);
  --accent: #ffd98a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* 기기 기본 글꼴만 쓴다: 웹폰트는 새 글자가 나올 때마다 내려받고 다시 배치해 화면이 끊겼다(측정으로 확인) */
  --font: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #120f2a;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
.chip {
  border: 1px solid var(--glass-line);
  background: rgba(30, 26, 60, 0.55);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.logo { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 17px; }
.logo img { border-radius: 8px; display: block; }
#toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(10, 10, 24, 0.85); padding: 10px 18px; border-radius: 999px; font-size: 14px;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); z-index: 50;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
