:root{
    --site-bg:#10101b;--site-nav:#171626;--site-panel:#1c1b2c;
    --site-stroke:#3b3452;--site-text:#f5efff;--site-muted:#c7bddc;--site-accent:#dfceff;
    --switch-high:#40365c;--switch-low:#29243c;--switch-depth:#181329;
}
body{background:radial-gradient(ellipse at 85% 0%,#26203d 0,transparent 55rem),var(--site-bg);color:var(--site-text)}
#site-nav,main>header{background:var(--site-nav);border-color:var(--site-stroke)}
.content .panel{background-color:var(--site-panel);border-color:var(--site-stroke)}
.content .muted{color:var(--site-muted)}
.content :is(.tabs,.creative-tabs) :is(.tab,.chip),.content a.switch-button,.language-switcher [data-language-choice]{
    display:inline-block;padding:.5rem .8rem;border-radius:.65rem;border:1px solid #7c6aab;border-bottom-color:#5a4788;
    background:linear-gradient(var(--switch-high),var(--switch-low));color:#f4ebff;text-decoration:none;line-height:1.35;
    box-shadow:0 3px 0 var(--switch-depth),inset 0 1px 0 #ffffff35;
}
.content :is(.tabs,.creative-tabs) :is(.tab,.chip):is([aria-current],.chosen,.active),.language-switcher [aria-current]{
    background:linear-gradient(#eee1ff,#c3a9f2);color:#221538;border-color:#e6d3ff;
    box-shadow:0 3px 0 #694c9e,inset 0 1px 0 #fff;
}
.content :is(.tabs,.creative-tabs) :is(.tab,.chip):hover,a.switch-button:hover,.language-switcher a:hover{filter:brightness(1.14)}
.content :is(.tabs,.creative-tabs) :is(.tab,.chip):active,a.switch-button:active,.language-switcher a:active{transform:translateY(2px)}
.content :is(.tab,.chip,.switch-button):focus-visible,.language-switcher a:focus-visible{outline:2px solid #f4dcff;outline-offset:4px}
@media(max-width:600px){.language-switcher{flex-wrap:wrap}.content :is(.tabs,.creative-tabs) :is(.tab,.chip){padding:.45rem .65rem}}

.content .member-balances a.switch-button{
    display:inline-flex;align-items:center;justify-content:center;max-width:100%;
    min-height:2.5rem;box-sizing:border-box;text-align:center;text-decoration:none;
}

/* Use shared button styling for links, including links inserted after page load. */
:where(a[href]) {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: .3rem .55rem;
    border: 1px solid #6a5a8c;
    border-radius: .55rem;
    background: linear-gradient(var(--switch-high), var(--switch-low));
    color: var(--site-accent);
    overflow-wrap: anywhere;
}
a[href] {
    text-decoration: none;
    box-shadow: 0 2px 0 var(--switch-depth), inset 0 1px 0 #ffffff35;
}
a[href]:hover { text-decoration: none; filter: brightness(1.12); }
a[href]:active { box-shadow: inset 0 2px 4px #0006; }
a[href]:focus-visible { outline: 2px solid #f4dcff; outline-offset: 2px; }

#site-nav .nav-group > summary {
    background: linear-gradient(var(--nav-tint, #382250), #171626);
    box-shadow: 0 3px 0 #100e19, inset 0 1px 0 #ffffff30;
}
#site-nav .nav-group > .navlink {
    background: linear-gradient(#34304a, #242137);
    border: 1px solid #49415f;
    color: #e4dcf6;
    margin-block: .4rem;
}
#site-nav .nav-group > .navlink[aria-current="page"] {
    background: linear-gradient(#f1ddff, #c4a6ee);
    border-color: #e6d3ff;
    color: #25153a;
}
.wallet-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-block: 1rem;
}
