/* ==== Palette: abyssal-blue (abyssal-blue.css) ==== */
:root[data-palette="abyssal-blue"] {
    /* Backgrounds (Deep Navy Tint) */
    --bg: #0a0b0d;
    --bg-black: #000103;
    --bg-alt: #0f1116;
    --bg-card: #151821;
    --bg-radial-start: #121624;
    --bg-header-end: #10131c;
    --bg-tooltip: rgba(10, 15, 20, 0.96);

    /* Text */
    --text: #f0f4f7;
    --text-white: #ffffff;
    --text-light: #dae2e6;
    --text-sidebar: #eef2f5;
    --muted: #aab4be;

    /* Primary accent family (Electric Blue) */
    --accent: #2979ff;
    --accent-soft: rgba(41, 121, 255, 0.35);
    --accent-muted: #1c54b2;
    --accent-bright: #639bff;
    --focus-ring: rgba(41, 121, 255, 0.6);

    /* Borders & Shadows */
    --border: #1e2838;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #1f232e;
    --shadow-soft: 0 10px 30px rgba(0, 10, 25, 0.7);
    --shadow-header: 0 8px 20px rgba(0, 5, 15, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(0, 15, 30, 0.85);
}

/* ==== Palette: arctic-turquoise (arctic-turquoise.css) ==== */
:root[data-palette="arctic-turquoise"] {
    /* Backgrounds (Cool Slate Tint) */
    --bg: #0a0d0e;
    --bg-black: #000203;
    --bg-alt: #101517;
    --bg-card: #162024;
    --bg-radial-start: #14282e;
    --bg-header-end: #111a1c;
    --bg-tooltip: rgba(10, 15, 20, 0.96);

    /* Text */
    --text: #f0f6f7;
    --text-white: #ffffff;
    --text-light: #dae5e8;
    --text-sidebar: #eef5f7;
    --muted: #aabcc2;

    /* Primary accent family (Bright Turquoise) */
    --accent: #00E5FF;
    --accent-soft: rgba(0, 229, 255, 0.35);
    --accent-muted: #009cb3;
    --accent-bright: #6effff;
    --focus-ring: rgba(0, 229, 255, 0.6);

    /* Borders & Shadows */
    --border: #20353b;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #1c272b;
    --shadow-soft: 0 10px 30px rgba(0, 20, 30, 0.7);
    --shadow-header: 0 8px 20px rgba(0, 10, 20, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(0, 25, 35, 0.85);
}

/* ==== Palette: blaze-orange (blaze-orange.css) ==== */
:root[data-palette="blaze-orange"] {
    /* Backgrounds (Asphalt Tint) */
    --bg: #0c0b0a;
    --bg-black: #030202;
    --bg-alt: #141211;
    --bg-card: #1f1a17;
    --bg-radial-start: #29211a;
    --bg-header-end: #211c19;
    --bg-tooltip: rgba(20, 15, 12, 0.96);

    /* Text */
    --text: #f5f3f0;
    --text-white: #ffffff;
    --text-light: #e6e3df;
    --text-sidebar: #f5f2ef;
    --muted: #c9c4be;

    /* Primary accent family (Safety Orange) */
    --accent: #FF6D00;
    --accent-soft: rgba(255, 109, 0, 0.35);
    --accent-muted: #b34d00;
    --accent-bright: #ff9140;
    --focus-ring: rgba(255, 109, 0, 0.6);

    /* Borders & Shadows */
    --border: #423022;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2824;
    --shadow-soft: 0 10px 30px rgba(25, 10, 0, 0.7);
    --shadow-header: 0 8px 20px rgba(20, 10, 0, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(30, 15, 5, 0.85);
}

/* ==== Palette: blood-orange (blood-orange.css) ==== */
:root[data-palette="blood-orange"] {
    /* Backgrounds (Lighter Dark Mode) */
    --bg: #0a0a0a;
    --bg-black: #000000;
    --bg-alt: #170f0e;
    --bg-card: #211513;
    --bg-radial-start: #2e1a17;
    --bg-header-end: #261614;
    --bg-tooltip: rgba(15, 10, 10, 0.96);

    /* Text */
    --text: #f5f2f2;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-sidebar: #f2f2f2;
    --muted: #c9b8b6;

    /* Primary accent family (Lightened Terracotta) */
    --accent: #D6503B;
    --accent-soft: rgba(214, 80, 59, 0.35);
    --accent-muted: #a63a29;
    --accent-bright: #f06a56;
    --focus-ring: rgba(214, 80, 59, 0.6);

    /* Borders & Shadows */
    --border: #452825;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2e2e;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-header: 0 8px 20px rgba(0, 0, 0, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(0, 0, 0, 0.85);
}

/* ==== Palette: blood-red (blood-red.css) ==== */
:root[data-palette="blood-red"] {
    /* Backgrounds (Darker Dark Mode) */
    --bg: #050505;
    --bg-black: #000000;
    --bg-alt: #0b0303;
    --bg-card: #160707;
    --bg-radial-start: #1b0707;
    --bg-header-end: #1a0505;
    --bg-tooltip: rgba(5, 5, 5, 0.96);

    /* Text */
    --text: #f5f2f2;
    --text-white: #ffffff;
    --text-light: #dddddd;
    --text-sidebar: #f0f0f0;
    --muted: #c2a2a2;

    /* Primary accent family (lighter red) */
    --accent: #c01515;
    --accent-soft: rgba(192, 21, 21, 0.35);
    --accent-muted: #a12a2a;
    --accent-bright: #ff5c5c;
    --focus-ring: rgba(255, 92, 92, 0.6);

    /* Borders & Shadows */
    --border: #301616;
    --border-card: rgba(255, 255, 255, 0.02);
    --border-sidebar: rgba(255, 255, 255, 0.04);
    --border-code: #222222;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.8);
    --shadow-header: 0 8px 20px rgba(0, 0, 0, 0.7);
    --shadow-tooltip: 0 12px 30px rgba(0, 0, 0, 0.85);
}

/* ==== Palette: crimson-noir (crimson-noir.css) ==== */
:root[data-palette="crimson-noir"] {
    /* Backgrounds (Warm Crimson Tint) */
    --bg: #0c0a0a;
    --bg-black: #030101;
    --bg-alt: #171010;
    --bg-card: #211515;
    --bg-radial-start: #2e1717;
    --bg-header-end: #241414;
    --bg-tooltip: rgba(20, 10, 10, 0.96);

    /* Text */
    --text: #f5f0f0;
    --text-white: #ffffff;
    --text-light: #e6dede;
    --text-sidebar: #f5ebeb;
    --muted: #c9b0b0;

    /* Primary accent family (Crimson Red) */
    --accent: #E63946;
    --accent-soft: rgba(230, 57, 70, 0.35);
    --accent-muted: #a8222d;
    --accent-bright: #ff5c69;
    --focus-ring: rgba(230, 57, 70, 0.6);

    /* Borders & Shadows */
    --border: #452225;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e1e1f;
    --shadow-soft: 0 10px 30px rgba(30, 10, 10, 0.7);
    --shadow-header: 0 8px 20px rgba(20, 5, 5, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(30, 15, 15, 0.85);
}

/* ==== Palette: cyber-mist (cyber-mist.css) ==== */
:root[data-palette="cyber-mist"] {
    /* Backgrounds (Slate/Blue Tint) */
    --bg: #0a0b0c;
    --bg-black: #000203;
    --bg-alt: #0e1214;
    --bg-card: #141a1c;
    --bg-radial-start: #111a1f;
    --bg-header-end: #101618;
    --bg-tooltip: rgba(10, 15, 20, 0.96);

    /* Text */
    --text: #f0f4f5;
    --text-white: #ffffff;
    --text-light: #dae0e3;
    --text-sidebar: #eef2f5;
    --muted: #aabec2;

    /* Primary accent family (Cyan/Teal) */
    --accent: #00C2CB;
    --accent-soft: rgba(0, 194, 203, 0.35);
    --accent-muted: #008a91;
    --accent-bright: #33e1ea;
    --focus-ring: rgba(0, 194, 203, 0.6);

    /* Borders & Shadows */
    --border: #1a2629;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #202b30;
    --shadow-soft: 0 10px 30px rgba(0, 10, 20, 0.7);
    --shadow-header: 0 8px 20px rgba(0, 5, 10, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(0, 15, 25, 0.85);
}

/* ==== Palette: deep-sea-teal (deep-sea-teal.css) ==== */
:root[data-palette="deep-sea-teal"] {
    /* Backgrounds (Teal-Black Tint) */
    --bg: #0a0c0c;
    --bg-black: #000202;
    --bg-alt: #0e1414;
    --bg-card: #151f1f;
    --bg-radial-start: #122424;
    --bg-header-end: #101c1c;
    --bg-tooltip: rgba(10, 15, 15, 0.96);

    /* Text */
    --text: #f0f5f5;
    --text-white: #ffffff;
    --text-light: #dfe6e6;
    --text-sidebar: #eef5f5;
    --muted: #acc2c2;

    /* Primary accent family (Teal) */
    --accent: #2DD4BF;
    --accent-soft: rgba(45, 212, 191, 0.35);
    --accent-muted: #1a8a7c;
    --accent-bright: #63e6d5;
    --focus-ring: rgba(45, 212, 191, 0.6);

    /* Borders & Shadows */
    --border: #203836;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #1c2626;
    --shadow-soft: 0 10px 30px rgba(5, 25, 25, 0.7);
    --shadow-header: 0 8px 20px rgba(0, 15, 15, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(10, 30, 30, 0.85);
}

/* ==== Palette: digital-violet (digital-violet.css) ==== */
:root[data-palette="digital-violet"] {
    /* Backgrounds (Deep Violet Tint) */
    --bg: #0b0a0d;
    --bg-black: #020103;
    --bg-alt: #13111a;
    --bg-card: #1c1826;
    --bg-radial-start: #261f36;
    --bg-header-end: #1e192b;
    --bg-tooltip: rgba(15, 10, 25, 0.96);

    /* Text */
    --text: #f3f0f5;
    --text-white: #ffffff;
    --text-light: #e2dde6;
    --text-sidebar: #f0ebf5;
    --muted: #b9aec2;

    /* Primary accent family (Electric Violet) */
    --accent: #8B5CF6;
    --accent-soft: rgba(139, 92, 246, 0.35);
    --accent-muted: #5e39b3;
    --accent-bright: #a780ff;
    --focus-ring: rgba(139, 92, 246, 0.6);

    /* Borders & Shadows */
    --border: #352652;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #24202e;
    --shadow-soft: 0 10px 30px rgba(20, 10, 40, 0.7);
    --shadow-header: 0 8px 20px rgba(15, 5, 30, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(25, 15, 50, 0.85);
}

/* ==== Palette: galactic-indigo (galactic-indigo.css) ==== */
:root[data-palette="galactic-indigo"] {
    /* Backgrounds (Deep Indigo Tint) */
    --bg: #0a0a0d;
    --bg-black: #010103;
    --bg-alt: #101017;
    --bg-card: #171724;
    --bg-radial-start: #1c1c30;
    --bg-header-end: #161626;
    --bg-tooltip: rgba(10, 10, 20, 0.96);

    /* Text */
    --text: #f2f2f5;
    --text-white: #ffffff;
    --text-light: #dedeeb;
    --text-sidebar: #efeff5;
    --muted: #b4b4c7;

    /* Primary accent family (Indigo) */
    --accent: #6366F1;
    --accent-soft: rgba(99, 102, 241, 0.35);
    --accent-muted: #4346ad;
    --accent-bright: #8a8dff;
    --focus-ring: rgba(99, 102, 241, 0.6);

    /* Borders & Shadows */
    --border: #262740;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #1f1f2e;
    --shadow-soft: 0 10px 30px rgba(10, 10, 30, 0.7);
    --shadow-header: 0 8px 20px rgba(5, 5, 20, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(15, 15, 40, 0.85);
}

/* ==== Palette: guilded-broze (guilded-broze.css) ==== */
:root[data-palette="guilded-broze"] {
    /* Backgrounds (Dark Bronze Tint) */
    --bg: #0c0b09;
    --bg-black: #030201;
    --bg-alt: #161411;
    --bg-card: #211c16;
    --bg-radial-start: #2e251a;
    --bg-header-end: #241e18;
    --bg-tooltip: rgba(20, 18, 15, 0.96);

    /* Text */
    --text: #f5f3f0;
    --text-white: #ffffff;
    --text-light: #e6e2de;
    --text-sidebar: #f5f1eb;
    --muted: #c9c2b8;

    /* Primary accent family (Bronze) */
    --accent: #CD7F32;
    --accent-soft: rgba(205, 127, 50, 0.35);
    --accent-muted: #8a5521;
    --accent-bright: #e8a564;
    --focus-ring: rgba(205, 127, 50, 0.6);

    /* Borders & Shadows */
    --border: #453322;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2820;
    --shadow-soft: 0 10px 30px rgba(25, 15, 5, 0.7);
    --shadow-header: 0 8px 20px rgba(20, 12, 5, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(30, 20, 10, 0.85);
}

/* ==== Palette: midnight-sun (midnight-sun.css) ==== */
:root[data-palette="midnight-sun"] {
    /* Backgrounds (Sepia-Grey Tint) */
    --bg: #0c0c0a;
    --bg-black: #030300;
    --bg-alt: #171712;
    --bg-card: #21211a;
    --bg-radial-start: #2e2e1f;
    --bg-header-end: #26261c;
    --bg-tooltip: rgba(20, 20, 10, 0.96);

    /* Text */
    --text: #f5f5f0;
    --text-white: #ffffff;
    --text-light: #e6e6de;
    --text-sidebar: #f5f5eb;
    --muted: #c9c9b8;

    /* Primary accent family (Sunny Yellow) */
    --accent: #EAB308;
    --accent-soft: rgba(234, 179, 8, 0.35);
    --accent-muted: #a37c04;
    --accent-bright: #fccf42;
    --focus-ring: rgba(234, 179, 8, 0.6);

    /* Borders & Shadows */
    --border: #454022;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2d24;
    --shadow-soft: 0 10px 30px rgba(30, 25, 10, 0.7);
    --shadow-header: 0 8px 20px rgba(25, 20, 5, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(35, 30, 10, 0.85);
}

/* ==== Palette: mint-macha (mint-macha.css) ==== */
:root[data-palette="mint-macha"] {
    /* Backgrounds (Deep Earth Tint) */
    --bg: #0a0c0b;
    --bg-black: #000301;
    --bg-alt: #101412;
    --bg-card: #16211a;
    --bg-radial-start: #1c2e23;
    --bg-header-end: #15211b;
    --bg-tooltip: rgba(10, 15, 12, 0.96);

    /* Text */
    --text: #f0f5f2;
    --text-white: #ffffff;
    --text-light: #dfe6e2;
    --text-sidebar: #eff5f2;
    --muted: #acbea4;

    /* Primary accent family (Mint Green) */
    --accent: #76D190;
    --accent-soft: rgba(118, 209, 144, 0.35);
    --accent-muted: #4e9466;
    --accent-bright: #9df0b5;
    --focus-ring: rgba(118, 209, 144, 0.6);

    /* Borders & Shadows */
    --border: #283d30;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #1f2b24;
    --shadow-soft: 0 10px 30px rgba(10, 25, 15, 0.7);
    --shadow-header: 0 8px 20px rgba(5, 20, 10, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(10, 30, 20, 0.85);
}

/* ==== Palette: neon-rose (neon-rose.css) ==== */
:root[data-palette="neon-rose"] {
    /* Backgrounds (Rose-Black Tint) */
    --bg: #0c0a0b;
    --bg-black: #030001;
    --bg-alt: #140e10;
    --bg-card: #1f1417;
    --bg-radial-start: #2b161c;
    --bg-header-end: #211418;
    --bg-tooltip: rgba(20, 10, 15, 0.96);

    /* Text */
    --text: #f5f2f3;
    --text-white: #ffffff;
    --text-light: #e6dee0;
    --text-sidebar: #f5ebed;
    --muted: #c9b0b6;

    /* Primary accent family (Hot Pink) */
    --accent: #FF2E63;
    --accent-soft: rgba(255, 46, 99, 0.35);
    --accent-muted: #b0153d;
    --accent-bright: #ff5c85;
    --focus-ring: rgba(255, 46, 99, 0.6);

    /* Borders & Shadows */
    --border: #421e2b;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2226;
    --shadow-soft: 0 10px 30px rgba(20, 0, 10, 0.7);
    --shadow-header: 0 8px 20px rgba(15, 0, 5, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(25, 5, 15, 0.85);
}

/* ==== Palette: phantom-silver (phantom-silver.css) ==== */
:root[data-palette="phantom-silver"] {
    /* Backgrounds (Neutral Grey Tint) */
    --bg: #0a0a0a;
    --bg-black: #000000;
    --bg-alt: #121212;
    --bg-card: #1c1c1c;
    --bg-radial-start: #262626;
    --bg-header-end: #1f1f1f;
    --bg-tooltip: rgba(15, 15, 15, 0.96);

    /* Text */
    --text: #f0f0f0;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-sidebar: #f5f5f5;
    --muted: #a3a3a3;

    /* Primary accent family (Platinum Silver) */
    --accent: #E5E5E5;
    --accent-soft: rgba(229, 229, 229, 0.25);
    --accent-muted: #808080;
    --accent-bright: #ffffff;
    --focus-ring: rgba(255, 255, 255, 0.4);

    /* Borders & Shadows */
    --border: #333333;
    --border-card: rgba(255, 255, 255, 0.06);
    --border-sidebar: rgba(255, 255, 255, 0.08);
    --border-code: #242424;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.8);
    --shadow-header: 0 8px 20px rgba(0, 0, 0, 0.7);
    --shadow-tooltip: 0 12px 30px rgba(0, 0, 0, 0.9);
}

/* ==== Palette: red-orange (red-orange.css) ==== */
:root[data-palette="red-orange"] {
    /* Backgrounds (Lighter Dark Mode) */
    --bg: #0a0a0a;
    --bg-black: #000000;
    --bg-alt: #170e0d;
    --bg-card: #211311;
    --bg-radial-start: #2e1815;
    --bg-header-end: #261210;
    --bg-tooltip: rgba(15, 10, 10, 0.96);

    /* Text */
    --text: #f5f2f2;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-sidebar: #f2f2f2;
    --muted: #c9b6b4;

    /* Primary accent family (Red Orange) */
    --accent: #FF4F38;
    --accent-soft: rgba(255, 79, 56, 0.35);
    --accent-muted: #cc3f2d;
    --accent-bright: #ff725e;
    --focus-ring: rgba(255, 79, 56, 0.6);

    /* Borders & Shadows */
    --border: #45221f;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2e2e;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-header: 0 8px 20px rgba(0, 0, 0, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(0, 0, 0, 0.85);
}

/* ==== Palette: reef-coral (reef-coral.css) ==== */
:root[data-palette="reef-coral"] {
    /* Backgrounds (Warm Sand Tint) */
    --bg: #0c0b0a;
    --bg-black: #030202;
    --bg-alt: #171312;
    --bg-card: #211a18;
    --bg-radial-start: #2e221f;
    --bg-header-end: #261c1a;
    --bg-tooltip: rgba(20, 15, 12, 0.96);

    /* Text */
    --text: #f5f2f0;
    --text-white: #ffffff;
    --text-light: #e6e0de;
    --text-sidebar: #f5efeb;
    --muted: #c9beb8;

    /* Primary accent family (Living Coral) */
    --accent: #FF8866;
    --accent-soft: rgba(255, 136, 102, 0.35);
    --accent-muted: #b35236;
    --accent-bright: #ffaa91;
    --focus-ring: rgba(255, 136, 102, 0.6);

    /* Borders & Shadows */
    --border: #453029;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2624;
    --shadow-soft: 0 10px 30px rgba(30, 15, 10, 0.7);
    --shadow-header: 0 8px 20px rgba(20, 10, 5, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(35, 20, 10, 0.85);
}

/* ==== Palette: royal-amethyst (royal-amethyst.css) ==== */
:root[data-palette="royal-amethyst"] {
    /* Backgrounds (Plum Tint) */
    --bg: #0b0a0c;
    --bg-black: #020003;
    --bg-alt: #120e14;
    --bg-card: #1b151f;
    --bg-radial-start: #24142b;
    --bg-header-end: #1d1421;
    --bg-tooltip: rgba(15, 10, 20, 0.96);

    /* Text */
    --text: #f4f2f5;
    --text-white: #ffffff;
    --text-light: #e3dde6;
    --text-sidebar: #f2edf5;
    --muted: #c2b0c9;

    /* Primary accent family (Vivid Purple) */
    --accent: #9d4edd;
    --accent-soft: rgba(157, 78, 221, 0.35);
    --accent-muted: #6e2c9e;
    --accent-bright: #b870f2;
    --focus-ring: rgba(157, 78, 221, 0.6);

    /* Borders & Shadows */
    --border: #362242;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #29222e;
    --shadow-soft: 0 10px 30px rgba(10, 0, 20, 0.7);
    --shadow-header: 0 8px 20px rgba(5, 0, 15, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(15, 5, 25, 0.85);
}

/* ==== Palette: soft-lilac (soft-lilac.css) ==== */
:root[data-palette="soft-lilac"] {
    /* Backgrounds (Deep Plum-Grey Tint) */
    --bg: #0b0a0e;
    --bg-black: #010103;
    --bg-alt: #131117;
    --bg-card: #1d1821;
    --bg-radial-start: #271e2e;
    --bg-header-end: #1e1924;
    --bg-tooltip: rgba(15, 10, 20, 0.96);

    /* Text */
    --text: #f3f0f5;
    --text-white: #ffffff;
    --text-light: #e4e0e6;
    --text-sidebar: #f3eff5;
    --muted: #bdafc2;

    /* Primary accent family (Lilac) */
    --accent: #D884F5;
    --accent-soft: rgba(216, 132, 245, 0.35);
    --accent-muted: #9a4eb3;
    --accent-bright: #eab0fc;
    --focus-ring: rgba(216, 132, 245, 0.6);

    /* Borders & Shadows */
    --border: #3d2b45;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #28212e;
    --shadow-soft: 0 10px 30px rgba(20, 10, 30, 0.7);
    --shadow-header: 0 8px 20px rgba(15, 5, 25, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(25, 15, 40, 0.85);
}

/* ==== Palette: solar-amber (solar-amber.css) ==== */
:root[data-palette="solar-amber"] {
    /* Backgrounds (Sepia Tint) */
    --bg: #0c0b0a;
    --bg-black: #030200;
    --bg-alt: #14120e;
    --bg-card: #1f1b14;
    --bg-radial-start: #2b2416;
    --bg-header-end: #211c14;
    --bg-tooltip: rgba(20, 15, 10, 0.96);

    /* Text */
    --text: #f5f4f2;
    --text-white: #ffffff;
    --text-light: #e6e3de;
    --text-sidebar: #f5f2eb;
    --muted: #c9c2b0;

    /* Primary accent family (Amber/Gold) */
    --accent: #FFB703;
    --accent-soft: rgba(255, 183, 3, 0.35);
    --accent-muted: #b38000;
    --accent-bright: #ffce47;
    --focus-ring: rgba(255, 183, 3, 0.6);

    /* Borders & Shadows */
    --border: #423822;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e2a22;
    --shadow-soft: 0 10px 30px rgba(20, 15, 0, 0.7);
    --shadow-header: 0 8px 20px rgba(15, 10, 0, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(25, 20, 5, 0.85);
}

/* ==== Palette: velvet-berry (velvet-berry.css) ==== */
:root[data-palette="velvet-berry"] {
    /* Backgrounds (Wine Tint) */
    --bg: #0c0a0b;
    --bg-black: #030001;
    --bg-alt: #160e11;
    --bg-card: #211218;
    --bg-radial-start: #2e121d;
    --bg-header-end: #24141b;
    --bg-tooltip: rgba(20, 10, 12, 0.96);

    /* Text */
    --text: #f5f2f3;
    --text-white: #ffffff;
    --text-light: #e6dee1;
    --text-sidebar: #f5ebef;
    --muted: #c9b0b9;

    /* Primary accent family (Raspberry) */
    --accent: #D90368;
    --accent-soft: rgba(217, 3, 104, 0.35);
    --accent-muted: #990249;
    --accent-bright: #fc3894;
    --focus-ring: rgba(217, 3, 104, 0.6);

    /* Borders & Shadows */
    --border: #451b2e;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #2e1a22;
    --shadow-soft: 0 10px 30px rgba(25, 0, 10, 0.7);
    --shadow-header: 0 8px 20px rgba(20, 0, 10, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(30, 5, 15, 0.85);
}

/* ==== Palette: verdant-moss (verdant-moss.css) ==== */
:root[data-palette="verdant-moss"] {
    /* Backgrounds (Forest Tint) */
    --bg: #0a0c0a;
    --bg-black: #000300;
    --bg-alt: #0e120e;
    --bg-card: #151c15;
    --bg-radial-start: #122112;
    --bg-header-end: #111a11;
    --bg-tooltip: rgba(10, 15, 10, 0.96);

    /* Text */
    --text: #f1f5f1;
    --text-white: #ffffff;
    --text-light: #dde3dd;
    --text-sidebar: #eef5ee;
    --muted: #aebcae;

    /* Primary accent family (Emerald Green) */
    --accent: #46C766;
    --accent-soft: rgba(70, 199, 102, 0.35);
    --accent-muted: #2e8a44;
    --accent-bright: #6de38a;
    --focus-ring: rgba(70, 199, 102, 0.6);

    /* Borders & Shadows */
    --border: #1f3323;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #232e23;
    --shadow-soft: 0 10px 30px rgba(5, 20, 5, 0.7);
    --shadow-header: 0 8px 20px rgba(0, 15, 0, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(5, 25, 5, 0.85);
}

/* ==== Palette: voltage-lime (voltage-lime.css) ==== */
:root[data-palette="voltage-lime"] {
    /* Backgrounds (Dark Olive Tint) */
    --bg: #0b0c0a;
    --bg-black: #010200;
    --bg-alt: #121410;
    --bg-card: #1a1f16;
    --bg-radial-start: #222918;
    --bg-header-end: #1b2114;
    --bg-tooltip: rgba(15, 20, 10, 0.96);

    /* Text */
    --text: #f3f5f1;
    --text-white: #ffffff;
    --text-light: #e1e6de;
    --text-sidebar: #f0f5eb;
    --muted: #b4beac;

    /* Primary accent family (Acid Lime) */
    --accent: #B4E600;
    --accent-soft: rgba(180, 230, 0, 0.35);
    --accent-muted: #7da100;
    --accent-bright: #d2ff2e;
    --focus-ring: rgba(180, 230, 0, 0.6);

    /* Borders & Shadows */
    --border: #333d22;
    --border-card: rgba(255, 255, 255, 0.05);
    --border-sidebar: rgba(255, 255, 255, 0.07);
    --border-code: #252b1f;
    --shadow-soft: 0 10px 30px rgba(15, 25, 0, 0.7);
    --shadow-header: 0 8px 20px rgba(10, 15, 0, 0.6);
    --shadow-tooltip: 0 12px 30px rgba(20, 30, 5, 0.85);
}

/* ==== Palette: alpine-teal (alpine-teal.css) ==== */
:root[data-palette="alpine-teal"] {
    /* Backgrounds (Light Mode - Mint Tint) */
    --bg: #ffffff;
    --bg-black: #f0fdf4;
    --bg-alt: #e6fffa;
    --bg-card: #ffffff;
    --bg-radial-start: #ffffff;
    --bg-header-end: #b2f5ea;
    --bg-tooltip: rgba(255, 255, 255, 0.98);

    /* Text (Inverted) */
    --text: #234e52;
    --text-white: #1d4044;
    --text-light: #2c7a7b;
    --text-sidebar: #285e61;
    --muted: #4fd1c5;

    /* Primary accent family - (Teal) */
    --accent: #319795;
    --accent-soft: rgba(49, 151, 149, 0.15);
    --accent-muted: #285e61;
    --accent-bright: #38b2ac;
    --focus-ring: rgba(56, 178, 172, 0.4);

    /* Borders & Shadows */
    --border: #b2f5ea;
    --border-card: #e6fffa;
    --border-sidebar: #e6fffa;
    --border-code: #81e6d9;
    --shadow-soft: 0 10px 30px rgba(44, 122, 123, 0.08);
    --shadow-header: 0 4px 12px rgba(44, 122, 123, 0.05);
    --shadow-tooltip: 0 12px 30px rgba(44, 122, 123, 0.15);
}

/* ==== Palette: crimson-letter (crimson-letter.css) ==== */
:root[data-palette="crimson-letter"] {
    /* Backgrounds (Light Mode - Rose Tint) */
    --bg: #ffffff;
    --bg-black: #fff5f5;
    --bg-alt: #fef2f2;
    --bg-card: #ffffff;
    --bg-radial-start: #ffffff;
    --bg-header-end: #fed7d7;
    --bg-tooltip: rgba(255, 255, 255, 0.98);

    /* Text (Inverted) */
    --text: #2d3748;
    --text-white: #1a202c;
    --text-light: #4a5568;
    --text-sidebar: #742a2a;
    --muted: #a0aec0;

    /* Primary accent family - (Cherry Red) */
    --accent: #c53030;
    --accent-soft: rgba(197, 48, 48, 0.12);
    --accent-muted: #9b2c2c;
    --accent-bright: #e53e3e;
    --focus-ring: rgba(229, 62, 62, 0.4);

    /* Borders & Shadows */
    --border: #fc8181;
    --border-card: #fed7d7;
    --border-sidebar: #fff5f5;
    --border-code: #feb2b2;
    --shadow-soft: 0 10px 30px rgba(155, 44, 44, 0.08);
    --shadow-header: 0 4px 12px rgba(155, 44, 44, 0.05);
    --shadow-tooltip: 0 12px 30px rgba(155, 44, 44, 0.15);
}

/* ==== Palette: lavender-mist (lavender-mist.css) ==== */
:root[data-palette="lavender-mist"] {
    /* Backgrounds (Light Mode - Violet Tint) */
    --bg: #ffffff;
    --bg-black: #f8f7fc;
    --bg-alt: #f3f0ff;
    --bg-card: #ffffff;
    --bg-radial-start: #ffffff;
    --bg-header-end: #e9d8fd;
    --bg-tooltip: rgba(255, 255, 255, 0.98);

    /* Text (Inverted) */
    --text: #2d3748;
    --text-white: #1a202c;
    --text-light: #4a5568;
    --text-sidebar: #553c9a;
    --muted: #805ad5;

    /* Primary accent family - (Medium Purple) */
    --accent: #805ad5;
    --accent-soft: rgba(128, 90, 213, 0.15);
    --accent-muted: #6b46c1;
    --accent-bright: #9f7aea;
    --focus-ring: rgba(159, 122, 234, 0.4);

    /* Borders & Shadows */
    --border: #e9d8fd;
    --border-card: #e9d8fd;
    --border-sidebar: #f3f0ff;
    --border-code: #d6bcfa;
    --shadow-soft: 0 10px 30px rgba(107, 70, 193, 0.08);
    --shadow-header: 0 4px 12px rgba(107, 70, 193, 0.05);
    --shadow-tooltip: 0 12px 30px rgba(107, 70, 193, 0.15);
}

/* ==== Palette: ochre-and-ivory (ochre-and-ivory.css) ==== */
:root[data-palette="ochre-and-ivory"] {
    /* Backgrounds (Light Mode - Ivory) */
    --bg: #fffff0;
    --bg-black: #fffdf0;
    --bg-alt: #fffcbf;
    --bg-card: #ffffff;
    --bg-radial-start: #ffffff;
    --bg-header-end: #fefcbf;
    --bg-tooltip: rgba(255, 255, 240, 0.98);

    /* Text (Inverted - Olive Grey) */
    --text: #4a4a4a;
    --text-white: #222222;
    --text-light: #5f5f5f;
    --text-sidebar: #5f5a4e;
    --muted: #949494;

    /* Primary accent family - (Ochre/Gold) */
    --accent: #b7791f;
    --accent-soft: rgba(183, 121, 31, 0.15);
    --accent-muted: #975a16;
    --accent-bright: #d69e2e;
    --focus-ring: rgba(214, 158, 46, 0.4);

    /* Borders & Shadows */
    --border: #f6e05e;
    --border-card: #faf089;
    --border-sidebar: #fffff0;
    --border-code: #fce588;
    --shadow-soft: 0 10px 30px rgba(151, 90, 22, 0.08);
    --shadow-header: 0 4px 12px rgba(151, 90, 22, 0.05);
    --shadow-tooltip: 0 12px 30px rgba(151, 90, 22, 0.15);
}

/* ==== Palette: paper-and-ink (paper-and-ink.css) ==== */
:root[data-palette="paper-and-ink"] {
    /* Backgrounds (Light Mode) */
    --bg: #ffffff;
    --bg-black: #f0f2f5;
    --bg-alt: #f7f9fc;
    --bg-card: #ffffff;
    --bg-radial-start: #ffffff;
    --bg-header-end: #edf2f7;
    --bg-tooltip: rgba(255, 255, 255, 0.98);

    /* Text (Inverted) */
    --text: #2d3748;
    --text-white: #1a202c;
    --text-light: #4a5568;
    --text-sidebar: #4a5568;
    --muted: #718096;

    /* Primary accent family - (Classic Navy) */
    --accent: #2c5282;
    --accent-soft: rgba(44, 82, 130, 0.15);
    --accent-muted: #2a4365;
    --accent-bright: #3182ce;
    --focus-ring: rgba(49, 130, 206, 0.4);

    /* Borders & Shadows */
    --border: #e2e8f0;
    --border-card: #e2e8f0;
    --border-sidebar: #edf2f7;
    --border-code: #cbd5e0;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-header: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-tooltip: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ==== Palette: sunset-peach (sunset-peach.css) ==== */
:root[data-palette="sunset-peach"] {
    /* Backgrounds (Light Mode - Warm Tint) */
    --bg: #ffffff;
    --bg-black: #fffaf0;
    --bg-alt: #fff5f5;
    --bg-card: #ffffff;
    --bg-radial-start: #ffffff;
    --bg-header-end: #feebc8;
    --bg-tooltip: rgba(255, 255, 255, 0.98);

    /* Text (Inverted - Warm Grey) */
    --text: #2d3748;
    --text-white: #1a202c;
    --text-light: #4a5568;
    --text-sidebar: #4a5568;
    --muted: #718096;

    /* Primary accent family - (Sunset Orange) */
    --accent: #dd6b20;
    --accent-soft: rgba(221, 107, 32, 0.15);
    --accent-muted: #c05621;
    --accent-bright: #ed8936;
    --focus-ring: rgba(237, 137, 54, 0.4);

    /* Borders & Shadows */
    --border: #edf2f7;
    --border-card: #edf2f7;
    --border-sidebar: #f7fafc;
    --border-code: #e2e8f0;
    --shadow-soft: 0 10px 30px rgba(221, 107, 32, 0.08);
    --shadow-header: 0 4px 12px rgba(221, 107, 32, 0.05);
    --shadow-tooltip: 0 12px 30px rgba(221, 107, 32, 0.15);
}
