/* variables.css - CSS变量、字体导入、全局重置 */

/* ===== 手绘素描风格 - 浅色系暖调 ===== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #fdf8f0;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f0e8;
    --bg-hover: #ede7db;
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-tertiary: #8a8a8a;
    --border-color: #c8c0b4;
    --border-sketch: #9e9585;
    --accent-primary: #6b7fc6;
    --accent-secondary: #8b9dd6;
    --accent-light: #eef0f9;
    --success: #7db87f;
    --success-light: #edf5ed;
    --warning: #d4a54a;
    --warning-light: #faf3e2;
    --error: #c66b6b;
    --error-light: #f9eded;
    --info: #6ba5c6;
    --info-light: #edf3f9;
    --shadow-sm: 0 2px 8px rgba(60, 50, 30, 0.06);
    --shadow-sketch: 2px 3px 0px rgba(60, 50, 30, 0.1);
    --sidebar-width: 250px;
    --transition: 200ms ease;
    --radius: 8px;
    --font-hand: 'Caveat', 'STKaiti', 'KaiTi', cursive;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(180, 160, 130, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(130, 150, 180, 0.03) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
}
