:root {
    color-scheme: dark;
    --page: #090911;
    --surface: #141420;
    --text: #f6f5ff;
    --muted: #c1bfd4;
    --lime: #dfff7d;
    --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
}

body { isolation: isolate; min-height: 100vh; background: var(--page); color: var(--text); font: 400 .97rem/1.5 "DM Sans", system-ui, sans-serif; }
::selection { background: var(--lime); color: #171d09; }
main { position: relative; max-width: 72rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.6rem) 3rem; }
a { color: var(--accent, var(--lime)); text-underline-offset: .2em; }

.account-backdrop {
    position: fixed;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 76% 8%, #271748 0%, transparent 52%),
        radial-gradient(ellipse at 10% 82%, #102a30 0%, transparent 48%),
        var(--page);
}

.account-trace {
    position: absolute;
    width: clamp(34rem, 72vw, 74rem);
    aspect-ratio: 560 / 520;
    top: clamp(-12rem, -13vw, -3rem);
    right: clamp(-15rem, -6vw, -1rem);
    mask: url("/assets/brand/bearpixelplay-logo-lines.svg") center / contain no-repeat;
    background: linear-gradient(125deg, #b596ff 16%, #6abfff 54%, #8c77dd 79%);
    opacity: .36;
}

.account-trace::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 34%, #e5ff91 49%, #92fff4 53%, transparent 66%);
    background-size: 240% 100%;
    animation: account-logo-sweep 3.2s ease-in-out infinite;
}

@keyframes account-logo-sweep {
    0% { background-position: 100% 0; opacity: 0; }
    16%, 76% { opacity: 1; }
    100% { background-position: 0 0; opacity: 0; }
}

.account-bar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .65rem 0; border-bottom: 1px solid #b6a6ff38; }
.account-home { display: inline-flex; align-items: center; gap: .45rem; color: var(--text); text-decoration: none; font: 700 1.42rem/1 var(--heading); }
.account-home img { width: 3.5rem; height: 2.75rem; object-fit: contain; }
.account-bar nav { gap: .15rem; padding: .16rem; border: 1px solid #958ab44c; border-radius: .6rem; background: #12121ee8; }
.account-bar nav a { padding: .34rem .55rem; border-radius: .38rem; color: var(--muted); font-size: .75rem; font-weight: 700; text-decoration: none; }
.account-bar nav a:hover, .account-bar nav [aria-current="true"] { color: #131a08; background: var(--lime); }
.account-top { align-items: end; gap: .75rem; padding: clamp(1.4rem, 4.2vw, 3.5rem) 0 1.2rem; }
.account-top h1 { margin: 0; font: 800 clamp(3.2rem, 8vw, 6rem)/.89 var(--heading); letter-spacing: -.025em; text-transform: uppercase; }
.account-top p { margin-top: .55rem; color: #ded7f9; font-weight: 650; }

.account-grid { margin-top: .4rem; gap: .85rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.account-play-stack { grid-column: span 6; display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.account-card {
    --accent: #cbb5ff;
    --card-tint: #26213d;
    grid-column: span 6;
    position: relative;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, #242238);
    border-radius: .85rem;
    background: radial-gradient(ellipse at 100% 0, var(--card-tint), transparent 70%), #12121deF;
    padding: clamp(.95rem, 2.2vw, 1.4rem);
    box-shadow: 0 9px 22px #04040980, inset 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
}
.account-card-wide { grid-column: 1 / -1; }
.account-profile { --accent: #cdb7ff; --card-tint: #31214d; }
.account-wallet { --accent: #ffd994; --card-tint: #452c28; }
.account-raffle { --accent: var(--lime); --card-tint: #283619; }
.inventory-card { --accent: #96d9ff; --card-tint: #192f49; }
.account-collection { --accent: #c8aaff; --card-tint: #34234f; --tile-icon: url("/assets/icons/demo/ui-boxes.svg"); }
.account-gifts { --accent: #80f2d7; --card-tint: #173a39; --tile-icon: url("/assets/icons/demo/ui-gift.svg"); }
.account-card h2, .inventory-title { font: 700 1.65rem/1.02 var(--heading); letter-spacing: .005em; }
.account-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.account-card p { margin-block: .5rem; }
.account-card-link { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) .6rem; justify-content: initial; gap: .75rem; color: var(--text); min-height: 5.15rem; box-sizing: border-box; font: 700 clamp(1.3rem, 2.7vw, 1.8rem)/1.05 var(--heading); }
.account-card-link::before { content: ""; width: 2rem; height: 2rem; background: var(--accent); mask: var(--tile-icon) center / contain no-repeat; }
.account-card-link::after { color: var(--accent); }
.account-card-link:hover { text-decoration: none; border-color: var(--accent); box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 24%, transparent); }
.account-wallet .wallet-value { font: 800 clamp(2.7rem, 6vw, 4.5rem)/.95 var(--heading); color: var(--accent); }
.profile-avatar { width: 4rem; height: 4rem; background: #3a2857; color: var(--accent); border: 1px solid #cdb7ff90; box-shadow: 0 5px 18px #b584ff29; }
.inventory-count { color: var(--accent); font-weight: 700; }
.inventory-card>summary::after { color: var(--accent); }
.inventory-card[open]>summary { border-bottom: 1px solid #8d9cc150; padding-bottom: .7rem; }
.inventory-card ul { padding-inline-start: 1.15rem; }

button {
    min-height: 2.15rem;
    border: 1px solid color-mix(in srgb, var(--accent, #cdb7ff) 47%, #29263a);
    border-radius: .45rem;
    background: #1c1b2b;
    padding: .32rem .65rem;
    color: var(--text);
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
button:not(:disabled):hover { background: #313047; border-color: var(--accent, #cdb7ff); }
button:disabled { cursor: default; }
button[value="spin"], button[value="choose_spin_prizes"] { background: var(--lime); border-color: var(--lime); color: #151b08; }
button[value="spin"]:not(:disabled):hover, button[value="choose_spin_prizes"]:not(:disabled):hover { background: #efffb6; }
#open-staff-panel { border-color: #c8aaff; color: #e4d6ff; background: #241a3a; }
input:not([type="checkbox"]), select { background: #0e0e18; color: var(--text); border: 1px solid #837e9a; border-radius: .35rem; padding: .36rem .5rem; font: inherit; }
input[type="checkbox"] { accent-color: var(--lime); }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--accent, var(--lime)); outline-offset: 3px; }
.account-card form { align-items: center; gap: .4rem .55rem; }
.connection-label { color: var(--muted); }
.account-card form:has(.connection-label) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); justify-items: start; }
.account-card form:has(.connection-label) button[value="logout"] { grid-column: 1 / -1; }
#spin-prizes fieldset { min-width: 0; margin: 0; border: 1px solid #849069; border-radius: .5rem; padding: .4rem .6rem; }
#spin-prizes fieldset label { white-space: nowrap; }
.collection-grid li { background: #191627; border-color: #75608d; }
.weekly-villagers details, .weekly-villagers form { border-color: #65868160; }
.villager-portrait { background: #24423d; }
.villager-progress { color: var(--accent); }
.weekly-villagers [aria-pressed="true"] { background: #80f2d7; color: #102824; }
.staff-panel, .profile-gate { background: #161524; border-color: #ad92eb; color: var(--text); box-shadow: 0 18px 60px #040409a0; }
.staff-panel details { border-color: #a49ac369; }
.staff-panel::backdrop, .profile-gate::backdrop { background: #080811dc; }

.rarity-panel { margin-top: 1rem; border-top: 1px solid #a6bc7060; padding-top: .75rem; }
.rarity-panel h3 { display: flex; justify-content: space-between; margin: 0 0 .45rem; }
.rarity-panel h3 strong { color: var(--lime); }
.rarity-tiers, .rarity-odds { list-style: none; padding: 0; margin: .55rem 0; }
.rarity-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.rarity-tiers li { display: grid; border: 1px solid #6e6a816e; border-radius: .45rem; background: #171824; padding: .4rem; text-align: center; }
.rarity-tiers li span { color: var(--muted); font-size: .8rem; }
.rarity-tiers li[data-active] { border-color: var(--lime); background: #29341a; box-shadow: 0 4px 18px #bdf45d3b; }
.rarity-odds { display: flex; gap: .25rem .7rem; flex-wrap: wrap; font-size: .8rem; }
.rarity-common { --rarity-color: #a7edc8; }
.rarity-uncommon { --rarity-color: #a3d5ff; }
.rarity-rare { --rarity-color: #c8b0ff; }
.rarity-epic { --rarity-color: #ffa691; }
.rarity-legendary { --rarity-color: #ffda83; }
.rarity-odds li, .prize-reel small { color: var(--rarity-color); }
.prize-reel-dialog { width: min(45rem, calc(100% - 1rem)); }
.pending-spins { margin: .65rem 0; }
.pending-spins > summary { width: fit-content; padding: .35rem .65rem; border: 1px solid #a6bc70; border-radius: .45rem; cursor: pointer; font-weight: 700; font-size: .85rem; }
.pending-spins > summary strong { margin-inline-start: .35rem; color: var(--lime); }
.pending-spin-list { margin: .55rem 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.prize-reel-form { display: grid; gap: .85rem; }
.prize-reel-form > button { justify-self: start; }
.prize-reel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.25rem, 1.2vw, .75rem); width: 100%; }
.prize-reel { min-width: 0; margin: 0; border: 1px solid var(--rarity-color); border-radius: .6rem; padding: clamp(.25rem, 1vw, .6rem); background: #12131f; }
.prize-reel legend { max-width: 100%; overflow-wrap: anywhere; font-size: clamp(.75rem, 2.6vw, .95rem); font-weight: 700; }
.prize-reel small, .prize-reel label { display: block; margin-top: .35rem; font-size: clamp(.7rem, 2.5vw, .87rem); }
.reel-window { --reel-height: clamp(3.5rem, 12vw, 6rem); height: var(--reel-height); overflow: hidden; border-radius: .4rem; background: radial-gradient(ellipse, #29283c, #11111b); }
.reel-track { transform: translateY(calc(-1 * var(--reel-steps) * var(--reel-height))); }
.reel-frame { display: grid; place-items: center; height: var(--reel-height); color: var(--rarity-color); }
.reel-frame .prize-art { width: min(85%, 4.5rem); height: 82%; }
.reel-frame img { width: 100%; height: 100%; object-fit: contain; }
.is-rolling .reel-track { animation: raffle-reel calc(4.8s + var(--reel-index) * 1.45s) cubic-bezier(.22,.44,.32,1) both; }
.is-rolling .prize-reel:not(.is-revealed) .reel-label, .is-rolling .prize-reel-form > button { visibility: hidden; }
.is-rolling .prize-reel:not(.is-revealed) { border-color: #747189; }
.prize-art { position: relative; isolation: isolate; display: inline-grid; place-items: center; vertical-align: middle; }
.prize-art img { position: relative; margin: 0; }
.rarity-epic { --prize-glow: #ff926b; }
.rarity-legendary { --prize-glow: #ffcf59; }
.inventory-prize .prize-art { margin-inline-end: .45rem; }
.inventory-prize { margin-block: .55rem; }
.inventory-rarity { color: var(--rarity-color); margin-inline-start: .4rem; }
.inventory-remove { margin: .4rem 0 .7rem; }
.inventory-remove summary { cursor: pointer; color: #ffb9a9; width: fit-content; }
.inventory-remove button { border-color: #ed9884; }
.inventory-discard-warning, button[value="discard_inventory_items"] { color: #ffb9a9; }
.inventory-discard-summary li { color: var(--rarity-color, var(--text)); }
:is(.rarity-epic,.rarity-legendary).inventory-prize .prize-art::before,
.prize-reel:is(.rarity-epic,.rarity-legendary) .reel-result .prize-art::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -38%;
    background: radial-gradient(ellipse, var(--prize-glow), transparent 67%);
    opacity: .6;
    animation: prize-glow 2.3s ease-in-out infinite alternate;
    pointer-events: none;
}
.is-rolling .prize-reel:not(.is-revealed) .reel-result .prize-art::before { visibility: hidden; }
.prize-reel:has(.reel-result) .reel-window { overflow: clip; overflow-clip-margin: .35rem; }
@keyframes prize-glow {
    from { opacity: .42; transform: scale(.87); }
    to { opacity: .85; transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
    .prize-art::before { animation: none !important; }
}
.legendary-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.legendary-confetti i { position: absolute; left: 50%; top: 37%; width: .42rem; height: .75rem; border-radius: 2px; animation: legendary-burst 1.65s ease-out both; }
.legendary-announcement { color: #ffda83; font-weight: 750; }
.legendary-announcement:empty { margin: 0; }
@keyframes legendary-burst {
    0% { transform: translate(-50%, -50%) scale(.35); opacity: 1; }
    35% { transform: translate(var(--confetti-x), var(--confetti-rise)) rotate(160deg); opacity: 1; }
    100% { transform: translate(var(--confetti-x), var(--confetti-fall)) rotate(540deg); opacity: 0; }
}
@keyframes raffle-reel {
    0% { transform: translateY(0); filter: blur(2px); }
    75% { filter: blur(1px); }
    100% { transform: translateY(calc(-1 * var(--reel-steps) * var(--reel-height))); filter: none; }
}

@media (max-width: 43rem) {
    .account-grid { grid-template-columns: minmax(0, 1fr); }
    .account-card, .account-play-stack { grid-column: 1; }
    .account-trace { width: min(145vw, 46rem); right: -32vw; top: -1.5rem; opacity: .3; }
    .account-top { align-items: center; }
    .account-home { font-size: 1.25rem; }
    .account-home img { width: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .account-trace::after { animation: none; opacity: 0; }
}

.inventory-discard-check { display: none; }
.inventory-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem; }
.inventory-gift-check { display: none; }
.is-gifting .inventory-gift-check { display: inline-block; vertical-align: middle; margin-inline-end: .55rem; }
.is-gifting .inventory-remove, .is-gifting [form="delivery-request"],
.is-discarding .inventory-gift-actions { display: none; }
.inventory-gift-actions form { display: grid; gap: .6rem; margin-top: .6rem; }
.inventory-gift-actions form[hidden] { display: none; }
.inventory-gift-actions select { width: 100%; max-width: 26rem; }
.gift-inbox-trigger { margin-inline-end: auto; font-size: 1.25rem; animation: gift-inbox-pulse 1.7s ease-in-out infinite; }
.gift-inbox-items { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; list-style: none; }
.gift-inbox-items .inventory-prize { display: grid; justify-items: center; padding: .6rem; }
.gift-inbox-items .prize-icon { width: 4rem; height: 4rem; object-fit: contain; filter: drop-shadow(0 0 .55rem var(--rarity-color, #c6fb00)); }
@keyframes gift-inbox-pulse {
    50% { transform: scale(1.12) rotate(-6deg); box-shadow: 0 0 1rem #c6fb0090; }
}
@media (prefers-reduced-motion: reduce) { .gift-inbox-trigger { animation: none; } }
.is-discarding .inventory-discard-check { display: inline-block; vertical-align: middle; margin-inline-end: .55rem; }
.is-discarding input[form="delivery-request"], .is-discarding #delivery-request,
.is-discarding button[form="delivery-request"] { display: none; }
#toggle-inventory-discard[aria-pressed="true"] { color: #ffb9a9; background: #392325; }
.staff-entry, .staff-dashboard-card { font-weight: 700; text-decoration: none; }
.staff-entry { border: 1px solid #c8aaff; border-radius: .45rem; padding: .35rem .7rem; }
.staff-dashboard-card { font: 700 1.65rem/1.15 var(--heading); }
.staff-dashboard-card:nth-child(2) { --accent: #ffd994; --card-tint: #452c28; }
.staff-dashboard-card:nth-child(3) { --accent: #80f2d7; --card-tint: #173a39; }
.staff-dashboard-card:nth-child(4) { --accent: #96d9ff; --card-tint: #192f49; }
.staff-dashboard-card:nth-child(5) { --accent: var(--lime); --card-tint: #283619; }
.staff-dashboard-card:hover, .staff-dashboard-card[aria-current="page"] { border-color: var(--accent); }
.staff-workspace { margin-top: 1rem; }
.staff-workspace fieldset { min-width: 0; border: 1px solid #958ab4; border-radius: .45rem; }
.staff-workspace fieldset label { display: block; }

.purchase-alert {
    display: inline-block;
    justify-self: start;
    padding: .3rem .65rem;
    border: 1px solid #65e9a2;
    border-radius: 999px;
    background: #123627;
    color: #aaffc8;
    box-shadow: 0 2px 14px #43eb9a55;
    font: 700 .82rem/1.4 var(--heading);
}
.staff-dashboard-card .purchase-alert { margin-top: .55rem; }
.purchase-filters { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.purchase-filters [aria-current] { font-weight: 750; text-underline-offset: .25em; }
.purchase-list { padding: 0; list-style: none; }
.purchase-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: .65rem 1.2rem;
    border-top: 1px solid #7083a45c;
    padding-block: .85rem;
}
.purchase-list li:target { outline: 1px solid #65e9a2; outline-offset: .2rem; }
.purchase-meta { display: block; margin-top: .25rem; color: #cad6ee; font-size: .875rem; }
.purchase-fulfillment form { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .45rem 0; }
.purchase-alert[hidden] { display: none; }

.account-profile.profile-monthly-pass {
    --accent: #ffe2a3;
    --card-tint: #34254a;
    isolation: isolate;
    border-color: #e9c16d;
    box-shadow: 0 9px 25px #04040990, 0 0 18px #eeb9524d, inset 0 0 0 2px #e9c16d24;
}
.profile-pass-label {
    display: inline-block;
    margin-top: .35rem;
    padding: .2rem .65rem;
    border: 1px solid #b68a44;
    border-radius: 999px;
    color: #ffe3a6;
    background: #3a291c;
    font-size: .875rem;
    font-weight: 750;
}
.profile-pass-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.profile-pass-sparkles i {
    position: absolute;
    inset: var(--y) auto auto var(--x);
    width: var(--size, .85rem);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    color: #fff1c5;
    opacity: .7;
    filter: drop-shadow(0 0 5px #ffcf78);
    animation: profile-pass-sparkle 5s var(--delay) ease-out infinite;
}
.profile-pass-sparkles i::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
.profile-pass-sparkles i:nth-child(1) { --x: 8%; --y: 0%; --delay: -2s; }
.profile-pass-sparkles i:nth-child(2) { --x: 69%; --y: 0%; --delay: -.9s; --size: .6rem; }
.profile-pass-sparkles i:nth-child(3) { --x: 100%; --y: 15%; --delay: -3s; --size: 1.1rem; }
.profile-pass-sparkles i:nth-child(4) { --x: 100%; --y: 68%; --delay: -.2s; }
.profile-pass-sparkles i:nth-child(5) { --x: 81%; --y: 100%; --delay: -3.7s; }
.profile-pass-sparkles i:nth-child(6) { --x: 0%; --y: 79%; --delay: -1.6s; --size: .7rem; }
@keyframes profile-pass-sparkle {
    0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.74); }
    18% { opacity: 1; transform: translate(-50%, -50%) scale(1.22); }
    46% { opacity: .55; transform: translate(-50%, -50%) scale(.9); }
}
@media (prefers-reduced-motion: reduce) {
    .profile-pass-sparkles i { animation: none; }
}

.profile-pass-label.profile-pass-inactive {
    background: #272833;
    border-color: #565865;
    color: #c5c6d1;
}
.monthly-pass-card { --accent: #ffe2a3; --card-tint: #3a2853; }
.monthly-pass-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    cursor: pointer;
    list-style: none;
}
.monthly-pass-card summary::-webkit-details-marker { display: none; }
.monthly-pass-card summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; }
.monthly-pass-card[open] summary::after { content: "−"; }
.monthly-pass-card summary strong { display: block; color: var(--accent); font: 700 1.5rem/1.15 var(--heading); }
.monthly-pass-card small { display: block; color: #d7cfeb; }
.monthly-pass-scroll { overflow-x: auto; scrollbar-color: #9c7fc7 #242039; }
.monthly-pass-board { min-width: 53rem; padding: .5rem .25rem; }
.monthly-pass-track {
    display: grid;
    grid-template-columns: repeat(10,minmax(0,1fr));
    gap: .35rem;
    padding: 0;
    margin: .6rem 0 1rem;
    list-style: none;
}
.monthly-pass-track li {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: .2rem;
    padding: .6rem .2rem .3rem;
    border-top: 1px solid #977bb66b;
    text-align: center;
    font-size: .78rem;
}
.monthly-pass-bubble {
    display: grid;
    place-items: center;
    width: 3.5rem;
    aspect-ratio: 1;
    margin: .3rem 0;
    border: 1px solid #e1d9ffab;
    border-radius: 50%;
    background: radial-gradient(circle at 27% 19%, #fff9, transparent 23%),
        radial-gradient(circle at 75% 84%, color-mix(in srgb, var(--reward-glow) 49%, transparent), transparent 45%), #272342;
    box-shadow: inset 0 0 9px #e0ddff65, 0 4px 12px color-mix(in srgb, var(--reward-glow) 37%, transparent);
    animation: monthly-pass-float 4s var(--reward-delay) ease-in-out infinite;
}
.monthly-pass-bubble img { max-width: 86%; object-fit: contain; }
@keyframes monthly-pass-float { 50% { transform: translateY(-.22rem); } }
@media (prefers-reduced-motion: reduce) { .monthly-pass-bubble { animation: none; } }

.monthly-pass-coin {
    display: block;
    width: 1.65rem;
    aspect-ratio: 1;
    border: 3px double #fff2b4;
    border-radius: 50%;
    background: linear-gradient(140deg, #ffe8a1 8%, #e5a741 65%, #996023);
    box-shadow: 0 2px 0 #8d531c, 0 3px 8px #f7b85680;
}

.wallet-balance-line { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-block: .55rem; }
.account-wallet .wallet-coins-trigger {
    display: grid;
    place-items: center;
    margin: 0 .25rem;
    padding: 0;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid #ffdf82;
    border-radius: 50%;
    color: #ffe18a;
    background: #382a1a;
    font: 700 1.65rem/1 var(--heading);
}
.account-wallet .wallet-coins-trigger:hover { background: #59401f; }
.wallet-coins-dialog {
    width: min(31rem, calc(100vw - 2rem));
    max-width: none;
    padding: clamp(1rem, 4vw, 1.55rem);
    border: 1px solid #9c8056;
    border-radius: .85rem;
    color: #f3edff;
    background: #1d182a;
    box-sizing: border-box;
}
.wallet-coins-dialog::backdrop { background: #080610b8; }
.wallet-coins-dialog header { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.wallet-coins-dialog header form { margin: 0; }
.wallet-coins-dialog h2 { margin: 0; color: #ffe18a; }
.wallet-coins-dialog ul { padding: 0; margin: .9rem 0 0; list-style: none; }
.wallet-coins-dialog li { border-top: 1px solid #b39cce55; padding: .65rem 0; }
.wallet-coins-dialog li a, .monthly-pass-buy { font-weight: 750; color: #ffe18a; }
.wallet-coins-dialog li p { margin: .2rem 0 0; color: #d8cfe8; }
.payment-catalog .account-top h1 { font-size: clamp(2.3rem, 7vw, 4.5rem); }
.payment-catalog .account-card:target { border-color: #ffe18a; }
