.wallet-section{--wallet-surface:#fffdf7;--wallet-ink:#192120;--wallet-muted:#58665e;--wallet-line:#19212030;--wallet-accent:#bcece3;padding-block:70px;border-bottom:1px solid var(--wallet-line);color:var(--wallet-ink)}
.wallet-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.wallet-heading h2{margin:12px 0 0}.wallet-heading .eyebrow{margin:0}.wallet-heading>p{max-width:260px;color:var(--wallet-muted);font-size:15px;margin:0 0 6px}.wallet-console{border:1px solid var(--wallet-line);background:var(--wallet-surface)}
.wallet-console-top{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 24px;border-bottom:1px solid var(--wallet-line);font:12px/1.5 monospace;letter-spacing:.5px}.wallet-console-top span:first-child{display:flex;align-items:center;gap:9px}.wallet-console-top i{width:7px;height:7px;background:#078b8c;border-radius:50%;display:inline-block}.wallet-preview-label{color:var(--wallet-muted);text-align:right}
.wallet-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px}.wallet-main{padding:28px 30px 32px}.wallet-form label{font-size:14px;font-weight:700;display:block;margin-bottom:10px}.wallet-input-row{display:flex;gap:10px}.wallet-input-row input{min-width:0;flex:1;border:1px solid var(--wallet-line);background:transparent;color:var(--wallet-ink);padding:14px 16px;font:14px monospace;border-radius:0}.wallet-input-row input::placeholder{color:var(--wallet-muted);opacity:1}.wallet-input-row input:focus-visible{outline:2px solid #078b8c;outline-offset:3px}.wallet-check{border:0;padding:13px 22px;min-height:48px;background:var(--wallet-ink);color:var(--wallet-surface);font:700 14px Arial;cursor:pointer;white-space:nowrap}.wallet-check:hover{background:#315347}.wallet-form-note{font-size:12px;color:var(--wallet-muted);margin:10px 0 0}.wallet-feedback{font-size:14px;margin:12px 0 0;color:var(--wallet-ink)}.wallet-feedback:empty{display:none}
.wallet-result-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 18px;font:12px monospace;color:var(--wallet-muted)}.wallet-result-head strong{font:700 14px Arial;color:var(--wallet-ink)}.wallet-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.wallet-metric{border-top:1px solid var(--wallet-line);padding-top:17px}.wallet-metric h3{font:14px Arial;color:var(--wallet-muted);margin:0 0 16px}.wallet-amount{font:900 clamp(23px,2.5vw,32px)/1.15 Display,Arial,sans-serif;letter-spacing:-1.1px;font-variant-numeric:tabular-nums;margin:0;overflow-wrap:anywhere}.wallet-unit{font:12px monospace;letter-spacing:1px;display:block;margin-top:7px;color:var(--wallet-muted)}.wallet-metric-note{font-size:12px;color:var(--wallet-muted);margin:16px 0 0;line-height:1.5}
.wallet-tier-panel{border-left:1px solid var(--wallet-line);padding:26px 24px;background:var(--wallet-accent);display:flex;flex-direction:column;align-items:flex-start}.wallet-tier-panel .eyebrow{font-size:11px;margin:0;color:#284d41;letter-spacing:1px}.wallet-badge{width:68px;height:68px;margin:24px 0 16px;color:#192120}.wallet-tier-panel h3{font:900 23px/1.2 Display,Arial;margin:0 0 10px;letter-spacing:-.6px}.wallet-tier-panel>p:not(.eyebrow){font-size:13px;line-height:1.6;margin:0;color:#284d41}.wallet-tier-stamp{margin-top:auto;padding-top:24px;font:11px monospace;color:#284d41}
.wallet-tiers{padding:22px 30px;border-top:1px solid var(--wallet-line)}.wallet-tiers-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:14px}.wallet-tiers-heading h3{font-size:14px;margin:0}.wallet-tiers-heading p{font-size:12px;color:var(--wallet-muted);margin:0}.wallet-tier-list{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;margin:0}.wallet-tier-list li{padding:12px 12px 12px 0;display:flex;align-items:center;gap:10px;font-size:13px}.wallet-tier-list li+li{padding-left:16px;border-left:1px solid var(--wallet-line)}.wallet-tier-mark{font:12px monospace;color:var(--wallet-muted)}.wallet-tier-list .tier-example{color:#047a7b;font-weight:700}.wallet-tier-list .tier-example .wallet-tier-mark{color:#047a7b}.wallet-disclaimer{color:var(--wallet-muted);font-size:12px;margin:16px 0 0;max-width:790px}
[data-theme="dark"] .wallet-section{--wallet-surface:#1b2522;--wallet-ink:#f3efe6;--wallet-muted:#b9c5bd;--wallet-line:#77887c66;--wallet-accent:#a5d6c8}[data-theme="dark"] .wallet-tier-panel{color:#192120}[data-theme="dark"] .wallet-check:hover{background:#a1e3d4;color:#141b1a}[data-theme="dark"] .wallet-tier-list .tier-example,[data-theme="dark"] .wallet-tier-list .tier-example .wallet-tier-mark{color:#81d9cb}
@media(max-width:950px){.wallet-workspace{grid-template-columns:1fr 230px}.wallet-main{padding:24px}.wallet-amount{font-size:25px}.wallet-tier-list{grid-template-columns:1fr 1fr}.wallet-tier-list li:nth-child(3){padding-left:0;border-left:0}}
@media(max-width:640px){.wallet-section{padding-block:45px}.wallet-heading{align-items:flex-start;flex-direction:column;gap:14px}.wallet-heading>p{max-width:none}.wallet-heading h2{font-size:37px}.wallet-console-top{padding:14px 18px;align-items:flex-start;font-size:11px}.wallet-workspace{grid-template-columns:1fr}.wallet-main{padding:22px 18px}.wallet-input-row{flex-direction:column}.wallet-input-row input{width:100%;font-size:13px;min-height:48px}.wallet-result-head{align-items:flex-start;flex-direction:column;gap:6px}.wallet-metrics{grid-template-columns:1fr;gap:20px}.wallet-metric{display:grid;grid-template-columns:1fr auto;gap:8px 12px}.wallet-metric h3{font-size:14px;margin:0}.wallet-amount{grid-column:2;grid-row:1/span 2;text-align:right;font-size:27px}.wallet-unit{text-align:right}.wallet-metric-note{grid-column:1;margin:0;max-width:140px}.wallet-tier-panel{border-left:0;border-top:1px solid var(--wallet-line);padding:22px 18px;position:relative;min-height:170px}.wallet-badge{position:absolute;right:18px;top:20px;width:50px;height:50px;margin:0}.wallet-tier-panel h3{margin-top:18px;padding-right:50px}.wallet-tier-panel>p:not(.eyebrow){max-width:220px}.wallet-tier-stamp{padding-top:16px}.wallet-tiers{padding:20px 18px}.wallet-tiers-heading{flex-direction:column;gap:5px}.wallet-tier-list li{font-size:12px}.wallet-tier-list li+li{padding-left:12px}.wallet-tier-list li:nth-child(3){padding-left:0}.wallet-disclaimer{line-height:1.6}}

/* Ten cosmetic ranks, with an even grid and readable mobile labels. */
.wallet-tier-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 16px}
.wallet-tier-list li,.wallet-tier-list li+li,.wallet-tier-list li:nth-child(3){padding:14px 0;border-left:0;border-top:1px solid var(--wallet-line);align-items:baseline;line-height:1.5}
.wallet-tier-mark{font-variant-numeric:tabular-nums;flex-shrink:0}
@media(max-width:950px){.wallet-tier-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.wallet-tier-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.wallet-tier-list li,.wallet-tier-list li+li,.wallet-tier-list li:nth-child(3){padding:12px 0;font-size:13px}}
/* Honest empty state with an optional, explicitly labelled example. */
.wallet-check:disabled{opacity:.4;cursor:not-allowed}.wallet-check:disabled:hover{background:var(--wallet-ink);color:var(--wallet-surface)}
.wallet-example{border:0;border-bottom:1px solid var(--wallet-line);background:transparent;color:var(--wallet-muted);font:13px Arial;min-height:44px;padding:8px 0;cursor:pointer;text-underline-offset:4px}.wallet-example:hover{color:var(--wallet-ink);border-color:var(--wallet-ink)}
.wallet-number{display:inline}.wallet-tier-panel h3{max-width:210px;line-height:1.3}
@media(max-width:640px){.wallet-tier-panel{min-height:210px}.wallet-tier-panel h3{max-width:240px}}

.wallet-tier-art{display:block;width:180px;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:12px auto}.wallet-tier-art[hidden],.wallet-badge[hidden]{display:none}
.wallet-example-controls{margin:0 0 24px}.wallet-example-controls label{display:block;font-size:13px;color:var(--wallet-muted);margin-bottom:8px}.wallet-example-select{width:100%;max-width:430px;min-height:44px;padding:10px;border:1px solid var(--wallet-line);background:var(--wallet-surface);color:var(--wallet-ink);font-size:14px}
.wallet-level-progress{width:100%;margin-top:22px;color:#192120}.wallet-progress-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:12px;line-height:1.5}.wallet-next-percent{font-variant-numeric:tabular-nums}.wallet-level-progress progress{display:block;width:100%;height:7px;margin:10px 0 12px;border:0;border-radius:0;overflow:hidden;background:#19212025;accent-color:#126968}.wallet-level-progress progress::-webkit-progress-bar{background:#19212025}.wallet-level-progress progress::-webkit-progress-value{background:#126968}.wallet-level-progress progress::-moz-progress-bar{background:#126968}.wallet-next-detail,.wallet-progress-note{font-size:12px;line-height:1.6;margin:0;color:#284d41}.wallet-progress-note{margin-top:8px}.wallet-level-progress[hidden],.wallet-example-controls[hidden]{display:none}.wallet-tier-stamp{font-size:12px}.wallet-example-select:focus-visible{outline:2px solid #078b8c;outline-offset:3px}
@media(max-width:640px){.wallet-tier-art{width:140px;margin:0 0 10px}.wallet-tier-panel:has(.wallet-tier-art:not([hidden])) h3{margin-top:0}}
/* Mascot portrait with a quiet, editorial tier card. */
.wallet-workspace{grid-template-columns:minmax(0,1fr) 340px}
.wallet-tier-panel{padding:0;background:var(--wallet-surface);color:var(--wallet-ink);align-items:stretch;min-width:0}
.wallet-tier-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--wallet-line)}
.wallet-tier-panel .wallet-tier-top .eyebrow{font:12px/1.4 monospace;letter-spacing:1px;color:var(--wallet-muted);margin:0}
.wallet-tier-index{font:12px/1.4 monospace;color:var(--wallet-ink);font-variant-numeric:tabular-nums}
.wallet-tier-visual{width:100%;aspect-ratio:1;display:grid;place-items:center;background:var(--wallet-accent);overflow:hidden;border-bottom:1px solid var(--wallet-line)}
.wallet-tier-visual .wallet-tier-art{width:100%;height:100%;max-width:none;object-fit:cover;margin:0}
.wallet-tier-visual .wallet-badge{position:static;width:100px;height:100px;margin:0;color:#315347}
.wallet-tier-content{padding:22px}
.wallet-tier-panel .wallet-tier-content h3{font:900 28px/1.15 Display,Arial,sans-serif;letter-spacing:-.7px;max-width:none;padding:0;margin:0 0 10px;color:var(--wallet-ink)}
.wallet-tier-slogan{font-size:15px;line-height:1.6;color:var(--wallet-muted);margin:0;max-width:none}
.wallet-tier-content .wallet-level-progress{color:var(--wallet-ink);margin-top:25px;padding-top:18px;border-top:1px solid var(--wallet-line)}
.wallet-tier-content .wallet-next-detail,.wallet-tier-content .wallet-progress-note{color:var(--wallet-muted)}
.wallet-tier-content .wallet-next-percent{color:#087f80;font-size:14px}
.wallet-tier-content progress{height:8px;background:var(--wallet-line)}
.wallet-tier-content progress::-webkit-progress-bar{background:var(--wallet-line)}
.wallet-tier-content progress::-webkit-progress-value{background:#087f80}
.wallet-tier-content progress::-moz-progress-bar{background:#087f80}
.wallet-tier-footer{border-top:1px solid var(--wallet-line);padding:15px 22px;margin-top:auto;display:flex;flex-direction:column;gap:6px}
.wallet-tier-footer .wallet-tier-stamp{padding:0;margin:0;color:var(--wallet-ink);font:12px/1.5 monospace}
.wallet-cosmetic-note{color:var(--wallet-muted);font-size:12px;line-height:1.5}
[data-theme="dark"] .wallet-tier-panel{color:var(--wallet-ink)}
[data-theme="dark"] .wallet-next-percent{color:#81d9cb}
[data-theme="dark"] .wallet-tier-content progress::-webkit-progress-value{background:#81d9cb}
[data-theme="dark"] .wallet-tier-content progress::-moz-progress-bar{background:#81d9cb}
@media(max-width:1000px){.wallet-workspace{grid-template-columns:1fr}.wallet-tier-panel{border-left:0;border-top:1px solid var(--wallet-line);display:grid;grid-template-columns:260px minmax(0,1fr)}.wallet-tier-top{grid-column:1/-1}.wallet-tier-visual{grid-column:1;grid-row:2;border-bottom:0;align-self:start}.wallet-tier-content{grid-column:2;grid-row:2}.wallet-tier-footer{grid-column:1/-1}}
@media(max-width:640px){.wallet-tier-panel{display:flex;min-height:0}.wallet-tier-visual{max-height:none}.wallet-tier-content{padding:22px 18px}.wallet-tier-top,.wallet-tier-footer{padding-inline:18px}.wallet-tier-panel .wallet-tier-content h3{font-size:28px}.wallet-tier-slogan{font-size:15px}.wallet-tier-visual .wallet-badge{width:90px;height:90px}}
/* Launch-facing wallet: essential content only. Design controls are opt-in. */
.wallet-result-head[hidden]{display:none}.wallet-metrics{margin-top:30px}.wallet-tier-content{padding-bottom:24px}
/* Portrait opens a shareable card; values stay intact at narrow widths. */
.wallet-main{container-type:inline-size}.wallet-amount{white-space:nowrap;overflow-wrap:normal;min-width:0}.wallet-metric{min-width:0}
.wallet-tier-visual{position:relative}.wallet-card-open{position:absolute;inset:auto 14px 14px auto;min-height:44px;padding:10px 15px;border:1px solid #f6f2e955;background:#192120;color:#f6f2e9;font:700 12px Arial;cursor:pointer}.wallet-card-open[hidden]{display:none}
.wallet-card-open:hover{background:#315347}.wallet-card-open:focus-visible,.wallet-card-close:focus-visible,.wallet-card-actions a:focus-visible,.wallet-card-actions button:focus-visible{outline:3px solid #087f80;outline-offset:3px}
@container(max-width:560px){.wallet-metrics{grid-template-columns:1fr;gap:18px}.wallet-metric{display:flex;align-items:center;justify-content:space-between;gap:20px}.wallet-metric h3{margin:0}.wallet-amount{text-align:right;font-size:28px}}
.wallet-card-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--wallet-line,#19212030);background:var(--bg,#f6f2e9);color:var(--ink,#192120);overflow:auto;box-shadow:0 20px 80px #0004}
.wallet-card-dialog::backdrop{background:#101716a6;backdrop-filter:blur(4px)}
.wallet-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 18px;font:12px monospace;border-bottom:1px solid #77887c44}
.wallet-card-close{height:44px;width:44px;border:0;background:transparent;color:inherit;font:28px Arial;cursor:pointer}
.wallet-card-display .wallet-tier-panel{display:flex;border:0;--wallet-surface:#fffdf7;--wallet-ink:#192120;--wallet-muted:#58665e;--wallet-line:#19212030;--wallet-accent:#bcece3}
[data-theme="dark"] .wallet-card-display .wallet-tier-panel{--wallet-surface:#1b2522;--wallet-ink:#f3efe6;--wallet-muted:#b9c5bd;--wallet-line:#77887c66}
.wallet-card-display .wallet-tier-top{display:none}.wallet-card-display .wallet-tier-visual{width:100%;aspect-ratio:1;max-height:34dvh}.wallet-card-display .wallet-tier-art{object-fit:contain;background:#192120}
.wallet-card-display .wallet-tier-content{padding:18px 22px}.wallet-card-display .wallet-level-progress{margin-top:16px;padding-top:14px}.wallet-card-display .wallet-tier-content h3{font-size:28px}
.wallet-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 22px 12px}
.wallet-card-actions button,.wallet-card-actions a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;padding:12px;border:1px solid #77887c66;background:transparent;color:inherit;font:700 13px Arial;text-decoration:none;cursor:pointer}
.wallet-card-actions .wallet-card-share{background:#192120;color:#f6f2e9}.wallet-card-save:disabled{opacity:.5;cursor:wait}
.wallet-card-share-note,.wallet-card-save-status{padding:0 22px;font-size:12px;line-height:1.5;color:inherit;margin:0 0 16px}.wallet-card-save-status:empty{display:none}
body.wallet-dialog-open{overflow:hidden}
@media(prefers-reduced-motion:no-preference){.wallet-card-dialog[open]{animation:wallet-card-enter .18s ease-out}@keyframes wallet-card-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
/* Preserve the full robot in the compact popup portrait. */
.wallet-card-display .wallet-tier-visual{aspect-ratio:auto;height:min(400px,34dvh)}
.wallet-card-display .wallet-tier-visual .wallet-tier-art{object-fit:contain;height:100%;width:100%}
/* One quiet wallet form; the collectible result lives only in the dialog. */
.wallet-check-shell{max-width:860px;border:1px solid var(--wallet-line);background:var(--wallet-surface);padding:28px 30px}
.wallet-section .wallet-heading h2{margin:0}.wallet-card-dialog{width:min(460px,calc(100vw - 32px));border-radius:12px;border:1px solid #77887c55;padding:0;background:var(--bg,#f6f2e9);color:var(--ink,#192120)}
.wallet-result-card-top{display:flex;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid #77887c44}
.wallet-card-brand{font:900 20px Display,Arial;letter-spacing:-.5px}.wallet-card-brand span{color:#087f80}.wallet-card-rank{margin-left:auto;font:12px monospace;color:var(--muted,#53675c)}
.wallet-card-close{flex-shrink:0}.wallet-card-portrait{height:min(320px,29dvh);background:#192120;display:flex;justify-content:center}.wallet-card-image{width:100%;height:100%;object-fit:contain}
.wallet-result-card-body{padding:20px}.wallet-card-kind{font:11px/1.5 monospace;letter-spacing:.7px;color:var(--muted,#53675c);margin:0 0 8px}
.wallet-card-identity h3{font:900 30px/1.1 Display,Arial;margin:0 0 10px;letter-spacing:-.5px}.wallet-card-slogan{font-size:14px;line-height:1.5;color:var(--muted,#53675c);margin:0}
.wallet-card-balances{margin:20px 0 0}.wallet-card-balances>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #77887c44}.wallet-card-balances dt{font-size:13px;color:var(--muted,#53675c)}
.wallet-card-balances dd{margin:0;text-align:right;min-width:0;max-width:65%}.wallet-card-balances dd span{font:700 21px/1.3 Arial;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.wallet-card-balances small{display:block;font:10px/1.5 monospace;letter-spacing:.7px;color:var(--muted,#53675c)}
.wallet-card-level{border-top:1px solid #77887c44;margin-top:6px;padding-top:16px}.wallet-card-level-heading{display:flex;justify-content:space-between;gap:12px;font-size:12px}.wallet-card-percent{color:#087f80;font-variant-numeric:tabular-nums}.wallet-card-level progress{display:block;appearance:none;width:100%;height:7px;border:0;margin:10px 0;background:#77887c44}.wallet-card-level progress::-webkit-progress-bar{background:#77887c44}.wallet-card-level progress::-webkit-progress-value{background:#087f80}.wallet-card-level progress::-moz-progress-bar{background:#087f80}.wallet-card-remaining{font-size:12px;line-height:1.5;color:var(--muted,#53675c);margin:0}
.wallet-result-card .wallet-card-actions{padding:0 20px 12px}.wallet-result-card .wallet-card-share-note,.wallet-result-card .wallet-card-save-status{padding:0 20px;font-size:11px}
[data-theme="dark"] .wallet-card-percent{color:#81d9cb}
@media(max-width:640px){.wallet-check-shell{padding:22px 18px}.wallet-result-card-top{padding:8px 16px;gap:10px}.wallet-result-card-body{padding:16px}.wallet-card-identity h3{font-size:28px}.wallet-card-balances dd span{font-size:20px}.wallet-card-kind{font-size:10px}.wallet-card-portrait{height:25dvh}.wallet-result-card .wallet-card-actions{padding-inline:16px}}
/* Collectible treatment: ink frame, ivory stock, cyan inset and maker's mark. */
.wallet-card-dialog{border:8px solid #192120;border-radius:16px;box-shadow:0 28px 80px #0005;outline:1px solid #8aa89f}
.wallet-result-card{border:1px solid #087f8066;border-radius:7px;overflow:hidden}
.wallet-result-card-top{background:#192120;color:#f6f2e9;padding:10px 16px;border:0}.wallet-card-brand{font-size:22px}.wallet-card-brand span{color:#81d9cb}
.wallet-card-rank{color:#e1efe9;border:1px solid #81d9cb66;padding:6px 9px;font-size:11px;letter-spacing:.3px}.wallet-result-card-top .wallet-card-close{width:34px;height:34px}
.wallet-card-portrait{margin:12px 12px 0;border:1px solid #19212055;border-radius:5px;overflow:hidden;background:#c6e5de;height:min(310px,28dvh)}
.wallet-card-identity h3{font-size:32px;letter-spacing:-1px}.wallet-card-kind{letter-spacing:1px}
.wallet-card-balances dd span{font-size:22px;font-weight:700;letter-spacing:-.3px;font-variant-numeric:tabular-nums}.wallet-card-balances dt{font-size:13px}
.wallet-card-signature{margin:18px 0 0;padding:11px;border-top:1px solid #77887c44;border-bottom:1px solid #77887c44;color:var(--ink,#192120);text-align:center;font:700 14px Arial;letter-spacing:.7px}
.wallet-card-level progress{border-radius:2px;overflow:hidden}.wallet-card-actions button,.wallet-card-actions a{border-radius:3px}
[data-theme="dark"] .wallet-card-dialog{border-color:#0d1311}[data-theme="dark"] .wallet-card-portrait{background:#273e35;border-color:#77887c66}
@media(max-width:640px){.wallet-card-dialog{border-width:6px}.wallet-result-card-top{padding:10px 12px;gap:8px}.wallet-card-rank{font-size:10px;padding:5px 7px}.wallet-card-brand{font-size:20px}.wallet-card-portrait{margin:10px 10px 0;height:25dvh}.wallet-card-identity h3{font-size:28px}.wallet-card-balances dd span{font-size:22px}}
/* A collectible artifact: chamfered cyan rails, cream type and a central crest. */
.wallet-card-dialog{width:min(480px,calc(100vw - 24px));border:0;outline:0;border-radius:0;background:transparent;box-shadow:none;padding:14px 0 0;color:#f6f2e9}
.wallet-result-card{position:relative;isolation:isolate;background:#141c1b;color:#f6f2e9;border:2px solid #86c9bf;border-radius:18px 18px 22px 22px;padding:9px;box-shadow:inset 0 0 0 4px #203532,inset 0 0 0 6px #609f94,0 20px 65px #0005}
.wallet-result-card::before{content:"";position:absolute;inset:12px;border:1px solid #b4c3a566;border-radius:8px 8px 13px 13px;pointer-events:none;z-index:-1}
.wallet-card-crest{position:absolute;top:-12px;left:calc(50% - 19px);width:38px;height:38px;background:#142321;border:2px solid #81d9cb;transform:rotate(45deg);box-shadow:0 0 0 4px #203532;display:grid;place-items:center;z-index:2}.wallet-card-crest span{transform:rotate(-45deg);font-size:25px;color:#dfd7b9}
.wallet-result-card-top{background:transparent;padding:15px 14px 10px;color:#f6f2e9}.wallet-card-brand{font-size:21px}.wallet-card-rank{border:0;color:#a6d5c9;font-size:11px;padding:0}.wallet-card-close{color:#f6f2e9}
.wallet-card-portrait{background:#223c36;margin:6px 12px 0;border:1px solid #82c5b8;box-shadow:0 0 0 3px #223c36;border-radius:2px;height:min(300px,27dvh);clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}
.wallet-card-image{object-fit:contain}.wallet-result-card-body{padding:20px 18px 14px}.wallet-card-identity{text-align:center}.wallet-card-kind{color:#a6d5c9;font:11px monospace;letter-spacing:1.5px}
.wallet-card-identity h3{font:900 34px/1.15 Display,Arial;color:#f6edcf;letter-spacing:-1px;text-shadow:0 2px 0 #0005;margin:8px 0}.wallet-card-slogan{color:#c9d5c9;font-size:14px}
.wallet-card-balances{margin-top:18px;display:flex;flex-direction:column;gap:8px}.wallet-card-balances>div{position:relative;padding:11px 15px;background:#20302c;border:1px solid #699f91;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)}
.wallet-card-balances dt{color:#e4e7d5;font-size:13px}.wallet-card-balances dd span{color:#f6edcf;font-size:22px}.wallet-card-balances small{color:#a6d5c9}
.wallet-card-level{border:0;margin-top:18px;padding-top:0}.wallet-card-level-heading{color:#e4e7d5}.wallet-card-percent{color:#81d9cb}.wallet-card-level progress{height:12px;border:1px solid #81d9cb;border-radius:0;background:#0f1715;box-shadow:0 0 0 3px #263e36;margin:13px 0}.wallet-card-level progress::-webkit-progress-bar{background:#0f1715}.wallet-card-level progress::-webkit-progress-value{background:#81d9cb}.wallet-card-level progress::-moz-progress-bar{background:#81d9cb}.wallet-card-remaining{color:#b6ccc0;font-size:11px}
.wallet-card-signature{border-top:1px solid #739c8466;border-bottom:0;padding:12px 0 0;margin-top:18px;color:#e8ddba;font:700 14px monospace;letter-spacing:2px}
.wallet-result-card .wallet-card-actions{padding:0 18px 10px;gap:10px}.wallet-card-actions button,.wallet-card-actions a{border:1px solid #749e90;color:#e4e7d5;background:#20302c;border-radius:2px;min-height:44px}.wallet-card-actions .wallet-card-share{background:#81d9cb;color:#142321;border-color:#81d9cb}.wallet-card-share-note,.wallet-card-save-status{color:#b6ccc0}
@media(max-width:640px){.wallet-result-card-body{padding:16px 14px 12px}.wallet-card-identity h3{font-size:29px}.wallet-card-portrait{height:23dvh;margin-inline:10px}.wallet-card-balances>div{padding:10px 12px}.wallet-card-balances dd span{font-size:21px}.wallet-card-balances dt{font-size:12px}.wallet-result-card .wallet-card-actions{padding-inline:14px}.wallet-card-rank{font-size:10px}.wallet-result-card-top{gap:8px;padding-inline:12px}.wallet-card-brand{font-size:19px}}
.wallet-card-dialog{padding-top:28px}.wallet-result-card{overflow:visible}
.wallet-card-balances dd{flex:0 0 55%;width:55%;max-width:55%}

.wallet-heading .wallet-heading-hook{max-width:none;font-size:16px;line-height:1.5;color:var(--wallet-muted);margin:12px 0 0}
/* Full square scene, aligned with the stat plates: no letterboxing. */
.wallet-card-portrait{height:auto;max-height:none;aspect-ratio:1;display:block;margin:6px 18px 0;background:transparent}
.wallet-card-image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.wallet-result-card-body{padding:16px 18px 12px}.wallet-card-identity h3{margin:0 0 8px}.wallet-card-balances{margin-top:15px;gap:6px}.wallet-card-balances>div{padding:9px 15px}.wallet-card-level{margin-top:14px}.wallet-card-signature{margin-top:14px;padding-top:10px}
@media(max-width:640px){.wallet-card-portrait{height:auto;aspect-ratio:1;margin-inline:14px}.wallet-result-card-body{padding:14px}.wallet-card-balances>div{padding:8px 12px}}

/* Highlight the next collectible rank; keep the export action simple. */
.wallet-card-next{display:flex;flex-direction:column;gap:4px;line-height:1.4}
.wallet-card-next>span{font:11px/1.4 monospace;text-transform:uppercase;letter-spacing:1px;color:#b6ccc0}
.wallet-card-next>strong{font:900 16px/1.3 Display,Arial,sans-serif;letter-spacing:-.4px;color:#81d9cb}
.wallet-card-level-heading{align-items:center}
.wallet-result-card .wallet-card-actions{grid-template-columns:1fr}

.wallet-card-actions [hidden]{display:none}
.wallet-card-actions .wallet-card-buy{background:#81d9cb;color:#142321;border-color:#81d9cb}
.wallet-card-buy:disabled{opacity:.55;cursor:not-allowed}
