/* Warm eggshell surfaces, charcoal text, and restrained accents in light mode. */
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f3efe6;
  --panel:#fbf8f0;
  --line:#d7cfbf;
  --muted:#726b60;
  --text:#403b34;
  --lime:#4d6b31;
  --violet:#78569d;
  --button-bg:#ccdfa7;
  --leaderboard-tab-selected-bg:#ccdfa7;
  --leaderboard-tab-selected-color:#344821;
  --leaderboard-tab-selected-border:#8ca85e;
  --leaderboard-subtab-selected-bg:#e4ead7;
  --discord-icon-color:#3f50b5;
  --theme-surface-2a2d32:#f6f0e3;
  --theme-border-777d85:#cec5b5;
  --theme-border-3b4046:#cdc5b6;
  --theme-surface-272831:#f6f0e4;
  --theme-surface-1c1f23:#f7f1e4;
  --theme-ink-e2e2e5:#4e473d;
  --theme-ink-b5a0d1:#765d8f;
  --theme-border-5e626a:#cdc5b5;
  --theme-border-494b53:#cdc5b5;
  --theme-surface-33363d:#fbf8f0;
  --theme-surface-292c33:#eee7d9;
  --theme-ink-f3f0e8:#484235;
  --theme-shadow-11131860:#715d3d14;
  --tile-spin-shadow:0 8px 14px var(--theme-shadow-11131860);
  --tile-reel-brightness:1;
  --tile-land-shadow:0 8px 14px var(--theme-shadow-11131860);
  --theme-shadow-0005:#715d3d14;
  --theme-ink-646771:#726b60;
  --theme-border-e9eddf:#d3ccbd;
  --theme-border-9ba18f:#cfc8b2;
  --theme-border-8ba657:#d1ccad;
  --theme-border-819c54:#d0ccad;
  --theme-ink-909397:#696154;
  --theme-surface-181b20:#f7f1e5;
  --theme-ink-d7d9dd:#4e473d;
  --theme-surface-1a1d21:#fbf8f0;
  --theme-ink-73797d:#726b60;
  --theme-surface-34383e:#f4efe3;
  --theme-ink-a29eaf:#5d5549;
  --theme-border-4c4b58:#cdc4b6;
  --theme-ink-c5c0d4:#6b6078;
  --theme-border-656977:#cdc4b6;
  --theme-ink-b6c2b2:#536944;
  --theme-ink-9cadff:#5b65a3;
  --theme-ink-e6c68a:#876126;
  --theme-ink-8b9298:#706b64;
  --theme-ink-e2e5e8:#61656b;
  --theme-ink-c6ef80:#35772f;
  --theme-ink-7dc6f7:#246db5;
  --theme-ink-b59af5:#8350b2;
  --theme-ink-ed9dba:#b03578;
  --theme-ink-e5c075:#936000;
  --theme-ink-94979e:#696154;
  --theme-ink-d4d5d7:#4e473d;
  --theme-surface-1b1e23:#fbf8f0;
  --theme-border-4b515a:#ccc5b6;
  --theme-surface-08090dc9:#52483a80;
  --theme-ink-b4b8bf:#5d5549;
  --theme-ink-b8bec6:#5d5549;
  --theme-border-3a4046:#ccc5b6;
  --theme-ink-ffb7ba:#9c4b50;
  --theme-surface-30372c:#f6f0e2;
  --theme-border-586344:#d0cab0;
  --theme-ink-9898a4:#696154;
  --theme-border-7d8b63:#d0c9b0;
  --theme-surface-242b22:#f6f1e3;
  --theme-surface-1b201d:#f7f1e4;
  --theme-border-424b38:#cfc9b1;
  --theme-surface-2d3824:#f6f1e2;
  --theme-surface-20291d:#f6f1e3;
  --theme-shadow-0002:#715d3d14;
  --theme-ink-d5f6a5:#4d6b31;
  --theme-ink-a7b29f:#646b59;
  --theme-surface-40483c:#f4efe1;
  --theme-border-665639:#d5c7ae;
  --theme-surface-30291d:#f7f1e3;
  --theme-surface-1c1e21:#fbf8f0;
  --theme-border-524160:#cfc1b8;
  --theme-surface-292332:#f6f0e4;
  --theme-border-ffffff0d:#77664a0d;
  --theme-surface-2a2d33:#efe8dc;
  --theme-border-3b3f46:#cdc5b6;
  --theme-ink-767d88:#726b60;
  --theme-ink-bfc9b4:#5f6d4a;
  --theme-border-56604c:#cfc8b2;
  --theme-border-d4f5a0:#d3ccbd;
  --theme-ink-60666e:#726b60;
  --theme-surface-202329:#f5efe3;
  --theme-ink-dddfe2:#4e473d;
  --theme-ink-c9cdd3:#4e473d;
  --theme-ink-a5adb8:#706b64;
  --theme-ink-79cafa:#246db5;
  --theme-ink-ad91f7:#8350b2;
  --theme-ink-f0a0bf:#b03578;
  --theme-ink-e7c579:#936000;
  --theme-ink-9de4c8:#35765b;
  --theme-surface-1b302a:#eef1e4;
  --theme-border-436b5a:#cacbb5;
  --theme-ink-97d2fb:#306e94;
  --theme-surface-1c2c3b:#edf0e9;
  --theme-border-426482:#c8c6bb;
  --theme-ink-cbb8ff:#795b9f;
  --theme-surface-2b2540:#f1ecee;
  --theme-border-625080:#cec1b9;
  --theme-ink-f2add4:#9b4777;
  --theme-surface-392638:#f6eced;
  --theme-border-80516e:#d4c1b5;
  --theme-ink-f1d08d:#886326;
  --theme-surface-382e21:#f6efde;
  --theme-border-806947:#d5c7ae;
  --theme-ink-a1a5ad:#5d5549;
  --theme-ink-fff:#403b34;
  --theme-ink-f0f0ef:#403b34;
  --theme-ink-b5b8bf:#5d5549;
  --theme-border-42474f:#cdc5b6;
  --theme-ink-e4e6e9:#454037;
  --theme-border-737b86:#cdc5b6;
  --theme-surface-22262c:#f5efe3;
  --theme-border-a8adb5:#cdc5b6;
  --theme-border-a5adb8:#ccc5b7;
  --theme-surface-20242a:#f3ecdf;
  --theme-border-454b55:#ccc5b6;
  --theme-shadow-0008:#715d3d14;
  --theme-surface-343a43:#e9e1d3;
  --theme-surface-2c323a:#f5f0e3;
  --theme-ink-ff7783:#b3384a;
  --theme-ink-a5a9b0:#5d5549;
  --theme-border-555b64:#cdc5b6;
  --theme-border-202329:#ccc5b7;
  --theme-surface-555b64:#f2ede0;
  --theme-surface-737a84:#f0ebde;
  --theme-border-ffffff0a:#77664a0a;
  --theme-surface-ffffff06:#52483a06;
  --theme-ink-9da4af:#5d5549;
  --theme-border-69717d:#cdc5b6;
  --theme-surface-ffffff05:#52483a05;
  --theme-border-454a53:#ccc5b6;
  --theme-surface-1a1d22:#fbf8f0;
  --theme-surface-08090d70:#52483a66;
  --theme-surface-ffffff07:#52483a07;
  --theme-surface-ffffff03:#52483a03;
  --theme-ink-a0a5ae:#5d5549;
  --theme-surface-343941:#e9e1d3;
  --theme-surface-202917:#f7f2e3;
  --theme-surface-ffffff09:#52483a09;
  --theme-border-8b9b6a:#d0cab0;
  --theme-surface-22282a:#f6f1e4;
  --theme-ink-c6cad1:#4e473d;
  --theme-surface-ffffff0b:#52483a0b;
  --theme-surface-ffffff02:#52483a02;
  --theme-surface-ffffff08:#52483a08;
  --theme-ink-626871:#726b60;
  --theme-border-343942:#ccc5b7;
  --theme-surface-171a1f:#f7f1e5;
  --theme-border-30353d:#ccc5b7;
  --theme-surface-111419:#f7f2e5;
  --theme-ink-f0f1f3:#454037;
  --theme-surface-2c3139:#f5f0e3;
  --theme-border-4e5560:#ccc5b6;
  --theme-border-ffffff07:#77664a07;
  --theme-surface-1d2026:#fbf8f0;
  --theme-ink-8b929e:#696154;
  --theme-surface-222821:#edf0df;
  --theme-border-ffffff1c:#77664a1c;
  --theme-border-ffffff0b:#77664a0b;
  --theme-ink-666d77:#726b60;
  --theme-ink-c2c6cd:#4e473d;
  --theme-ink-737b87:#726b60;
  --theme-ink-d6d9ff:#5262a4;
  --theme-ink-9da5ff:#5262a4;
  --theme-border-40454e:#ccc5b6;
  --theme-shadow-0006:#715d3d14;
  --theme-ink-eeadb0:#9b4650;
  --theme-ink-aeb5ff:#5262a4;
  --theme-border-e2e5e8:#d3ccbd;
  --theme-ink-626770:#726b60;
  --theme-surface-08090d99:#52483a66;
  --theme-border-454b54:#ccc5b6;
  --theme-shadow-1a1d22:#715d3d24;
  --theme-ink-c9cbd0:#4e473d;
  --theme-border-41464e:#ccc5b6;
  --theme-surface-14171b:#f4eee2;
  --theme-border-d5f69e:#8ca85e;
  --button-hover-bg:#b8cf8f;
  --roll-sheen-light:#716451;
  --roll-sheen-light-share:86%;
  --roll-sheen-dark:#3c352b;
  --roll-sheen-dark-share:86%;
}
@media(prefers-color-scheme:light){
  :root:not([data-theme]){
  color-scheme:light;
  --bg:#f3efe6;
  --panel:#fbf8f0;
  --line:#d7cfbf;
  --muted:#726b60;
  --text:#403b34;
  --lime:#4d6b31;
  --violet:#78569d;
  --button-bg:#ccdfa7;
  --leaderboard-tab-selected-bg:#ccdfa7;
  --leaderboard-tab-selected-color:#344821;
  --leaderboard-tab-selected-border:#8ca85e;
  --leaderboard-subtab-selected-bg:#e4ead7;
  --discord-icon-color:#3f50b5;
  --theme-surface-2a2d32:#f6f0e3;
  --theme-border-777d85:#cec5b5;
  --theme-border-3b4046:#cdc5b6;
  --theme-surface-272831:#f6f0e4;
  --theme-surface-1c1f23:#f7f1e4;
  --theme-ink-e2e2e5:#4e473d;
  --theme-ink-b5a0d1:#765d8f;
  --theme-border-5e626a:#cdc5b5;
  --theme-border-494b53:#cdc5b5;
  --theme-surface-33363d:#fbf8f0;
  --theme-surface-292c33:#eee7d9;
  --theme-ink-f3f0e8:#484235;
  --theme-shadow-11131860:#715d3d14;
  --tile-spin-shadow:0 8px 14px var(--theme-shadow-11131860);
  --tile-reel-brightness:1;
  --tile-land-shadow:0 8px 14px var(--theme-shadow-11131860);
  --theme-shadow-0005:#715d3d14;
  --theme-ink-646771:#726b60;
  --theme-border-e9eddf:#d3ccbd;
  --theme-border-9ba18f:#cfc8b2;
  --theme-border-8ba657:#d1ccad;
  --theme-border-819c54:#d0ccad;
  --theme-ink-909397:#696154;
  --theme-surface-181b20:#f7f1e5;
  --theme-ink-d7d9dd:#4e473d;
  --theme-surface-1a1d21:#fbf8f0;
  --theme-ink-73797d:#726b60;
  --theme-surface-34383e:#f4efe3;
  --theme-ink-a29eaf:#5d5549;
  --theme-border-4c4b58:#cdc4b6;
  --theme-ink-c5c0d4:#6b6078;
  --theme-border-656977:#cdc4b6;
  --theme-ink-b6c2b2:#536944;
  --theme-ink-9cadff:#5b65a3;
  --theme-ink-e6c68a:#876126;
  --theme-ink-8b9298:#706b64;
  --theme-ink-e2e5e8:#61656b;
  --theme-ink-c6ef80:#35772f;
  --theme-ink-7dc6f7:#246db5;
  --theme-ink-b59af5:#8350b2;
  --theme-ink-ed9dba:#b03578;
  --theme-ink-e5c075:#936000;
  --theme-ink-94979e:#696154;
  --theme-ink-d4d5d7:#4e473d;
  --theme-surface-1b1e23:#fbf8f0;
  --theme-border-4b515a:#ccc5b6;
  --theme-surface-08090dc9:#52483a80;
  --theme-ink-b4b8bf:#5d5549;
  --theme-ink-b8bec6:#5d5549;
  --theme-border-3a4046:#ccc5b6;
  --theme-ink-ffb7ba:#9c4b50;
  --theme-surface-30372c:#f6f0e2;
  --theme-border-586344:#d0cab0;
  --theme-ink-9898a4:#696154;
  --theme-border-7d8b63:#d0c9b0;
  --theme-surface-242b22:#f6f1e3;
  --theme-surface-1b201d:#f7f1e4;
  --theme-border-424b38:#cfc9b1;
  --theme-surface-2d3824:#f6f1e2;
  --theme-surface-20291d:#f6f1e3;
  --theme-shadow-0002:#715d3d14;
  --theme-ink-d5f6a5:#4d6b31;
  --theme-ink-a7b29f:#646b59;
  --theme-surface-40483c:#f4efe1;
  --theme-border-665639:#d5c7ae;
  --theme-surface-30291d:#f7f1e3;
  --theme-surface-1c1e21:#fbf8f0;
  --theme-border-524160:#cfc1b8;
  --theme-surface-292332:#f6f0e4;
  --theme-border-ffffff0d:#77664a0d;
  --theme-surface-2a2d33:#efe8dc;
  --theme-border-3b3f46:#cdc5b6;
  --theme-ink-767d88:#726b60;
  --theme-ink-bfc9b4:#5f6d4a;
  --theme-border-56604c:#cfc8b2;
  --theme-border-d4f5a0:#d3ccbd;
  --theme-ink-60666e:#726b60;
  --theme-surface-202329:#f5efe3;
  --theme-ink-dddfe2:#4e473d;
  --theme-ink-c9cdd3:#4e473d;
  --theme-ink-a5adb8:#706b64;
  --theme-ink-79cafa:#246db5;
  --theme-ink-ad91f7:#8350b2;
  --theme-ink-f0a0bf:#b03578;
  --theme-ink-e7c579:#936000;
  --theme-ink-9de4c8:#35765b;
  --theme-surface-1b302a:#eef1e4;
  --theme-border-436b5a:#cacbb5;
  --theme-ink-97d2fb:#306e94;
  --theme-surface-1c2c3b:#edf0e9;
  --theme-border-426482:#c8c6bb;
  --theme-ink-cbb8ff:#795b9f;
  --theme-surface-2b2540:#f1ecee;
  --theme-border-625080:#cec1b9;
  --theme-ink-f2add4:#9b4777;
  --theme-surface-392638:#f6eced;
  --theme-border-80516e:#d4c1b5;
  --theme-ink-f1d08d:#886326;
  --theme-surface-382e21:#f6efde;
  --theme-border-806947:#d5c7ae;
  --theme-ink-a1a5ad:#5d5549;
  --theme-ink-fff:#403b34;
  --theme-ink-f0f0ef:#403b34;
  --theme-ink-b5b8bf:#5d5549;
  --theme-border-42474f:#cdc5b6;
  --theme-ink-e4e6e9:#454037;
  --theme-border-737b86:#cdc5b6;
  --theme-surface-22262c:#f5efe3;
  --theme-border-a8adb5:#cdc5b6;
  --theme-border-a5adb8:#ccc5b7;
  --theme-surface-20242a:#f3ecdf;
  --theme-border-454b55:#ccc5b6;
  --theme-shadow-0008:#715d3d14;
  --theme-surface-343a43:#e9e1d3;
  --theme-surface-2c323a:#f5f0e3;
  --theme-ink-ff7783:#b3384a;
  --theme-ink-a5a9b0:#5d5549;
  --theme-border-555b64:#cdc5b6;
  --theme-border-202329:#ccc5b7;
  --theme-surface-555b64:#f2ede0;
  --theme-surface-737a84:#f0ebde;
  --theme-border-ffffff0a:#77664a0a;
  --theme-surface-ffffff06:#52483a06;
  --theme-ink-9da4af:#5d5549;
  --theme-border-69717d:#cdc5b6;
  --theme-surface-ffffff05:#52483a05;
  --theme-border-454a53:#ccc5b6;
  --theme-surface-1a1d22:#fbf8f0;
  --theme-surface-08090d70:#52483a66;
  --theme-surface-ffffff07:#52483a07;
  --theme-surface-ffffff03:#52483a03;
  --theme-ink-a0a5ae:#5d5549;
  --theme-surface-343941:#e9e1d3;
  --theme-surface-202917:#f7f2e3;
  --theme-surface-ffffff09:#52483a09;
  --theme-border-8b9b6a:#d0cab0;
  --theme-surface-22282a:#f6f1e4;
  --theme-ink-c6cad1:#4e473d;
  --theme-surface-ffffff0b:#52483a0b;
  --theme-surface-ffffff02:#52483a02;
  --theme-surface-ffffff08:#52483a08;
  --theme-ink-626871:#726b60;
  --theme-border-343942:#ccc5b7;
  --theme-surface-171a1f:#f7f1e5;
  --theme-border-30353d:#ccc5b7;
  --theme-surface-111419:#f7f2e5;
  --theme-ink-f0f1f3:#454037;
  --theme-surface-2c3139:#f5f0e3;
  --theme-border-4e5560:#ccc5b6;
  --theme-border-ffffff07:#77664a07;
  --theme-surface-1d2026:#fbf8f0;
  --theme-ink-8b929e:#696154;
  --theme-surface-222821:#edf0df;
  --theme-border-ffffff1c:#77664a1c;
  --theme-border-ffffff0b:#77664a0b;
  --theme-ink-666d77:#726b60;
  --theme-ink-c2c6cd:#4e473d;
  --theme-ink-737b87:#726b60;
  --theme-ink-d6d9ff:#5262a4;
  --theme-ink-9da5ff:#5262a4;
  --theme-border-40454e:#ccc5b6;
  --theme-shadow-0006:#715d3d14;
  --theme-ink-eeadb0:#9b4650;
  --theme-ink-aeb5ff:#5262a4;
  --theme-border-e2e5e8:#d3ccbd;
  --theme-ink-626770:#726b60;
  --theme-surface-08090d99:#52483a66;
  --theme-border-454b54:#ccc5b6;
  --theme-shadow-1a1d22:#715d3d24;
  --theme-ink-c9cbd0:#4e473d;
  --theme-border-41464e:#ccc5b6;
  --theme-surface-14171b:#f4eee2;
  --theme-border-d5f69e:#8ca85e;
  --button-hover-bg:#b8cf8f;
  --roll-sheen-light:#716451;
  --roll-sheen-light-share:86%;
  --roll-sheen-dark:#3c352b;
  --roll-sheen-dark-share:86%;
  }
}

