.wallet-experience{max-width:580px;margin:auto;padding-top:32px;padding-bottom:48px;display:grid;gap:22px;text-align:center}
.wallet-experience h1{font-size:28px;margin:0;letter-spacing:-.04em}
.wallet-experience>.button{width:100%;padding:15px;border-radius:18px}
.wallet-experience>.subtle{line-height:1.7;margin:0}
.wallet-experience .field{text-align:left}
.wallet-experience input{font:600 22px ui-monospace,monospace;letter-spacing:.12em}
.wallet-art{width:120px;height:120px;display:grid;place-items:center;margin:14px auto;color:#16887c;border-radius:35px;background:color-mix(in srgb,currentColor 8%,transparent);animation:wallet-arrive .35s ease-out}
.wallet-art svg{width:54px;height:54px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}
.wallet-art.checking svg,.wallet-art.submitting svg{animation:wallet-breathe 1.1s ease-in-out infinite}
.wallet-art.refused{color:#d64d5d}
.wallet-art.insufficient,.wallet-art.uncertain{color:#b77e21}
.wallet-art.wallet-result-art{width:184px;height:184px;border-radius:50%;margin:10px auto}
.wallet-art .wallet-scene{width:180px;height:180px;stroke-width:2}
.wallet-case,.wallet-flap{fill:var(--surface-solid)}
.wallet-case{stroke-opacity:.8}
.wallet-dot{fill:currentColor;stroke:none}
.wallet-moving-coin,.wallet-returned-coin{fill:color-mix(in srgb,currentColor 12%,transparent)}
.wallet-moving-coin{opacity:0;animation:wallet-coin-in .7s ease-in-out .05s both}
.is-debit .wallet-moving-coin{animation-name:wallet-coin-out}
.wallet-result-badge{transform-box:fill-box;transform-origin:center;animation:wallet-badge .4s cubic-bezier(.2,.8,.3,1.25) .55s both}
.wallet-result-badge circle{fill:currentColor;stroke:none}
.wallet-result-badge path{stroke:#fff;stroke-width:3;fill:none}
.wallet-checkline{stroke-dasharray:1;stroke-dashoffset:0;animation:wallet-check .35s ease .63s both}
.wallet-returned-coin{opacity:.32;animation:wallet-coin-blocked 1s ease-in-out both}
.wallet-barrier{stroke-width:3.5}
.wallet-lock-back{fill:color-mix(in srgb,currentColor 10%,transparent);stroke:none}
.wallet-lock rect{fill:color-mix(in srgb,currentColor 20%,transparent);stroke-width:2.5}
.wallet-lock-open{opacity:0;animation:wallet-open-lock .65s ease both}
.wallet-lock-closed{opacity:1;animation:wallet-close-lock .65s ease both}
.wallet-missing-coin circle{stroke-dasharray:4 5;stroke-opacity:.6}
.wallet-missing-coin path{stroke-opacity:.6}
.wallet-empty-case{transform-origin:90px 110px;animation:wallet-empty .9s ease-in-out both}
.wallet-empty-track{stroke-opacity:.12;stroke-width:5}
.wallet-empty-level{stroke-width:5;stroke-dasharray:1;stroke-dashoffset:.9;animation:wallet-empty-level .75s ease-out both}
.wallet-amount{font:600 46px ui-rounded,system-ui;color:#16887c}
.wallet-amount.debit,.wallet-shortfall{color:#b77e21}
.wallet-amount small{font-size:17px}
.wallet-balances{display:grid;gap:18px;text-align:left}
.wallet-balances>div{display:flex;justify-content:space-between;gap:16px}
.wallet-balances>div+div{border-top:1px solid var(--line);padding-top:18px}
.wallet-operation{text-align:left;display:grid;grid-template-columns:1fr auto;gap:8px;cursor:pointer;color:var(--text)}
.wallet-operation>.subtle{grid-column:1}
.wallet-operation>span:last-child{grid-column:2;grid-row:1/3;align-self:center}
.wallet-progress{width:100%;height:4px;border-radius:4px;background:linear-gradient(90deg,transparent,#16887c,transparent);background-size:200% 100%;animation:wallet-progress 1.4s linear infinite}
.wallet-settings{display:grid;gap:18px;max-width:650px;margin:auto}
.wallet-settings>.card{padding:24px;border-radius:24px}
.wallet-settings h2,.wallet-settings h3{margin-top:0}
.wallet-settings .button-row{margin-top:16px}
.wallet-settings-hero{padding:14px 2px 24px!important;background:none!important;border:0!important;box-shadow:none!important}

/* Each motion describes the outcome. The success mark follows settlement; no decorative spinning. */
@keyframes wallet-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes wallet-breathe{50%{opacity:.45}}
@keyframes wallet-coin-in{0%{transform:translateY(-8px);opacity:1}75%{opacity:1}100%{transform:translateY(62px);opacity:0}}
@keyframes wallet-coin-out{0%{transform:translate(0,62px);opacity:1}65%{opacity:1}100%{transform:translate(48px,-3px);opacity:0}}
@keyframes wallet-badge{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}
@keyframes wallet-check{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes wallet-coin-blocked{0%{transform:translateX(-15px);opacity:1}45%{transform:translateX(11px);opacity:1}75%{transform:translateX(-8px);opacity:.6}100%{transform:none;opacity:.32}}
@keyframes wallet-open-lock{0%,55%{opacity:1}100%{opacity:0}}
@keyframes wallet-close-lock{0%,55%{opacity:0}100%{opacity:1}}
@keyframes wallet-empty{0%{transform:rotate(0)}35%{transform:rotate(-7deg)}70%{transform:rotate(3deg)}100%{transform:none}}
@keyframes wallet-empty-level{from{stroke-dashoffset:0}to{stroke-dashoffset:.9}}
@keyframes wallet-progress{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.wallet-art,.wallet-art *,.wallet-progress{animation:none!important}.wallet-experience .button{transform:none!important}}
@media(max-width:600px){.wallet-experience{padding-top:20px}.wallet-experience h1{font-size:24px}.wallet-amount{font-size:38px}}
