/* ============================================================
   BASE — CSS variables, reset, typography, body
   ============================================================ */

:root {
    --bg: #000000;
    --sidebar-bg: #000000;
    --card-bg: #141414;
    --text: #f5f5f5;
    --text-muted: #a8a8a8;
    --text-dim: #737373;
    --border: #1f1f1f;
    --hover: rgba(255, 255, 255, 0.06);
    --overlay: rgba(0, 0, 0, 0.55);
    --tooltip-bg: #262626;
    --accent: #d4af7a;
}
[data-theme="light"] {
    --bg: #ffffff;
    --sidebar-bg: #ffffff;
    --card-bg: #fafafa;
    --text: #1a1a1a;
    --text-muted: #525252;
    --text-dim: #8e8e8e;
    --border: #ececec;
    --hover: rgba(0, 0, 0, 0.04);
    --overlay: rgba(0, 0, 0, 0.5);
    --tooltip-bg: #262626;
    --accent: #8b6a3e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.01em; /* 한글(Pretendard) 자간 -1% */
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* serif(Cormorant) 사용 요소는 기본(자간 0)으로 환원 — 영문 디스플레이는 그대로 */
.serif { font-family: 'Cormorant Garamond', serif; letter-spacing: normal; }