.theme-toggle{display:grid;place-items:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:7px;background:none;color:var(--muted);transition:color .2s,background .2s}
.theme-toggle:hover{color:var(--lime);background:var(--theme-surface-ffffff05,#ffffff05)}
.theme-toggle svg{display:block;transition:transform .28s cubic-bezier(.22,1,.36,1)}
.theme-toggle:hover svg{transform:rotate(-15deg) scale(1.08)}
.theme-toggle [data-theme-icon="moon"]{display:none}
:root[data-theme="light"] .theme-toggle [data-theme-icon="moon"]{display:block}
:root[data-theme="light"] .theme-toggle [data-theme-icon="sun"]{display:none}
:root[data-theme="light"] #daily-page .tile.revealed.word-match,:root[data-theme="light"] .badge-card .mini-tile.lit,:root[data-theme="light"] #word-cards .word-card .word-slots i.matched{color:#fff}
:root[data-theme="light"] .rarity-dot[data-rarity="common"]{background:var(--theme-ink-e2e5e8)}
:root[data-theme="light"] .rarity-dot[data-rarity="uncommon"]{background:var(--theme-ink-c6ef80)}
:root[data-theme="light"] .rarity-dot[data-rarity="rare"]{background:var(--theme-ink-7dc6f7)}
:root[data-theme="light"] .rarity-dot[data-rarity="epic"]{background:var(--theme-ink-b59af5)}
:root[data-theme="light"] .rarity-dot[data-rarity="mythic"]{background:var(--theme-ink-ed9dba)}
:root[data-theme="light"] .rarity-dot[data-rarity="anomaly"]{background:var(--theme-ink-e5c075)}
@media(max-width:760px){.theme-toggle{width:30px;height:32px}.theme-toggle svg{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle svg{transition:none}.theme-toggle:hover svg{transform:none}}
