:root{--f-bg: #efeff4;--f-section: #ffffff;--f-text: #000000;--f-hint: #8e8e93;--f-link: #2481cc;--f-button: #2481cc;--f-button-text: #ffffff;--f-header: #6d6d72;--f-destructive: #ff3b30;--f-separator: rgba(60, 60, 67, .18);color-scheme:light}:root[data-theme=dark]{--f-bg: #000000;--f-section: #1c1c1d;--f-text: #ffffff;--f-hint: #98989e;--f-link: #3e88f7;--f-button: #3e88f7;--f-button-text: #ffffff;--f-header: #8d8e93;--f-destructive: #eb5545;--f-separator: rgba(84, 84, 88, .6);color-scheme:dark}:root{--bg: var(--tg-theme-secondary-bg-color, var(--f-bg));--section: var(--tg-theme-section-bg-color, var(--tg-theme-bg-color, var(--f-section)));--text: var(--tg-theme-text-color, var(--f-text));--hint: var(--tg-theme-hint-color, var(--f-hint));--link: var(--tg-theme-link-color, var(--f-link));--button: var(--tg-theme-button-color, var(--f-button));--button-text: var(--tg-theme-button-text-color, var(--f-button-text));--header: var(--tg-theme-section-header-text-color, var(--f-header));--destructive: var(--tg-theme-destructive-text-color, var(--f-destructive));--separator: var(--tg-theme-section-separator-color, var(--f-separator));--press: color-mix(in srgb, var(--text) 8%, transparent);--soft: color-mix(in srgb, var(--button) 13%, transparent);--green: #31b545;--ios: cubic-bezier(.32, .72, 0, 1)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;background:var(--bg);color:var(--text)}body{font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:17px;line-height:1.3;-webkit-font-smoothing:antialiased;overscroll-behavior:none;-webkit-user-select:none;user-select:none}input,textarea,.selectable{-webkit-user-select:text;user-select:text}#root{height:100%}button{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--link);outline-offset:2px}.stack{position:fixed;inset:0;overflow:hidden;background:var(--bg)}.page{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;background:var(--bg);transition:transform .42s var(--ios),filter .42s var(--ios)}.page.enter{animation:page-in .42s var(--ios) both;box-shadow:-10px 0 30px #0000001a;z-index:2}.page.leave{animation:page-out .38s var(--ios) both;box-shadow:-10px 0 30px #0000001a;z-index:3;pointer-events:none}.page.covered{transform:translate3d(-30%,0,0);filter:brightness(.94);pointer-events:none}:root[data-theme=dark] .page.covered{filter:brightness(.6)}.page.gone{visibility:hidden}.page.fade{animation:fade-in .25s ease both}@keyframes page-in{0%{transform:translate3d(100%,0,0)}}@keyframes page-out{to{transform:translate3d(100%,0,0)}}@keyframes fade-in{0%{opacity:0}}.screen{min-height:100%;display:flex;flex-direction:column;max-width:560px;margin:0 auto;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.screen.with-main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.title{font-size:28px;font-weight:700;letter-spacing:-.015em;margin:20px 16px 6px;line-height:1.15}.title.c{text-align:center}.lead{color:var(--hint);font-size:15px;margin:0 16px 6px;line-height:1.4}.lead.c{text-align:center;margin-left:24px;margin-right:24px}.hint{color:var(--hint)}.mono{font-family:ui-monospace,SF Mono,Menlo,monospace;word-break:break-all}.grow{flex:1;min-height:16px}.section{margin:0 16px}.section-head{color:var(--header);font-size:13px;padding:22px 16px 7px;font-weight:500}.section-foot{color:var(--hint);font-size:13px;padding:7px 16px 0;line-height:1.35}.group{background:var(--section);border-radius:12px;overflow:hidden}.cell{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:9px 16px;background:none;border:0;text-align:left;cursor:pointer;position:relative;color:var(--text);transition:background-color .25s}.cell+.cell:before{content:"";position:absolute;top:0;right:0;left:16px;height:.5px;background:var(--separator)}.cell.ic+.cell.ic:before{left:68px}.cell.icon+.cell.icon:before{left:58px}.cell:active:not(.static){background:var(--press);transition:none}.cell.static{cursor:default}.cell .body{flex:1;min-width:0}.cell .t{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell .s{font-size:14px;color:var(--hint);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cell .r{text-align:right;font-variant-numeric:tabular-nums;flex:none}.cell .chev{width:8px;height:14px;color:var(--hint);opacity:.55;flex:none}.cell.link .t{color:var(--link)}.cell.danger .t{color:var(--destructive)}.cell .ico{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;flex:none}.cell .ico svg{width:19px;height:19px}.coin{width:42px;height:42px;border-radius:50%;position:relative;flex:none;display:grid;place-items:center;background:var(--c, #8e8e93);color:#fff;font-size:12px;font-weight:600}.coin.img{background:none}.coin>img:first-child{width:100%;height:100%;border-radius:50%;display:block}.coin .net{position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;border-radius:50%;border:2px solid var(--section);box-sizing:content-box;margin:0 -2px -2px 0}.coin.lg{width:72px;height:72px}.coin.lg .net{width:24px;height:24px;border-width:3px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:6px 8px 0 16px;min-height:46px}.topbar .who{color:var(--hint);font-size:15px;display:flex;align-items:center;gap:6px}.topbar .who svg{width:18px;height:18px;color:var(--text)}.topbar button{width:42px;height:42px;border:0;background:none;border-radius:50%;color:var(--link);display:grid;place-items:center;cursor:pointer}.topbar button:active{background:var(--press)}.topbar button svg{width:25px;height:25px}.balance{text-align:center;padding:14px 16px 0}.balance .label{color:var(--hint);font-size:15px}.balance .amount{font-size:46px;font-weight:700;letter-spacing:-.02em;margin-top:2px;font-variant-numeric:tabular-nums;line-height:1.15}.balance .amount .cur{font-size:.62em;margin-left:2px}.balance .sub{color:var(--hint);font-size:15px;margin-top:2px}.acts{display:flex;justify-content:center;gap:26px;padding:22px 16px 4px}.act{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:7px;cursor:pointer;color:var(--link);font-size:13px;font-weight:500;width:66px;padding:0}.act .circle{width:54px;height:54px;border-radius:50%;background:var(--button);color:var(--button-text);display:grid;place-items:center;transition:opacity .15s}.act .circle svg{width:25px;height:25px}.act:active .circle{opacity:.65}.btn{appearance:none;border:0;border-radius:12px;height:50px;padding:0 16px;width:100%;font-size:17px;font-weight:600;background:var(--button);color:var(--button-text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:opacity .15s}.btn:active:not(:disabled){opacity:.7;transition:none}.btn:disabled{opacity:.4;cursor:default}.btn.plain{background:var(--soft);color:var(--link)}.btn.text{background:none;color:var(--link);font-weight:500;height:44px}.btn.small{height:34px;width:auto;padding:0 12px;font-size:15px;border-radius:17px}.btn svg{width:20px;height:20px}.btn .spin{width:20px;height:20px;border-width:2px;margin:0;border-color:color-mix(in srgb,currentColor 30%,transparent);border-top-color:currentColor}.btns{display:flex;flex-direction:column;gap:8px;padding:0 16px}.mainbar{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:10px 16px calc(12px + env(safe-area-inset-bottom));background:var(--bg)}.mainbar .btn{max-width:528px;margin:0 auto;display:flex}.field{background:var(--section);border-radius:12px;display:flex;align-items:center;gap:4px;padding:0 6px 0 16px;min-height:50px}.field input,.field textarea{flex:1;min-width:0;border:0;outline:none;background:none;color:var(--text);font:inherit;font-size:17px;padding:14px 0}.field textarea{resize:none;min-height:132px;line-height:1.45;padding:14px 10px 14px 0}.field input::placeholder,.field textarea::placeholder{color:var(--hint);opacity:.75}.field .tool{border:0;background:none;color:var(--link);font-size:15px;font-weight:500;padding:8px 10px;cursor:pointer;border-radius:8px;display:grid;place-items:center}.field .tool:active{background:var(--press)}.field .tool svg{width:22px;height:22px}.amount{text-align:center;padding:20px 16px 4px}.amount input{width:100%;border:0;outline:none;background:none;text-align:center;font:inherit;font-size:50px;font-weight:700;letter-spacing:-.02em;color:var(--text);font-variant-numeric:tabular-nums;caret-color:var(--button);padding:0}.amount input:disabled{-webkit-text-fill-color:var(--text);opacity:1}.amount input::placeholder{color:var(--hint);opacity:.45}.amount .unit{color:var(--hint);font-size:17px;font-weight:500}.amount .usd{color:var(--hint);font-size:15px;margin-top:6px}.pills{display:flex;justify-content:center;gap:8px;margin-top:14px}.pill{border:0;background:var(--soft);color:var(--link);font-size:14px;font-weight:600;padding:7px 14px;border-radius:16px;cursor:pointer}.pill:active{opacity:.6}.err{color:var(--destructive);font-size:14px;padding:8px 32px 0;animation:fade-in .2s ease;line-height:1.35}.err.c{text-align:center}.qrbox{background:#fff;border-radius:22px;padding:16px;width:252px;margin:22px auto 0;position:relative;animation:fade-in .3s ease both}.qrbox img.code{width:100%;display:block;image-rendering:pixelated}.qrbox .mid{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:50px;height:50px;border-radius:50%;background:#fff;display:grid;place-items:center}.qrbox .mid .coin{width:40px;height:40px}.qrbox .mid .coin .net{border-color:#fff;width:14px;height:14px}.addr{text-align:center;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:15px;word-break:break-all;line-height:1.5;padding:18px 28px 0}.addr b{font-weight:700}.tag{display:inline-flex;align-items:center;gap:6px;background:var(--section);border-radius:15px;padding:4px 12px 4px 4px;font-size:14px}.tag .coin{width:22px;height:22px}.tag .coin .net{display:none}.notice{margin:18px 16px 0;background:color-mix(in srgb,#ff9500 14%,var(--section));border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.4}.words{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:column;grid-template-rows:repeat(6,auto);background:var(--section);border-radius:12px;padding:6px 0;margin:14px 16px 0;position:relative;overflow:hidden}.words.w24{grid-template-rows:repeat(12,auto)}.word{padding:9px 16px;font-size:17px;display:flex;gap:12px;transition:filter .35s ease}.word span{color:var(--hint);min-width:20px;text-align:right;font-variant-numeric:tabular-nums}.words.hidden .word{filter:blur(8px)}.words .cover{position:absolute;inset:0;border:0;background:none;display:grid;place-items:center;cursor:pointer;color:var(--link);font-size:16px;font-weight:600;transition:opacity .3s}.words .cover span{display:inline-flex;align-items:center;gap:8px;background:var(--section);padding:10px 16px;border-radius:20px;box-shadow:0 2px 12px #0000001f}.words .cover svg{width:22px;height:22px}.choice{display:grid;gap:8px;padding:0 16px;margin-top:18px}.choice .btn{background:var(--section);color:var(--text);font-weight:500}.choice .btn.bad{color:var(--destructive);animation:nudge .3s ease}@keyframes nudge{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.dots{display:flex;justify-content:center;gap:6px;margin-top:4px}.dots i{width:7px;height:7px;border-radius:50%;background:var(--separator);transition:background-color .25s}.dots i.on{background:var(--button)}.result{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12vh 24px 0}.result .badge{width:92px;height:92px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;animation:pop .5s cubic-bezier(.34,1.56,.64,1) both}.result .badge.wait{background:var(--soft);color:var(--link)}.result .badge svg{width:48px;height:48px}.result .badge .tick{stroke-dasharray:40;stroke-dashoffset:40;animation:draw .3s .25s ease-out forwards}.result .big{font-size:34px;font-weight:700;letter-spacing:-.02em;margin:22px 0 4px;font-variant-numeric:tabular-nums}.result .h{font-size:22px;font-weight:700;margin:20px 0 6px}.result p{color:var(--hint);font-size:15px;margin:0;line-height:1.4;max-width:340px}@keyframes pop{0%{transform:scale(.5);opacity:0}}@keyframes draw{to{stroke-dashoffset:0}}.hello{display:flex;flex-direction:column;align-items:center;text-align:center;padding:13vh 24px 0}.hello .logo{width:100px;height:100px;border-radius:50%;background:var(--button);color:var(--button-text);display:grid;place-items:center}.hello .logo svg{width:54px;height:54px}.hello h1{font-size:28px;font-weight:700;letter-spacing:-.015em;margin:24px 0 8px}.hello p{color:var(--hint);font-size:16px;margin:0;line-height:1.4;max-width:330px}.coins-row{display:flex;justify-content:center;margin-top:22px}.coins-row .coin{width:30px;height:30px;margin-left:-7px;border:2px solid var(--bg);box-sizing:content-box}.coins-row .coin:first-child{margin-left:0}.toast{position:fixed;left:12px;right:12px;top:calc(8px + env(safe-area-inset-top));z-index:30;margin:0 auto;max-width:420px;background:#1e1e20eb;color:#fff;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:13px;padding:12px 14px;font-size:15px;display:flex;align-items:center;gap:10px;animation:drop .4s var(--ios) both}.toast svg{width:22px;height:22px;color:#4cd964;flex:none}@keyframes drop{0%{transform:translateY(-140%)}}.spin{width:26px;height:26px;border-radius:50%;border:2.5px solid var(--separator);border-top-color:var(--hint);animation:rot .75s linear infinite;margin:48px auto}@keyframes rot{to{transform:rotate(360deg)}}.sk{display:block;border-radius:6px;background:var(--press);animation:blink 1.3s ease-in-out infinite}@keyframes blink{50%{opacity:.4}}.kv{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:13px 16px;position:relative;font-size:17px}.kv+.kv:before{content:"";position:absolute;top:0;right:0;left:16px;height:.5px;background:var(--separator)}.kv .k{color:var(--hint);flex:none}.kv .v{text-align:right;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.kv .v.mono{font-size:14px}.webback{border:0;background:none;color:var(--link);font-size:17px;padding:11px 10px 3px;display:flex;align-items:center;gap:0;cursor:pointer}.webback svg{width:24px;height:24px}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}.balance>.coin{margin:0 auto}.section>.group:first-child{margin-top:26px}.pin{min-height:100%;display:flex;flex-direction:column;align-items:center;padding:max(8vh,40px) 24px calc(18px + env(safe-area-inset-bottom));max-width:420px;margin:0 auto}.pin-head{display:flex;flex-direction:column;align-items:center;text-align:center;flex:1;justify-content:center;min-height:170px}.pin-title{font-size:21px;font-weight:600}.pin-sub{color:var(--hint);font-size:15px;margin-top:8px;min-height:20px;line-height:1.35;max-width:300px}.pin-sub.red{color:var(--destructive)}.pin-dots{display:flex;gap:16px;margin:26px 0 8px}.pin-dots i{width:14px;height:14px;border-radius:50%;border:1.5px solid var(--hint);transition:background-color .12s,border-color .12s,transform .12s}.pin-dots i.on{background:var(--text);border-color:var(--text);transform:scale(1.08)}.pin-dots[data-shake]{animation:pinshake .42s cubic-bezier(.36,.07,.19,.97)}.pin-dots.busy i.on{animation:pinwait .9s ease-in-out infinite}.pin-dots.busy i:nth-child(2){animation-delay:.1s}.pin-dots.busy i:nth-child(3){animation-delay:.2s}.pin-dots.busy i:nth-child(4){animation-delay:.3s}.pin-dots.busy i:nth-child(5){animation-delay:.4s}.pin-dots.busy i:nth-child(6){animation-delay:.5s}@keyframes pinshake{15%,75%{transform:translate(-10px)}30%,90%{transform:translate(9px)}45%{transform:translate(-6px)}60%{transform:translate(5px)}}@keyframes pinwait{50%{opacity:.3;transform:scale(.85)}}.keypad{display:grid;grid-template-columns:repeat(3,78px);gap:16px 26px;justify-content:center;margin-top:18px}.key{width:78px;height:78px;border-radius:50%;border:0;background:color-mix(in srgb,var(--text) 7%,transparent);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:background-color .35s}.key:active:not(:disabled){background:color-mix(in srgb,var(--text) 22%,transparent);transition:none}.key:disabled{opacity:.35}.key .d{font-size:32px;line-height:1;font-weight:400}.key .l{font-size:10px;letter-spacing:.14em;color:var(--hint);margin-top:3px;min-height:12px;font-weight:600}.key.ghost{background:none}.key.ghost svg{width:30px;height:26px}.pin-foot{margin-top:18px}.pin-foot .btn.text{font-size:15px}.cards{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 28px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.cards::-webkit-scrollbar{display:none}.wcard{--d: 0;flex:0 0 calc(100% - 56px);max-width:420px;height:188px;scroll-snap-align:center;border-radius:22px;position:relative;overflow:hidden;padding:18px 18px 20px;color:#fff;display:flex;flex-direction:column;cursor:pointer;text-align:left;border:0;background:radial-gradient(120% 90% at 100% 0%,rgba(255,255,255,.22),transparent 55%),linear-gradient(160deg,color-mix(in srgb,var(--card) 88%,#fff),var(--card) 45%,color-mix(in srgb,var(--card) 80%,#000));transform:scale(calc(1 - var(--d) * .07));opacity:calc(1 - var(--d) * .35);box-shadow:0 10px 24px -14px color-mix(in srgb,var(--card) 80%,#000)}.wcard:first-child{margin-left:0}.wtop{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.wname{font-size:18px;font-weight:600;letter-spacing:-.01em}.wlabel{font-size:13px;opacity:.75;margin-top:2px}.wmore{border:0;background:#ffffff2e;color:#fff;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:none}.wmore svg{width:18px;height:18px}.wmore:active{background:#ffffff52}.wsum{margin-top:auto;font-size:34px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.wsum .sk{background:#ffffff40}.wmark{position:absolute;right:-18px;bottom:-22px;width:120px;height:120px;opacity:.12}.wcard.add{background:none;color:var(--link);border:2px dashed color-mix(in srgb,var(--link) 45%,transparent);box-shadow:none;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:600}.wcard.add .plus{width:48px;height:48px;border-radius:50%;background:var(--soft);display:grid;place-items:center}.wcard.add .plus svg{width:26px;height:26px}.cdots{display:flex;justify-content:center;gap:6px;margin-top:10px}.cdots i{width:6px;height:6px;border-radius:3px;background:var(--separator);transition:width .3s var(--ios),background-color .3s}.cdots i.on{width:18px;background:var(--hint)}.swap{animation:swap .28s ease both}@keyframes swap{0%{opacity:0;transform:translateY(6px)}}.swatches{display:flex;gap:8px;justify-content:space-between;padding:14px 16px}.swatch{width:32px;height:32px;flex:none;border-radius:50%;border:0;cursor:pointer;position:relative;background:var(--sw)}.swatch.on:after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2.5px solid var(--sw)}.preview{margin:18px auto 0;width:calc(100% - 56px);max-width:420px}.preview .wcard{flex:none;width:100%;transform:none;opacity:1;cursor:default}.radio{width:22px;height:22px;border-radius:50%;border:2px solid var(--separator);flex:none;display:grid;place-items:center}.radio.on{border-color:var(--button);background:var(--button);color:var(--button-text)}.radio.on svg{width:14px;height:14px}
