:root {
  --ink: #fdfbff;
  --ink-soft: rgba(253, 251, 255, 0.72);
  --ink-faint: rgba(253, 251, 255, 0.5);
  --glass: rgba(14, 16, 48, 0.82);
  --glass-line: rgba(255, 255, 255, 0.14);
  --gold: #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; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #0b1030;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
.chip {
  border: 1px solid var(--glass-line);
  background: rgba(20, 22, 60, 0.55);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 17px; }
.logo b { color: var(--gold); font-weight: 800; }
#toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(8, 9, 28, 0.9); padding: 10px 18px; border-radius: 999px; font-size: 14px;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); z-index: 60;
  max-width: calc(100vw - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { position: fixed; inset: 40% 16px auto; text-align: center; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
