#theme-toggle{position:fixed;right:20px;top:13px;z-index:3;display:grid;place-items:center;width:44px;height:44px;border:1px solid #6e785766;border-radius:50%;background:#f2e8d5;color:#294631;box-shadow:0 2px 8px #10291a12}
#theme-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#theme-toggle .sun{display:none}
[data-theme="dark"] #theme-toggle .moon{display:none}
[data-theme="dark"] #theme-toggle .sun{display:block}
[data-theme="dark"]{color-scheme:dark;--ink:#f2e8d5;--gold:#d5b66f;--paper:#1a2c23}
[data-theme="dark"] body,[data-theme="dark"] #checkout{
  background-color:#14231d;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath opacity='.045' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"),radial-gradient(ellipse at 50% 35%,#2c443255,transparent 72%);
}
[data-theme="dark"] .corner{color:#c9ad72;opacity:.42}
[data-theme="dark"] .intro,[data-theme="dark"] .demo-notice,[data-theme="dark"] .notice,[data-theme="dark"] .one-time,[data-theme="dark"] #checkout .sheet-hint,[data-theme="dark"] #checkout-disclaimer{color:#b9c1aa}
[data-theme="dark"] footer{border-color:#c9ad7233;color:#b9c1aa}
[data-theme="dark"] #theme-toggle{background:#20382c;color:#e6cf98;border-color:#c9ad7266}
[data-theme="dark"] dialog{border-color:#a6ad7855;box-shadow:0 24px 100px #0008}
[data-theme="dark"] dialog::backdrop{background:#030c08b3}
[data-theme="dark"] #checkout textarea,[data-theme="dark"] #events li{color:#153e2e;color-scheme:light}
[data-theme="dark"] .wallet{background:#dce5c9;color:#153e2e;border-color:#aabb96}
[data-theme="dark"] .wallet:hover{background:#edf0d9}
[data-theme="dark"] .card-demo{color:#f2e8d5;border-color:#91a17a}
[data-theme="dark"] .card-demo:hover{background:#2b4434}
[data-theme="dark"] nav button:hover,[data-theme="dark"] .text-button:hover{color:#e6cf98}
[data-theme="dark"] .total .lit{animation-name:dark-gold-flash}
@keyframes dark-gold-flash{0%,35%{color:#e8c576;text-shadow:0 0 16px #d4b26366}100%{color:var(--ink);text-shadow:none}}
@media(max-width:600px){header{gap:12px;padding-left:12px;padding-right:60px}header .brand{font-size:19px;white-space:nowrap}nav{gap:2px}nav button{padding:6px 4px;font-size:12px}#theme-toggle{right:10px;top:8px;width:40px;height:40px}[data-theme="dark"] .corner{opacity:.24}}
