/* Light reading theme for the blog: warm paper, deep violet ink, gold accents */
html[data-theme="light"]{color-scheme:light}
html[data-theme="light"] body{
  --bg:#f6f1e8;--bg2:#fbf7f0;--surface:rgba(60,30,90,.045);--surface2:rgba(60,30,90,.075);--line:rgba(60,30,90,.14);
  --ink:#24183a;--muted:#6e6282;--accent:#9a6a1c;
  background:#f6f1e8;color:var(--ink);background-image:radial-gradient(60% 40% at 50% 0%,rgba(185,156,240,.18),transparent 70%)}
html[data-theme="light"] .bar{background:rgba(251,247,240,.82);box-shadow:inset 0 0 0 1px var(--line)}
html[data-theme="light"] .bar nav a:not(.btn){color:#4a3d62}
html[data-theme="light"] .mark svg g{stroke:#9a6a1c}
html[data-theme="light"] .btn{background:#24183a;color:#fbf6ee}
html[data-theme="light"] .btn:hover{background:#9a6a1c;color:#fffaf0}
html[data-theme="light"] .btn.ghost{background:rgba(60,30,90,.05);color:var(--ink)}
html[data-theme="light"] .sbtn,html[data-theme="light"] .tbtn{color:#4a3d62}
html[data-theme="light"] .sbtn:hover,html[data-theme="light"] .tbtn:hover{background:rgba(60,30,90,.07);color:var(--accent)}
html[data-theme="light"] .post .lead,html[data-theme="light"] .blogindex .lead{color:#3d3152}
html[data-theme="light"] .prose{color:#33284a}
html[data-theme="light"] .prose blockquote{color:#5a3f12}
html[data-theme="light"] .prose .note{background:rgba(154,106,28,.07);box-shadow:inset 0 0 0 1px rgba(154,106,28,.25)}
html[data-theme="light"] .arc{background:#fffdf9;box-shadow:inset 0 0 0 1px var(--line)}
html[data-theme="light"] .arc p.dim{color:#6e6282}
html[data-theme="light"] .calc-cta,html[data-theme="light"] .read-cta{background:linear-gradient(160deg,rgba(185,156,240,.16),rgba(233,194,123,.14))}
html[data-theme="light"] .read-cta p:not(.ct),html[data-theme="light"] .noresults p+p{color:#4a3d62}
html[data-theme="light"] .mini input,html[data-theme="light"] .search{background:#fffdf9}
html[data-theme="light"] .mini input{color:var(--ink)}
html[data-theme="light"] .search input{color:var(--ink)}
html[data-theme="light"] .search input::placeholder,html[data-theme="light"] .mini input::placeholder{color:#9a8fae}
html[data-theme="light"] .pcard{background:#fffdf9}
html[data-theme="light"] .pcard p{color:#4a3d62}
html[data-theme="light"] .noresults{background:#fffdf9}
html[data-theme="light"] .bfoot{color:#8a7f9c}
html[data-theme="light"] .bfoot a{color:#6e6282}
html[data-theme="light"] .prose th{color:#6e6282}
html[data-theme="light"] .chartfig figcaption{color:#6e6282}
/* toggle button */
.tbtn{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:0;background:none;color:#d9d2e6;cursor:pointer}
.tbtn:hover{color:var(--accent);background:rgba(255,255,255,.06)}
.tbtn svg{width:19px;height:19px}
.tbtn .sun{display:none}
html[data-theme="light"] .tbtn .sun{display:block}
html[data-theme="light"] .tbtn .moon{display:none}
@media (max-width:420px){.tbtn,.sbtn{width:34px;height:34px}.bar nav{gap:6px}.bar .mark{font-size:18px}}
