/* Light theme, in the Equip Cost Zero style with Bind on Reality's gold. It follows the device's setting unless the
   visitor picked one with the theme button on the store page (<html data-theme="light|dark">, saved in localStorage as
   "bor-theme"). The product preview and the character card keep their dark backdrop in both themes. */
@media (prefers-color-scheme: light) {
  :root:root:not([data-theme="dark"]) { --bg-color:#f3f1ec; --surface-color:#ffffff; --surface-2:#f1ede4; --text-color:#1c1d22; --text-muted:#5a5d66; --border-color:#cfc7b6; --line:rgba(138,106,34,.25); --accent-gold:#8a6a22; --primary-color:#b8862b; --primary-hover:#9c7022; --on-primary:#ffffff; --danger:#c62f3a; --ok:#1f8a4c; color-scheme: light; }
  html:not([data-theme="dark"]) header, html:not([data-theme="dark"]) .policy-header { background: linear-gradient(180deg,#ffffff 0%,#f3f1ec 100%); }
  html:not([data-theme="dark"]) .policy-header .brand { color:#1c1d22; }
  html:not([data-theme="dark"]) header h1, html:not([data-theme="dark"]) .policy h1, html:not([data-theme="dark"]) .orders h1 { color:#1c1d22; }
  html:not([data-theme="dark"]) .store-tab { border-color: rgba(0,0,0,.14); }
  html:not([data-theme="dark"]) .shop-actions > *, html:not([data-theme="dark"]) .visualizer { box-shadow: 0 4px 12px rgba(35,40,66,.18); }
}
:root:root[data-theme="light"] { --bg-color:#f3f1ec; --surface-color:#ffffff; --surface-2:#f1ede4; --text-color:#1c1d22; --text-muted:#5a5d66; --border-color:#cfc7b6; --line:rgba(138,106,34,.25); --accent-gold:#8a6a22; --primary-color:#b8862b; --primary-hover:#9c7022; --on-primary:#ffffff; --danger:#c62f3a; --ok:#1f8a4c; color-scheme: light; }
html[data-theme="light"] header, html[data-theme="light"] .policy-header { background: linear-gradient(180deg,#ffffff 0%,#f3f1ec 100%); }
html[data-theme="light"] .policy-header .brand { color:#1c1d22; }
html[data-theme="light"] header h1, html[data-theme="light"] .policy h1, html[data-theme="light"] .orders h1 { color:#1c1d22; }
html[data-theme="light"] .store-tab { border-color: rgba(0,0,0,.14); }
html[data-theme="light"] .shop-actions > *, html[data-theme="light"] .visualizer { box-shadow: 0 4px 12px rgba(35,40,66,.18); }
:root[data-theme="dark"] { color-scheme: dark; }
