/* Upchatty EMBER (2026-12-03) — the ONE palette for every Upchatty page: the app shell, Messenger, Meet, Join.
   Coral (talk) · mint (live) · saffron (heads-up) · lilac (AI) · tide teal (media), on warm ink by night / paper by day.
   Tokens only + the browser surfaces. Loaded AFTER uc-kit.css, which keeps the old variable names (--blue is the
   primary, and here it is coral). Roll back = remove this file's <link>; every page falls back to the 10/01 blue kit. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

html[data-theme="dark"], html:not([data-theme]) {
  --bg:#0a0f14; --bg2:#0d141b; --bg3:#121b24;
  --card:#111921; --card2:#16212b; --card3:#1d2a36;
  --border:#2a3c4c; --border2:#1b2834;
  --text:#f4f1ea; --muted:#a9b6c0; --muted2:#74838f;
  --blue:#ff6b4a; --blue-l:#ff9b7f; --blue-d:#cf3f25; --blue-bg:rgba(255,107,74,.14);
  --green:#2ee6b0; --green-bg:rgba(46,230,176,.13);
  --red:#ff4d6d; --red-bg:rgba(255,77,109,.14);
  --yellow:#ffc247; --yellow-bg:rgba(255,194,71,.14);
  --purple:#b79cff; --purple-bg:rgba(183,156,255,.15);
  --cyan:#3dd6d0; --cyan-bg:rgba(61,214,208,.12);
  --glass:rgba(13,20,27,.76); --glass-line:rgba(255,155,127,.20);
  --stage:#05080b; --shadow:0 18px 50px rgba(0,0,0,.55);
  --glow:0 0 0 1px rgba(255,107,74,.45), 0 6px 22px rgba(255,107,74,.25);
  --grid-line:rgba(255,155,127,.05);
  --sky-a:rgba(255,107,74,.40); --sky-b:rgba(183,156,255,.32); --sky-c:rgba(61,214,208,.30);
  --sc-chats:#ff7a5a; --sc-status:#ffc247; --sc-gallery:#3dd6d0; --sc-ai:#b79cff; --sc-meet:#2ee6b0;
  --sc-admin:#ff6fa3; --sc-theme:#ffd98a; --sc-settings:#9fb4c8;
  --ucv-ink:#0a0f14; --ucv-mine-a:#e2502f; --ucv-mine-b:#b8325c;
}
html[data-theme="light"] {
  --bg:#f7f3ec; --bg2:#fbf8f3; --bg3:#efe9df;
  --card:#ffffff; --card2:#f8f4ee; --card3:#efe8dc;
  --border:#d9cfbf; --border2:#e8e0d3;
  --text:#18202a; --muted:#4f5a66; --muted2:#7a838d;
  --blue:#d33f22; --blue-l:#b3341b; --blue-d:#c23a1e; --blue-bg:rgba(211,63,34,.10);
  --green:#0b8a66; --green-bg:rgba(11,138,102,.11);
  --red:#c9284a; --red-bg:rgba(201,40,74,.09);
  --yellow:#9a5c00; --yellow-bg:rgba(201,128,0,.12);
  --purple:#6a4bd6; --purple-bg:rgba(106,75,214,.10);
  --cyan:#0a7a80; --cyan-bg:rgba(10,122,128,.10);
  --glass:rgba(255,252,247,.86); --glass-line:rgba(211,63,34,.18);
  --stage:#ebe4d8; --shadow:0 16px 40px rgba(70,45,20,.14);
  --glow:0 0 0 1px rgba(211,63,34,.40), 0 6px 18px rgba(211,63,34,.16);
  --grid-line:rgba(211,63,34,.05);
  --sky-a:rgba(255,120,90,.30); --sky-b:rgba(150,120,240,.20); --sky-c:rgba(40,180,175,.22);
  --sc-chats:#d33f22; --sc-status:#a86400; --sc-gallery:#0a7a80; --sc-ai:#6a4bd6; --sc-meet:#0b8a66;
  --sc-admin:#c2185b; --sc-theme:#8a6a00; --sc-settings:#4a6076;
  --ucv-ink:#18202a; --ucv-mine-a:#d8462a; --ucv-mine-b:#b02f57;
}
:root { --uc-display:'Bricolage Grotesque', ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;
        --ucv-ease:cubic-bezier(.2,0,0,1); --ucv-pop:cubic-bezier(.175,.885,.32,1.275); --ucv-out:cubic-bezier(.05,.7,.1,1); }

/* browser surfaces carry the palette too */
::selection { background:rgba(255,107,74,.32); color:var(--text) }
html { accent-color:var(--blue); caret-color:var(--blue) }
* { scrollbar-color:var(--border) transparent }
:focus-visible { outline:2px solid var(--blue); outline-offset:2px }
.uc-lockup .w b i { background:none; -webkit-text-fill-color:var(--blue); color:var(--blue) }
.uc-lockup img, .nav-logo img { filter:drop-shadow(0 6px 14px rgba(207,63,37,.35)) }
/* depth tokens shared by the shell and Messenger (uc-flow.css): one light source, top-left */
html[data-theme="dark"], html:not([data-theme]) { --ucd-hi:rgba(255,255,255,.10); --ucd-lo:rgba(0,0,0,.55); --ucd-edge:#070b0f; --ucd-rim:rgba(255,155,127,.28) }
html[data-theme="light"] { --ucd-hi:rgba(255,255,255,.95); --ucd-lo:rgba(96,62,30,.22); --ucd-edge:#cdbfa9; --ucd-rim:rgba(211,63,34,.24) }
