:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Helvetica Neue",sans-serif;color:#0b0b12;background:#f2f3f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{min-width:0}.app{min-height:100dvh;max-width:430px;margin:auto;background:radial-gradient(120% 55% at 0 0,#e3ecff,transparent 58%),radial-gradient(90% 45% at 100% 10%,#ece6ff,transparent 60%),#f2f3f7;position:relative;padding:24px 18px calc(112px + env(safe-area-inset-bottom))}.top{display:flex;align-items:end;justify-content:space-between;padding:12px 4px 17px}.eyebrow{font-size:13px;font-weight:700;color:#7b8292}.title{font-size:34px;font-weight:800;letter-spacing:-.04em;margin:3px 0 0}.circle{width:42px;height:42px;border:0;border-radius:50%;background:#0a84ff;color:white;font-size:28px;line-height:1;display:grid;place-items:center}.ghost-circle{background:#e2efff;color:#0a6ad6}.stack{display:flex;flex-direction:column;gap:12px}.card{background:#fff;border-radius:25px;padding:17px;box-shadow:0 1px 2px rgba(10,10,40,.04),0 10px 28px rgba(10,10,60,.07)}.hero{padding:23px;display:flex;align-items:center;justify-content:space-between;min-height:160px}.hero .label{color:#6e6e7a;font-size:14px;font-weight:700}.big{font-size:49px;line-height:1.06;letter-spacing:-.045em;font-weight:800;font-variant-numeric:tabular-nums}.ring{width:102px;height:102px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#30d158 var(--pct),#eaf7ef 0);flex:none}.ring-inner{width:80px;height:80px;background:#fff;border-radius:50%;display:grid;place-items:center;text-align:center;font-size:14px;font-weight:800;color:#168c3d}.section-head{display:flex;justify-content:space-between;align-items:baseline;margin:8px 4px 2px}.section-head strong{font-size:20px;letter-spacing:-.02em}.muted{color:#8390a5;font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.pool{border:0;text-align:left;width:100%;display:flex;flex-direction:column;gap:13px}.pool .row{display:flex;justify-content:space-between;align-items:center;gap:5px}.pool-name{font-size:13px;font-weight:700;color:#4a4a55;display:flex;align-items:center;gap:6px}.dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex:none}.pool-amount{font-size:27px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.pool-total{font-size:12px;color:#a3a3ae}.track{height:8px;background:color-mix(in srgb,var(--color) 17%,white);border-radius:10px;overflow:hidden}.track span{height:100%;width:var(--fill);background:var(--color);display:block;border-radius:10px}.pill{border-radius:30px;background:#eaf4ff;color:#0a6ad6;padding:8px 12px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:5px;border:0}.warning{background:#fff4e7;color:#b25e00}.subtle{background:#f5f7fb;color:#62718a}.blue-card{background:linear-gradient(155deg,#cce8ff,#6eb8ff);color:#063c72;min-height:174px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.blue-card::after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.22);right:-75px;bottom:-145px}.blue-card .big{font-size:58px}.wish-card,.tx-card,.todo-card{display:flex;align-items:center;gap:12px}.wish-card .main,.tx-card .main,.todo-card .main{flex:1;min-width:0}.item-title{font-size:16px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-meta{font-size:12px;color:#8c97a8;margin-top:4px}.amount{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.badge{padding:5px 9px;border-radius:20px;background:#eef5ff;color:#0a6ad6;font-size:12px;font-weight:800}.badge.pending{background:#fff0db;color:#a85800}.icon-box{width:38px;height:38px;border-radius:13px;background:#ecf5ff;color:#0a84ff;display:grid;place-items:center;font-weight:800;flex:none}.item-actions{display:flex;gap:7px;margin-top:10px}.mini{border:0;border-radius:11px;background:#eef5ff;color:#0a6ad6;padding:7px 10px;font-weight:750;font-size:12px}.mini.danger{background:#fff0f0;color:#d83832}.nav{position:fixed;bottom:calc(13px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(calc(100% - 30px),396px);padding:6px;display:grid;grid-template-columns:repeat(5,1fr);gap:2px;border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 12px 35px rgba(30,50,90,.18);backdrop-filter:blur(16px);z-index:5}.nav button{border:0;background:transparent;color:#75849a;border-radius:22px;min-height:54px;font-size:11px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.nav button.active{background:#0a84ff;color:white}.nav span:first-child{font-size:19px;line-height:1}.filterbar{display:flex;gap:7px;overflow:auto;padding:2px 0 4px}.filterbar button{border:0;white-space:nowrap;border-radius:20px;padding:8px 12px;color:#0a6ad6;background:#fff;font-size:12px;font-weight:800}.filterbar button.active{background:#0a84ff;color:#fff}.search{width:100%;border:0;border-radius:16px;padding:13px 16px;background:#fff;outline:none}.empty{padding:32px 20px;text-align:center;color:#8190a5;font-size:14px}.line{height:1px;background:#edf0f5;margin:12px 0}.sheet-backdrop{position:fixed;inset:0;background:rgba(10,10,20,.35);z-index:8;display:flex;align-items:flex-end;justify-content:center}.sheet{width:min(100%,430px);max-height:90dvh;overflow:auto;border-radius:28px 28px 0 0;background:#fff;padding:22px 20px calc(26px + env(safe-area-inset-bottom));box-shadow:0 -8px 40px rgba(0,0,0,.15)}.sheet h2{font-size:23px;margin:4px 0 20px}.sheet label{font-size:13px;font-weight:750;color:#63748a;display:block;margin:14px 0 6px}.sheet input,.sheet select,.sheet textarea{width:100%;border:1px solid #e5eaf2;border-radius:13px;padding:12px 13px;background:#f8faff;outline:none;color:#0b0b12}.sheet input:focus,.sheet select:focus,.sheet textarea:focus{border-color:#0a84ff}.sheet .two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.primary{border:0;border-radius:14px;background:#0a84ff;color:white;font-size:16px;font-weight:800;padding:14px 16px;width:100%;margin-top:19px}.secondary{border:0;border-radius:14px;background:#eef5ff;color:#0a6ad6;font-size:15px;font-weight:800;padding:12px;width:100%;margin-top:10px}.close{float:right;border:0;background:#f0f3f8;color:#62718a;border-radius:50%;width:33px;height:33px;font-size:21px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.settings-row input{width:110px;text-align:right}.error{color:#c5281c;font-size:13px}.hint{font-size:12px;color:#8c97a8;line-height:1.5}.login{padding-top:22vh}.login .title{font-size:40px}.login input{width:100%;padding:15px;border:1px solid #e1e7f0;border-radius:15px;background:#fff;margin-top:22px}#toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);background:#1a2638;color:white;padding:11px 16px;border-radius:13px;z-index:20;display:none;max-width:90vw;text-align:center;font-size:13px}.red{color:#d83832}.green{color:#1f9a4a}.row-between{display:flex;align-items:center;justify-content:space-between;gap:10px}
