/* Shared 15-Color Triadic Palette System + Per-Design Custom Font Variables + Mobile Hygiene
   Each theme defines Primary (--accent), Secondary (--accent-2), and Tertiary (--accent-3)
   Purples: purple (Royal Plum), lavender (Soft Lavender), periwinkle (Dreamy Periwinkle)
   Pinks:   pink (Berry Rose), magenta (Hot Orchid), blush (Ballet Blush)
   Blues:   blue (Cobalt Azure), navy (French Navy), sky (Glacier Sky)
   Reds:    red (Velvet Crimson), burgundy (Deep Merlot), coral (Peony Coral)
   Golds:   gold (Champagne Gold), honey (Honey Amber), sunshine (Buttercream Sun) */

html, body {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

button, a, select, input, textarea {
  -webkit-tap-highlight-color: transparent;
}

/* Dynamic Per-Design Font Sets (populated via --font-display & --font-body in preview-bar.js) */
html[data-font] .kb-shell {
  --kb-font-display: var(--font-display);
  --kb-font-body: var(--font-body);
}

html[data-font] body {
  font-family: var(--font-body) !important;
}

html[data-font] h1,
html[data-font] h2,
html[data-font] h3,
html[data-font] .wordmark,
html[data-font] .brand,
html[data-font] .logo,
html[data-font] .section-title,
html[data-font] .sec-h,
html[data-font] .menu-name,
html[data-font] .rail-title {
  font-family: var(--font-display) !important;
}

/* Light-Surface Palettes (15 Triads) */
html:not([data-surface="dark"]),
html:not([data-surface="dark"])[data-theme="purple"] {
  --bg: #faf7fc;
  --surface: #ffffff;
  --surface-alt: #f3edf9;
  --text: #1c1524;
  --muted: #615570;
  --accent: #5b21b6;
  --accent-soft: rgba(91, 33, 182, 0.11);
  --accent-contrast: #ffffff;
  --accent-2: #a16207;
  --accent-2-soft: rgba(161, 98, 7, 0.12);
  --accent-2-contrast: #ffffff;
  --accent-3: #be185d;
  --accent-3-soft: rgba(190, 24, 93, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(28, 21, 36, 0.13);
}

html:not([data-surface="dark"])[data-theme="lavender"] {
  --bg: #f8f4ff;
  --surface: #ffffff;
  --surface-alt: #efe6ff;
  --text: #221636;
  --muted: #655582;
  --accent: #7e22ce;
  --accent-soft: rgba(126, 34, 206, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #0f766e;
  --accent-2-soft: rgba(15, 118, 110, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #db2777;
  --accent-3-soft: rgba(219, 39, 119, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(34, 22, 54, 0.13);
}

html:not([data-surface="dark"])[data-theme="periwinkle"] {
  --bg: #f4f5ff;
  --surface: #ffffff;
  --surface-alt: #e7e9ff;
  --text: #171938;
  --muted: #52567c;
  --accent: #4338ca;
  --accent-soft: rgba(67, 56, 202, 0.11);
  --accent-contrast: #ffffff;
  --accent-2: #c2590a;
  --accent-2-soft: rgba(194, 89, 10, 0.12);
  --accent-2-contrast: #ffffff;
  --accent-3: #be185d;
  --accent-3-soft: rgba(190, 24, 93, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(23, 25, 56, 0.13);
}

html:not([data-surface="dark"])[data-theme="pink"] {
  --bg: #fff6fa;
  --surface: #ffffff;
  --surface-alt: #ffe9f2;
  --text: #2a1020;
  --muted: #6c465c;
  --accent: #db2777;
  --accent-soft: rgba(219, 39, 119, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #a16207;
  --accent-2-soft: rgba(161, 98, 7, 0.12);
  --accent-2-contrast: #ffffff;
  --accent-3: #6d28d9;
  --accent-3-soft: rgba(109, 40, 217, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(42, 16, 32, 0.13);
}

html:not([data-surface="dark"])[data-theme="magenta"] {
  --bg: #fdf4ff;
  --surface: #ffffff;
  --surface-alt: #f8e4fe;
  --text: #2b1033;
  --muted: #6c4678;
  --accent: #a21caf;
  --accent-soft: rgba(162, 28, 175, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #1d4ed8;
  --accent-2-soft: rgba(29, 78, 216, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #b45309;
  --accent-3-soft: rgba(180, 83, 9, 0.12);
  --accent-3-contrast: #ffffff;
  --border: rgba(43, 16, 51, 0.13);
}

html:not([data-surface="dark"])[data-theme="blush"] {
  --bg: #fef7f9;
  --surface: #ffffff;
  --surface-alt: #f9e8ef;
  --text: #2b1720;
  --muted: #6f505e;
  --accent: #be4b78;
  --accent-soft: rgba(190, 75, 120, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #9a6b0d;
  --accent-2-soft: rgba(154, 107, 13, 0.12);
  --accent-2-contrast: #ffffff;
  --accent-3: #2563eb;
  --accent-3-soft: rgba(37, 99, 235, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(43, 23, 32, 0.13);
}

html:not([data-surface="dark"])[data-theme="blue"] {
  --bg: #f4f8fd;
  --surface: #ffffff;
  --surface-alt: #e6f0fc;
  --text: #132238;
  --muted: #4e6380;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.11);
  --accent-contrast: #ffffff;
  --accent-2: #e11d48;
  --accent-2-soft: rgba(225, 29, 72, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #a16207;
  --accent-3-soft: rgba(161, 98, 7, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(19, 34, 56, 0.13);
}

html:not([data-surface="dark"])[data-theme="navy"] {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #e6ecf7;
  --text: #10192e;
  --muted: #4b5a78;
  --accent: #1e3a8a;
  --accent-soft: rgba(30, 58, 138, 0.11);
  --accent-contrast: #ffffff;
  --accent-2: #a16207;
  --accent-2-soft: rgba(161, 98, 7, 0.12);
  --accent-2-contrast: #ffffff;
  --accent-3: #be123c;
  --accent-3-soft: rgba(190, 18, 60, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(16, 25, 46, 0.14);
}

html:not([data-surface="dark"])[data-theme="sky"] {
  --bg: #f0f9ff;
  --surface: #ffffff;
  --surface-alt: #dff2fe;
  --text: #0f2537;
  --muted: #46647d;
  --accent: #0369a1;
  --accent-soft: rgba(3, 105, 161, 0.11);
  --accent-contrast: #ffffff;
  --accent-2: #e11d48;
  --accent-2-soft: rgba(225, 29, 72, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #7c3aed;
  --accent-3-soft: rgba(124, 58, 237, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(15, 37, 55, 0.13);
}

html:not([data-surface="dark"])[data-theme="red"] {
  --bg: #fdf5f5;
  --surface: #ffffff;
  --surface-alt: #fce7e7;
  --text: #2a1314;
  --muted: #6c494a;
  --accent: #dc2626;
  --accent-soft: rgba(220, 38, 38, 0.11);
  --accent-contrast: #ffffff;
  --accent-2: #a16207;
  --accent-2-soft: rgba(161, 98, 7, 0.12);
  --accent-2-contrast: #ffffff;
  --accent-3: #4338ca;
  --accent-3-soft: rgba(67, 56, 202, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(42, 19, 20, 0.13);
}

html:not([data-surface="dark"])[data-theme="burgundy"] {
  --bg: #fcf5f6;
  --surface: #ffffff;
  --surface-alt: #f5e4e8;
  --text: #281118;
  --muted: #6c4a54;
  --accent: #881337;
  --accent-soft: rgba(136, 19, 55, 0.11);
  --accent-contrast: #ffffff;
  --accent-2: #9a6b0d;
  --accent-2-soft: rgba(154, 107, 13, 0.12);
  --accent-2-contrast: #ffffff;
  --accent-3: #0f766e;
  --accent-3-soft: rgba(15, 118, 110, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(40, 17, 24, 0.13);
}

html:not([data-surface="dark"])[data-theme="coral"] {
  --bg: #fff6f5;
  --surface: #ffffff;
  --surface-alt: #ffe6e3;
  --text: #2d1416;
  --muted: #70494c;
  --accent: #c94032;
  --accent-soft: rgba(201, 64, 50, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #0369a1;
  --accent-2-soft: rgba(3, 105, 161, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #b45309;
  --accent-3-soft: rgba(180, 83, 9, 0.12);
  --accent-3-contrast: #ffffff;
  --border: rgba(45, 20, 22, 0.13);
}

html:not([data-surface="dark"])[data-theme="gold"] {
  --bg: #fdfbf5;
  --surface: #ffffff;
  --surface-alt: #f7f0dc;
  --text: #261e0e;
  --muted: #695a3d;
  --accent: #9a6b0d;
  --accent-soft: rgba(154, 107, 13, 0.13);
  --accent-contrast: #ffffff;
  --accent-2: #6d28d9;
  --accent-2-soft: rgba(109, 40, 217, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #be185d;
  --accent-3-soft: rgba(190, 24, 93, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(38, 30, 14, 0.14);
}

html:not([data-surface="dark"])[data-theme="honey"] {
  --bg: #fffaf2;
  --surface: #ffffff;
  --surface-alt: #feefd6;
  --text: #291a08;
  --muted: #6e5232;
  --accent: #b45309;
  --accent-soft: rgba(180, 83, 9, 0.12);
  --accent-contrast: #ffffff;
  --accent-2: #1d4ed8;
  --accent-2-soft: rgba(29, 78, 216, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #9f1239;
  --accent-3-soft: rgba(159, 18, 57, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(41, 26, 8, 0.14);
}

html:not([data-surface="dark"])[data-theme="sunshine"] {
  --bg: #fefdf3;
  --surface: #ffffff;
  --surface-alt: #fbf5cc;
  --text: #25200a;
  --muted: #665c33;
  --accent: #a16207;
  --accent-soft: rgba(161, 98, 7, 0.13);
  --accent-contrast: #ffffff;
  --accent-2: #4f46e5;
  --accent-2-soft: rgba(79, 70, 229, 0.11);
  --accent-2-contrast: #ffffff;
  --accent-3: #db2777;
  --accent-3-soft: rgba(219, 39, 119, 0.11);
  --accent-3-contrast: #ffffff;
  --border: rgba(37, 32, 10, 0.14);
}

/* Dark-Surface Palettes (15 Triads) */
html[data-surface="dark"],
html[data-surface="dark"][data-theme="red"] {
  --bg: #0e0a0c;
  --surface: #171115;
  --surface-alt: #22171d;
  --text: #faf6f7;
  --muted: #baa8b0;
  --accent: #e11d48;
  --accent-soft: rgba(225, 29, 72, 0.18);
  --accent-contrast: #ffffff;
  --accent-2: #facc15;
  --accent-2-soft: rgba(250, 204, 21, 0.17);
  --accent-2-contrast: #1c1804;
  --accent-3: #818cf8;
  --accent-3-soft: rgba(129, 140, 248, 0.18);
  --accent-3-contrast: #0d1026;
  --border: rgba(255, 255, 255, 0.13);
}

html[data-surface="dark"][data-theme="burgundy"] {
  --bg: #14070d;
  --surface: #210c16;
  --surface-alt: #301220;
  --text: #fcf5f7;
  --muted: #c9a7b3;
  --accent: #be123c;
  --accent-soft: rgba(190, 18, 60, 0.22);
  --accent-contrast: #ffffff;
  --accent-2: #e5c37b;
  --accent-2-soft: rgba(229, 195, 123, 0.17);
  --accent-2-contrast: #1a1406;
  --accent-3: #2dd4bf;
  --accent-3-soft: rgba(45, 212, 191, 0.17);
  --accent-3-contrast: #042f2e;
  --border: rgba(255, 228, 236, 0.15);
}

html[data-surface="dark"][data-theme="coral"] {
  --bg: #160c0a;
  --surface: #24130f;
  --surface-alt: #331c16;
  --text: #fff5f5;
  --muted: #cba8ab;
  --accent: #ff7a66;
  --accent-soft: rgba(255, 122, 102, 0.2);
  --accent-contrast: #1f0a06;
  --accent-2: #38bdf8;
  --accent-2-soft: rgba(56, 189, 248, 0.17);
  --accent-2-contrast: #061824;
  --accent-3: #fbbf24;
  --accent-3-soft: rgba(251, 191, 36, 0.17);
  --accent-3-contrast: #1c1205;
  --border: rgba(255, 232, 232, 0.14);
}

html[data-surface="dark"][data-theme="purple"] {
  --bg: #0c0914;
  --surface: #151022;
  --surface-alt: #1f1733;
  --text: #f7f4fc;
  --muted: #b5a9c9;
  --accent: #9333ea;
  --accent-soft: rgba(147, 51, 234, 0.18);
  --accent-contrast: #ffffff;
  --accent-2: #eab308;
  --accent-2-soft: rgba(234, 179, 8, 0.17);
  --accent-2-contrast: #1a1406;
  --accent-3: #f472b6;
  --accent-3-soft: rgba(244, 114, 182, 0.18);
  --accent-3-contrast: #220b16;
  --border: rgba(255, 255, 255, 0.13);
}

html[data-surface="dark"][data-theme="lavender"] {
  --bg: #100c1a;
  --surface: #1a1429;
  --surface-alt: #261d3b;
  --text: #f9f6ff;
  --muted: #c0b3d8;
  --accent: #c084fc;
  --accent-soft: rgba(192, 132, 252, 0.18);
  --accent-contrast: #150d24;
  --accent-2: #2dd4bf;
  --accent-2-soft: rgba(45, 212, 191, 0.17);
  --accent-2-contrast: #042f2e;
  --accent-3: #f472b6;
  --accent-3-soft: rgba(244, 114, 182, 0.18);
  --accent-3-contrast: #220b16;
  --border: rgba(235, 224, 255, 0.14);
}

html[data-surface="dark"][data-theme="periwinkle"] {
  --bg: #0a0c18;
  --surface: #121529;
  --surface-alt: #1b1f3b;
  --text: #f4f5ff;
  --muted: #aab0d4;
  --accent: #818cf8;
  --accent-soft: rgba(129, 140, 248, 0.18);
  --accent-contrast: #0d1026;
  --accent-2: #fb923c;
  --accent-2-soft: rgba(251, 146, 60, 0.17);
  --accent-2-contrast: #241004;
  --accent-3: #f472b6;
  --accent-3-soft: rgba(244, 114, 182, 0.18);
  --accent-3-contrast: #220b16;
  --border: rgba(224, 228, 255, 0.14);
}

html[data-surface="dark"][data-theme="pink"] {
  --bg: #120910;
  --surface: #1c1019;
  --surface-alt: #281624;
  --text: #fdf4f9;
  --muted: #c8a6bc;
  --accent: #db2777;
  --accent-soft: rgba(219, 39, 119, 0.18);
  --accent-contrast: #ffffff;
  --accent-2: #fbbf24;
  --accent-2-soft: rgba(251, 191, 36, 0.17);
  --accent-2-contrast: #1c1205;
  --accent-3: #a78bfa;
  --accent-3-soft: rgba(167, 139, 250, 0.18);
  --accent-3-contrast: #150d24;
  --border: rgba(255, 228, 242, 0.14);
}

html[data-surface="dark"][data-theme="magenta"] {
  --bg: #130816;
  --surface: #1e0f24;
  --surface-alt: #2c1634;
  --text: #fdf4ff;
  --muted: #cba7d4;
  --accent: #e879f9;
  --accent-soft: rgba(232, 121, 249, 0.18);
  --accent-contrast: #1d0924;
  --accent-2: #60a5fa;
  --accent-2-soft: rgba(96, 165, 250, 0.17);
  --accent-2-contrast: #081326;
  --accent-3: #facc15;
  --accent-3-soft: rgba(250, 204, 21, 0.17);
  --accent-3-contrast: #1c1804;
  --border: rgba(248, 224, 255, 0.14);
}

html[data-surface="dark"][data-theme="blush"] {
  --bg: #150c11;
  --surface: #21131a;
  --surface-alt: #2e1b24;
  --text: #fef6f9;
  --muted: #cdaebc;
  --accent: #f472b6;
  --accent-soft: rgba(244, 114, 182, 0.18);
  --accent-contrast: #220b16;
  --accent-2: #e5c37b;
  --accent-2-soft: rgba(229, 195, 123, 0.17);
  --accent-2-contrast: #1a1406;
  --accent-3: #93c5fd;
  --accent-3-soft: rgba(147, 197, 253, 0.17);
  --accent-3-contrast: #081326;
  --border: rgba(255, 230, 240, 0.14);
}

html[data-surface="dark"][data-theme="blue"] {
  --bg: #080d17;
  --surface: #101829;
  --surface-alt: #17233a;
  --text: #f2f6fd;
  --muted: #a4b5cf;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.18);
  --accent-contrast: #ffffff;
  --accent-2: #fb7185;
  --accent-2-soft: rgba(251, 113, 133, 0.17);
  --accent-2-contrast: #1b090c;
  --accent-3: #fbbf24;
  --accent-3-soft: rgba(251, 191, 36, 0.17);
  --accent-3-contrast: #1c1205;
  --border: rgba(224, 236, 255, 0.13);
}

html[data-surface="dark"][data-theme="navy"] {
  --bg: #070b14;
  --surface: #0e1627;
  --surface-alt: #162138;
  --text: #f3f6fc;
  --muted: #a2b2cc;
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.18);
  --accent-contrast: #081326;
  --accent-2: #eab308;
  --accent-2-soft: rgba(234, 179, 8, 0.17);
  --accent-2-contrast: #1a1406;
  --accent-3: #fb7185;
  --accent-3-soft: rgba(251, 113, 133, 0.18);
  --accent-3-contrast: #19090f;
  --border: rgba(220, 232, 255, 0.14);
}

html[data-surface="dark"][data-theme="sky"] {
  --bg: #071017;
  --surface: #0f1c28;
  --surface-alt: #162838;
  --text: #f0f9ff;
  --muted: #a0bed4;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --accent-contrast: #061824;
  --accent-2: #fda4af;
  --accent-2-soft: rgba(253, 164, 175, 0.17);
  --accent-2-contrast: #1f090e;
  --accent-3: #c4b5fd;
  --accent-3-soft: rgba(196, 181, 253, 0.18);
  --accent-3-contrast: #150d24;
  --border: rgba(215, 242, 255, 0.14);
}

html[data-surface="dark"][data-theme="gold"] {
  --bg: #120f08;
  --surface: #1d180d;
  --surface-alt: #2b2313;
  --text: #fcf8ee;
  --muted: #c9bc9d;
  --accent: #eab308;
  --accent-soft: rgba(234, 179, 8, 0.18);
  --accent-contrast: #1a1406;
  --accent-2: #c084fc;
  --accent-2-soft: rgba(192, 132, 252, 0.18);
  --accent-2-contrast: #150d24;
  --accent-3: #f472b6;
  --accent-3-soft: rgba(244, 114, 182, 0.18);
  --accent-3-contrast: #220b16;
  --border: rgba(255, 240, 200, 0.15);
}

html[data-surface="dark"][data-theme="honey"] {
  --bg: #140e07;
  --surface: #20160b;
  --surface-alt: #2e2010;
  --text: #fff8ed;
  --muted: #d1b594;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.18);
  --accent-contrast: #1c1205;
  --accent-2: #60a5fa;
  --accent-2-soft: rgba(96, 165, 250, 0.18);
  --accent-2-contrast: #081326;
  --accent-3: #fb7185;
  --accent-3-soft: rgba(251, 113, 133, 0.18);
  --accent-3-contrast: #19090f;
  --border: rgba(255, 234, 200, 0.15);
}

html[data-surface="dark"][data-theme="sunshine"] {
  --bg: #121007;
  --surface: #1d1a0b;
  --surface-alt: #2b2610;
  --text: #fefce8;
  --muted: #cbc39b;
  --accent: #facc15;
  --accent-soft: rgba(250, 204, 21, 0.18);
  --accent-contrast: #1c1804;
  --accent-2: #818cf8;
  --accent-2-soft: rgba(129, 140, 248, 0.18);
  --accent-2-contrast: #0d1026;
  --accent-3: #f472b6;
  --accent-3-soft: rgba(244, 114, 182, 0.18);
  --accent-3-contrast: #220b16;
  --border: rgba(254, 249, 195, 0.15);
}

/* Map all 3 accents into the shared booking & contact shell */
.kb-shell {
  --kb-bg: var(--bg);
  --kb-surface: var(--surface);
  --kb-surface-alt: var(--surface-alt);
  --kb-text: var(--text);
  --kb-muted: var(--muted);
  --kb-accent: var(--accent);
  --kb-accent-soft: var(--accent-soft);
  --kb-accent-contrast: var(--accent-contrast);
  --kb-accent-2: var(--accent-2);
  --kb-accent-2-soft: var(--accent-2-soft);
  --kb-accent-2-contrast: var(--accent-2-contrast);
  --kb-accent-3: var(--accent-3);
  --kb-accent-3-soft: var(--accent-3-soft);
  --kb-accent-3-contrast: var(--accent-3-contrast);
  --kb-border: var(--border);
}

html[data-font] .kb-shell {
  --kb-font-display: var(--font-display);
  --kb-font-body: var(--font-body);
}

/* Multi-Color Semantic Roles Across All 8 Mockups */

/* Secondary Accent (--accent-2): kickers, step numbers, prices, stats & floating photo badges */
html[data-design] .kicker,
html[data-design] .idx-num,
html[data-design] .lb-kicker,
html[data-design] .lb-price,
html[data-design] .script-tag,
html[data-design] .step-num,
html[data-design] .menu-price,
html[data-design] .price-tag,
html[data-design] .bento-stat strong,
html[data-design] .stat-tile strong {
  color: var(--accent-2) !important;
}

html[data-design] .soft-badge,
html[data-design] .pill-kicker,
html[data-design] .status-pill,
html[data-design] .svc-price-pill {
  background: var(--accent-2-soft) !important;
  color: var(--accent-2) !important;
  border-color: var(--accent-2-soft) !important;
}

html[data-design] .arch-caption {
  background: var(--accent-2) !important;
  color: var(--accent-2-contrast) !important;
}

html[data-design] .bento-tag {
  border: 1.5px solid var(--accent-2);
}

/* Tertiary Accent (--accent-3): decorative pills, highlights, list stars, lookbook accents & footer links */
html[data-design] .logo-pill,
html[data-design] .dur-pill {
  background: var(--accent-3-soft) !important;
  color: var(--accent-3) !important;
}

html[data-design] .supplies-list li::before,
html[data-design] .lb-cat {
  color: var(--accent-3) !important;
}

html[data-design] .look-card,
html[data-design] .ig-card,
html[data-design] .gal-item,
html[data-design] .nail-tile {
  transition: border-color 0.2s, transform 0.2s;
}

html[data-design] .look-card:hover,
html[data-design] .ig-card:hover,
html[data-design] .gal-item:hover,
html[data-design] .nail-tile:hover {
  border-color: var(--accent-2);
}

html[data-design] footer a,
html[data-design] .zine-foot a {
  color: var(--accent-3) !important;
}

/* Ensure button & surface contrast stays crisp when toggling Light <-> Dark on any layout */
html[data-surface="dark"] .bento-tag {
  background: rgba(20, 16, 28, 0.92) !important;
  color: #f8f7fc !important;
}

html[data-surface="dark"] .btn-editorial:not(.btn-ghost),
html[data-surface="dark"] .btn-pop,
html[data-surface="dark"] .btn-luxe:not(.btn-outline),
html[data-surface="dark"] .lb-btn:not(.lb-btn-outline),
html[data-surface="dark"] .pill-link.primary,
html[data-surface="dark"] .tab-pill.is-active,
html[data-surface="dark"] .ticker {
  color: var(--accent-contrast) !important;
}

html[data-surface="dark"] .btn-editorial.btn-ghost,
html[data-surface="dark"] .btn-luxe.btn-outline,
html[data-surface="dark"] .lb-btn.lb-btn-outline,
html[data-surface="dark"] .aura-btn.aura-btn-soft {
  color: var(--text) !important;
}

html[data-design] .btn-ghost:hover,
html[data-design] .btn-outline:hover,
html[data-design] .lb-btn-outline:hover,
html[data-design] .rail-login:hover {
  border-color: var(--accent-2) !important;
  color: var(--accent-2) !important;
}

html[data-surface="light"] .portrait-glow {
  box-shadow: 0 18px 42px var(--accent-soft);
}
