:root{--ink:#3d2410; --wood:#9a5c26; --wood2:#7a4518; --wood3:#c27b3a; --cream:#fbefd3; --cream2:#f6e2b8; --card:#fff8e8; --line:#e2c690;--green:#5cb82e; --green-sh:#3a7f18; --orange:#ff9419; --orange-sh:#c25e06; --red:#e9503f; --red-sh:#a32f24;--blue:#2f9de4; --blue-sh:#1b679e; --muted:#8a6a48; --good:#3f9e1e;--head:"Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;--body:"Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;--st:max(6px, env(safe-area-inset-top, 0px)); --sb:max(4px, env(safe-area-inset-bottom, 0px));--farmh:44%;}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%;margin:0;overflow:hidden;overscroll-behavior:none}body{font-family:var(--body);font-weight:700;color:var(--ink);font-size:14px;line-height:1.3;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;background:radial-gradient(ellipse at 30% 20%,#ffb347 0%,#f08a24 35%,#4b8f2a 75%,#2f6219 100%)}button{font-family:var(--body);font-weight:800;color:inherit;cursor:pointer;border:0;background:none;padding:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #fff;outline-offset:2px}#backdrop{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff6e0;text-align:center;padding:20px}#backdrop img{width:min(26vw,300px);filter:drop-shadow(0 8px 20px rgba(0,0,0,.35))}#backdrop p{max-width:24ch;font-size:13px;opacity:.85}#app{position:fixed;inset:0;overflow:hidden;background:#7a4518;display:flex;flex-direction:column}@media (min-width:700px){#backdrop{align-items:flex-start;padding-left:4vw}#app{inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);height:min(100vh,940px);width:min(100vw,calc(min(100vh,940px) * .5));min-width:380px;border-radius:26px;box-shadow:0 0 0 6px #3a2008,0 0 0 9px #c47a2c,0 30px 80px rgba(0,0,0,.5)}}@media (max-width:699px){#backdrop{display:none}}#farm{position:relative;flex:0 0 var(--farmh);min-height:220px;overflow:hidden;background:#5fae3a}#scene{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab;display:block}#scene:active{cursor:grabbing}.hud{position:absolute;z-index:3;top:var(--st);left:6px;right:6px;display:flex;align-items:center;gap:5px;background:linear-gradient(#b06a2c,#7a4518);border:3px solid var(--ink);border-radius:16px;padding:3px 6px 3px 3px;box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 3px 0 rgba(0,0,0,.3)}.hp{position:relative;display:flex;align-items:center;gap:3px;flex:1;min-width:0}.ava{width:38px;height:38px;border-radius:50%;background:radial-gradient(#ffd9a0,#e9a35a);border:2px solid var(--ink);overflow:hidden;flex:none;display:grid;place-items:center}.ava img{width:34px;height:34px;object-fit:contain;margin-top:3px}.star{width:28px;height:28px;flex:none;margin-left:-8px;display:grid;place-items:center;background:radial-gradient(#ffe46a,#f2a812);clip-path:polygon(50% 0,63% 33%,98% 36%,71% 58%,80% 95%,50% 75%,20% 95%,29% 58%,2% 36%,37% 33%);z-index:1}.star b{font:400 13px var(--head);color:#5a3200;margin-top:2px}.xpbar{flex:1;min-width:24px;height:10px;background:#3d2410;border-radius:6px;overflow:hidden;border:1px solid #2a1808;margin-left:-6px}.xpbar i{display:block;height:100%;width:0;background:linear-gradient(#9be05a,#4fae22);transition:width .3s}.pill{display:flex;align-items:center;gap:2px;height:28px;padding:0 7px 0 2px;background:rgba(40,22,6,.55);border-radius:14px;color:#fff;font:400 14px var(--head);letter-spacing:.2px;flex:none;max-width:34%}.pill img{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 1px 0 rgba(0,0,0,.4))}.pill b{font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pill.bump{animation:bump .35s}@keyframes bump{40%{transform:scale(1.15)}}.center{position:absolute;z-index:3;right:8px;bottom:8px;width:34px;height:34px;border-radius:50%;background:rgba(58,32,8,.7) center/20px no-repeat;border:2px solid #f6d48a}.banner{position:absolute;z-index:4;left:8px;right:8px;bottom:8px;margin-right:40px;background:rgba(58,32,8,.93);border:2px solid #f6d48a;color:#fff;border-radius:14px;padding:7px 9px;display:flex;gap:8px;align-items:center;font-size:12.5px;line-height:1.3;box-shadow:0 4px 12px rgba(0,0,0,.3)}.banner span{flex:1}.mini{font:800 12px var(--body);background:rgba(255,255,255,.22);color:#fff;border-radius:8px;padding:4px 9px;flex:none}#panel{position:relative;flex:1;min-height:0;background:var(--wood);border-top:4px solid var(--ink);padding:7px 7px 0;box-shadow:inset 0 3px 0 #c27b3a}#panel:before,#panel:after{content:"";position:absolute;top:6px;width:7px;height:7px;border-radius:50%;background:#e8b06a;box-shadow:inset -1px -1px 0 #6a3a10}#panel:before{left:6px}#panel:after{right:6px}.pin{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;background:var(--cream);border:3px solid var(--ink);border-bottom:0;border-radius:14px 14px 0 0;padding:10px 10px 18px;display:flex;flex-direction:column;gap:10px;box-shadow:inset 0 0 0 3px #f2d9a6}.ptitle{display:flex;align-items:center;justify-content:center;gap:8px;font:400 24px var(--head);color:var(--ink);text-shadow:0 2px 0 #fff;margin:0}.ptitle img{height:34px}h3{margin:2px 2px 0;font:400 16px var(--head);color:var(--wood2);letter-spacing:.3px;display:flex;align-items:center;gap:8px}h3:after{content:"";flex:1;height:2px;background:var(--line);border-radius:2px}p.note{margin:0;font-size:12px;color:var(--muted);font-weight:700}#nav{flex:none;display:flex;justify-content:space-around;align-items:flex-end;gap:2px;padding:5px 4px calc(var(--sb) + 3px);background:linear-gradient(#a8652a,#7a4518);border-top:3px solid var(--ink);box-shadow:inset 0 2px 0 #d08a46;z-index:5}.nb{position:relative;flex:1;max-width:80px;display:flex;flex-direction:column;align-items:center;gap:0;padding:3px 0 1px;border-radius:12px}.nb img{width:44px;height:40px;object-fit:contain;filter:drop-shadow(0 2px 0 rgba(0,0,0,.35));transition:transform .12s}.nb small{font:400 13px var(--head);color:#fff;text-shadow:0 2px 0 #3a2008;letter-spacing:.3px}.nb.on{background:radial-gradient(ellipse at 50% 40%,rgba(255,230,120,.55),rgba(255,200,60,0) 70%);box-shadow:0 0 0 3px #ffcf3a inset,0 0 12px rgba(255,200,60,.8)}.nb.on small{color:#ffe46a}.nb:active img{transform:translateY(2px) scale(.95)}.dot{position:absolute;top:0;right:14%;width:14px;height:14px;border-radius:50%;background:var(--red);border:2px solid #fff;box-shadow:0 1px 2px rgba(0,0,0,.4);animation:dotp 1.2s ease-in-out infinite}@keyframes dotp{50%{transform:scale(1.18)}}.wbar{display:flex;align-items:center;gap:8px;background:var(--card);border:2px solid var(--line);border-radius:12px;padding:5px 9px}.wbar img{width:24px;height:24px}.wbar .meter{flex:1;height:12px;background:#d8e8f2;border-radius:6px;overflow:hidden;border:1px solid #8ab8d8}.wbar .meter i{display:block;height:100%;background:linear-gradient(#7fd0ff,#2f9de4)}.wbar b{font:400 14px var(--head);color:var(--blue-sh);white-space:nowrap}.wbar small{font-size:11px;color:var(--muted);white-space:nowrap}.acts{display:flex;justify-content:space-between;gap:4px}.ab{position:relative;flex:1;max-width:72px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 50% 40%,#c98443,#8a4f20 70%);border:3px solid var(--ink);box-shadow:inset 0 3px 0 rgba(255,220,170,.4),inset 0 -4px 0 rgba(0,0,0,.25),0 3px 0 rgba(61,36,16,.6);display:grid;place-items:center}.ab img{width:72%;height:72%;object-fit:contain;filter:drop-shadow(0 2px 0 rgba(0,0,0,.3))}.ab .n{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--red);color:#fff;font:400 12px/16px var(--head);border:2px solid #fff;text-align:center}.ab.off{filter:grayscale(.6) brightness(.9)}.ab:active{transform:translateY(2px)}.alab{display:flex;justify-content:space-between;gap:4px;margin-top:-6px}.alab span{flex:1;max-width:72px;text-align:center;font:400 12px var(--head);color:var(--wood2)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fc{position:relative;min-height:84px;background:var(--card);border:3px solid var(--line);border-radius:14px;box-shadow:0 3px 0 #dcbd84;display:flex;align-items:center;gap:6px;padding:6px 8px;text-align:left}.fc .fi{width:52px;height:56px;flex:none;display:grid;place-items:center;position:relative}.fc .fi img{max-width:52px;max-height:56px;object-fit:contain}.fc .fx{position:absolute;right:-4px;bottom:0;font:400 15px var(--head);color:var(--ink);text-shadow:0 0 3px #fff,0 0 3px #fff}.fc .ft{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.fc .ft b{font:400 15px var(--head);line-height:1.1}.fc .ft small{font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:3px}.fc .ft small img{width:14px;height:14px}.fc .tags{display:flex;gap:3px;flex-wrap:wrap}.fc .tags span{font:800 10px var(--body);padding:1px 5px;border-radius:6px;background:#e3f3ff;color:var(--blue-sh)}.fc .tags span.w{background:#ffe8d0;color:#a85a0a}.pbar{height:9px;background:#e3c78f;border-radius:5px;overflow:hidden;border:1px solid #b88a4a}.pbar i{display:block;height:100%;background:linear-gradient(#9be05a,#5fbf2e)}.fc.ready{border-color:#8fd16a;background:#f3ffe4}.fc.ready .badge{align-self:center;font:400 14px var(--head);color:#fff;background:linear-gradient(#7fd84a,#3f9e1e);border:2px solid #2f7a12;border-radius:10px;padding:3px 9px;text-shadow:0 1px 0 rgba(0,0,0,.3);animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.07)}}.fc.empty{justify-content:center;border-style:dashed;background:#fdf5e2}.fc.empty .plus{width:40px;height:40px;border-radius:50%;background:#efd9ac;color:#a8783a;font:400 30px/40px var(--head);text-align:center}.fc.empty b{font:400 14px var(--head);color:var(--muted)}.fc.locked{background:#a88f72;border-color:#8a7357;box-shadow:0 3px 0 #6e5a42;justify-content:center;color:#fff3dc}.fc.locked .lk{font-size:26px;line-height:1;filter:drop-shadow(0 2px 0 rgba(0,0,0,.3))}.fc.locked b{font:400 14px var(--head)}.fc .inst{position:absolute;right:5px;top:5px;width:24px;height:24px;border-radius:50%;background:#e3f3ff;border:2px solid #8ac2ea;display:grid;place-items:center}.fc .inst img{width:16px;height:16px}.anims{display:grid;grid-template-columns:1fr 1fr;gap:8px}.an{position:relative;background:var(--card);border:3px solid var(--line);border-radius:14px;box-shadow:0 3px 0 #dcbd84;padding:6px 8px;display:flex;flex-direction:column;gap:4px;text-align:left}.an .ai{height:58px;display:flex;align-items:center;justify-content:center;position:relative}.an .ai img.sp{max-height:54px;max-width:80px;object-fit:contain}.an .bub{position:absolute;right:2px;top:-2px;width:34px;height:30px;border-radius:50% 50% 50% 10%;background:#fff;border:2px solid var(--line);display:grid;place-items:center;animation:pulse 1.2s ease-in-out infinite}.an .bub img{width:22px;height:22px}.an .zz{position:absolute;right:10px;top:0;font:400 16px var(--head);color:var(--blue)}.an b{font:400 14px var(--head)}.an small{font-size:11px;color:var(--muted)}.heart{display:flex;align-items:center;gap:4px}.heart:before{content:"";width:12px;height:11px;background:var(--red);clip-path:path("M6 11 L0.6 5.2 A3 3 0 0 1 6 2 A3 3 0 0 1 11.4 5.2 Z");flex:none}.heart .pbar{flex:1}.an.add{justify-content:center;align-items:center;border-style:dashed;background:#fdf5e2;min-height:110px;color:var(--muted)}.an.add .plus{width:36px;height:36px;border-radius:50%;background:#efd9ac;color:#a8783a;font:400 28px/36px var(--head);text-align:center}.btn{font:400 16px var(--head);letter-spacing:.3px;color:#fff;background:var(--green);border-radius:13px;padding:9px 16px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.18),inset 0 2px 0 rgba(255,255,255,.35),0 3px 0 var(--green-sh);text-shadow:0 2px 0 rgba(0,0,0,.25);display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.btn:active{transform:translateY(2px);box-shadow:inset 0 -2px 0 rgba(0,0,0,.18),0 1px 0 var(--green-sh)}.btn:disabled{filter:grayscale(.8);opacity:.6;cursor:not-allowed;transform:none}.btn.org{background:var(--orange);box-shadow:inset 0 -4px 0 rgba(0,0,0,.15),inset 0 2px 0 rgba(255,255,255,.35),0 3px 0 var(--orange-sh)}.btn.blue{background:var(--blue);box-shadow:inset 0 -4px 0 rgba(0,0,0,.15),inset 0 2px 0 rgba(255,255,255,.35),0 3px 0 var(--blue-sh)}.btn.red{background:var(--red);box-shadow:inset 0 -4px 0 rgba(0,0,0,.15),inset 0 2px 0 rgba(255,255,255,.35),0 3px 0 var(--red-sh)}.btn.ghost{background:var(--cream2);color:var(--ink);text-shadow:none;box-shadow:inset 0 -3px 0 rgba(0,0,0,.08),0 3px 0 #c9a467}.btn.sm{font-size:14px;padding:7px 12px;border-radius:11px}.btn.xs{font-size:13px;padding:5px 10px;border-radius:9px}.btn.wide{width:100%}.btn img{width:20px;height:20px;object-fit:contain}.price{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.price img{width:18px;height:18px;object-fit:contain}.grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.card{position:relative;background:var(--card);border:3px solid var(--line);border-radius:14px;padding:8px 6px 9px;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;box-shadow:0 3px 0 #dcbd84}.card .art{height:74px;width:100%;display:grid;place-items:center}.card .art img{max-width:86%;max-height:74px;object-fit:contain}.card b{font:400 16px var(--head);line-height:1.1}.card small{font-size:11px;color:var(--muted);line-height:1.25}.card .btn{margin-top:4px;width:100%}.card.locked{filter:grayscale(.9);opacity:.7}.card .cnt{position:absolute;top:5px;right:7px;font:400 13px var(--head);background:var(--ink);color:#fff;border-radius:9px;padding:1px 7px}.box{background:var(--card);border:3px solid var(--line);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:7px}.ln{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.ln span{color:var(--muted)}.row{display:flex;align-items:center;gap:8px}.row.wrap{flex-wrap:wrap}.row .grow,.item .grow{flex:1;min-width:0}.item{display:flex;align-items:center;gap:10px;background:var(--card);border:3px solid var(--line);border-radius:14px;padding:8px 10px;text-align:left;width:100%}.item>img{width:44px;height:44px;object-fit:contain;flex:none}.item .grow b{font:400 16px var(--head);display:block}.item .grow small{font-size:12px;color:var(--muted)}.big{font:400 32px var(--head);display:flex;align-items:center;gap:8px;line-height:1}.big img{width:40px;height:40px}.chip{font:800 11px var(--body);padding:2px 8px;border-radius:999px;background:#eee;color:#555;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}.chip.pending{background:#fff0c4;color:#9a6a00}.chip.approved{background:#d9f5c6;color:#2f7a12}.chip.rejected{background:#ffd9d4;color:#a8302a}label.f{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}input.in,select.in{font:700 15px var(--body);color:var(--ink);background:#fff;border:3px solid var(--line);border-radius:12px;padding:9px 10px;width:100%;user-select:text;-webkit-user-select:text}input.in:focus{border-color:var(--orange);outline:none}.gcash{background:linear-gradient(135deg,#0a7cff,#0056d6);color:#fff;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:3px}.gcash b{font:400 18px var(--head)}.gcash small{opacity:.9;font-size:12px}.gcash .num{font:400 24px var(--head);letter-spacing:1px}.days{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.day{background:var(--card);border:3px solid var(--line);border-radius:12px;padding:5px 3px;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12px}.day b{font:400 13px var(--head)}.day img{width:30px;height:30px;object-fit:contain}.day.done{background:#d9f5c6;border-color:#8fd16a}.day.today{border-color:var(--orange);box-shadow:0 0 0 3px #ffd98a}.day.d7{grid-column:span 2}.code{font:400 26px var(--head);letter-spacing:2px;background:#fff;border:3px dashed var(--orange);border-radius:14px;padding:8px;text-align:center}.tx{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:6px 2px;border-bottom:1px dashed var(--line)}.tx b.p{color:var(--good)}.tx b.m{color:var(--red)}.empty{text-align:center;color:var(--muted);padding:14px 8px;font-size:13px}.tabs{display:flex;gap:6px;flex:none;overflow-x:auto}.tab{flex:1;font:400 15px var(--head);padding:7px 8px;border-radius:12px;background:#f0d9a8;color:#8a5a2b;border:2px solid #d8b67a;display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}.tab img{height:22px}.tab.on{background:linear-gradient(#ffb23a,#ff9419);color:#fff;border-color:#c25e06;text-shadow:0 1px 0 rgba(0,0,0,.25)}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.summary div{background:var(--card);border:2px solid var(--line);border-radius:12px;padding:6px 4px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1px}.summary img{height:28px}.summary b{font:400 18px var(--head)}.summary small{font-size:11px;color:var(--muted)}.scrim{position:absolute;inset:0;z-index:6;background:rgba(30,16,4,.5)}.sheet{position:absolute;z-index:7;left:0;right:0;bottom:0;max-height:calc(100% - var(--st) - 24px);height:78%;display:flex;flex-direction:column;background:var(--cream);border-top:4px solid var(--ink);border-radius:22px 22px 0 0;box-shadow:0 -6px 30px rgba(0,0,0,.35);animation:up .22s ease-out}.sheet.short{height:auto;max-height:80%}.sheet.tall{height:calc(100% - var(--st) - 24px)}@keyframes up{from{transform:translateY(40%);opacity:.4}}.sh{display:flex;align-items:center;gap:10px;padding:9px 12px 8px 14px;background:linear-gradient(#c9853e,#9a5f2c);border-radius:18px 18px 0 0;color:#fff;border-bottom:3px solid var(--ink)}.shic{width:36px;height:36px;display:grid;place-items:center;flex:none}.shic img{max-width:38px;max-height:36px}.sh h2{flex:1;margin:0;font:400 22px var(--head);letter-spacing:.4px;text-shadow:0 2px 0 rgba(0,0,0,.3)}.x{width:36px;height:36px;border-radius:12px;background:var(--red);color:#fff;font:400 26px/1 var(--head);box-shadow:inset 0 -3px 0 rgba(0,0,0,.2),0 2px 0 var(--red-sh);flex:none}.sheet .tabs{padding:8px 10px 0;background:var(--cream2)}.sb-body{flex:1;overflow-y:auto;padding:12px 12px calc(var(--sb) + 16px);display:flex;flex-direction:column;gap:10px;-webkit-overflow-scrolling:touch}.modal{position:absolute;inset:0;z-index:9;display:flex;align-items:center;justify-content:center;background:rgba(30,16,4,.55);padding:20px}.mbox{width:min(100%,340px);background:var(--cream);border:4px solid var(--ink);border-radius:22px;padding:16px;text-align:center;display:flex;flex-direction:column;gap:10px;align-items:center;animation:pop .3s cubic-bezier(.3,1.6,.6,1)}@keyframes pop{from{transform:scale(.6);opacity:0}}.mbox h2{margin:0;font:400 26px var(--head);color:var(--orange);text-shadow:0 2px 0 var(--ink)}.mbox p{margin:0;font-size:14px}.mbox .row{justify-content:center}.title{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 18px;background:radial-gradient(ellipse at 50% 35%,rgba(255,200,90,.35),rgba(40,70,20,.7) 70%)}.tlogo{width:min(78%,320px);filter:drop-shadow(0 10px 24px rgba(0,0,0,.45));animation:float 3s ease-in-out infinite}@keyframes float{50%{transform:translateY(-8px)}}.tcard{width:min(100%,330px);background:var(--cream);border:4px solid var(--ink);border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:9px;box-shadow:0 6px 0 rgba(61,36,16,.5)}.tcard h2{margin:0;font:400 22px var(--head);text-align:center}.tmeta{margin:0;color:#fff;font-size:12px;text-shadow:0 1px 3px #000}body.intitle #hud,body.intitle #nav,body.intitle #panel .pin{visibility:hidden}.loader{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#3f8f2a;color:#fff}.lbar{width:200px;height:14px;border-radius:7px;background:#2a5e18;border:2px solid #fff;overflow:hidden}.lbar i{display:block;height:100%;width:0;background:var(--orange);transition:width .2s}.toast{position:absolute;z-index:11;left:50%;top:calc(var(--st) + 50px);transform:translateX(-50%);background:rgba(58,32,8,.94);border:2px solid #f6d48a;color:#fff;padding:7px 14px;border-radius:12px;font-size:13px;max-width:calc(100% - 40px);text-align:center;pointer-events:none;animation:tin .2s}@keyframes tin{from{transform:translate(-50%,-8px);opacity:0}}.fly{position:absolute;z-index:12;width:30px;height:30px;pointer-events:none;transition:transform .7s cubic-bezier(.5,-.3,.7,1),opacity .7s;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4))}.glow{animation:glow 1s ease-in-out infinite!important}@keyframes glow{50%{box-shadow:0 0 0 4px #fff36a,0 0 18px 6px rgba(255,220,60,.9)}}.pin .tabs{gap:4px}.pin .tabs .tab{font-size:14px;padding:6px 4px}@media (max-width:430px){.pin .tabs .tab img{display:none}}.fc.ready .badge{position:absolute;right:6px;top:6px;font-size:12px;padding:2px 7px}.fc.ready .ft{padding-top:14px}.nextpay{display:flex;align-items:center;gap:6px;justify-content:center;font-size:12.5px;color:var(--wood2);background:#fff3d6;border:2px dashed var(--line);border-radius:10px;padding:4px 8px}.nextpay img{width:16px;height:16px}.nextpay b{font:400 14px var(--head);color:var(--ink)}.pill .plus{width:17px;height:17px;border-radius:5px;background:var(--green);display:grid;place-items:center;font:400 14px/1 var(--head);margin-left:3px;box-shadow:0 2px 0 var(--green-sh);flex:none}.crown{position:absolute;left:8px;top:-12px;width:24px;height:24px;image-rendering:pixelated;z-index:2}.tagc{position:absolute;top:-8px;left:-6px;font:400 11px var(--head);color:#fff;padding:2px 7px;border-radius:9px;border:2px solid #fff;transform:rotate(-5deg);background:#7aa84a}.tagc.advanced{background:#2f9de4}.tagc.premium{background:#c060e0}.rankbox .grow small{display:block}.item.dim{opacity:.6}.rlv{width:36px;height:36px;border-radius:50%;background:#e8d6b0;color:#8a6a48;font:400 15px/36px var(--head);text-align:center;flex:none}.rlv.on{background:linear-gradient(#ffe46a,#f2a812);color:#5a3200}.rw{display:flex!important;align-items:center;gap:5px;margin-top:2px}.rw img{width:18px;height:18px;object-fit:contain}.pgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:6px}.pgrid label.f{font-size:11px}.pgrid input.in{padding:6px 7px;font-size:14px}.prow{gap:5px;padding:8px 10px}.unl{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.unl div{background:#fff;border:2px solid #e2c690;border-radius:12px;padding:5px 8px;font-size:12px;display:flex;flex-direction:column;align-items:center;max-width:120px;text-align:center}.unl img{width:36px;height:36px;object-fit:contain}.fc .fi img{max-width:46px;max-height:46px}.fc.ready .badge{left:4px;right:auto;top:-9px;font-size:11px;padding:1px 7px}.fc.ready .ft{padding-top:0}
/* ================= Sprouty theme ================= */
:root{--ink:#13222b;--outline:#10222c;--navy:#163548;--navy2:#1d4760;--teal:#22677a;--sea:#36a9c0;--cream:#fdf8ea;--cream2:#e9f3f1;--card:#fffdf6;--line:#cfe0dc;--muted:#5d727b;--good:#2f9a2c;
--green:#45bf45;--green-sh:#24802a;--orange:#ffab2e;--orange-sh:#c9700c;--red:#ff5b4d;--red-sh:#b02c22;--blue:#38a5f5;--blue-sh:#1a68b8;
--head:"Pixelify Sans","Lilita One",system-ui,sans-serif;--body:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;--farmh:46%}
body{background:radial-gradient(ellipse at 30% 20%,#57d0e6 0%,#2389cc 45%,#123a55 100%);color:var(--ink)}
#app{background:var(--navy)}
@media (min-width:700px){#app{box-shadow:0 0 0 5px var(--outline),0 0 0 9px #2bb3c9,0 30px 80px rgba(0,0,0,.5)}}
#farm{background:#2389cc;transition:flex-basis .28s ease}
img{image-rendering:auto}
/* HUD: four equal boxes */
.hud{background:none;border:0;box-shadow:none;padding:0;gap:5px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
.hp,.pill{height:34px;border-radius:8px;background:rgba(16,34,44,.82);border:2px solid var(--outline);box-shadow:inset 0 0 0 2px rgba(255,255,255,.12),0 3px 0 rgba(0,0,0,.35);max-width:none;min-width:0}
.hp{padding:0 6px 0 2px;gap:4px}
.ava{width:28px;height:28px;border-radius:6px;background:linear-gradient(#ffe3a0,#f0b45a);border:2px solid var(--outline)}
.ava img{width:26px;height:26px;margin-top:2px}
.star{width:24px;height:24px;margin-left:-10px}
.star b{font:700 12px var(--head);color:#4a2a00}
.xpbar{height:8px;border-radius:2px;background:#0b1a22;border:1px solid #000;margin-left:-6px}
.xpbar i{background:linear-gradient(#9cf06a,#3fbf2c)}
.pill{justify-content:flex-start;padding:0 4px 0 2px;color:#fff;font:700 14px var(--head)}
.pill img{width:24px;height:24px}
.pill b{flex:1;text-align:center;font-weight:700}
.pill .plus{width:18px;height:18px;border-radius:4px;border:1px solid var(--outline);font:700 14px/1 var(--head)}
.hudclock{position:absolute;z-index:3;top:calc(var(--st) + 40px);left:6px;display:flex;align-items:center;gap:4px;height:24px;padding:0 8px 0 3px;border-radius:7px;background:rgba(16,34,44,.78);border:2px solid var(--outline);color:#fff;font:700 13px var(--head);box-shadow:0 2px 0 rgba(0,0,0,.3)}
.hudclock img{width:18px;height:18px}
.center{border-radius:8px;border:2px solid var(--outline);background-color:rgba(16,34,44,.78);box-shadow:inset 0 0 0 2px rgba(255,255,255,.15)}
.banner{background:rgba(16,34,44,.94);border:2px solid #7fe0f0;border-radius:10px;font-weight:700}
.mini{border-radius:6px;font-family:var(--head)}
/* panel */
#panel{background:var(--navy);border-top:3px solid var(--outline);box-shadow:inset 0 3px 0 #2c6f8a;padding:6px 6px 0;transition:flex .28s ease}
#panel:before,#panel:after{display:none}
.pin{background:var(--teal) linear-gradient(180deg,#25708a,#1d5a70);border:2px solid var(--outline);border-bottom:0;border-radius:10px 10px 0 0;box-shadow:inset 0 0 0 2px rgba(255,255,255,.12);color:#fff;padding:12px 10px 18px}
.ptitle{font:700 24px var(--head);color:#fff;text-shadow:0 2px 0 var(--outline),2px 0 0 var(--outline),-2px 0 0 var(--outline),0 -2px 0 var(--outline)}
h3{font:700 16px var(--head);color:#dff8ff;text-shadow:0 2px 0 rgba(0,0,0,.35)}
h3:after{background:rgba(255,255,255,.22)}
p.note,.pin p.note{color:#d6eef3;font-size:12.5px}
.sb-body p.note{color:var(--muted)}
.empty{color:#cfe6ec}
.sb-body .empty{color:var(--muted)}
/* handle + minimize */
.pgrab{position:absolute;z-index:4;left:50%;top:-15px;transform:translateX(-50%);width:62px;height:22px;border-radius:7px 7px 0 0;background:var(--navy);border:2px solid var(--outline);border-bottom:0;display:grid;place-items:center;cursor:pointer;touch-action:none}
.pgrab i{display:block;width:12px;height:12px;border-right:3px solid #9fe7f4;border-bottom:3px solid #9fe7f4;transform:translateY(-2px) rotate(45deg);transition:transform .25s}
body.panelmin .pgrab i{transform:translateY(3px) rotate(-135deg)}
body.panelmin #farm{flex-basis:calc(100% - 4px)}
body.panelmin #panel{flex:0 0 4px;padding:0}
body.panelmin #panel .pin{display:none}
body.panelmin .banner{display:none}
/* nav */
#nav{background:var(--navy);border-top:3px solid var(--outline);box-shadow:inset 0 2px 0 #2c6f8a;gap:0;padding:4px 2px calc(var(--sb) + 2px)}
.nb{border-radius:8px;max-width:none;padding:3px 0 2px}
.nb + .nb:before{content:"";position:absolute;left:0;top:22%;height:56%;width:2px;background:rgba(255,255,255,.14)}
.nb img{width:40px;height:38px}
.nb small{font:700 12.5px var(--head);text-shadow:0 2px 0 var(--outline)}
.nb.on{background:linear-gradient(#2f87a3,#22677a);box-shadow:inset 0 0 0 2px #9fe7f4,0 0 0 2px var(--outline)}
.nb.on small{color:#fff36a}
/* buttons */
.btn{font:700 16px var(--head);border-radius:8px;border:2px solid var(--outline);padding:8px 14px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),inset 0 3px 0 rgba(255,255,255,.35),0 3px 0 var(--outline);text-shadow:0 2px 0 rgba(0,0,0,.3)}
.btn:active{transform:translateY(2px);box-shadow:inset 0 -2px 0 rgba(0,0,0,.2),0 1px 0 var(--outline)}
.btn.org,.btn.blue,.btn.red{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),inset 0 3px 0 rgba(255,255,255,.35),0 3px 0 var(--outline)}
.btn.ghost{background:#e4f1ee;color:var(--ink);text-shadow:none;box-shadow:inset 0 -3px 0 rgba(0,0,0,.12),0 3px 0 var(--outline)}
.btn:disabled{filter:grayscale(1);opacity:.65}
.btn.sm{font-size:14px;padding:6px 11px;border-radius:7px}
.btn.xs{font-size:13px;padding:4px 9px;border-radius:6px}
/* tabs */
.tab{font:700 14px var(--head);border-radius:7px;background:#e4f1ee;color:#29505e;border:2px solid var(--outline);box-shadow:0 2px 0 var(--outline)}
.tab.on{background:linear-gradient(#ffc04a,#ff9a1f);color:#fff;border-color:var(--outline);text-shadow:0 2px 0 rgba(0,0,0,.3)}
.sheet .tabs{background:#dcebe8;padding:8px 10px}
/* cards and boxes */
.card,.box,.item,.fc,.an,.summary div,.day,.wbar,.nextpay{color:var(--ink);background:var(--card);border:2px solid var(--outline);border-radius:8px;box-shadow:0 3px 0 rgba(0,0,0,.35)}
.card{padding:0 6px 8px;overflow:hidden;gap:2px}
.card .chd{align-self:stretch;margin:0 -6px 4px;padding:4px 6px;font:700 15px var(--head);color:#fff;text-shadow:0 2px 0 rgba(0,0,0,.35);background:#4cb84a;border-bottom:2px solid var(--outline)}
.card.cls-uncommon .chd{background:#2fb3c4}
.card.cls-rare .chd{background:#e5483d}
.card.cls-epic .chd{background:#a65be0}
.card.cls-legend .chd{background:linear-gradient(90deg,#2a2a34,#4a4a5c,#2a2a34);color:#ffe36a}
.card.cls-animal .chd{background:#e6a23a}
.card.cls-decor .chd{background:#3e8fd6}
.card .art{height:70px}
.card .art img{max-height:68px}
.card small{color:var(--muted)}
.card small.cls{font:700 11px var(--head);text-transform:uppercase;letter-spacing:.6px;color:#7a8c93}
.card b.earn{font:700 16px var(--head);color:var(--good)}
.card .cnt{top:30px;right:5px;background:var(--outline);border-radius:5px;font:700 12px var(--head)}
.card.soon .art img{filter:drop-shadow(0 0 8px rgba(255,220,90,.8))}
.tagc{display:none}
.item > img{width:42px;height:42px}
.item .grow b,.card b,.an b,.fc .ft b{font-family:var(--head);font-weight:700}
.item .grow small,.an small,.fc .ft small,.summary small,.ln span{color:var(--muted)}
.ln{font-size:13.5px}
.ln.cur span{color:var(--ink);font-weight:800}
.ln .good,b.good{color:var(--good);font-family:var(--head)}
.big{font:700 32px var(--head)}
.summary b{font:700 18px var(--head)}
.rankbox{background:linear-gradient(#fffdf6,#f1f8f4)}
/* land */
.wbar .meter{border-radius:3px;border:1px solid var(--outline);background:#d6e9ef}
.wbar b{font:700 14px var(--head)}
.acts{gap:3px}
.ab{border-radius:10px;aspect-ratio:1;max-width:60px;background:linear-gradient(#2f87a3,#1d5a70);border:2px solid var(--outline);box-shadow:inset 0 3px 0 rgba(255,255,255,.25),inset 0 -4px 0 rgba(0,0,0,.25),0 3px 0 var(--outline)}
.ab img{width:78%;height:78%}
.ab .n{border-radius:6px;border:2px solid var(--outline);font:700 12px/16px var(--head)}
.ab.off{filter:grayscale(.75) brightness(.85)}
.alab{margin-top:-4px}
.alab span{max-width:60px;font:700 11.5px var(--head);color:#fff;text-shadow:0 2px 0 var(--outline)}
.nextpay{border-style:solid;background:#123b4c;color:#dff8ff;border-color:var(--outline)}
.nextpay b{color:#fff36a;font-family:var(--head)}
.fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.fc{min-height:80px;border-radius:8px}
.fc.empty{background:rgba(255,255,255,.12);border:2px dashed #9fe7f4;box-shadow:none;color:#fff}
.fc.empty b{color:#dff8ff;font-family:var(--head)}
.fc.empty .plus{background:rgba(255,255,255,.18);color:#fff;border-radius:8px;font:700 28px/40px var(--head)}
.fc.ready{background:#effde3;border-color:var(--outline)}
.fc.ready .badge{border-radius:5px;border:2px solid var(--outline);font-family:var(--head)}
.fc.locked{background:linear-gradient(#3b7f52,#2a5e3c);border:2px solid var(--outline);color:#fff;flex-direction:row;gap:8px}
.fc.locked .lki{width:44px;height:44px;object-fit:contain}
.fc.locked small{color:#e2ffe0!important;display:flex;align-items:center;gap:3px}
.fc.locked small img{width:16px;height:16px}
.fc .tags span{border-radius:4px}
.pbar{border-radius:3px;border:1px solid var(--outline);background:#cfe0dc}
.an{border-radius:8px}
.an.add{background:rgba(255,255,255,.12);border:2px dashed #9fe7f4;box-shadow:none;color:#dff8ff}
.an.add small{color:#dff8ff}
.an.add .plus{background:rgba(255,255,255,.18);color:#fff;border-radius:8px}
.an .bub{border:2px solid var(--outline);border-radius:8px}
/* sheets and modals */
.scrim{background:rgba(6,20,28,.55)}
.sheet{background:#f3f9f7;border-top:3px solid var(--outline);border-radius:14px 14px 0 0}
.sh{background:linear-gradient(#2f87a3,#1d5a70);border-radius:11px 11px 0 0;border-bottom:3px solid var(--outline)}
.sh h2{font:700 22px var(--head);text-shadow:0 2px 0 var(--outline)}
.x{border-radius:8px;border:2px solid var(--outline);box-shadow:inset 0 -3px 0 rgba(0,0,0,.2),0 2px 0 var(--outline)}
.mbox{background:#fdfbf2;border:3px solid var(--outline);border-radius:12px;box-shadow:0 6px 0 rgba(0,0,0,.35)}
.mbox h2{font:700 26px var(--head);color:#ffb52e;text-shadow:0 2px 0 var(--outline),2px 0 0 var(--outline),-2px 0 0 var(--outline),0 -2px 0 var(--outline)}
input.in,select.in{border:2px solid var(--outline);border-radius:7px}
input.in:focus{border-color:#2fb3c4;box-shadow:0 0 0 3px rgba(47,179,196,.35)}
.gcash{border-radius:8px;border:2px solid var(--outline)}
.code{border-radius:8px;border-color:#2fb3c4;font-family:var(--head)}
.chip{border-radius:5px}
.toast{background:rgba(16,34,44,.95);border:2px solid #7fe0f0;border-radius:9px;font-weight:700}
/* upgrades */
.upg{display:flex;align-items:center;gap:10px}
.upg > img{width:78px;height:70px;object-fit:contain;flex:none}
.upg b{font:700 18px var(--head);display:block}
.upg small{color:var(--muted);font-size:12.5px;display:block}
.lim{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;text-align:center}
.lim div{display:flex;flex-direction:column;align-items:center;gap:1px}
.lim img{width:40px;height:40px;object-fit:contain}
.lim b{font:700 16px var(--head)}
.lim small{font-size:11px;color:var(--muted)}
.req{display:flex;align-items:center;gap:6px;font-size:13px;color:#b0402f;font-weight:800}
.req:before{content:"x";font:700 13px var(--head);width:18px;height:18px;border-radius:4px;display:grid;place-items:center;background:#ffdcd6;border:1px solid #b0402f}
.req.ok{color:var(--good)}
.req.ok:before{content:"\2713";background:#d9f5c6;border-color:var(--good)}
/* title and loader */
.title{background:radial-gradient(ellipse at 50% 30%,rgba(120,220,240,.25),rgba(10,40,60,.78) 72%)}
.tlogo{width:min(92%,380px)}
.tcard{background:#fdfbf2;border:3px solid var(--outline);border-radius:12px;box-shadow:0 6px 0 rgba(0,0,0,.35)}
.tcard h2{font:700 22px var(--head)}
.loader{background:linear-gradient(#1f6f93,#123a55)}
.loader:before{content:"";width:min(70vw,300px);height:150px;background:url(img/logo.webp?v=3) center/contain no-repeat;margin-bottom:6px}
.lbar{border-radius:4px;background:#0b2533}
.lbar i{background:linear-gradient(#9cf06a,#3fbf2c)}
#backdrop{color:#e6fbff}
/* night tint and weather over the farm */
.sky{position:absolute;inset:0;z-index:2;pointer-events:none;transition:background 2s}
.rain{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;transition:opacity 2s}
.rain.on{opacity:1}
.rain{background:repeating-linear-gradient(105deg,transparent 0 18px,rgba(210,235,255,.42) 18px 19.5px);background-size:44px 44px;animation:rainfall .45s linear infinite}
@keyframes rainfall{to{background-position:-10px 44px}}
.sb-body h3{color:#1d5a70;text-shadow:none}
.sb-body h3:after{background:#cfe0dc}
body.panelmin #farm{flex:1 1 auto}
.mbox p.note{color:var(--muted)}
.pill{font-size:13px}
.pill b{letter-spacing:-.2px}
.pill .plus{width:16px;height:16px;font-size:13px;margin-left:1px}
.pill b{overflow:visible;text-overflow:clip}

/* ===== readable pixel type (self-hosted) ===== */
:root{--head:"Pixelify Sans",system-ui,sans-serif;--body:"Pixelify Sans",system-ui,sans-serif}
body,button,input,select{font-family:var(--body);font-weight:600;letter-spacing:.25px;-webkit-font-smoothing:antialiased}
body{font-size:15px;line-height:1.35}
/* light text on dark gets a solid pixel outline so it stays sharp */
.pill,.hp,.hudclock,.nb small,.alab span,.ptitle,h3,.sh h2,.btn,.tab.on,.card .chd,.nextpay,.banner,.toast{text-shadow:0 2px 0 var(--outline),2px 0 0 var(--outline),-2px 0 0 var(--outline),0 -1px 0 var(--outline)}
.btn.ghost,.tab{text-shadow:none}
.pill{font:700 16px var(--head)}
.star b{font:700 13px var(--head);text-shadow:none}
.hudclock{font:700 15px var(--head);height:28px}
.hudclock img{width:20px;height:20px}
.nb small{font:700 14px var(--head)}
.alab span{font:700 13px var(--head)}
.btn{font:700 17px var(--head)}
.btn.sm{font-size:15px}
.btn.xs{font-size:14px}
.tab{font:700 15px var(--head)}
.ptitle{font:700 26px var(--head)}
h3{font:700 18px var(--head)}
p.note,.pin p.note,.sb-body p.note{font-size:14px;font-weight:600}
.card .chd{font:700 16px var(--head)}
.card small{font-size:13px}
.card small.cls{font:700 12px var(--head)}
.card b.earn{font:700 18px var(--head)}
.item .grow b,.upg b{font:700 18px var(--head)}
.item .grow small,.upg small,.an small,.fc .ft small,.summary small,.lim small{font-size:13px;font-weight:600}
.fc .ft b,.an b{font:700 16px var(--head)}
.ln{font-size:15px}
.wbar b,.nextpay b{font:700 16px var(--head)}
.wbar small,.nextpay{font-size:13.5px}
.summary b{font:700 20px var(--head)}
.banner{font-size:14px}
.toast{font-size:14.5px}
.mbox p{font-size:15px}
label.f{font-size:13.5px}
input.in,select.in{font:600 16px var(--body)}
.chip{font:700 12px var(--head)}
.day b{font:700 14px var(--head)}
.tx{font-size:13.5px}
.empty{font-size:14px}
.tcard h2{font:700 24px var(--head)}
.tmeta{font-size:14px}

/* ===== Option A: pixel titles, clean body text ===== */
@font-face{font-family:"Nunito";src:url(fonts/nunito-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Nunito";src:url(fonts/nunito-latin-800-normal.woff2) format("woff2");font-weight:800;font-display:swap}
:root{--body:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif}
body,input,select{font-family:var(--body);font-weight:700;letter-spacing:0}
small,p,.note,.ln,.ln span,.tx,.empty,label.f,.banner,.toast,.mbox p,.req,input.in,select.in,.gcash small{font-family:var(--body)!important}
.item .grow small,.upg small,.an small,.fc .ft small,.summary small,.lim small,.card small{font-weight:700;letter-spacing:0}
.card small.cls{font-family:var(--head)!important}
.ln{font-weight:800}
p.note,.pin p.note,.sb-body p.note{font-weight:700}
.banner,.toast{font-weight:800}
/* lucky wheel */
.wheelbox{position:relative;width:min(78vw,290px);aspect-ratio:1;margin:4px auto 10px}
.wheel{position:absolute;inset:0;border-radius:50%;border:4px solid var(--outline);box-shadow:0 0 0 5px #ffc04a,0 0 0 8px var(--outline),0 8px 0 8px rgba(0,0,0,.3)}
.wl{position:absolute;inset:0;display:flex;justify-content:center}
.wl span{margin-top:8%;display:flex;flex-direction:column;align-items:center;font:700 15px var(--head);color:#fff;text-shadow:0 2px 0 var(--outline),2px 0 0 var(--outline),-2px 0 0 var(--outline)}
.wl img{width:26px;height:26px}
.whub{position:absolute;left:50%;top:50%;width:22%;height:22%;transform:translate(-50%,-50%);border-radius:50%;background:#fffdf6;border:4px solid var(--outline);display:grid;place-items:center}
.whub img{width:60%}
.wptr{position:absolute;z-index:2;left:50%;top:-14px;transform:translateX(-50%);width:0;height:0;border-left:16px solid transparent;border-right:16px solid transparent;border-top:28px solid #ff5b4d;filter:drop-shadow(0 3px 0 var(--outline))}
/* fishing */
.pond{position:relative;height:150px;border-radius:10px;border:2px solid var(--outline);background:linear-gradient(#4fc3e6,#1f86c4);overflow:hidden;box-shadow:inset 0 0 0 3px rgba(255,255,255,.25)}
.ripples{position:absolute;inset:0;background:repeating-radial-gradient(circle at 50% 40%,rgba(255,255,255,.18) 0 2px,transparent 2px 22px);animation:rip 3s linear infinite}
@keyframes rip{to{background-position:0 22px}}
.bob{position:absolute;left:50%;top:32%;width:48px;transform:translateX(-50%);image-rendering:pixelated;opacity:.55;animation:float 2.4s ease-in-out infinite}
.fbar{position:absolute;left:12px;right:12px;bottom:14px;height:26px;border-radius:6px;background:#0b2533;border:2px solid var(--outline)}
.fzone{position:absolute;top:0;bottom:0;left:40%;width:20%;background:linear-gradient(#7fe25a,#3fbf2c);border-left:2px solid #fff;border-right:2px solid #fff}
.fhook{position:absolute;top:-6px;bottom:-6px;width:6px;margin-left:-3px;left:0;background:#ffe36a;border:2px solid var(--outline);border-radius:3px}
.fishlist{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;text-align:center}
.fishlist div{background:var(--card);border:2px solid var(--outline);border-radius:8px;padding:4px 2px;display:flex;flex-direction:column;align-items:center}
.fishlist img{width:36px;image-rendering:pixelated}
.fishlist b{font:700 11px var(--head);line-height:1.1}
.fishlist small{font-size:10px;color:var(--muted);line-height:1.15}
.item.game > img{image-rendering:pixelated}
/* island shortcut buttons */
.sidebtns{position:absolute;z-index:3;right:6px;top:calc(var(--st) + 42px);display:flex;flex-direction:column;gap:6px}
.sbtn{display:flex;flex-direction:column;align-items:center;gap:1px}
.sbi{position:relative;width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#2f87a3,#163548);border:3px solid var(--outline);box-shadow:inset 0 0 0 2px rgba(159,231,244,.55),0 3px 0 rgba(0,0,0,.4);display:grid;place-items:center}
.sbi img{width:34px;height:34px;object-fit:contain}
.sbtn:active .sbi{transform:translateY(2px)}
.sbtn small{font:800 12px var(--body);color:#fff;text-shadow:0 1px 0 var(--outline),1px 0 0 var(--outline),-1px 0 0 var(--outline),0 -1px 0 var(--outline)}
.sdot{position:absolute;top:-3px;right:-3px;width:14px;height:14px;border-radius:50%;background:var(--red);border:2px solid #fff;animation:dotp 1.2s ease-in-out infinite}
body.intitle .sidebtns{visibility:hidden}

/* all text in the clean font, including numbers */
:root{--head:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif}
.pill,.hudclock,.star b,.nb small,.alab span,.btn,.tab,.ptitle,h3,.sh h2,.card .chd,.card small.cls,.card b.earn,.item .grow b,.upg b,.fc .ft b,.an b,.summary b,.big,.lim b,.wbar b,.nextpay b,.chip,.day b,.mbox h2,.tcard h2,.code,.fc.ready .badge,.ab .n,.wl span,.fishlist b,.gcash b,.gcash .num,.mini,.pill .plus{font-family:var(--head)!important;font-weight:900!important;letter-spacing:0!important}
.card small.cls{font-weight:800!important}
@font-face{font-family:"Nunito";src:url(fonts/nunito-latin-900-normal.woff2) format("woff2");font-weight:900;font-display:swap}
/* full screen lucky wheel */
.wheelfull{position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px 16px;background:radial-gradient(ellipse at 50% 45%,#2a6f9a 0%,#123a55 55%,#081a26 100%);overflow:hidden;color:#fff}
.wrays{position:absolute;left:50%;top:46%;width:180vmax;height:180vmax;margin:-90vmax 0 0 -90vmax;background:repeating-conic-gradient(rgba(255,230,140,.13) 0 10deg,transparent 10deg 20deg);animation:spinrays 24s linear infinite;pointer-events:none}
.wheelfull.spinning .wrays{animation-duration:4s}
@keyframes spinrays{to{transform:rotate(360deg)}}
.wx{position:absolute;top:calc(var(--st) + 8px);right:12px;z-index:3}
.wtitle{position:relative;margin:0;font:900 34px var(--head);color:#ffc04a;text-shadow:0 3px 0 var(--outline),3px 0 0 var(--outline),-3px 0 0 var(--outline),0 -3px 0 var(--outline),0 8px 16px rgba(0,0,0,.4)}
.wsub{position:relative;margin:0;font-weight:800;font-size:15px;text-align:center;text-shadow:0 2px 0 var(--outline)}
.wsub.small{font-size:12.5px;opacity:.85}
.wheelbox.big{width:min(86vw,360px);margin:14px auto 8px}
.wheelbox.big .wl span{font-size:17px}
.wheelbox.big .wl img{width:32px;height:32px}
.wlights{position:absolute;inset:-14px;border-radius:50%;background:radial-gradient(circle,#fff 0 3px,transparent 4px) 0 0/100% 100%;pointer-events:none;-webkit-mask:repeating-conic-gradient(#000 0 4deg,transparent 4deg 22.5deg);mask:repeating-conic-gradient(#000 0 4deg,transparent 4deg 22.5deg);border:6px dotted rgba(255,245,200,.9);animation:blink 1s steps(2) infinite}
@keyframes blink{50%{opacity:.4}}
.wspin{position:relative;font-size:26px!important;padding:12px 56px!important;border-radius:12px!important}
.wspin:not(:disabled){animation:pulse 1.2s ease-in-out infinite}
.wresult{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;background:rgba(6,20,28,.55)}
.wcard{width:min(86%,300px);background:#fdfbf2;color:var(--ink);border:3px solid var(--outline);border-radius:14px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 8px 0 rgba(0,0,0,.35);animation:pop .4s cubic-bezier(.3,1.6,.6,1)}
.wcard h2{margin:0;font:900 30px var(--head);color:#ffb52e;text-shadow:0 2px 0 var(--outline),2px 0 0 var(--outline),-2px 0 0 var(--outline),0 -2px 0 var(--outline)}
.wcard img{width:90px;height:90px;object-fit:contain;animation:float 2s ease-in-out infinite}
.wcard b{font:900 28px var(--head)}
.confetti{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}
.confetti i{position:absolute;top:-20px;width:9px;height:14px;border-radius:2px;animation:fall 2s ease-in forwards}
@keyframes fall{to{top:110%;transform:rotate(720deg) translateX(40px)}}
/* fishing overlay on the island */
.fishui{position:absolute;z-index:4;left:8px;right:62px;bottom:10px}
.fcard{background:rgba(16,34,44,.94);border:2px solid #7fe0f0;border-radius:12px;padding:9px 10px;display:flex;flex-direction:column;gap:8px;box-shadow:0 4px 0 rgba(0,0,0,.35)}
.fmsg{color:#fff;font-weight:800;font-size:14.5px;text-align:center}
.fcard .fbar{position:relative;height:26px;border-radius:6px;background:#0b2533;border:2px solid var(--outline);left:auto;right:auto;bottom:auto}
.fcard .row .btn{padding:9px 12px}
.btn.pulse{animation:pulse .6s ease-in-out infinite}
.fkinds{display:flex;justify-content:space-between;gap:4px}
.fkinds span{display:flex;flex-direction:column;align-items:center;color:#ffd0dc;font:900 11px var(--head)}
.fkinds img{height:22px;width:42px;object-fit:contain}
body.fishing .sidebtns{display:none}
/* login */
.lnk{background:none;border:0;color:#1d6f8a;font:800 14px var(--body);text-decoration:underline;padding:4px;align-self:center}
.aerr{margin:0;color:#c0392b;font-weight:800;font-size:14px;text-align:center}
.aerr.ok{color:var(--good)}
.tcard .tabs{margin-bottom:2px}
.tcard label.f{color:var(--muted)}
.gpick{display:flex;gap:8px;margin-top:4px}
.gbtn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;border:3px solid #b9cfd6;border-radius:12px;background:#fff;font:800 15px var(--body);color:#1b3442;cursor:pointer}
.gbtn img{width:30px;height:36px;object-fit:contain;image-rendering:pixelated}
.gbtn.on{border-color:#f39c12;background:#fff4dc}
.gpick.sm{flex:0 0 auto;margin:0}
.gpick.sm .gbtn{padding:4px 8px;font-size:13px}
.gpick.sm .gbtn img{width:22px;height:28px}
/* left shortcut (gacha) under the clock */
.sidebtns.left{left:6px;right:auto;top:calc(var(--st) + 78px)}
.sbi.gacha{background:radial-gradient(circle at 50% 35%,#ffd36b,#c9741c);box-shadow:inset 0 0 0 2px rgba(255,240,190,.7),0 3px 0 rgba(0,0,0,.4)}
.sbi.gacha img{width:38px;height:40px}
.sbi .slock{position:absolute;top:-4px;right:-4px;width:18px;height:18px;border-radius:50%;background:#163548;border:2px solid #fff;display:grid;place-items:center;box-shadow:0 1px 2px rgba(0,0,0,.4)}
.sbi .slock img{width:11px;height:11px;object-fit:contain}
/* mail */
.mail{background:var(--card);border:2px solid var(--outline);border-radius:12px;padding:10px;margin-bottom:10px;display:flex;flex-direction:column;gap:8px;box-shadow:0 3px 0 rgba(0,0,0,.25)}
.mhd{display:flex;align-items:center;gap:10px}
.mhd img{width:40px;height:40px}
.mhd b{display:block;font:900 16px var(--head)}
.mhd small{color:var(--muted);font-weight:700;font-size:12px}
.mbody{margin:0;font-size:14px;line-height:1.35;white-space:pre-wrap}
.mitems{display:flex;flex-wrap:wrap;gap:6px}
.mitems span{display:flex;align-items:center;gap:5px;padding:4px 10px 4px 5px;border-radius:999px;background:#fff4dc;border:2px solid #f0c27a;font-weight:800;font-size:13.5px}
.mitems img{width:24px;height:24px;object-fit:contain}
/* gacha */
.gachafull{justify-content:flex-start;padding-top:calc(var(--st) + 14px);gap:4px;background:#0c1a2a}
.gbg{position:absolute;inset:0;background:url(img/gacha_bg.webp?v=1) center/cover no-repeat}
.gbg::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(5,15,30,.35),rgba(5,15,30,0) 30%,rgba(5,15,30,0) 55%,rgba(5,15,30,.65))}
.gtitle{font-size:32px;margin-top:6px}
.gstage{position:relative;flex:1;min-height:0;width:100%;display:flex;align-items:flex-end;justify-content:center;padding-bottom:6px}
.gmach{position:relative;height:min(48vh,360px);max-width:80%;object-fit:contain;filter:drop-shadow(0 10px 10px rgba(0,0,0,.45));transform-origin:50% 90%}
.gachafull.pulling .gmach{animation:gshake .18s linear 7 alternate}
@keyframes gshake{0%{transform:rotate(-2deg) translateY(0)}100%{transform:rotate(2deg) translateY(-3px)}}
.glock{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 16px;border-radius:14px;background:rgba(16,34,44,.85);border:3px solid var(--outline)}
.glock img{width:40px;height:40px}
.glock b{font:900 20px var(--head);color:#ffc04a}
.gcap{position:absolute;left:50%;top:58%;width:0;height:0;pointer-events:none;z-index:2}
.gcap img{position:absolute;left:0;top:0;transform:translate(-50%,-50%)}
.gcap.drop .gc1{width:90px;animation:gdrop 1.3s cubic-bezier(.3,1.4,.5,1) forwards}
@keyframes gdrop{0%{transform:translate(-50%,140%) scale(.25);opacity:0}25%{opacity:1}100%{transform:translate(-50%,-50%) scale(1.25)}}
.gachafull.reveal .gmach{filter:brightness(.55) drop-shadow(0 10px 10px rgba(0,0,0,.45));transition:filter .3s}
.gcap.open .gc2{width:120px;animation:pop .45s cubic-bezier(.3,1.6,.6,1)}
.gcap .gfx{pointer-events:none}
.gcap .grays{width:300px;opacity:.9;animation:spinrays 6s linear infinite}
.gcap .gglow{width:260px;opacity:.85}
.gcap .gspark{width:200px;animation:pop .6s ease-out}
.gcap.open.green .grays,.gcap.open.green .gglow{opacity:.45}
.gpanel{position:relative;width:min(100%,420px);background:rgba(16,34,44,.88);border:3px solid var(--outline);border-radius:16px;padding:8px 10px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;box-shadow:0 6px 0 rgba(0,0,0,.35);margin-bottom:calc(env(safe-area-inset-bottom) + 8px)}
.gpanel h3{margin:0;color:#ffc04a}
.gprizes{width:100%;overflow:hidden;padding:2px 0 4px;-webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);touch-action:pan-y}
.gtrack{display:flex;width:max-content;animation:gscroll 20s linear infinite}
.gtrack .gp{margin-right:6px}
.gprizes.hold .gtrack,.gachafull.pulling .gtrack{animation-play-state:paused}
@keyframes gscroll{to{transform:translateX(-50%)}}
.wcard b.gwin{display:block;width:100%;text-align:center;white-space:nowrap;overflow:hidden;line-height:1.2}
.gp{flex:0 0 auto;width:62px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 3px;border-radius:10px;background:#fdfbf2;border:2px solid var(--outline)}
.gp img{width:34px;height:34px;object-fit:contain}
.gp small{font-weight:800;font-size:10.5px;line-height:1.1;color:var(--ink);text-align:center}
.gp.gold{background:#fff1b8;box-shadow:0 0 0 2px #ffc04a}
.gp.purple{background:#f1e3ff}
.gp.red{background:#ffe3e0}
.gp.teal{background:#dcf7fa}
.gpull{padding:10px 40px!important}
.gcost{display:inline-flex;align-items:center;gap:3px;margin-left:6px}
.gcost img{width:24px;height:24px}
.wcard .note{color:#6b4f33!important;font-size:13px!important;font-weight:800}
/* iPhone home screen app: fill the whole screen, and never show white behind the game */
html,body{background-color:#163548}
html.iosapp,html.iosapp body{height:var(--apph,100%)}
html.iosapp #app{top:0;bottom:auto;height:var(--apph,100%)}
/* wallet card: dark, readable note on the light card, and the red dot on Cash in/out */
.pin .box p.note,.pin .item p.note,.pin .card p.note{color:#1f3a46;font-weight:800}
.pin .box p.note.wnote{font-size:14.5px}
.btn .dot.bdot{top:-6px;right:-5px}
/* four wallet tabs fit on a phone */
.sheet .tabs{gap:4px}
.sheet .tabs .tab{padding:7px 5px;font-size:14px}
@media (max-width:400px){.sheet .tabs .tab{font-size:13px;padding:6px 3px}}
/* HUD level: a clear gold badge next to the avatar, not squeezed on top of it */
.hp .star{width:auto;min-width:30px;height:24px;margin-left:0;padding:0 6px;clip-path:none;border-radius:7px;background:linear-gradient(#ffe46a,#f2a812);border:2px solid var(--outline);box-shadow:inset 0 2px 0 rgba(255,255,255,.45),0 2px 0 rgba(0,0,0,.35)}
.hp .star b{font-size:15px!important;line-height:1;margin-top:1px;color:#fff;text-shadow:0 2px 0 var(--outline),1.5px 0 0 var(--outline),-1.5px 0 0 var(--outline),0 -1.5px 0 var(--outline)!important}
/* pills are as wide as their numbers; the profile card gets the rest */
/* profile card: room for the level and XP bar, but no longer than that; pills share the rest */
#hud{grid-template-columns:minmax(92px,128px) repeat(3,minmax(max-content,1fr))}
#hud .pill{min-width:0}
@media (max-width:400px){#hud .pill{padding:0 5px 0 1px;gap:1px;font-size:14.5px}#hud .pill img{width:21px;height:21px}#hud .pill .plus{width:15px;height:15px;margin-left:2px}}
.lvbox{display:flex;flex-direction:column;align-items:center;gap:2px;flex:1;min-width:0}
.hp .star{height:20px;min-width:38px}
.hp .star b{font-size:14px!important}
.hp .xpbar{flex:none;align-self:stretch;width:auto;min-width:0;margin-left:0;height:7px;border-radius:3px}
/* install guide */
.mbox .iapp{width:64px;height:64px;border-radius:16px;box-shadow:0 3px 0 rgba(0,0,0,.25)}
.isteps{width:100%;display:flex;flex-direction:column;gap:7px;text-align:left}
.istep{display:flex;align-items:center;gap:8px;background:#fff;border:2px solid var(--line);border-radius:12px;padding:7px 9px}
.inum{flex:none;width:22px;height:22px;border-radius:50%;background:var(--orange);color:#fff;font:900 13px/22px var(--head);text-align:center}
.iico{flex:none;width:30px;height:30px;border-radius:8px;background:#eef6fb;display:grid;place-items:center}
.itxt{font-size:13.5px;line-height:1.3;color:var(--ink)}
.iarrow{position:absolute;display:flex;flex-direction:column;color:#fff;pointer-events:none;z-index:2}
.iarrow span{font:800 12px var(--body);background:rgba(16,34,44,.9);padding:3px 9px;border-radius:9px;white-space:nowrap}
.iarrow b{font:900 38px/1 var(--head);text-shadow:0 2px 0 var(--outline),0 0 8px rgba(0,0,0,.5)}
.iarrow.down{bottom:calc(env(safe-area-inset-bottom) + 2px);animation:ibdown 1s ease-in-out infinite}
.iarrow.up{top:calc(env(safe-area-inset-top) + 2px);animation:ibup 1s ease-in-out infinite}
.iarrow.c50{left:50%;transform:translateX(-50%);align-items:center}
.iarrow.c50.down{animation:ibdownc 1s ease-in-out infinite}
/* right side: the arrow sits under/over a browser button that is 81%, 86% or 95% across the screen */
.iarrow.r81,.iarrow.r86,.iarrow.r95{right:6px;align-items:flex-end}
.iarrow.r81 b{margin-right:calc(19vw - 18px)}
.iarrow.r86 b{margin-right:calc(14vw - 18px)}
.iarrow.r95 b{margin-right:calc(5vw - 12px)}
@keyframes ibdown{50%{transform:translateY(8px)}}
@keyframes ibup{50%{transform:translateY(-8px)}}
@keyframes ibdownc{50%{transform:translate(-50%,8px)}}
/* icons and numbers inside a line of text sit on the same line as the words */
.price{vertical-align:middle;line-height:1.1;white-space:nowrap}
p .price,small .price,.itxt .price{gap:2px}
p .price img,small .price img{width:16px;height:16px}
.pnote{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.pnote span{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center}
.item .grow small.rkx,small.rkx{display:flex;flex-wrap:wrap;justify-content:space-between;column-gap:8px}
small.rkx span{white-space:nowrap}
/* gacha subtitle readable over the bright background */
.gachafull .wsub{background:rgba(10,24,36,.72);padding:4px 12px;border-radius:12px;max-width:92%}
.gachafull .wsub.small{background:none}
.gachafull .wsub:not(.small){font-size:13.5px}
