.theme-toggle {display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;padding:7px;border:1px solid #a9b998;border-radius:50%;background:#f4f6e9;color:#405d3a;cursor:pointer;box-shadow:none;}
.theme-toggle svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.theme-toggle:hover {background:#e6ecd8;}.theme-toggle:focus-visible {outline:3px solid #94aa76;outline-offset:3px;}
.theme-setting {display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line,#dce2d3);padding-top:10px;font-size:12px;}
[data-theme="dark"] .theme-toggle {background:#24382a;color:#e5edc9;border-color:#526348;}
[data-theme="dark"] .theme-toggle:hover {background:#304634;}
[data-theme="dark"] .docs-body {background:#14221b;color:#dce4d5;}
[data-theme="dark"] .docs-top {background:#14221bf2;border-color:#344537;}
[data-theme="dark"] .docs-logo,[data-theme="dark"] .docs h1,[data-theme="dark"] .docs h2,[data-theme="dark"] .docs-h3,[data-theme="dark"] .nursery h2,[data-theme="dark"] .mint-intro-copy h1,[data-theme="dark"] .tier-card h3,[data-theme="dark"] .mint-facts b {color:#e3eccb;}
[data-theme="dark"] .docs-nav a,[data-theme="dark"] .docs a,[data-theme="dark"] .nursery a:not(.nursery-primary),[data-theme="dark"] .nursery-secondary {color:#b1c79b;}
[data-theme="dark"] .docs section,[data-theme="dark"] .mint-facts,[data-theme="dark"] .nursery-footer {border-color:#344537;}
[data-theme="dark"] .docs-lead,[data-theme="dark"] .docs-small,[data-theme="dark"] .mint-description,[data-theme="dark"] .mint-lead,[data-theme="dark"] .mint-launch > p,[data-theme="dark"] .mint-facts span,[data-theme="dark"] .lineup-head > p,[data-theme="dark"] .section-heading > p:last-child,[data-theme="dark"] .tier-card p,[data-theme="dark"] .mint-how li p,[data-theme="dark"] .gallery-note,[data-theme="dark"] .nursery-footer {color:#a7b59f;}
[data-theme="dark"] .docs-kicker,[data-theme="dark"] .mint-eyebrow,[data-theme="dark"] .docs-toc-title,[data-theme="dark"] .tier-label {color:#9bae8a;}
[data-theme="dark"] .docs-toc a {color:#a3b49b;}
[data-theme="dark"] .docs-toc a:hover,[data-theme="dark"] .docs-toc a[aria-current="location"] {background:#293f2a;color:#e5edcc;border-left-color:#94b178;}
[data-theme="dark"] .docs-toc,[data-theme="dark"] .docs-toc details {background:#18291e;border-color:#3b4d38;}
[data-theme="dark"] .docs-meter,[data-theme="dark"] .docs-table-wrap,[data-theme="dark"] .docs-forest,[data-theme="dark"] .mint-launch,[data-theme="dark"] .tier-card {background:#1b2c21;border-color:#354b35;}
[data-theme="dark"] .docs-formula,[data-theme="dark"] .docs-ca,[data-theme="dark"] .docs-table th,[data-theme="dark"] .mint-how {background:#263a29;border-color:#3b4d38;color:#c7d7b8;}
[data-theme="dark"] .docs-table td,[data-theme="dark"] .docs-table th {border-color:#384b37;}
[data-theme="dark"] .docs-table,[data-theme="dark"] .docs-meter-count b,[data-theme="dark"] .docs-forest span,[data-theme="dark"] .docs-ca code {color:#d4dfc8;}
[data-theme="dark"] .tag.soon,[data-theme="dark"] .launch-badge {background:#3d3c27;color:#d6cca0;}
[data-theme="dark"] .nursery-primary,[data-theme="dark"] .docs-support-btn {background:#9eb881;color:#152319!important;}
[data-theme="dark"] .mint-launch .road-top,[data-theme="dark"] .mint-launch .road-top b,[data-theme="dark"] .mint-launch .road-count,[data-theme="dark"] .mint-launch .road-count b,[data-theme="dark"] .mint-launch .road-left {color:#c0d4ad;}
[data-theme="dark"] .road-bar,[data-theme="dark"] .split-bar.big {background:#354831;}
[data-theme="dark"] .forest {background:#223629;border-color:#3b5039;}
[data-theme="dark"] .forest h3,[data-theme="dark"] .forest-num b {color:#dce8ce;}
[data-theme="dark"] .forest-where,[data-theme="dark"] .forest-num,[data-theme="dark"] .forest-leader {color:#a4b69a;}
[data-theme="dark"] .mint-body .gate-btn {background:#273b2b;border-color:#3b5039;color:#9aae8e;}
[data-theme="dark"] .mint-body .belt-wrap {border-color:#3b5039;}
[data-theme="dark"] .mint-body .belt {background:radial-gradient(ellipse at 50% 100%,#344d2d,transparent 80%),#203222;}
[data-theme="dark"] .mint-body .pot-no {color:#b0c49e;}
[data-theme="dark"] .mint-body .pot:hover {background:#ffffff0a;}
[data-theme="dark"] .tier-card.rare {background:#1d3030;}[data-theme="dark"] .tier-card.legendary {background:#333423;}
[data-theme="dark"] .mint-body .peek-card {background:#1c3021;border-color:#536949;color:#d8e4ca;}
[data-theme="dark"] .mint-body .peek-card h3 {color:#e2eaca;}[data-theme="dark"] .mint-body .peek-card p {color:#b5c5a5;}
[data-theme="dark"] .peek-close,[data-theme="dark"] .ca-copy {background:#30462f;color:#dce7cd;border-color:#60744f;}
/* Home illustration: moonlight rather than a filter over the artwork. */
[data-theme="dark"] .home {--ink:#e6e8cc;--soil:#243125;--soil-dark:#142419;--grass:#48613c;--grass-dark:#344c32;background:#243125;}
[data-theme="dark"] .home .sky {background:radial-gradient(ellipse at 85% 20%,#3e5864aa,transparent 38%),linear-gradient(#111e34,#294350 55%,#647563);}
[data-theme="dark"] .home .sun {background:radial-gradient(circle at 35% 30%,#f5f5de,#d0d9c8 65%,#a8bda8);filter:drop-shadow(0 0 18px #d1e0c544);}
[data-theme="dark"] .home .sun::before {background:radial-gradient(circle,#c5d9cf30,transparent 68%);}
[data-theme="dark"] .home .cloud {opacity:.18;}
[data-theme="dark"] .home .logo,[data-theme="dark"] .home .intro h1,[data-theme="dark"] .home .hint {color:#e5e7cb;}
[data-theme="dark"] .home .intro em {color:#acc684;}[data-theme="dark"] .home .arrow {stroke:#c0cdb0;}
[data-theme="dark"] .home .bud-label {fill:#e0e6c9;paint-order:stroke;stroke:#26362c;stroke-width:2px;stroke-linejoin:round;}
[data-theme="dark"] .home .bud-shape {stroke:#374831;}
[data-theme="dark"] .home .hill {fill:#4c633e;}[data-theme="dark"] .home .grass {background:linear-gradient(#4c633e,#344b31);}
[data-theme="dark"] .home .meadow-detail {opacity:.5;}
[data-theme="dark"] .home .pebble,[data-theme="dark"] .home #soundToggle {background:#3a4d35;color:#e1e8c7;border-color:#82936a;}
[data-theme="dark"] .home .leaf {background:linear-gradient(43deg,transparent 49.7%,#c1d69b18 50%,transparent 50.3%),linear-gradient(135deg,#354e31,#263f2b);border-color:#8fa771;}
[data-theme="dark"] .home .leaf p,[data-theme="dark"] .home .leaf li,[data-theme="dark"] .home .leaf h2 {color:#e1e8cb;}
[data-theme="dark"] .home .leaf .leaf-stamp {color:#b3ca98;}[data-theme="dark"] .home .leaf-close,[data-theme="dark"] .home .leaf-buy a {background:#3b5536;color:#eef1da;border-color:#7e9666;}
/* Forest daylight surfaces. Dark mode retains the established forest palette. */
[data-theme="light"] .forest-page {--ink:#243d2b;--muted:#5c6e55;--gold:#936617;--gold-ink:#fff9e7;--leaf:#42763a;--down:#a54926;--ghost:#447f78;--panel:rgba(248,250,235,.95);--panel-solid:#f4f6e8;--card:#e9efdd;--line:rgba(62,91,42,.22);--sol:#7957b5;--hood:#458b3e;}
[data-theme="light"] .forest-page .btn.gold,[data-theme="light"] .forest-page .walletbtn.signin {background:#e5bd55;color:#2b240f;border-color:#b19144;}
[data-theme="light"] .forest-page .btn.ghost {border-color:#a5b594;color:#344e30;}
[data-theme="light"] .forest-page .seg button[aria-pressed="true"] {background:#d5e3c2;color:#263e25;}
[data-theme="light"] .forest-page .tabs,[data-theme="light"] .forest-page .wmenu .seg {background:#dfe7d3;}
[data-theme="light"] .forest-page .field,[data-theme="light"] .forest-page .amt,[data-theme="light"] .forest-page .filters select {background:#fffef4;color:#2b402e;}
[data-theme="light"] .forest-page .tag {background:#f4f6e8eb;border-color:#a1b68b;color:#293e28;}
[data-theme="light"] .forest-page .tag.sel {background:#fffdef;border-color:#987426;}
[data-theme="light"] .forest-page .discover-tree {background:#e7efdc;color:#2b432c;}[data-theme="light"] .forest-page .discover-tree:hover {background:#d9e7cb;}
[data-theme="light"] .forest-page .discover-groves [aria-pressed="true"] {background:#c8dcaf;color:#273f27;}
[data-theme="light"] .forest-page .search-close {background:#dfe8d3;color:#4e6043;}
[data-theme="light"] .forest-page nav.tabbar {background:#f2f5e7;border-color:#b9c8a7;}
[data-theme="light"] .forest-page .tp-art {background:#c5d8b6;}
[data-theme="light"] .forest-page .tp-art .over > div {background:#f5f6e9ed;}
[data-theme="light"] .forest-page .backing-guide p,[data-theme="light"] .forest-page .journal-story,[data-theme="light"] .forest-page #tpInfo p,[data-theme="light"] .forest-page #tradeBox p {color:#41563b!important;}
[data-theme="light"] .forest-page #tradeBox .seg {background:#dfe8d4!important;}
[data-theme="light"] .forest-page .mapwrap {background:#d6e2ca;}
@media(max-width:700px) {.home .top-actions {gap:7px;}.home .theme-toggle {width:30px;height:30px;padding:6px;}.home .mint-peek-label {display:none;}.docs-page .docs-nav,.mint-body .docs-nav {gap:10px;} }
@media(max-width:380px) {.docs-page .docs-nav a[href="forest"],.mint-body .docs-nav a[href="docs"] {display:none;}.docs-page .docs-nav,.mint-body .docs-nav {gap:8px;} }
[data-theme="dark"] .docs-top #soundToggle {background:#24382a;color:#e1e8c7;border-color:#526348;}
[data-theme="dark"] .home .mint-peek b {color:#b3cc94;}
/* Neutral dark surfaces keep the artwork, rather than the interface, green. */
[data-theme="dark"] {color-scheme:dark;}
[data-theme="dark"] .docs-body {background:#18191b;color:#e2e1dc;}
[data-theme="dark"] .docs-top {background:#18191bf2;border-color:#36373a;}
[data-theme="dark"] .docs-logo,[data-theme="dark"] .docs h1,[data-theme="dark"] .docs h2,[data-theme="dark"] .docs-h3,[data-theme="dark"] .nursery h2,[data-theme="dark"] .mint-intro-copy h1,[data-theme="dark"] .tier-card h3,[data-theme="dark"] .mint-facts b {color:#efede5;}
[data-theme="dark"] .docs-nav a,[data-theme="dark"] .docs a,[data-theme="dark"] .nursery a:not(.nursery-primary),[data-theme="dark"] .nursery-secondary {color:#cacbc2;}
[data-theme="dark"] .docs section,[data-theme="dark"] .mint-facts,[data-theme="dark"] .nursery-footer {border-color:#36373a;}
[data-theme="dark"] .docs-lead,[data-theme="dark"] .docs-small,[data-theme="dark"] .mint-description,[data-theme="dark"] .mint-lead,[data-theme="dark"] .mint-launch > p,[data-theme="dark"] .mint-facts span,[data-theme="dark"] .lineup-head > p,[data-theme="dark"] .section-heading > p:last-child,[data-theme="dark"] .tier-card p,[data-theme="dark"] .mint-how li p,[data-theme="dark"] .gallery-note,[data-theme="dark"] .nursery-footer {color:#b0b1aa;}
[data-theme="dark"] .docs-kicker,[data-theme="dark"] .mint-eyebrow,[data-theme="dark"] .docs-toc-title,[data-theme="dark"] .tier-label {color:#a3a79b;}
[data-theme="dark"] .docs-toc,[data-theme="dark"] .docs-toc details {background:#1d1e20;border-color:#393a3c;}
[data-theme="dark"] .docs-toc a {color:#b6b8af;}
[data-theme="dark"] .docs-toc a:hover,[data-theme="dark"] .docs-toc a[aria-current="location"] {background:#2b2d2f;color:#efede5;border-left-color:#a5b18e;}
[data-theme="dark"] .docs-meter,[data-theme="dark"] .docs-table-wrap,[data-theme="dark"] .docs-forest,[data-theme="dark"] .mint-launch,[data-theme="dark"] .tier-card {background:#222325;border-color:#3a3b3d;}
[data-theme="dark"] .docs-formula,[data-theme="dark"] .docs-ca,[data-theme="dark"] .docs-table th,[data-theme="dark"] .mint-how {background:#2a2b2d;border-color:#3c3d3f;color:#d1d2ca;}
[data-theme="dark"] .docs-table td,[data-theme="dark"] .docs-table th {border-color:#3a3b3d;}
[data-theme="dark"] .docs-table,[data-theme="dark"] .docs-meter-count b,[data-theme="dark"] .docs-forest span,[data-theme="dark"] .docs-ca code {color:#d7d8d1;}
[data-theme="dark"] .forest {background:#292a2c;border-color:#424345;}
[data-theme="dark"] .forest h3,[data-theme="dark"] .forest-num b {color:#e3e3da;}
[data-theme="dark"] .forest-where,[data-theme="dark"] .forest-num,[data-theme="dark"] .forest-leader {color:#b1b3a9;}
[data-theme="dark"] .mint-body .gate-btn {background:#2c2d2f;border-color:#444547;color:#b5b7ac;}
[data-theme="dark"] .mint-body .belt-wrap {border-color:#414244;}
[data-theme="dark"] .mint-body .belt {background:radial-gradient(ellipse at 50% 100%,#35392f,transparent 80%),#252628;}
[data-theme="dark"] .tier-card.rare {background:#23292d;}[data-theme="dark"] .tier-card.legendary {background:#302c24;}
[data-theme="dark"] .mint-body .peek-card {background:#242527;border-color:#51534d;}
[data-theme="dark"] .mint-body .peek-card h3 {color:#eeece2;}[data-theme="dark"] .mint-body .peek-card p {color:#c2c3b9;}
[data-theme="dark"] .theme-toggle,[data-theme="dark"] .docs-top #soundToggle {background:#292b2d;color:#e7e5db;border-color:#53564e;}
[data-theme="dark"] .theme-toggle:hover {background:#37393b;}
[data-theme="dark"] .home {--ink:#ece9dc;--soil:#302e2a;--soil-dark:#1d1d1c;background:#302e2a;}
[data-theme="dark"] .home .sky {background:radial-gradient(ellipse at 85% 20%,#59627366,transparent 38%),linear-gradient(#151b2a,#303d4d 55%,#777b79);}
[data-theme="dark"] .home .sun::before {background:radial-gradient(circle,#e0e1e830,transparent 68%);}
[data-theme="dark"] .home .pebble,[data-theme="dark"] .home #soundToggle {background:#41403b;color:#ece8da;border-color:#898a7c;}
[data-theme="dark"] .home .soil h2 {color:#eee8d9;}[data-theme="dark"] .home .soil p {color:#c5c1b5;}
[data-theme="dark"] .home .leaf {background:linear-gradient(43deg,transparent 49.7%,#c9ceae12 50%,transparent 50.3%),linear-gradient(135deg,#373b32,#292e28);border-color:#8d967c;}
[data-theme="dark"] .forest-page {--ink:#eeece4;--muted:#bfc1b9;--panel:rgba(27,29,31,.95);--panel-solid:#1c1e20;--card:#27292b;--line:rgba(221,221,207,.17);}
[data-theme="dark"] .forest-page .tag {background:#202225ed;border-color:#65675c;}
[data-theme="dark"] .forest-page .tag.sel {background:#26282bf2;}
[data-theme="dark"] .forest-page .discover-tree {background:#27292b;}[data-theme="dark"] .forest-page .discover-tree:hover {background:#333639;}
[data-theme="dark"] .forest-page nav.tabbar {background:#17191b;}
[data-theme="dark"] .forest-page .field,[data-theme="dark"] .forest-page .amt,[data-theme="dark"] .forest-page .filters select {background:#16181a;}
[data-theme="dark"] .forest-page .seg button[aria-pressed="true"] {background:#3a3f3b;}
