/* Colour schemes: each overrides the accent family for dark and light themes. Alchemy (gold) is the base in style.css. */
:root[data-scheme=ocean]{--accent:#7cc4f2;--accent-soft:#1c2c38;--accent-ink:#0b1a24}
:root[data-scheme=ocean][data-theme=light]{--accent:#1f6fa8;--accent-soft:#dceaf5;--accent-ink:#f4faff}
:root[data-scheme=emerald]{--accent:#7fd6a4;--accent-soft:#1d3128;--accent-ink:#0c2116}
:root[data-scheme=emerald][data-theme=light]{--accent:#23794c;--accent-soft:#d9efe2;--accent-ink:#f3fbf6}
:root[data-scheme=rose]{--accent:#f2a0b6;--accent-soft:#3a2329;--accent-ink:#2a1017}
:root[data-scheme=rose][data-theme=light]{--accent:#b23a5c;--accent-soft:#f6dde4;--accent-ink:#fff6f8}
:root[data-scheme=violet]{--accent:#b9a2f5;--accent-soft:#29243f;--accent-ink:#1a1230}
:root[data-scheme=violet][data-theme=light]{--accent:#6a48c9;--accent-soft:#e6defa;--accent-ink:#faf7ff}
:root[data-scheme=ember]{--accent:#f5976a;--accent-soft:#3a251c;--accent-ink:#2a130a}
:root[data-scheme=ember][data-theme=light]{--accent:#b8501f;--accent-soft:#f7e0d3;--accent-ink:#fff7f2}
:root[data-scheme=graphite]{--accent:#d6dadc;--accent-soft:#2a3034;--accent-ink:#15191b}
:root[data-scheme=graphite][data-theme=light]{--accent:#3b4448;--accent-soft:#e2e5e6;--accent-ink:#ffffff}
:root[data-scheme=midnight]{--bg:#0c0f1a;--sidebar:#0f1322;--panel:#141a2b;--raised:#1c2338;--world:#11172a;--line:#262f48;--accent:#8fb3ff;--accent-soft:#1d2744;--accent-ink:#0b1226}
:root[data-scheme=midnight][data-theme=light]{--accent:#2f54c4;--accent-soft:#dfe6fb;--accent-ink:#f6f8ff}
.pal-pop{position:fixed;top:58px;right:18px;z-index:30;width:min(300px,calc(100vw - 36px));padding:16px;border-radius:14px;background:var(--panel);border:1px solid var(--line);box-shadow:0 18px 60px #0006;display:grid;gap:12px}
.pal-pop[hidden]{display:none}.pal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pal-swatch{display:grid;justify-items:center;gap:6px;padding:8px 4px;font-size:10px;font-weight:500;color:var(--muted);border-radius:10px;background:transparent}
.pal-swatch i{width:26px;height:26px;border-radius:50%;background:var(--sw);box-shadow:inset 0 0 0 3px var(--sw2)}.pal-swatch[aria-pressed=true]{border-color:var(--accent);color:var(--ink)}
.pal-row{display:flex;gap:8px}.pal-row button{flex:1}.pal-row button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
