@font-face{font-family:"Pretendard";src:local("Pretendard"),url("../assets/fonts/PretendardVariable.woff2") format("woff2");font-weight:45 920;font-display:swap}
@font-face{font-family:"Paperlogy";src:url("../assets/fonts/Paperlogy-4Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Paperlogy";src:url("../assets/fonts/Paperlogy-5Medium.ttf") format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:"Paperlogy";src:url("../assets/fonts/Paperlogy-7Bold.ttf") format("truetype");font-weight:700;font-display:swap}

/* Two independent axes on <html>:
   data-theme  = light | dark   (brightness)
   data-accent = (none) | blue  (optional color mode; none = the default pink look)
   To add a mode: copy the blue blocks below (palette + swatch color), rename,
   then add { id, label } to ACCENTS in app.js. */

:root{
  --font-body:"Pretendard",system-ui,sans-serif;
  --font-head:"Pretendard",system-ui,sans-serif;
  --font-display:"Paperlogy","Pretendard",system-ui,sans-serif;

  --bg:#ffffff; --surface:#f5f5f5; --fill:#ebebeb; --line:#dcdcdc;
  --text:#111111; --muted:#6b6b6b;
  --accent:#ff3f8c; --accent-num:#e8196e; --on-accent:#ffffff; --ink-base:#000000;
  --dim:rgba(17,17,17,.48); --shadow:0 10px 28px rgba(17,17,17,.12);

  --accent-soft:color-mix(in srgb,var(--accent) 12%,var(--bg));
  --accent-line:color-mix(in srgb,var(--accent) 28%,transparent);
  --accent-ink:color-mix(in srgb,var(--accent) 68%,var(--ink-base));
}
:root[data-theme="dark"]{
  --bg:#111111; --surface:#1a1a1a; --fill:#262626; --line:#333333;
  --text:#f2f2f2; --muted:#a3a3a3;
  --accent:#ff6aa6; --accent-num:#ff86b8; --on-accent:#111111; --ink-base:#ffffff;
  --accent-soft:color-mix(in srgb,var(--accent) 28%,var(--bg));
  --accent-line:color-mix(in srgb,var(--accent) 42%,transparent);
  --dim:rgba(17,17,17,.72); --shadow:0 10px 28px rgba(0,0,0,.5);
}

:root[data-accent="blue"]{
  --surface:#f1f5fb; --fill:#e3eaf6; --line:#d3dcea;
  --text:#0f1830; --muted:#5b6780;
  --accent:#2f6bff; --accent-num:#2459e8; --on-accent:#ffffff;
  --dim:rgba(15,24,48,.52); --shadow:0 10px 28px rgba(15,24,48,.13);
}
:root[data-accent="blue"][data-theme="dark"]{
  --bg:#0d111b; --surface:#141a27; --fill:#1f2738; --line:#2a3449;
  --text:#eef2fb; --muted:#9aa6bf;
  --accent:#6d9bff; --accent-num:#9bbcff; --on-accent:#0b1020;
  --dim:rgba(8,11,20,.74); --shadow:0 10px 28px rgba(0,0,0,.55);
}

/* swatch button color per mode (lighter in dark so it stays visible) */
[data-mode="blue"]{--pv:#2f6bff}
:root[data-theme="dark"] [data-mode="blue"]{--pv:#7aa5ff}
