.wallet-main{max-width:880px;margin:auto;padding-bottom:40px}.wallet-main .page-intro{padding-bottom:26px}.wallet-main .checkout-panel{margin:24px 0}.wallet-message{min-height:1.5em;padding:0 10px;color:#28446b;font-weight:650}.wallet-message[data-error=true]{color:#8c2347}.wallet-main form{display:grid;gap:18px;margin-top:24px}.wallet-main label{display:grid;gap:8px;font-weight:700}.wallet-main input:not([type=checkbox]){font:inherit;color:inherit;width:100%;border:2px solid #c7dce9;border-radius:16px;padding:14px;background:#fff}.wallet-main input:focus-visible,.wallet-main button:focus-visible{outline:3px solid #256eaf;outline-offset:4px}.wallet-main .wallet-confirm{display:flex;align-items:center;gap:12px;font-weight:500}.wallet-confirm input{width:22px;height:22px;flex:0 0 auto}.wallet-actions{display:flex;gap:12px;flex-wrap:wrap}.wallet-actions .button,.wallet-head .button{margin-top:0}.wallet-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.wallet-head h2{margin:0}.wallet-total{display:flex;justify-content:center;align-items:center;gap:12px;margin:25px 0 14px}.wallet-total strong{font-size:54px;color:#246cae}.wallet-total>span:first-child{font-size:46px}.wallet-packs{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px;margin:18px 0 24px}.wallet-pack{padding:22px 16px;border-radius:24px;background:#eff8ff;border:2px solid #d4e9fa;text-align:center}.wallet-pack:nth-child(even){background:#fff3f6;border-color:#f6dce8}.wallet-pack h4{font-size:21px;margin:0 0 10px}.wallet-pack .button{width:100%;font-size:16px;padding:12px;margin:14px 0 0}.wallet-pack p{margin:5px 0;line-height:1.45}.wallet-pack strong{font-size:25px}.wallet-history{list-style:none;padding:0}.wallet-history li{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #dbe8ef}.wallet-main [hidden]{display:none!important}.wallet-main button:disabled{opacity:.55;cursor:wait}.wallet-main details{margin:22px 0}.wallet-main summary{font-weight:700;cursor:pointer}.wallet-main #monthly-plan{padding:14px 0;border-top:1px solid #dbe8ef;border-bottom:1px solid #dbe8ef;margin:20px 0}@media(max-width:550px){.wallet-main{padding:0 15px 32px}.wallet-main .checkout-panel{padding:23px 18px}.wallet-head{align-items:flex-start}.wallet-head .button{padding:9px 12px;font-size:14px}.wallet-actions{flex-direction:column}.wallet-actions .button{width:100%}.wallet-packs{grid-template-columns:1fr}.wallet-total strong{font-size:46px}}@media(prefers-reduced-motion:reduce){.wallet-main *{animation:none!important;transition:none!important}}

#wallet-coin-art{display:inline-flex;width:48px;height:48px}#wallet-coin-art svg{width:100%;height:100%}#recovery-panel{margin:24px 0;padding:20px;border:2px solid #d5e6ef;border-radius:20px;background:#f8fcff}#pending-recovery{margin-top:24px}#recovery-code{font-family:monospace;font-size:14px;word-break:break-all}#recovery-state{font-weight:700}

#unfinished-rounds{margin:22px 0;padding:16px;border:2px solid #d5e6ef;border-radius:20px}#open-rounds li{align-items:center}#open-rounds .button{margin:0;font-size:15px;padding:10px 12px}

.wallet-main .page-intro{padding-bottom:16px}.wallet-main .page-intro .back-link{display:inline-flex;align-items:center;min-height:44px}.wallet-main .small-note{font-size:14px;line-height:1.6;margin-top:10px}.wallet-main .availability{margin-bottom:18px}.wallet-message:empty{min-height:0;margin:0;padding:0}.purchase-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:20px 0}.purchase-steps li{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #d7e5ed;border-radius:16px;background:#f4f8fb;color:#526d7e;font-size:14px;font-weight:700;line-height:1.45;min-width:0}.step-number{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:white;border:1px solid #d7e5ed}.purchase-steps [data-state=current]{border-color:#176e9a;background:#eaf5ff;color:#155777}.purchase-steps [data-state=current] .step-number{background:#176e9a;border-color:#176e9a;color:white}.purchase-steps [data-state=complete]{background:#edf7f1;color:#286348;border-color:#c5e2d1}.account-choice{display:flex;gap:6px;padding:5px;margin-top:22px;border:1px solid #d7e5ed;border-radius:17px;background:#f5f9fc;max-width:520px}.account-choice button{flex:1;min-width:0;min-height:46px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:#526d7e;font-weight:700}.account-choice button[aria-pressed=true]{background:white;color:#155777;box-shadow:0 2px 7px #234b6a16}.wallet-main form{max-width:520px}.wallet-main #account-submit{width:100%;margin-top:0}.wallet-main .wallet-confirm{align-items:flex-start;line-height:1.55}.wallet-confirm input{margin-top:2px}.wallet-head h2{font-size:27px}.wallet-head{align-items:flex-start}.wallet-head .small-note{margin:0}.wallet-total{justify-content:flex-start;margin:18px 0 6px}.wallet-total strong{font-size:44px}.wallet-main #adult-email{overflow-wrap:anywhere}.wallet-main #recovery-panel{margin:26px 0 0;padding:22px}.wallet-main #recovery-panel h3,.wallet-main #purchase-heading{font-size:23px;line-height:1.4;margin:0 0 10px}.wallet-main #purchase-panel{margin-top:30px}.recovery-confirmed{margin:0 0 20px;color:#286348;font-size:14px}.wallet-main #recovery-state:empty{display:none}.wallet-main #pending-recovery{margin-top:20px}.wallet-main #cancel-recovery-change{margin-top:18px}.wallet-main #recovery-code{font-size:16px;line-height:1.5}.wallet-main #account-settings{padding-top:18px;border-top:1px solid #d7e5ed}.wallet-main #account-settings .button{margin-top:14px}.wallet-main .seller-details{padding:15px 17px;margin:20px 0 26px;border:1px solid #d7e5ed;border-radius:16px;background:#f8fbfd;font-size:13px;line-height:1.55}.wallet-main .seller-details h3{font-size:15px;margin:0 0 5px}.wallet-main .seller-details address{font-style:normal;margin:4px 0}.wallet-main .seller-details p{margin:9px 0}.wallet-main .seller-details .inline-links{gap:16px}.wallet-packs{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.wallet-pack{display:flex;flex-direction:column;align-items:stretch;padding:20px 15px;background:#eff8ff}.wallet-pack h4{font-size:22px;line-height:1.5}.wallet-pack .small-note{flex:1;font-size:13px}.wallet-pack .button{min-height:48px;line-height:1.5}.wallet-main .monthly-offer{padding:21px;margin-top:30px;border:2px solid #e0d9ef;border-radius:22px;background:#faf7ff}.monthly-offer h3{margin:0;font-size:22px}.monthly-offer .wallet-packs{grid-template-columns:minmax(0,1fr);margin-bottom:0}.monthly-offer .wallet-pack{background:white;border-color:#e0d9ef}.monthly-offer .wallet-pack .button{background:#554c80;box-shadow:0 4px 0 #3f385f}.wallet-main button:disabled{cursor:not-allowed}.wallet-main summary{min-height:44px;display:list-item;padding-block:10px}.wallet-main #wallet-coin-art{width:40px;height:40px}
@media(max-width:700px){.wallet-packs{grid-template-columns:1fr}.wallet-pack{padding:20px}.purchase-steps{gap:6px}.purchase-steps li{flex-direction:column;align-items:flex-start;padding:10px 8px;font-size:12px}.wallet-main .monthly-offer{padding:17px}.wallet-main .seller-details{padding:14px}.wallet-main .wallet-head h2{font-size:24px}.wallet-main #recovery-panel{padding:18px}.wallet-main .page-intro .back-link{font-size:14px}}

/* Familiar Sano artwork and a clear, optional choice of coins. */
.wallet-main .page-intro{min-height:264px;padding-top:28px}.wallet-main .wallet-welcome-art{top:6px;height:248px}.wallet-welcome-coin{position:absolute;right:5px;bottom:15px;width:66px;height:66px;rotate:12deg;filter:drop-shadow(0 5px 5px #bd881c35)}.wallet-welcome-coin svg{width:100%;height:100%}.wallet-main .purchase-steps{gap:12px;margin-bottom:26px}.purchase-steps li{border:2px solid #fff;border-bottom:4px solid #c4d8e7;background:#edf6fd;box-shadow:0 5px 14px #4263820c}.purchase-steps [data-state=current]{background:linear-gradient(145deg,#fff1f8,#ffd9eb);border-color:#fff;border-bottom-color:#dd99b8;color:#783257}.purchase-steps [data-state=current] .step-number{background:#a5376b;border-color:#a5376b}.purchase-steps [data-state=complete]{background:linear-gradient(145deg,#f4fff9,#d5f3e3);border-color:#fff;border-bottom-color:#91ccb0}.wallet-main .wallet-total{gap:13px;width:fit-content;max-width:100%;padding:14px 22px;margin-top:24px;border:2px solid #fff;border-bottom:5px solid #e6c579;border-radius:24px;background:linear-gradient(140deg,#fffdf1,#ffe5a5);box-shadow:0 8px 18px #bb92201c}.wallet-total strong{color:#755014}.wallet-main #wallet-coin-art{width:54px;height:54px}.wallet-main .wallet-total>span:last-child{font-weight:750;color:#755014}.wallet-main .account-choice{border:2px solid #fff;background:#e6f3ff;border-radius:20px}.account-choice button[aria-pressed=true]{background:linear-gradient(145deg,#fffafd,#ffe2ef);color:#783257;box-shadow:0 3px 0 #dfa9c2}.wallet-main input:not([type=checkbox]){box-shadow:inset 0 2px 3px #38658a08}.wallet-main #recovery-panel{background:linear-gradient(145deg,#fffdf4,#fff1cd);border:2px solid #fff;border-bottom:5px solid #e5cf94;box-shadow:0 7px 18px #9474260c}.wallet-main .recovery-confirmed{padding:11px 15px;background:#edfff4;border:1px solid #bfe4ce;border-radius:14px}.wallet-main .recovery-confirmed::before{content:'✓';display:inline-block;margin-right:9px;font-weight:850}
.wallet-main .wallet-packs{gap:18px;margin-top:22px}.wallet-main .wallet-pack{position:relative;isolation:isolate;overflow:hidden;padding:24px 16px 21px;border:3px solid #fff;border-bottom:6px solid #d9bc74;border-radius:27px;background:linear-gradient(150deg,#fffdf2,#ffedbd);box-shadow:inset 0 2px 0 #fff,0 9px 18px #94732915;transition:transform .18s ease,box-shadow .18s ease}.wallet-main .wallet-pack:nth-child(2){background:linear-gradient(150deg,#fff7fc,#ffe1ed);border-bottom-color:#dca2be}.wallet-main .wallet-pack:nth-child(3){background:linear-gradient(150deg,#f3fff9,#d8f5e9);border-bottom-color:#94c9b3}.wallet-main .wallet-pack h4{margin:1px 0 4px;font-size:25px;line-height:1.35;color:#29466e}.wallet-main .wallet-pack-price{font-size:32px;line-height:1.5;color:#29466e}.wallet-main .wallet-pack-term{font-size:13px;font-weight:700;color:#48627b}.wallet-main .wallet-pack .small-note{margin:10px 0 5px;line-height:1.55;color:#48627b}.wallet-main .wallet-pack .button{margin-top:17px;padding:12px 10px}.wallet-pack-art{display:block;position:relative;order:-1;flex:0 0 96px;width:132px;height:96px;margin:0 auto 9px;filter:drop-shadow(0 5px 3px #ac7a1730)}.wallet-pack-coin{position:absolute;left:24px;bottom:2px;width:83px;height:83px;transition:transform .18s ease}.wallet-pack-coin svg{width:100%;height:100%;display:block}.wallet-pack-art[data-coins="2"] .wallet-pack-coin:first-child,.wallet-pack-art[data-coins="3"] .wallet-pack-coin:first-child,.wallet-pack-art[data-coins="4"] .wallet-pack-coin:first-child{left:2px;bottom:12px;rotate:-14deg}.wallet-pack-art[data-coins="2"] .wallet-pack-coin:nth-child(2),.wallet-pack-art[data-coins="3"] .wallet-pack-coin:nth-child(2),.wallet-pack-art[data-coins="4"] .wallet-pack-coin:nth-child(2){left:47px;bottom:12px;rotate:14deg}.wallet-pack-art[data-coins="3"] .wallet-pack-coin:nth-child(3),.wallet-pack-art[data-coins="4"] .wallet-pack-coin:nth-child(3){left:24px;bottom:0}.wallet-pack-art[data-coins="4"] .wallet-pack-coin:nth-child(4){left:25px;bottom:26px;width:76px;height:76px;z-index:-1}.wallet-main .monthly-offer{background:linear-gradient(145deg,#fbf8ff,#ece7fc);border:3px solid #fff;border-bottom:6px solid #bbb0df;box-shadow:0 8px 20px #786d9a10}.wallet-main .monthly-offer>.eyebrow{color:#665584;font-size:12px;letter-spacing:.09em;margin:0 0 9px}.wallet-main .monthly-offer .wallet-pack{background:#ffffffe6;border:2px solid #ddd4f0;box-shadow:none;border-radius:22px}.wallet-main .monthly-offer .wallet-pack .button{background:linear-gradient(145deg,#7966a3,#55447e);box-shadow:0 4px 0 #40315e}.wallet-main .seller-details{background:#ffffffa6}
@media(min-width:701px){.monthly-offer .wallet-pack{display:grid;grid-template-columns:115px minmax(0,1fr) minmax(175px,auto);grid-template-areas:'art heading price' 'art term button' 'art explanation explanation';gap:3px 18px;text-align:left;align-items:center}.monthly-offer .wallet-pack-art{grid-area:art;width:125px;margin:0 0 0 -5px;align-self:center}.monthly-offer .wallet-pack h4{grid-area:heading}.monthly-offer .wallet-pack-price{grid-area:price;text-align:center}.monthly-offer .wallet-pack-term{grid-area:term}.monthly-offer .wallet-pack .small-note{grid-area:explanation}.monthly-offer .wallet-pack .button{grid-area:button;margin:0}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.wallet-main .wallet-pack:hover{transform:translateY(-3px);box-shadow:inset 0 2px 0 #fff,0 13px 24px #81632a20}.wallet-pack:hover .wallet-pack-coin:last-child{transform:translateY(-3px) rotate(3deg)}}
@media(max-width:760px){.wallet-main .page-intro{padding-top:14px;min-height:0}.wallet-main .wallet-welcome-art{top:auto;width:186px;height:150px;margin:12px auto 4px}.wallet-welcome-coin{width:49px;height:49px;right:0;bottom:0}}
@media(max-width:700px){.wallet-main .wallet-packs{gap:16px}.wallet-main .wallet-pack{padding:22px}.wallet-main .purchase-steps{gap:6px}.wallet-main .wallet-total{padding:12px 16px}.wallet-main #wallet-coin-art{width:46px;height:46px}.wallet-main .monthly-offer .wallet-pack-art{margin-bottom:8px}}
@media(forced-colors:active){.wallet-main :is(.wallet-pack,.wallet-total,.purchase-steps li,.monthly-offer,#recovery-panel){background:Canvas;color:CanvasText;border:2px solid CanvasText;box-shadow:none}.wallet-main :is(.wallet-pack h4,.wallet-pack-price,.wallet-pack-term,.wallet-pack .small-note,.wallet-total strong){color:CanvasText}}

/* Keep the same order and usable controls when English or Nepali text wraps. */
.wallet-main :is(form,label,input,textarea,.wallet-head>*,.wallet-history li>*){min-width:0;max-width:100%}
.wallet-main .button{white-space:normal;text-align:center;overflow-wrap:anywhere;line-height:1.55}
.wallet-main .step-status{margin:22px 0 9px;font-weight:700;color:#48627b}
.wallet-main .purchase-steps{margin-top:0}
.wallet-main .purchase-steps li{cursor:default}
.wallet-main :is(#account-heading,#recovery-heading,#purchase-heading){scroll-margin-top:22px}
.wallet-main :is(#account-heading,#recovery-heading,#purchase-heading):focus{outline:none}
.wallet-main #recovery-code{display:block;width:100%;max-width:520px;min-height:7.8em;margin-top:8px;padding:14px;border:2px solid #c7dce9;border-radius:16px;background:#fff;color:#28446b;font:16px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;resize:vertical}
.wallet-main #recovery-code:focus-visible{outline:3px solid #256eaf;outline-offset:4px}
.wallet-main .recovery-copy-actions{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-top:12px}
.wallet-main .recovery-copy-actions .button{min-height:48px;flex:0 0 auto;margin:0}
.wallet-main #recovery-copy-status{flex:1 1 220px;margin:0;align-self:center}
.wallet-main #recovery-copy-status:empty{display:none}
@media(max-width:700px){
 .wallet-main .purchase-steps{grid-template-columns:minmax(0,1fr);gap:7px}
 .wallet-main .purchase-steps li{flex-direction:row;align-items:center;gap:12px;padding:10px 13px;font-size:15px;line-height:1.55;box-shadow:none;border-bottom-width:2px}
 .wallet-main .step-number{flex:0 0 30px;height:30px}
 .wallet-main #recovery-panel{padding:17px 14px}
 .wallet-main .wallet-history li{flex-wrap:wrap;align-items:flex-start}
 .wallet-main #open-rounds li>span{flex:1 1 130px}
 .wallet-main #open-rounds .button{max-width:100%}
 .wallet-main .monthly-offer{padding:16px 12px}
}
@media(max-width:420px){
 .site-header{flex-wrap:wrap;gap:13px;padding:17px 15px}
 .header-actions{margin-left:auto;max-width:100%}
 .language-switch{max-width:100%}
 .wallet-main{padding-inline:12px}
 .wallet-main .checkout-panel{padding:21px 14px}
 .wallet-main .wallet-head{flex-wrap:wrap}
 .wallet-main .wallet-head h2{flex:1 1 170px}
 .wallet-main .wallet-head .button{min-height:44px}
 .wallet-main .account-choice button{padding:10px 8px;font-size:15px;line-height:1.6}
 .wallet-main form>.button{width:100%;min-height:50px}
 footer{flex-wrap:wrap;gap:12px 18px;padding-inline:15px}
 footer>span{flex-basis:100%}
}

/* The purchase account uses the same dismissible, uncluttered sheet as play. */
body[data-page=wallet]{overflow:hidden;padding:0}
.wallet-sheet-backdrop{position:fixed;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;padding:calc(env(safe-area-inset-top) + 12px) max(12px,env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 12px) max(12px,env(safe-area-inset-left));background:#254d7417;overflow:auto;overscroll-behavior:contain}
.wallet-sheet{position:relative;width:min(880px,100%);max-height:100%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;isolation:isolate;border:3px solid #fff;border-radius:30px;background:var(--support-canvas);box-shadow:0 18px 55px #274d6b30;color:var(--support-ink)}
.wallet-sheet[data-view=account],.wallet-sheet[data-view=recovery]{width:min(550px,100%)}
.wallet-sheet>.wallet-sheet-header{position:sticky;top:0;z-index:2;min-height:99px;padding:35px 20px 16px;gap:12px;flex-wrap:nowrap;background:#f5fafff2;border-bottom:1px solid #dcebf5;backdrop-filter:blur(10px)}
.wallet-sheet-header .brand{font-size:29px;gap:8px}.wallet-sheet-header .brand img{width:39px;height:39px}
.wallet-sheet-header .header-actions{gap:14px;margin-left:auto;flex-shrink:0}
.wallet-sheet .wallet-sheet-handle{position:absolute;top:3px;left:50%;width:90px;height:30px;translate:-50% 0;display:grid;place-items:center;padding:0;border:0;border-radius:15px;background:transparent;cursor:grab;touch-action:none}
.wallet-sheet-handle>span{width:48px;height:5px;background:#7e9ab6;border-radius:99px}
.wallet-sheet .wallet-sheet-close{display:grid;place-items:center;width:40px;height:40px;flex:none;min-height:40px;padding:0;border:0;border-radius:50%;background:#e6f2ff;color:#24537e;box-shadow:inset 0 1px 1px #fff,0 0 12px #91caff45;text-decoration:none;font:600 30px/1 ui-rounded,system-ui}
.wallet-sheet .wallet-language-pill{display:flex;gap:0;padding:0;border:0;border-radius:23px;background:#f5faffc9;box-shadow:inset 0 1px 1px #fff,0 0 5px #ffffffc9,0 0 14px 3px #91caff45,0 0 24px 5px #91caff18}
.wallet-sheet .wallet-language-pill>button{min-width:43px;min-height:42px;padding:5px 10px;border:0;font-size:13px;font-weight:850;box-shadow:none;color:#365675;transition:background .18s ease,box-shadow .18s ease}
.wallet-sheet .wallet-language-pill>button[aria-pressed=true]{background:#d9f6e8;color:#15533b;box-shadow:0 0 10px 2px #54d69b55}
.wallet-sheet>.wallet-main{padding:18px 24px 20px;max-width:none}
.wallet-main .checkout-panel{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;animation:none}
.wallet-main .account-choice{max-width:none;margin:0 0 22px;padding:5px;gap:6px;border:0;border-radius:20px;background:#e0edfc}
.wallet-main .account-choice button{font-size:18px;font-weight:850;min-height:50px;border-radius:15px;color:#355779}
.wallet-main .account-choice button[aria-pressed=true]{background:linear-gradient(145deg,#f0faff,#abd9ff);color:#145c9c;box-shadow:0 3px 0 #80b6e0,0 0 14px #91caff45}
.wallet-main form{margin-top:0;max-width:none;gap:17px}
.wallet-main input:not([type=checkbox]){min-height:48px;padding:11px 13px;font-size:16px}
.wallet-main .wallet-password-guidance{font-size:12px;font-weight:500;color:#526d7e;line-height:1.4}
.wallet-main .wallet-confirm{font-size:13px;gap:9px;line-height:1.5}.wallet-main .wallet-confirm input{width:20px;height:20px}
.wallet-main #account-submit{margin-top:3px;min-height:52px;font-size:18px;border:2px solid #fff;background:linear-gradient(145deg,#86ecb3,#39cf86 55%,#1fb66e);color:#10472e;box-shadow:inset 0 1px 1px #ffffffb3,0 5px 0 #168650,0 0 14px #51d88a55}
.wallet-main #account-submit:disabled{opacity:.55;cursor:wait}
.wallet-main #recover-account{margin:22px 0 0;font-size:14px}.wallet-main #recover-account>summary{min-height:35px;display:flex;align-items:center}.wallet-main #recover-account>form{margin-top:17px}
.wallet-main .availability{margin:0 0 19px;padding:11px 14px;gap:10px}.wallet-main .availability p{font-size:13px}.wallet-main .wallet-message:not(:empty){margin:0 0 18px;padding:0;font-size:14px;line-height:1.5}
.wallet-main .wallet-head{justify-content:flex-end}.wallet-main .wallet-head .button{min-height:38px;padding:7px 13px;font-size:13px}
.wallet-main #adult-email{margin:0 0 14px;font-size:13px}.wallet-main .wallet-total{justify-content:center;max-width:250px;margin:0 auto 22px}
.wallet-main #purchase-panel{margin-top:24px}.wallet-main #purchase-heading{text-align:center;font-size:27px}
.wallet-main .wallet-packs{margin:17px 0 22px;gap:13px}.wallet-main .wallet-pack{padding:18px 12px}.wallet-main .wallet-pack h4{font-size:22px}.wallet-main .wallet-pack-art{margin:10px auto}.wallet-main .wallet-pack .button{margin-top:13px;font-size:15px}
.wallet-main .wallet-purchase-help{font-size:13px;margin:20px 0 0}.wallet-main .wallet-purchase-help .seller-details{margin:13px 0;padding:13px}.wallet-main #recovery-panel{margin:20px 0 0}.wallet-main #recovery-state{font-weight:600}
.wallet-sheet>.wallet-sheet-footer{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;padding:15px 24px 20px;border-top:1px solid #dcebf5;font-size:13px}.wallet-sheet-footer a{min-height:30px;display:inline-flex;align-items:center}
.wallet-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:580px){.wallet-sheet{border-radius:26px}.wallet-sheet>.wallet-sheet-header{padding-inline:15px}.wallet-sheet>.wallet-main{padding:18px 19px}.wallet-sheet-header .brand span{display:none}.wallet-sheet .wallet-packs{grid-template-columns:1fr}.wallet-main .wallet-pack{padding:18px}.wallet-sheet-header .header-actions{gap:12px}.wallet-sheet>.wallet-sheet-footer{gap:20px;padding-inline:18px}}
@media(max-height:540px) and (orientation:landscape){.wallet-sheet-backdrop{padding-block:8px}.wallet-sheet>.wallet-sheet-header{min-height:80px;padding-top:31px;padding-bottom:9px}.wallet-sheet>.wallet-main{padding-top:15px}.wallet-main .account-choice{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.wallet-sheet .wallet-language-pill>button{transition:none}.wallet-sheet-header{backdrop-filter:none}}
@media(forced-colors:active){.wallet-sheet{background:Canvas;color:CanvasText;border-color:CanvasText}.wallet-sheet .wallet-sheet-close,.wallet-sheet .wallet-language-pill,.wallet-main .account-choice{background:Canvas;color:CanvasText;border:1px solid CanvasText;box-shadow:none}.wallet-sheet .wallet-language-pill>button[aria-pressed=true],.wallet-main .account-choice button[aria-pressed=true]{background:Highlight;color:HighlightText;box-shadow:none}.wallet-sheet-handle>span{background:ButtonText}.wallet-main #account-submit{background:ButtonFace;color:ButtonText;box-shadow:none;border-color:ButtonText}}

/* A compact bottom sheet with one continuous Sano background, including the
   handle and header. Only its content scrolls; pulling cannot reveal a white gap. */
html:has(body[data-page=wallet]){--support-canvas:linear-gradient(90deg,#fff0f7 0%,#f5faff 50%,#eaf6ff 100%);background:var(--support-canvas);overscroll-behavior:none}
body[data-page=wallet]{height:100dvh;min-height:100dvh;overscroll-behavior:none;background:var(--support-canvas)}
.wallet-sheet-backdrop{align-items:flex-end;overflow:hidden;overscroll-behavior:none;padding:max(24px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left));background:#24416d33}
.wallet-sheet{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - max(24px,env(safe-area-inset-top)));border:0;border-radius:30px 30px 0 0;background:var(--support-canvas);overflow:hidden;overscroll-behavior:none;box-shadow:0 -10px 42px #274d6b30;animation:sano-wallet-sheet-in 220ms cubic-bezier(.2,.75,.25,1)}
.wallet-sheet[data-view=account]{width:min(520px,100%);max-height:min(680px,calc(100dvh - max(24px,env(safe-area-inset-top))))}
.wallet-sheet[data-view=recovery]{width:min(550px,100%)}
.wallet-sheet>.wallet-sheet-header{position:relative;top:auto;flex:none;width:100%;min-height:83px;margin:0;padding:31px 20px 9px;background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}
.wallet-sheet-header .wallet-sano-brand{display:block;flex:0 1 116px;min-width:78px;line-height:0;color:#0867ed;letter-spacing:normal}
.wallet-sheet-header .wallet-sano-brand>.sano-wordmark{display:block;width:100%;height:auto;max-height:44px}
.wallet-sheet .wallet-sheet-handle{top:0;left:0;width:100%;height:30px;translate:none;border-radius:0;background:transparent}
.wallet-sheet .wallet-sheet-close{width:40px;height:40px;min-height:40px;border:2px solid #ffd1d7;border-bottom:4px solid #b7233d;border-radius:16px;background:linear-gradient(145deg,#ff7c90,#ed2448);color:#fff;box-shadow:inset 0 1px #ffe6eb,0 3px 0 #b7233d,0 0 12px #ff4b6933}
.wallet-sheet>.wallet-main{flex:0 1 auto;width:100%;min-height:0;max-width:none;margin:0;padding:14px 24px 18px;overflow-y:auto;overscroll-behavior:none;-webkit-overflow-scrolling:touch;background:transparent}
.wallet-sheet .account-choice{gap:12px;padding:0;margin-bottom:18px;background:transparent;overflow:visible}
.wallet-sheet .account-choice button{border:2px solid #fff;border-bottom:4px solid #b7233d;border-radius:19px;background:linear-gradient(145deg,#ff8b97,#ed2448);color:#fff;box-shadow:inset 0 1px #ffe6eb,0 3px 0 #b7233d;font-size:17px;line-height:1.3;padding:9px 10px}
.wallet-sheet .account-choice button[aria-pressed=true],.wallet-sheet .account-choice #choose-login{background:linear-gradient(145deg,#86ecb3,#39cf86 55%,#1fb66e);border-bottom-color:#168650;color:#10472e;box-shadow:inset 0 1px #ffffffb3,0 3px 0 #168650,0 0 14px #51d88a44}
.wallet-sheet .account-choice button[aria-pressed=true]{outline:2px solid #168650;outline-offset:3px}
.wallet-sheet>.wallet-sheet-footer{flex:none;width:100%;margin:0;padding:10px 20px max(14px,env(safe-area-inset-bottom));border:0;background:transparent}
.wallet-sheet[data-closing=true]{pointer-events:none;animation:sano-wallet-sheet-out 170ms ease-in both}
@keyframes sano-wallet-sheet-in{from{opacity:.88;transform:translateY(min(28px,5vh))}to{opacity:1;transform:translateY(0)}}
@keyframes sano-wallet-sheet-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(min(28px,5vh))}}
@media(max-width:580px){.wallet-sheet>.wallet-sheet-header{padding-inline:16px}.wallet-sheet>.wallet-main{padding:12px 19px 16px}.wallet-sheet-header .header-actions{gap:9px}.wallet-sheet-header .wallet-sano-brand{flex-basis:106px}}
@media(max-height:540px) and (orientation:landscape){.wallet-sheet-backdrop{padding-top:12px;padding-bottom:0}.wallet-sheet,.wallet-sheet[data-view=account]{max-height:calc(100dvh - 12px)}.wallet-sheet>.wallet-sheet-header{min-height:78px;padding-top:30px;padding-bottom:5px}.wallet-sheet>.wallet-main{padding-top:10px}.wallet-sheet>.wallet-sheet-footer{padding-top:5px;padding-bottom:max(8px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.wallet-sheet,.wallet-sheet[data-closing=true]{animation:none}}
@media(forced-colors:active){html:has(body[data-page=wallet]),body[data-page=wallet],.wallet-sheet{background:Canvas}.wallet-sheet-header .wallet-sano-brand{color:LinkText}.wallet-sheet .wallet-sheet-close,.wallet-sheet .account-choice button,.wallet-sheet .account-choice #choose-login{background:ButtonFace;color:ButtonText;box-shadow:none;border-color:ButtonText}.wallet-sheet .account-choice button[aria-pressed=true]{background:Highlight;color:HighlightText;outline-color:Highlight}}

/* Account entry keeps a visible part of the current screen above it. */
.wallet-sheet-backdrop{padding:25vh 0 0;backdrop-filter:blur(14px) saturate(.85);-webkit-backdrop-filter:blur(14px) saturate(.85)}
.wallet-sheet,.wallet-sheet[data-view=account],.wallet-sheet[data-view=recovery],.wallet-sheet[data-view=earn]{max-height:75vh;max-height:75dvh}
.wallet-sheet[data-view=earn]{width:min(520px,100%)}
.wallet-sheet .wallet-sheet-close[hidden]{display:none!important}
.wallet-sheet>.wallet-sheet-header{min-height:108px;padding:44px 22px 20px}
.wallet-sheet .wallet-sheet-handle{height:44px}
.wallet-sheet[data-view=account]>.wallet-main{padding-top:20px}
.wallet-sheet .account-choice{margin-top:0;margin-bottom:22px}
.wallet-sheet #earn-panel{padding:14px 0 24px}
.wallet-sheet #earn-heading{margin:0 0 12px;color:#0867ed;font-size:26px;line-height:1.3}
.wallet-sheet :is(#earn-heading,#account-heading):focus{outline:none}
.wallet-sheet #earn-continue{display:block;width:min(240px,100%);min-height:44px;margin:16px auto 0;padding:10px 18px;border-radius:18px;white-space:normal;overflow-wrap:anywhere}
.wallet-sheet .wallet-balance-caption{text-align:center;margin:-14px 0 12px;font-size:14px;font-weight:750}
.wallet-sheet .wallet-balance-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 22px;text-align:center;font-size:13px;line-height:1.45}
.wallet-sheet .wallet-balance-details>div{min-width:0;overflow-wrap:anywhere}
.wallet-sheet .wallet-balance-details dd{margin:2px 0 0;font-weight:850;font-size:16px}
@media(max-height:540px){.wallet-sheet>.wallet-sheet-header{min-height:92px;padding-top:42px;padding-bottom:12px}.wallet-sheet[data-view=account]>.wallet-main{padding-top:12px}}

/* Match the Family sheet's single, elastic scrolling surface. Keeping the
   form in a separate overscroll:none scroller suppressed the native bounce. */
.wallet-sheet{display:block;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
.wallet-sheet>.wallet-main{overflow:visible;overscroll-behavior:auto}


/* Match the app's soft buttons, with an unmistakable red sign-out action. */
.wallet-main .button{--wallet-action-glow:#e66ca7;border-radius:25px;border-color:transparent;box-shadow:0 4px 0 color-mix(in srgb,var(--wallet-action-glow) 75%,#382244),0 0 22px 4px color-mix(in srgb,var(--wallet-action-glow) 40%,transparent),0 8px 38px 6px color-mix(in srgb,var(--wallet-action-glow) 24%,transparent)}
.wallet-main .button.secondary{--wallet-action-glow:#79b2e2}
.wallet-main #account-submit{--wallet-action-glow:#31c78b}
.wallet-main .wallet-head #sign-out.button{--wallet-action-glow:#ef526e;min-height:44px;border:3px solid transparent;border-radius:25px;background:linear-gradient(145deg,#ff8391,#e63b56);color:#fff;box-shadow:0 4px 0 #b8213c,0 0 23px 3px #ef526e66;text-shadow:0 1px 2px #82192d33}
@keyframes sano-wallet-action-sway{0%,100%{transform:translateY(-1px) rotate(-1deg)}50%{transform:translateY(1px) rotate(1deg)}}
@media(prefers-reduced-motion:no-preference){.wallet-main .button:not(:disabled):not([hidden]):not(#cancel-recovery-change):not(a){animation:var(--wallet-control-motion,sano-wallet-action-sway 3.8s ease-in-out infinite);transform-origin:center}.wallet-main .button:active{animation-play-state:paused}}
:host([data-motion=reduce]),body[data-motion=reduce],body[data-reduced-motion=true]{--wallet-control-motion:none}
@media(forced-colors:active){.wallet-main .button,.wallet-main .wallet-head #sign-out.button{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}}


@media(forced-colors:none){.wallet-main .button,.wallet-sheet .account-choice button,.wallet-main .wallet-head #sign-out.button{border:3px solid #fffffff2;background-clip:border-box}}

/* The account sheet uses the same stationary frosted toolbar as Family. */
.wallet-sheet>.wallet-sheet-header{position:sticky;top:0;z-index:10;background:linear-gradient(180deg,#f5faffeb,#f5faffb3);backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15)}
.wallet-sheet{scroll-padding-top:125px}
@media(forced-colors:active){.wallet-sheet>.wallet-sheet-header{background:Canvas;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(prefers-reduced-transparency:reduce){.wallet-sheet>.wallet-sheet-header{background:#f5faff;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Keep the same visible Back, centred Sano logo and language tools as the app. */
.wallet-sheet>.wallet-sheet-header{display:grid;grid-template-columns:minmax(64px,1fr) auto minmax(64px,1fr);align-items:center;gap:8px}
.wallet-sheet>.wallet-sheet-header>.wallet-sheet-back{grid-column:1;justify-self:start;display:flex;align-items:center;justify-content:center;width:auto;height:auto;min-width:64px;min-height:44px;padding:10px 12px;border:3px solid #fff;border-radius:19px;background:linear-gradient(145deg,#ff91b5,#e6487f);color:#fff;font:850 15px/1.2 var(--joy-font,ui-rounded,system-ui);box-shadow:0 0 18px #ed85b447}
.wallet-sheet>.wallet-sheet-header>.wallet-sano-brand{grid-column:2;justify-self:center;width:100px;min-width:0;margin:0}
.wallet-sheet>.wallet-sheet-header>.header-actions{grid-column:3;justify-self:end;min-width:0;margin:0}
.wallet-sheet-back>.wallet-back-ne,.wallet-sheet[lang=ne] .wallet-sheet-back>.wallet-back-en{display:none}
.wallet-sheet[lang=ne] .wallet-sheet-back>.wallet-back-ne{display:inline}
@media(forced-colors:none){.wallet-sheet #earn-continue{background:linear-gradient(145deg,#ff8b97,#f5415e 58%,#d82241)!important;color:#fff!important;border-color:#fff!important;box-shadow:inset 0 2px 1px #ffffff90,0 0 22px 4px #ef334f66,0 8px 38px 6px #ef334f3d!important}}
@media(forced-colors:active){.wallet-sheet>.wallet-sheet-header>.wallet-sheet-back{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}}

/* Match the main app's feathered, edge-less Back/logo glass. */
@media(forced-colors:none){
.wallet-sheet>.wallet-sheet-header{isolation:isolate;overflow:visible;background:transparent!important;border:0!important;border-radius:0;outline:0;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.wallet-sheet>.wallet-sheet-header::before{
 content:'';position:absolute;inset:-24px -36px -40px;z-index:0;pointer-events:none;
 background:transparent;border:0;outline:0;box-shadow:none;
 backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 48%,#000b 65%,#0004 82%,transparent),linear-gradient(to right,transparent,#000 44px,#000 calc(100% - 44px),transparent);mask-composite:intersect;
 -webkit-mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 48%,#000b 65%,#0004 82%,transparent),linear-gradient(to right,transparent,#000 44px,#000 calc(100% - 44px),transparent);-webkit-mask-composite:source-in;
}
.wallet-sheet>.wallet-sheet-header>*{position:relative;z-index:1;filter:none}
}
@media(prefers-reduced-transparency:reduce){.wallet-sheet>.wallet-sheet-header::before{display:none}}

/* The Back/logo row is the scroll boundary: only the clipped form area moves. */
.wallet-sheet{display:flex;flex-direction:column;min-height:0;overflow:hidden;overscroll-behavior:none;scroll-padding-top:0}
.wallet-sheet>.wallet-sheet-header{position:relative;top:auto;flex:0 0 auto}
.wallet-sheet>.wallet-main{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:scroll;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-top:16px}
@media(forced-colors:none){
.wallet-sheet>.wallet-main{padding-top:28px;mask-image:linear-gradient(to bottom,transparent,#000 28px,#000);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 28px,#000)}
}

/* Native elastic feedback belongs to the form, below the stationary logo row. */



/* Keep the drag handle out of the header's three-column control grid. */
.wallet-sheet>.wallet-sheet-header>.wallet-sheet-handle{
 position:absolute;top:0;left:0;right:0;width:100%;min-width:0;height:36px;
 margin:0;padding:0;translate:none;transform:none;animation:none;z-index:3;display:flex;align-items:center;justify-content:center;
}
.wallet-sheet>.wallet-sheet-header>.wallet-sheet-handle>span{display:block;flex:0 0 48px;margin:0}

/* The sheet stays fixed horizontally; only its bounded form scrolls. This is
   shared by the standalone account page and the embedded shadow-root sheet. */
.wallet-sheet-backdrop{max-width:100%;overflow:hidden;overscroll-behavior-x:none}
.wallet-sheet{min-width:0;max-width:100%;overflow:hidden;overscroll-behavior-x:none}
.wallet-sheet>:is(.wallet-sheet-header,.wallet-main,.wallet-sheet-footer){box-sizing:border-box;min-width:0;max-width:100%}
.wallet-sheet>.wallet-main{width:100%;overflow-x:hidden;overscroll-behavior-x:none;touch-action:pan-y pinch-zoom}
.wallet-sheet>.wallet-main :is(section,form,label,details,.wallet-packs){min-width:0;max-width:100%}
.wallet-sheet>.wallet-sheet-header{grid-template-columns:minmax(0,1fr) minmax(0,100px) minmax(0,1fr)}
.wallet-sheet>.wallet-sheet-header::before{left:0;right:0}
.wallet-sheet>.wallet-sheet-header>.header-actions{max-width:100%}
@media(max-width:359px){
 .wallet-sheet>.wallet-sheet-header{grid-template-columns:64px minmax(0,1fr) 98px;gap:6px;padding-inline:12px}
 .wallet-sheet>.wallet-sheet-header>.wallet-sano-brand{width:min(100%,84px)}
 .wallet-sheet>.wallet-sheet-header>.wallet-sheet-back{padding-inline:8px}
}


/* Top-ups stay in the play sheet: one clear row per server-priced pack. */
.wallet-sheet[data-shop=compact]{width:min(520px,100%);height:75vh;height:75dvh}
.wallet-sheet[data-shop=compact]>.wallet-main{padding:12px 18px 20px;mask-image:none;-webkit-mask-image:none}
.wallet-sheet[data-shop=compact] #account-message:empty{display:none}
.wallet-sheet[data-shop=compact] #purchase-heading{margin:0}
.wallet-sheet[data-shop=compact] .wallet-packs{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:0 0 20px}
.wallet-sheet[data-shop=compact] .wallet-pack{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(92px,auto);grid-template-areas:'art heading button' 'art term button' 'note note note';align-items:center;gap:2px 10px;min-width:0;padding:14px 12px;text-align:left;border:3px solid #fff5ca;border-radius:25px;background:linear-gradient(130deg,#fff9db,#ffdf73 70%,#ffd14a);box-shadow:inset 0 2px #fffef4,0 4px 0 #c08a20,0 0 18px #ffdf7044;transform:none}
.wallet-sheet[data-shop=compact] .wallet-pack[data-selected=true]{outline:3px solid #246cae;outline-offset:3px}
.wallet-sheet[data-shop=compact] .wallet-pack h4{grid-area:heading;margin:0;color:#674414;font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.wallet-sheet[data-shop=compact] .wallet-pack-price{display:none}
.wallet-sheet[data-shop=compact] .wallet-pack-term{grid-area:term;margin:0;font-size:12px;line-height:1.45;color:#674414}
.wallet-sheet[data-shop=compact] .wallet-pack-art{grid-area:art;width:50px;height:50px;margin:0;min-height:0}
.wallet-sheet[data-shop=compact] .wallet-pack-coin:first-child{position:static;display:block;width:50px;height:50px;transform:none}
.wallet-sheet[data-shop=compact] .wallet-pack-coin:not(:first-child){display:none}
.wallet-sheet[data-shop=compact] .wallet-pack .button{grid-area:button;width:auto;max-width:145px;min-height:48px;margin:0;padding:8px 10px;font-size:14px;line-height:1.4;animation:none;transform:none;border-radius:18px;background:linear-gradient(145deg,#a0f1c5,#36c88a);color:#174e37;box-shadow:0 3px 0 #21875d}
.wallet-sheet[data-shop=compact] .wallet-pack .small-note{grid-area:note;margin:10px 0 0;font-size:12px;line-height:1.5}
.wallet-sheet[data-shop=compact] .monthly-offer{margin:24px 0 0;padding:18px 0 0;border:0;border-top:1px solid #c9dceb;border-radius:0;background:transparent;box-shadow:none}
.wallet-sheet[data-shop=compact] .monthly-offer>.eyebrow{margin:0 0 4px}
.wallet-sheet[data-shop=compact] #monthly-heading{margin:0;font-size:20px}
.wallet-sheet[data-shop=compact] .monthly-offer>.small-note{margin:5px 0 14px;font-size:13px}
.wallet-sheet[data-shop=compact] .monthly-offer .wallet-pack{background:linear-gradient(130deg,#f7f0ff,#e8d7ff);border-color:#fff;color:#534174;box-shadow:0 4px 0 #aa91cb,0 0 18px #d7bdfb44}
.wallet-sheet[data-shop=compact] .monthly-offer .wallet-pack :is(h4,.wallet-pack-term){color:#534174}
.wallet-sheet[data-shop=compact] .monthly-offer .wallet-pack .button{background:linear-gradient(145deg,#967cbb,#6c528f);color:#fff;box-shadow:0 3px 0 #514069}
.wallet-sheet[data-shop=compact] .wallet-purchase-help{font-size:13px;margin:18px 0 0}
.wallet-sheet[data-shop=compact] .wallet-selected-pack{margin:0 0 18px;padding:12px;border-radius:16px;background:#fff2c8;color:#674414;font-size:14px;line-height:1.5}
.wallet-sheet[data-shop=compact] #account-entry{margin:0;padding:5px 0 0;background:transparent;border:0;box-shadow:none}
@media(max-width:360px){.wallet-sheet[data-shop=compact]>.wallet-main{padding-inline:12px}.wallet-sheet[data-shop=compact] .wallet-pack{grid-template-columns:42px minmax(0,1fr) minmax(86px,auto);gap:2px 7px;padding:12px 9px}.wallet-sheet[data-shop=compact] .wallet-pack-art,.wallet-sheet[data-shop=compact] .wallet-pack-coin:first-child{width:40px;height:40px}.wallet-sheet[data-shop=compact] .wallet-pack h4{font-size:18px}.wallet-sheet[data-shop=compact] .wallet-pack .button{max-width:118px;font-size:13px}}
@media(forced-colors:active){.wallet-sheet[data-shop=compact] .wallet-pack,.wallet-sheet[data-shop=compact] .monthly-offer .wallet-pack,.wallet-sheet[data-shop=compact] .wallet-selected-pack{background:Canvas;color:CanvasText;border:2px solid CanvasText;box-shadow:none}.wallet-sheet[data-shop=compact] .wallet-pack :is(h4,.wallet-pack-term){color:CanvasText}.wallet-sheet[data-shop=compact] .wallet-pack .button{background:ButtonFace;color:ButtonText;border:2px solid ButtonText;box-shadow:none}}

/* The embedded sheet's isolated styles use the same quiet Back as the app. */
.wallet-sheet>.wallet-sheet-header>.wallet-sheet-back{
 box-sizing:border-box;min-width:80px;min-height:44px;padding:6px 14px;border:3px solid #fffffff2;
 border-radius:14px;background:linear-gradient(145deg,#f87983,#db3f53);color:#fff;
 font:850 16px/1.25 var(--joy-font,ui-rounded,system-ui);text-shadow:none;
 box-shadow:inset 0 1px 0 #ffffff80,0 2px 0 #b72d4326,0 0 10px #db3f531f;animation:none;transform:none;touch-action:manipulation;
}
@media(max-width:359px){.wallet-sheet>.wallet-sheet-header{grid-template-columns:80px minmax(0,1fr) 98px}}
.wallet-sheet>.wallet-sheet-header>.wallet-sheet-back:focus-visible{outline:3px solid #0867ed;outline-offset:3px}

/* A plated surface and slow moving light keep pack prices easy to read. */
.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack{
 border-color:#fff3b9;border-bottom-color:#bd831c;
 background:linear-gradient(135deg,#fff9d8 0%,#ffe786 18%,#efbb3a 40%,#ffe793 57%,#f5c549 78%,#e6aa24 100%);
 box-shadow:inset 0 2px 1px #fffef2,inset 0 -3px 7px #ad741a24,0 4px 0 #ae781a,0 6px 12px #8a5e171c;
}
.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack::before{
 content:'';position:absolute;z-index:0;inset:0;pointer-events:none;
 background:linear-gradient(112deg,transparent 24%,#fffef4a6 47%,#ffffff26 57%,transparent 76%);
 transform:translateX(-125%);animation:sano-pack-shine 8s ease-in-out infinite;
}
.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack>*{position:relative;z-index:1}
/* Artwork moves; the price/checkout touch target remains stationary. */
#wallet-sheet[data-shop=compact] :is(#coin-packs,#monthly-packs) .button{animation:none;transform:none}
.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack:nth-child(2)::before{animation-delay:-2.5s}
.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack:nth-child(3)::before{animation-delay:-5s}
.wallet-sheet[data-shop=compact] #coin-packs .wallet-pack-art{animation:sano-pack-coin-float 5.6s ease-in-out infinite}
.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack:nth-child(2) .wallet-pack-art{animation-delay:-1.8s}
.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack:nth-child(3) .wallet-pack-art{animation-delay:-3.6s}
.wallet-sheet[data-shop=compact] .wallet-pack:is(:hover,:focus-within)::before,
.wallet-sheet[data-shop=compact] .wallet-pack:is(:hover,:focus-within) .wallet-pack-art{animation-play-state:paused}
@keyframes sano-pack-shine{0%,48%{transform:translateX(-125%)}82%,100%{transform:translateX(125%)}}
@keyframes sano-pack-coin-float{0%,100%{translate:0 0}50%{translate:0 -2px}}
:host([data-motion=reduce]) .wallet-sheet #coin-packs .wallet-pack-art,
body:is([data-motion=reduce],[data-reduced-motion=true]) .wallet-sheet #coin-packs .wallet-pack-art{animation:none;translate:none}
:host([data-motion=reduce]) .wallet-sheet #coin-packs>.wallet-pack::before,
body:is([data-motion=reduce],[data-reduced-motion=true]) .wallet-sheet #coin-packs>.wallet-pack::before{animation:none;transform:none;opacity:.18}
@media(prefers-reduced-motion:reduce){
 .wallet-sheet[data-shop=compact] #coin-packs .wallet-pack-art{animation:none;translate:none}
 .wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack::before{animation:none;transform:none;opacity:.18}
}
@media(forced-colors:active){
 .wallet-sheet>.wallet-sheet-header>.wallet-sheet-back,.wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}
 .wallet-sheet[data-shop=compact] #coin-packs>.wallet-pack::before{display:none}
 .wallet-sheet[data-shop=compact] #coin-packs .wallet-pack-art{animation:none;translate:none}
}

/* The monthly plan has a richer foil finish; its recurring price stays still. */
.wallet-sheet[data-shop=compact] .monthly-offer>.eyebrow{color:#77500f}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack{
 position:relative;isolation:isolate;overflow:hidden;transform:none;
 border-color:#fff5bf;border-bottom-color:#a66c0c;
 background:radial-gradient(ellipse at 18% 0%,#fffef5c9,transparent 48%),linear-gradient(125deg,#c88a15 0%,#fff2b0 18%,#e8ae29 35%,#fff6c9 49%,#e7b134 63%,#ffdf70 82%,#b8790f 100%);
 box-shadow:inset 0 2px 1px #fffef3,inset 0 -4px 10px #81500830,0 5px 0 #99610a,0 9px 24px #cb982c40;
}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack::before{
 content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
 background:linear-gradient(112deg,transparent 24%,#fffdf5e6 45%,#ffffff80 51%,transparent 72%);
 transform:translateX(-125%);animation:sano-pack-shine 6.4s ease-in-out infinite;
}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack::after{
 content:'';position:absolute;inset:6px;z-index:2;pointer-events:none;border:1px solid #fff7d0bd;border-radius:18px;
 background:radial-gradient(circle at 9% 0%,#fff 0 1px,transparent 5px),radial-gradient(circle at 94% 100%,#fff8cc 0 1px,transparent 5px);
 box-shadow:inset 0 0 0 1px #b67b1126;animation:sano-monthly-glint 5.2s ease-in-out infinite;
}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack>*{position:relative;z-index:1}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack :is(h4,.wallet-pack-term,.small-note){color:#51350e}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack h4{text-shadow:0 1px #fff8cf;font-weight:900}
.wallet-sheet[data-shop=compact] #monthly-packs .wallet-pack-art{filter:drop-shadow(0 3px 2px #81520b55) brightness(1.08);animation:sano-pack-coin-float 4.8s ease-in-out infinite}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack .button{background:linear-gradient(145deg,#805b1e,#52370d);border-color:#fff1ac;color:#fff9e5;box-shadow:inset 0 1px #ffffff50,0 3px 0 #3f2a09;white-space:pre-line;animation:none;transform:none}
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack:is(:hover,:focus-within)::before,
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack:is(:hover,:focus-within)::after,
.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack:is(:hover,:focus-within) .wallet-pack-art{animation-play-state:paused}
@keyframes sano-monthly-glint{0%,100%{opacity:.55}50%{opacity:1}}
:host([data-motion=reduce]) .wallet-sheet #monthly-packs>.wallet-pack::before,
:host([data-motion=reduce]) .wallet-sheet #monthly-packs>.wallet-pack::after,
body:is([data-motion=reduce],[data-reduced-motion=true]) .wallet-sheet #monthly-packs>.wallet-pack::before,
body:is([data-motion=reduce],[data-reduced-motion=true]) .wallet-sheet #monthly-packs>.wallet-pack::after{animation:none;transform:none;opacity:.18}
:host([data-motion=reduce]) .wallet-sheet #monthly-packs .wallet-pack-art,
body:is([data-motion=reduce],[data-reduced-motion=true]) .wallet-sheet #monthly-packs .wallet-pack-art{animation:none;translate:none}
@media(prefers-reduced-motion:reduce){
 .wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack::before,.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack::after{animation:none;transform:none;opacity:.18}
 .wallet-sheet[data-shop=compact] #monthly-packs .wallet-pack-art{animation:none;translate:none}
}
@media(forced-colors:active){
 .wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}
 .wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack::before,.wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack::after{display:none}
 .wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack :is(h4,.wallet-pack-term,.small-note){color:CanvasText;text-shadow:none}
 .wallet-sheet[data-shop=compact] #monthly-packs>.wallet-pack .button{background:ButtonFace;color:ButtonText;border-color:ButtonText;box-shadow:none}
 .wallet-sheet[data-shop=compact] #monthly-packs .wallet-pack-art{animation:none;translate:none;filter:none}
}

.password-field{display:block;position:relative;min-width:0}
.password-field input{box-sizing:border-box;width:100%;padding-right:54px!important}
.password-field>.password-visibility{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:10px;border:0;border-radius:12px;background:transparent;box-shadow:none;color:#315b79;cursor:pointer}
.password-visibility>svg{display:block;width:22px;height:22px;pointer-events:none}
.password-visibility .password-eye-slash{display:none}.password-visibility[aria-pressed=true] .password-eye-slash{display:block}
.password-field>.password-visibility:focus-visible{outline:3px solid #2275d0;outline-offset:1px}.password-field>.password-visibility:hover{background:#437eac15}
@media(forced-colors:active){.password-field>.password-visibility{color:ButtonText;border:1px solid ButtonText}}

/* The handle and outside surface own dismissal on every wallet panel. */
.wallet-sheet-header>#wallet-close[hidden]{display:none!important}
.account-choice>button[aria-pressed=true]{background:linear-gradient(145deg,#f36b80,#c52b4d)!important;color:#fff!important;border-color:#fff!important;box-shadow:0 3px 0 #9d2340,0 0 20px #f5507180!important}

/* Account fields keep one contained focus treatment, including iOS keyboard Done. */
.password-field{border-radius:13px;isolation:isolate}
.password-field:focus-within{box-shadow:0 0 0 3px #e86a8a44}
.password-field input:focus-visible{outline:none!important;border-color:#d64e73!important;box-shadow:none!important}
.password-field>.password-visibility{z-index:1;line-height:1;-webkit-tap-highlight-color:transparent}
.password-field>.password-visibility:focus-visible{outline:2px solid #af3157;outline-offset:-4px}
.family-account-form>label{min-width:0}
.family-account-form input:not([type=checkbox]):focus-visible{outline:2px solid #d64e73;outline-offset:0}
.family-account-choice>button{align-self:stretch;margin:0!important}
.family-password-guidance{margin:0;font-size:13px;line-height:1.4;color:#49647b}
:is(.parent-modal,.coin-dialog,.wallet-sheet)[tabindex]:focus{outline:none}
