*{box-sizing:border-box}html{background:#1a66af}body{margin:0;color:white;font:16px Arial,Helvetica,sans-serif;background:linear-gradient(165deg,#206fc5,#38a9dc);min-height:100dvh}main{max-width:460px;margin:auto;position:relative;min-height:100dvh;background:linear-gradient(155deg,#2073c5 0%,#338ed1 42%,#44b8df 73%,#55c3e4);overflow:hidden}button{font:inherit;color:inherit;border:none;cursor:pointer}button:focus-visible{outline:3px solid #ffbe35;outline-offset:-3px}#wallet{display:flex;flex-direction:column;min-height:100dvh;padding-top:max(18px,env(safe-area-inset-top));position:relative}#wallet:before{content:'';position:absolute;top:49%;left:-30%;height:220px;width:160%;background:#67d1eb33;border-radius:50%;transform:rotate(-13deg);pointer-events:none}header{display:flex;align-items:center;justify-content:space-between;padding:10px 5% 12px;position:relative}h1{margin:0;font-size:30px;letter-spacing:-1px}.bankicon{width:42px;height:42px;background:transparent;padding:10px}.bankicon svg{fill:white;width:100%}.rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:14px;padding:0 6.5%;position:relative}.rail::-webkit-scrollbar{display:none}.card{scroll-snap-align:center;flex:0 0 100%;aspect-ratio:1.82;position:relative;border-radius:20px;color:#202023;box-shadow:inset 0 1px 3px #fff9,inset 0 -1px 3px #8888;text-align:left;touch-action:pan-x pan-y;user-select:none}.rail:after{content:'';flex:0 0 1px}.silver{background:linear-gradient(129deg,#c5c6c8 0%,#e6e6e7 32%,#c9c9cb 58%,#dfdfe1 79%,#bdbec0 100%)}.gold{background:linear-gradient(125deg,#d4ab68,#f0dcb3,#d1ae73)}.digits,.date,.cardtype,.money,.chip{position:absolute}.digits{top:11%;left:6%;font-size:clamp(12px,3.4vw,16px);display:flex;align-items:center;gap:6px}.brand{position:relative;width:34px;height:21px;display:inline-block}.brand:before,.brand:after{content:'';position:absolute;width:21px;height:21px;border-radius:50%;background:#ed333e}.brand:after{left:13px;background:#ffbb17;opacity:.94}.date{top:12%;right:6%;font-size:13px}.cardtype{bottom:9%;right:6%;font-size:13px;color:#565657}.money{left:6%;top:43%;max-width:68%}.money small{font-size:14px}.money strong{display:block;font-size:clamp(28px,8vw,40px);letter-spacing:-1.7px;line-height:1.15}.chip{right:7%;top:40%;width:16%;height:22%;overflow:hidden;border:1px solid #eaddb1;border-radius:6px;background:linear-gradient(120deg,#ffce4e,#e9a51e 50%,#ffde84)}.chip:before{content:'';position:absolute;inset:17% 28%;border:2px solid #fff0bc;border-radius:6px;box-shadow:-18px -12px 0 -2px #ebad31,-18px -12px 0 0 #ffecac,18px 12px 0 -2px #e8b73d,18px 12px 0 0 #fff1bb}.chip:after{content:'';position:absolute;inset:45% 0;border-left:12px solid #ffedbb;border-right:12px solid #ffedbb}.dots{height:46px;display:flex;align-items:center;justify-content:center}.dot{background:transparent;width:23px;height:34px;display:grid;place-items:center}.dot:before{content:'';background:#88c5e6;width:8px;height:8px;border-radius:50%}.dot.selected:before{background:white}.progress{position:relative;margin:4px 5% 29px;padding:18px 15px 10px;background:linear-gradient(110deg,#44b7e7,#51bfeb);border-radius:10px;text-shadow:0 1px 2px #248fc5}.progress small{position:absolute;top:8px;right:12px;font-size:12px}.progress b{font-size:24px}.track{height:6px;background:#b6dded;border-radius:5px;margin:3px 0 7px;overflow:hidden}.track i{display:block;height:100%;background:#fff}.xp{display:flex;justify-content:space-between;font-size:12px}.padwrap{flex:1;position:relative;display:flex;min-height:225px}#tap{width:100%;border-radius:23px 23px 0 0;background:#f5f5f6;display:flex;align-items:center;justify-content:center;touch-action:manipulation;user-select:none;position:relative;overflow:hidden}#tap:active svg{transform:scale(.92)}.boost{position:absolute;right:10%;top:-15px;z-index:1;background:#227ac4;color:white;border-radius:8px;font-weight:bold;font-size:15px;padding:7px 15px;box-shadow:0 2px 4px #15588b45}.pop{position:absolute;color:#328bb6;font-size:23px;font-weight:bold;pointer-events:none;animation:rise .65s forwards}@keyframes rise{to{opacity:0;transform:translateY(-40px)}}#shop{min-height:100dvh;padding:20px 0}#shop header button,.heading button,nav button{border-radius:14px;padding:7px 10px;background:#e4f1fa;color:#23639a;font-size:14px}.shopbody{margin:0 4%;padding:16px;background:#f7f9fb;color:#21394a;border-radius:19px}.summary strong{display:block;font-size:30px}.heading,nav,.item,.buy{display:flex;align-items:center;gap:6px}.heading,.item,.buy{justify-content:space-between}h2{font-size:21px}.item{padding:14px 0;border-bottom:1px solid #dbe3e9}.item h3,.yield{margin:3px 0}.yield{font-size:13px;color:#257b59}.buy,#upgrade{background:#207dc5;color:white;border-radius:10px;padding:10px;font-weight:bold}.buy{flex-direction:column;font-size:14px}nav{flex-wrap:wrap;margin:8px 0}nav .active,.heading .active{background:#226ca7;color:white}dialog{color:#254256;border:0;border-radius:18px;padding:24px;width:min(340px,90vw)}dialog::backdrop{background:#0d365a77}dialog h2{margin-top:0}dialog button{display:block;width:100%;margin-top:10px;border-radius:10px;padding:10px}#notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#204867;color:white;padding:10px 16px;border-radius:12px;pointer-events:none;text-align:center;z-index:5}#notice:empty{display:none}[hidden]{display:none!important}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}main{--navH:calc(64px + env(safe-area-inset-bottom));padding-bottom:var(--navH)}#wallet{min-height:calc(100dvh - var(--navH))}.padwrap{min-height:155px}#bottom{position:fixed;z-index:3;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,460px);margin:0;height:var(--navH);padding:6px 3px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #dce4e9;background:#fbfcfd;display:grid;grid-template-columns:1fr 1fr 1.22fr 1.15fr 1fr;gap:0}#bottom button{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#71808f;background:transparent;font-size:clamp(9px,2.6vw,11px);border-radius:9px;padding:2px;font-weight:550}#bottom button[aria-current=page]{color:#177cc9;background:#eaf4fc}#bottom svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}#shop{min-height:calc(100dvh - var(--navH));padding-top:max(16px,env(safe-area-inset-top))}.shopbody{padding:14px;background:#eff6fb}.summary{background:linear-gradient(115deg,#d7eaf8,#fff);padding:15px;border-radius:13px}.summary strong{color:#1e567e}.summary small,.entry small,.tileBody small,.upgradeRow small,dialog small,#items>small{display:block;color:#587384;font-size:13px}.tile,.entry{overflow:hidden;background:white;border:1px solid #dbe8f0;border-radius:15px;margin:12px 0}.photo{display:block;height:138px;width:100%;object-fit:cover;background:#d8e6ed}.tileBody,.entry{padding:14px}.tileBody h3,.entry h3{margin:4px 0 10px;font-size:19px;color:#153e5c}.line,.quoteHead,.upgradeRow,.sheetHead{display:flex;align-items:center;justify-content:space-between;gap:8px}.line{font-size:14px;margin:9px 0}.line span{color:#557082}.line b{text-align:right}.action{border-radius:10px;background:#1979bc;color:#fff;font-size:14px;padding:10px 13px;min-height:39px;font-weight:600;touch-action:manipulation}.action.light,.pill{background:#e3f0f8;color:#226592}.pill.on{background:#247bbb;color:#fff}.actions,.filters,#sectionTabs{display:flex;flex-wrap:wrap;gap:7px}.actions{margin-top:12px}.tileBody>.action,.entry>.action{margin-top:6px}#sectionTabs,.filters{margin:14px 0 5px}.pill{font-size:13px;padding:7px 10px}.entry figure{margin:12px 0}.entry figure svg{width:100%;height:80px}.entry figcaption{font-size:12px;color:#587384}.ticker{border-radius:10px;background:#e7f3fc;color:#2671a4;font-size:13px;font-weight:700;padding:12px 8px}.quoteHead>div{flex:1}.quoteHead h3{font-size:16px;margin:2px 0}.empty{line-height:1.5;color:#17344b;background:#f3f8fc;border-radius:10px;padding:9px 12px;margin:8px 0}.money strong{font-variant-numeric:tabular-nums}.sheetHead h2{margin:0}.sheetHead{margin-bottom:12px}.sheetHead button{width:38px;margin:0;font-size:20px}.upgradeRow{border-bottom:1px solid #dfebf0;padding:9px 0}.upgradeRow button,dialog .actions button{width:auto;margin:0}.upgradeRow span{font-size:13px;color:#418469}dialog{width:min(400px,94vw);max-height:78dvh;overflow:auto;overscroll-behavior:contain}.feedback{color:#9c471c}.pop{z-index:2}.silver .pop{color:#1678ac}#notice{bottom:calc(75px + env(safe-area-inset-bottom))}#dialogBody label{display:block;margin:12px 0 4px}input{font:inherit;padding:10px;border-radius:9px;border:1px solid #9bbbcf;width:100%}button:active{filter:brightness(.96)}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;scroll-behavior:auto!important}}
@media(min-width:600px){main,#bottom{max-width:min(460px,56.25dvh)}}
@media(max-height:560px){#wallet{padding-top:4px}.progress{margin-bottom:20px}.dots{height:30px}.padwrap{min-height:110px}}
