.moon-wallet{border-top:1px solid #65554d;margin-top:24px;padding:20px 0 0;color:#d9c9b4}
.moon-wallet h3{font:500 .85rem/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#d7b87c;margin:0 0 10px}
.moon-wallet .moon-balance{font:500 2rem/1.2 Georgia,serif;color:#67b6ff;margin:0 0 16px}
.moon-history{font:400 1rem/1.5 system-ui,sans-serif;margin-bottom:6px}
.moon-history summary{cursor:pointer;color:#dfc69f;width:fit-content;padding:4px 0}
.moon-history summary:focus-visible,.moon-history button:focus-visible,.moon-toast button:focus-visible{outline:2px solid #e3c792;outline-offset:4px}
.moon-history-list{list-style:none;padding:0;margin:12px 0 0;max-height:350px;overflow:auto;overscroll-behavior:contain}
.moon-history-list li{display:flex;justify-content:space-between;align-items:start;gap:20px;padding:12px 0;border-top:1px solid #65554d66}
.moon-history-list li>div{min-width:0}.moon-history-list time{display:block;font-size:.875rem;color:#b8afa5;margin-top:3px}
.moon-history-list strong{white-space:nowrap;font-size:1rem;font-weight:500;color:#67b6ff}
.moon-history-empty,.moon-wallet-status{font:400 .95rem/1.5 system-ui,sans-serif;color:#b8afa5}.moon-wallet-status:empty{display:none}
.moon-history-more{margin:12px 0 2px;background:transparent;color:#dfc69f;border:1px solid #65554d;padding:8px 14px;font:inherit;border-radius:5px;cursor:pointer}
.moon-notifications{position:fixed;z-index:10020;bottom:24px;right:24px;width:min(360px,calc(100vw - 32px));display:grid;gap:10px;pointer-events:none;max-height:50vh;overflow:auto}
.moon-toast{pointer-events:auto;display:flex;gap:16px;justify-content:space-between;background:#211b20;border:1px solid #a48555;border-radius:12px;padding:18px 20px;color:#e8dccb;box-shadow:0 8px 32px #0008;font:400 1rem/1.5 system-ui,sans-serif}
.moon-toast strong{display:block;font:500 1.5rem/1.3 Georgia,serif;color:#67b6ff;margin-bottom:5px}.moon-toast span{display:block;font-size:.95rem}
.moon-toast button{align-self:start;background:transparent;border:0;padding:0 4px;color:#d9c9b4;font:24px/1.2 system-ui,sans-serif;cursor:pointer}
@media(max-width:600px){.moon-notifications{bottom:16px;right:16px}.moon-wallet .moon-balance{font-size:1.8rem}.moon-history-list li{gap:12px}}

/* Approved moon currency mark: half a crescent, two parallel crossbars. */
.moon-amount,.moon-toast .moon-amount{display:inline-flex;align-items:center;gap:.18em;white-space:nowrap}
.moon-amount .moon-amount-value{display:inline;font:inherit;color:inherit}
.moon-sign{display:inline-block;width:1.17em;height:1em;flex:none;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.moon-amount .moon-amount-label{position:absolute;display:block;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Blue moon amounts, with the currency mark optically aligned to the numerals. */
.moon-amount{text-shadow:none;filter:none}
.moon-sign{transform:translateY(.14em);filter:none}
