/* base-tokens.css
   폰트 import · 테마 토큰(:root/다크) · 문서 셸 · 로그인 토스트
   (분할 전 base.css 의 1~59 줄 — 선언 순서 그대로 옮김) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #e5e7eb;
  --card: #ffffff;
  --brand: #007bff;
  --brand-600: #0056b3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --text: #e7edf5;
    --muted: #9fb0c2;
    --border: #203040;
    --card: #121922;
    --brand: #5aa2ff;
    --brand-600: #3a82df;
  }
}

/* Explicit dark override via toggle */
.dark {
  --bg: #0b0f14;
  --text: #e7edf5;
  --muted: #9fb0c2;
  --border: #203040;
  --card: #121922;
  --brand: #5aa2ff;
  --brand-600: #3a82df;
}

html, body { background: var(--bg); color: var(--text); overflow-x: hidden; }
body { font-family: 'Pretendard','Noto Sans KR','Apple SD Gothic Neo',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; min-height: 100vh; display: flex; flex-direction: column; width: 100%; max-width: 100vw; box-sizing: border-box; }
.site-content { flex: 1 0 auto; width: 100%; max-width: 100%; overflow-x: hidden; box-sizing: border-box; }

.site-header { background: var(--card); border-bottom: 1px solid var(--border); }
.site-footer { background: var(--card); border-top: 1px solid var(--border); margin-top: auto; }

.logged-in-toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 24px;
  text-align: center;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.logged-in-toast[hidden] { display: none; }

