:root {
    --w: 1140px;

    --brand: #0b5cff;
    --brand2: #0848d6;

    --pos: #18a957;
    --neg: #ff3b30;

    --bg: #ffffff;
    --bg2: #f6f8fc;

    --surface: #ffffff;
    --surface2: #f3f6ff;

    --text: #0b1220;
    --muted: #6b7280;

    --border: rgba(2, 6, 23, .10);

    --font: -apple-system, BlinkMacSystemFont, "Inter", "Noto Sans KR", "Segoe UI", Roboto, Arial, sans-serif;
}

:root[data-theme="dark"] {
    --brand: #3b7cff;
    --brand2: #2f6bff;

    --pos: #33d17a;
    --neg: #ff6b6b;

    --bg: #070b14;
    --bg2: #0a1222;

    --surface: #0b1220;
    --surface2: #0f1a2e;

    --text: #e9eef8;
    --muted: #a6b0c3;

    --border: rgba(255, 255, 255, .12);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-weight: 400;
    /* ✅ 기본 굵기 낮춤 */
    color: var(--text);
    background: var(--bg);
}

:root[data-theme="dark"] body {
    /* ✅ 다크모드 배경 대비(지나치게 비슷한 색감 개선) */
    background:
        radial-gradient(900px 420px at 70% 20%, rgba(59, 124, 255, .18), transparent 60%),
        radial-gradient(700px 360px at 20% 85%, rgba(11, 92, 255, .10), transparent 55%),
        var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}