/* PixselChat Live cloud – warm, light look (the default on all cloud pages, incl. the viewer page).
   Loaded after the page's own styles, only by the cloud server. Dark mode is still one click away. */

:root[data-theme="light"] {
  --bg: #fbf6ef;               /* warm cream */
  --bg-rgb: 251, 246, 239;
  --bg-2: #f6eee4;
  --surface: #fffdf9;
  --surface-2: #f7efe5;
  --surface-3: #efe3d4;
  --line: rgba(92, 60, 30, 0.10);
  --line-2: rgba(92, 60, 30, 0.18);
  --line-3: rgba(92, 60, 30, 0.32);
  --text: #2b2119;             /* warm near-black */
  --text-2: #5b4738;
  --muted: #8a7463;
  --accent: #c8653a;           /* terracotta */
  --accent-2: #e0874f;         /* apricot */
  --accent-rgb: 200, 101, 58;
  --accent-text: #a44e26;
  --accent-soft: rgba(200, 101, 58, 0.12);
  --chip-on-text: #8c4220;
  --magenta: #b23a62;          /* live / stop stay a warm raspberry */
  --magenta-rgb: 178, 58, 98;
  --magenta-2: #c94a74;
  --magenta-text: #9c2f55;
  --magenta-soft: rgba(201, 74, 116, 0.10);
  --green: #2f7d4f;
  --green-soft: rgba(47, 125, 79, 0.11);
  --amber: #9a5a06;
  --amber-soft: rgba(214, 150, 40, 0.16);
  --red: #b8323f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(92, 60, 30, 0.06), 0 18px 40px -26px rgba(92, 60, 30, 0.35);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(224, 135, 79, 0.13), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(178, 58, 98, 0.06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
:root[data-theme="light"] .topbar { background: rgba(251, 246, 239, 0.86); }
:root[data-theme="light"] .card { background: var(--surface); }
:root[data-theme="light"] .btn.primary { box-shadow: 0 10px 26px -14px rgba(200, 101, 58, 0.75); }
:root[data-theme="light"] .stat { background: var(--surface-2); border-color: transparent; }
:root[data-theme="light"] .tbl tr:hover td { background: rgba(224, 135, 79, 0.05); }
:root[data-theme="light"] .tabs button.on { border-bottom-color: var(--accent); }
:root[data-theme="light"] .input { background: #fffefb; }
:root[data-theme="light"] .tokenbox, :root[data-theme="light"] .link-box { background: var(--surface-2); }
