/* Theme tokens. Dark is the default; light is switched by the theme button and kept in localStorage("tema").
   Every color on the site comes from these variables. */
:root,[data-tema="dark"]{
 --bg:#11110f;--panel:#171614;--deep:#0b0b0a;
 --ink:#f4eee6;--text:#d9d1c6;--soft:#a69e93;
 --line:#ffffff1c;--line-2:#ffffff3d;
 --accent:#c9a57a;
 color-scheme:dark;
}
[data-tema="light"]{
 --bg:#f4eee7;--panel:#ebe3d9;--deep:#e6dccf;
 --ink:#181714;--text:#2f2c27;--soft:#625b52;
 --line:#17140f1f;--line-2:#17140f45;
 --accent:#86613f;
 color-scheme:light;
}
.tema{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer;font:16px/1 var(--sans);flex:none;transition:background .25s}
.tema:hover{background:var(--line)}
.tema:before{content:"";display:inline-block;flex:none;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat;--i:var(--i-sun);width:20px;height:20px}
[data-tema="light"] .tema:before{--i:var(--i-moon)}
