:root{color-scheme:light;--paper:#f5f7f3;--surface:#fff;--ink:#20362d;--muted:#647269;--line:#e1e7df;--green:#246b49;--green-deep:#194b34;--mint:#e7f0e5;--gold:#916218;--amber:#f5e2ad;--danger:#9c3b47;--radius:20px;--safe-top:max(env(safe-area-inset-top,0px),var(--tg-top,0px));--safe-bottom:max(env(safe-area-inset-bottom,0px),var(--tg-bottom,0px));font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#e8ede7}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer;border:0;background:none;padding:0}button:disabled{cursor:default;opacity:.48}a{color:var(--green);text-decoration:none}img,svg{display:block}img{max-width:100%}button img{pointer-events:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #80a57c;outline-offset:3px}button:not(:disabled):active{filter:brightness(.94)}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.1;letter-spacing:-1px;font-weight:750}h2{font-size:20px;line-height:1.2;letter-spacing:-.45px}h3{font-size:16px;line-height:1.3;font-weight:700}p{color:var(--muted);font-size:14px;line-height:1.55}small{font-size:12px;line-height:1.4}.muted,.fine-print{color:var(--muted)}.fine-print{font-size:12px;margin:12px 0 18px}.eyebrow{display:block;color:var(--green);font-size:11px;font-weight:750;letter-spacing:1.1px;text-transform:uppercase;margin-bottom:6px}.brand-name{font-size:10px;font-weight:750;letter-spacing:1.4px;color:var(--muted)}.ui-icon{flex:none;display:inline-block;vertical-align:middle}.sprite-portrait{object-fit:contain;flex:none;user-select:none}.user-avatar{display:inline-grid;place-items:center;position:relative;width:var(--avatar-size,48px);height:var(--avatar-size,48px);border-radius:50%;background:#e7efdf;color:#356c4f;font-weight:700;font-size:calc(var(--avatar-size,48px)*.37);flex:none;overflow:hidden;border:2px solid #fff}.user-avatar>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.user-avatar>img.broken{display:none}
.miniapp{position:relative;width:100%;max-width:520px;height:100dvh;height:var(--app-height,100dvh);min-height:400px;margin:0 auto;display:flex;flex-direction:column;overflow:hidden;background:var(--paper);isolation:isolate}.app-header{display:flex;align-items:center;gap:10px;padding:calc(9px + var(--safe-top)) 16px 9px;flex:none;min-height:66px;background:var(--paper);z-index:5}.avatar-button{width:42px;height:42px;border-radius:50%;flex:none}.identity{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.identity strong{font-size:15px;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.balance-pill{background:white;box-shadow:0 1px 0 #dde5da;display:flex;align-items:center;gap:7px;padding:8px 9px;border-radius:30px;min-height:40px;font-weight:700;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}.coin-mark{display:inline-grid;place-items:center;background:#f3dfa0;color:#725019;box-shadow:inset 0 0 0 1px #c497434d;border-radius:50%;width:23px;height:23px;font-size:12px;font-weight:800;flex:none}.plus-mark{width:22px;height:22px;border-radius:50%;background:var(--mint);color:var(--green);font-size:19px;line-height:21px}.icon-button{width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px}.connection-banner{background:#fff1cb;color:#704b12;padding:9px 16px;font-size:12px;display:flex;align-items:center;gap:8px;justify-content:space-between;flex:none;z-index:5}.connection-banner button{font-size:12px;text-decoration:underline;min-height:32px}
.bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);flex:none;padding:7px 6px calc(7px + var(--safe-bottom));background:var(--paper);border-top:1px solid var(--line);z-index:6}.bottom-nav button{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:46px;color:#687369;font-size:11px;font-weight:600}.bottom-nav button>span:first-child{display:grid;place-items:center;width:50px;height:28px;border-radius:20px}.bottom-nav button.active{color:var(--green-deep)}.bottom-nav button.active>span:first-child{background:#dfead9}.bottom-nav i,.garden-shortcuts i{position:absolute;width:6px;height:6px;right:23%;top:3px;border-radius:50%;background:#b67524;box-shadow:0 0 0 2px var(--paper)}
.game-view{display:flex;flex:1;flex-direction:column;min-height:0;padding:0 8px;gap:0}.battle-shell{position:relative;flex:1;min-height:0;overflow:hidden;border-radius:22px;background:#264836;isolation:isolate;contain:layout paint}.battle-shell canvas#battle{display:block;width:100%;height:100%;touch-action:none}.field-heading{position:absolute;left:16px;top:14px;right:16px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;color:#fff}.field-heading>div{display:flex;flex-direction:column;gap:2px;text-shadow:0 1px 8px #0c231b}.location-name{font-size:10px;letter-spacing:1.4px;font-weight:750;color:#d8e9cc;text-transform:uppercase}.field-heading strong{font-size:20px;letter-spacing:-.6px}.live-level{background:#eef3e8;color:#264e35;border:1px solid #fff8;border-radius:18px;min-height:34px;padding:6px 10px;font-size:12px;font-weight:700;pointer-events:auto}.field-tools{position:absolute;top:64px;right:10px;left:10px;display:flex;gap:5px;justify-content:flex-end;pointer-events:none}.field-tools .icon-button{pointer-events:auto;background:#183a2bdb;color:#f5f6e6;width:34px;min-height:34px;border-radius:11px;border:1px solid #cbdab629}.field-tools .icon-button:first-child{margin-right:auto}.field-tools svg{width:18px;height:18px}.field-tools [aria-pressed=true]{background:#f2e4bf;color:#315239}.seed-dock{position:absolute;inset:0;pointer-events:none}.seed-wrap{position:absolute;width:52px;pointer-events:auto;display:flex;align-items:center;flex-direction:column}.seed-wrap:nth-child(odd){left:5px}.seed-wrap:nth-child(even){right:5px}.seed-wrap:nth-child(1),.seed-wrap:nth-child(2){top:24%}.seed-wrap:nth-child(3),.seed-wrap:nth-child(4){top:42%}.seed-wrap:nth-child(5){top:60%}.seed{width:52px;min-height:67px;border-radius:15px;background:linear-gradient(145deg,#f9f6e6f5,#e6eddae8);box-shadow:0 3px 9px #122b2730,inset 0 1px #fff9;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;border:1px solid #d2dfcaa6}.seed .sprite-portrait{width:50px;height:47px;margin:-4px 0 -1px}.seed .seed-price{color:#264d36;font-weight:750;font-size:10px;line-height:1.2;padding-bottom:3px;white-space:nowrap}.seed .seed-count{position:absolute;right:-3px;top:-6px;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:#f0d892;color:#694e18;border:2px solid #faf9ed;font-size:10px;font-weight:800;line-height:15px}.seed.selected{border:2px solid #f4ce69;box-shadow:0 0 0 2px #faefc145}.seed-info{font-size:10px;font-weight:700;color:#f1f6e4;min-height:23px;padding:2px 10px;text-shadow:0 1px 4px #123727}.vault-target{position:absolute;width:144px;height:137px;left:calc(50% - 72px);bottom:32px;background:transparent;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;color:#fff4c9;border-radius:40px;gap:2px;padding-bottom:1px}.vault-target strong{font-variant-numeric:tabular-nums;font-size:11px;font-weight:650;background:#173a2dd9;border-radius:10px;padding:2px 8px;white-space:nowrap}.vault-target.danger{color:#f7d7ff}.vault-target:focus-visible{outline-offset:-10px}.field-footer{position:absolute;left:8px;right:8px;bottom:8px;display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.field-footer button{pointer-events:auto;max-width:calc(50% - 43px);border-radius:14px;min-height:43px;font-size:12px;font-weight:650;padding:7px 10px}.field-collect{display:flex;flex-direction:column;align-items:flex-start;background:#eff4d8;color:#27432b}.field-collect small{font-size:9px;color:#506349;white-space:nowrap}.field-restore{background:#234535ed;color:#e8f1d7;border:1px solid #93ad7061}.field-footer button:disabled{opacity:.65}.placement-hint{position:absolute;left:65px;right:65px;bottom:166px;border-radius:14px;padding:10px 12px;background:#f4eccfff;color:#345433;font-size:12px;font-weight:600;text-align:center;box-shadow:0 4px 12px #1528194d;pointer-events:none}.garden-empty{position:absolute;left:70px;right:70px;top:27%;background:#f5f7e9ed;border:1px solid #fff8;border-radius:19px;padding:17px 13px;text-align:center}.garden-empty h2{font-size:19px;color:#25472f}.garden-empty p{font-size:12px;margin:8px 0 13px;color:#586a56}.garden-empty button{font-size:12px;min-height:38px;padding:8px 12px}.field-loading{position:absolute;inset:0;display:grid;place-items:center;background:#294b3a;color:#f0f4e9;font-size:13px;z-index:4}.field-loading span:before{content:'';display:block;margin:0 auto 12px;width:22px;height:22px;border-radius:50%;border:2px solid #c7d9b340;border-top-color:#e6dc99;animation:turn 1s linear infinite}.battle-status,.combo{position:absolute;top:110px;left:65px;right:65px;text-align:center;border-radius:13px;padding:9px;background:#f3ebcf;color:#26472f;font-size:12px;font-weight:650;opacity:0;pointer-events:none;transition:opacity .2s}.battle-status.show,.combo.show{opacity:1}.combo{top:148px;background:none;color:#ffdf88;text-shadow:0 1px 5px #18331b}.combo b{font-size:27px;margin-right:5px}.combo span{font-size:10px}.garden-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:6px 0;flex:none}.garden-shortcuts button{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-height:30px;font-size:11px;font-weight:650;color:#587052}.garden-shortcuts svg{width:15px;height:15px}.garden-shortcuts i{right:14%;top:1px}
.immersive .miniapp{max-width:none;height:100dvh;height:var(--app-height,100dvh)}.immersive .game-view{padding:0}.immersive .battle-shell{border-radius:0}.immersive .field-heading{top:calc(14px + var(--safe-top))}.immersive .field-tools{top:calc(64px + var(--safe-top))}.immersive .field-footer{bottom:calc(10px + var(--safe-bottom))}.immersive .vault-target{bottom:calc(34px + var(--safe-bottom))}.immersive .seed-wrap:nth-child(1),.immersive .seed-wrap:nth-child(2){top:27%}.miniapp:fullscreen{max-width:none;width:100%;height:100%}
.page-view{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 18px 24px;scrollbar-width:thin;scrollbar-color:#c4d2bc transparent}.page-view>*{max-width:100%}.page-hero{position:relative;display:flex;align-items:center;min-height:166px;margin-bottom:16px;overflow:hidden;border-radius:22px;padding:22px 20px;background:linear-gradient(120deg,#e8f0dd,#f3f4e9);border:1px solid #e2e8d8}.hero-copy{width:65%;z-index:1}.hero-copy p{margin-top:9px;font-size:13px;color:#5f715b;max-width:230px}.hero-copy h1{font-size:29px}.hero-figure{position:absolute;right:-5px;bottom:0;width:43%;height:153px}.hero-figure img{width:100%;height:100%;object-fit:contain}.combo-hero{background:linear-gradient(125deg,#ebe7f2,#f5f1f3)}.combo-hero .hero-copy p{color:#70647a}.page-title{margin:12px 0 22px}.page-title p{margin-top:9px}.back-link{font-size:12px;font-weight:650;display:flex;align-items:center;gap:4px;min-height:35px;margin-bottom:5px;color:var(--muted)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 13px}.section-heading h2{font-size:18px}.tabs{display:flex;background:#e8ece4;border-radius:14px;padding:4px;gap:3px;margin:16px 0}.tabs button{flex:1;min-height:36px;border-radius:11px;font-size:12px;font-weight:650;color:#657260;white-space:nowrap;padding:7px}.tabs button.active{background:#fff;color:var(--green-deep);box-shadow:0 1px 4px #2136210d}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border-radius:13px;padding:11px 15px;font-size:13px;font-weight:650;line-height:1.2;text-align:center}.primary{background:var(--green);color:#fff;box-shadow:inset 0 1px #ffffff16}.secondary{background:#edf2e8;color:#36583b;border:1px solid #dce5d4}.primary:disabled,.secondary:disabled{box-shadow:none;opacity:1;background:#e9eee5;color:#8b9585;border-color:transparent}.full-width{width:100%;margin-top:12px}.button-row{display:flex;gap:9px;margin:15px 0}.button-row>button{flex:1}.text-button,.product-details{color:var(--green);font-weight:650;font-size:12px;min-height:40px;text-align:left}.product-details{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;font-weight:500;color:var(--muted)}.bar{height:6px;border-radius:8px;background:#e3eadc;overflow:hidden}.bar i{display:block;height:100%;border-radius:inherit;background:#639259;transition:width .45s ease}.sigil{width:42px;height:42px;border-radius:13px;display:inline-grid;place-items:center;background:#eaf1e3;color:#507143;flex:none}.sigil svg{width:21px;height:21px}.shop-balance{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.shop-balance b{margin-left:auto;color:var(--ink);font-size:15px}.shop-balance button{display:grid;place-items:center;width:32px;height:32px;background:var(--mint);border-radius:50%;color:var(--green);font-size:23px}
.premium-catalog{display:grid;grid-template-columns:1fr 1fr;gap:12px}.plant-product{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.product-art{height:145px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 65%,color-mix(in srgb,var(--species) 19%,#fff),#f8faf5 72%);overflow:hidden}.product-art .sprite-portrait{width:135px;height:133px}.species-number{position:absolute;top:9px;left:11px;font-size:10px;color:#869380;font-weight:650;letter-spacing:1px}.species-role{position:absolute;bottom:5px;left:8px;right:8px;text-align:center;font-size:10px;font-weight:600;color:#526748}.product-copy{padding:13px 12px 4px}.product-copy h3{font-size:15px;min-height:38px}.product-copy p{font-size:11px;margin-top:3px}.product-price{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.product-price>b{font-size:19px;font-weight:750;letter-spacing:-.5px}.product-price>span{font-size:10px;text-align:right;color:#6c7967}.product-price small{display:block;font-size:10px}.product-copy>.primary{width:100%;font-size:11px;padding:10px 6px;white-space:nowrap;min-height:39px;border-radius:11px}.pack-card{display:grid;grid-template-columns:40% 60%;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;margin-bottom:13px}.pack-art{position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#edf1e3,#f4f0e0);padding:10px}.pack-art img{width:100%;aspect-ratio:1;object-fit:contain}.pack-moon .pack-art{background:#eaf2f5}.pack-royal .pack-art{background:#e6eddf}.pack-discount{position:absolute;top:12px;left:12px;font-size:12px;font-weight:750;padding:5px 8px;border-radius:20px;background:#fff;color:var(--green)}.pack-copy{padding:20px 14px 15px}.pack-copy .eyebrow{display:none}.pack-copy p{font-size:12px;margin:6px 0 10px}.pack-contents{display:flex;flex-wrap:wrap;gap:4px}.pack-contents>span{font-size:10px;padding:3px 5px;border-radius:5px;background:#f0f3ec;color:#5f7356}.pack-price{display:flex;align-items:center;gap:8px;margin:14px 0 10px}.pack-price del{font-size:13px;color:var(--muted)}.pack-price strong{font-size:25px;letter-spacing:-.6px}.pack-copy>.primary{width:100%;min-height:37px;font-size:12px}.boost-card{display:grid;grid-template-columns:106px minmax(0,1fr);align-items:center;gap:14px;padding:18px 15px;margin-bottom:12px;background:#fff;border:1px solid var(--line);border-radius:21px}.boost-card>.item-art{width:106px;height:136px;object-fit:contain;padding:5px;background:radial-gradient(ellipse,#eff3e5,transparent 70%)}.boost-card h3{font-size:16px}.boost-card p{font-size:12px;margin:6px 0}.boost-card small{color:var(--muted)}.boost-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:12px}.boost-actions button{min-height:36px;font-size:11px;padding:9px 10px}.reward-art{width:23px;height:27px;object-fit:contain;vertical-align:middle;display:inline-block}.reward-inline{display:flex;flex-wrap:wrap;gap:5px;align-items:center;font-size:11px}.reward-inline>span{display:inline-flex;align-items:center;gap:4px;min-height:23px;font-size:11px;font-weight:600}.boost-chip{color:#537045}.gold-text{color:#8c631f}.quest-card{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid var(--line);border-radius:19px;padding:16px;margin-bottom:10px;contain:layout style}.quest-art .sigil{width:38px;height:38px;border-radius:12px}.quest-body{flex:1;min-width:0}.quest-body p{font-size:12px;margin:5px 0 9px}.quest-body h3{font-size:15px}.quest-bottom{display:flex;align-items:center;gap:14px;margin-top:12px}.quest-bottom>div{flex:1}.quest-bottom small{color:var(--muted);font-size:10px;display:block;margin-top:4px;font-variant-numeric:tabular-nums}.quest-bottom button{font-size:11px;min-height:33px;padding:8px 10px}.quest-link{font-size:11px;font-weight:650;min-height:29px;margin-top:5px;color:var(--green)}.quest-card.completed{border-color:#b9d0ad;background:#fcfef9}.quest-card.completed .sigil{background:#e1edcf}.quest-card.claimed{background:#f3f5f0}
.treasury-card{position:relative;padding:24px 22px 18px;border-radius:23px;background:linear-gradient(120deg,#e6efdc,#f3f1da);border:1px solid #dfe5d1}.treasury-card:after{content:'';position:absolute;right:9px;top:8px;width:83px;height:83px;background:url('assets/art/app-icon.webp') center/contain no-repeat;opacity:.19;pointer-events:none}.treasury-card h1{margin-bottom:25px}.treasury-card>small{font-size:12px;color:#57724f}.treasury-balance{display:flex;align-items:center;gap:12px;margin-top:4px}.treasury-balance .coin-mark{width:32px;height:32px;font-size:16px}.treasury-balance strong{font-size:34px;letter-spacing:-1.3px;line-height:1.2;overflow-wrap:anywhere}.treasury-equivalent{font-size:12px;margin-top:6px;color:#607454}.treasury-bottom{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ccd8be;margin-top:24px;padding-top:13px;gap:10px}.treasury-bottom>span{font-size:10px;color:#617156}.treasury-bottom b{display:block;font-size:13px;color:#344a2b;margin-top:5px}.finance-actions{display:flex;gap:10px;margin:14px 0}.finance-actions button{flex:1;min-height:49px}.finance-actions svg{width:18px}.withdraw-button{background:#e8eff2;color:#3e6474;border-color:#d8e4e9}.wallet-connection{display:flex;align-items:center;gap:11px;margin:16px 0 18px}.wallet-connection b{font-size:13px}.wallet-connection small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.transaction-list,.referral-list,.rank-table{background:#fff;border-radius:18px;border:1px solid var(--line);overflow:hidden}.ledger-row,.invoice-row{display:flex;align-items:center;gap:10px;padding:14px;border-bottom:1px solid #edf0e8;font-size:12px}.ledger-row:last-child,.invoice-row:last-child{border-bottom:0}.ledger-row .sigil{width:33px;height:33px;border-radius:50%}.ledger-row .sigil svg{width:16px}.ledger-row>div,.invoice-row>div{flex:1;min-width:0}.ledger-row b,.invoice-row b{font-size:12px}.ledger-row small,.invoice-row small{display:block;font-size:10px;margin-top:3px;color:var(--muted)}.ledger-row>strong{font-size:12px;text-align:right;white-space:nowrap}.ledger-row strong.positive{color:var(--green)}.invoice-row .secondary{min-height:33px;padding:8px 9px;font-size:11px}.list-empty{padding:25px;text-align:center;font-size:13px}.notice{display:flex;align-items:center;gap:10px;border:1px solid #e5dbb7;border-radius:13px;padding:12px 14px;background:#f8f2dd;color:#776234;font-size:12px;margin:12px 0}.promo-card{border-radius:18px;padding:18px;background:#fcf2d9;border:1px solid #e9ddb7;margin:15px 0}.promo-card h3{margin:10px 0 7px}.promo-card button{margin-top:14px}.streak-card{border-radius:20px;padding:18px;background:#fff;border:1px solid var(--line);margin:18px 0}.streak-head{display:flex;gap:10px;align-items:center}.streak-head>div{flex:1;min-width:0}.streak-head .eyebrow{font-size:9px}.streak-head h2{font-size:18px}.streak-head>b{font-size:11px;color:var(--gold);background:#f7efd8;padding:5px 7px;border-radius:9px}.streak-card>p{margin:10px 0;font-size:12px}.streak-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:18px 0 12px}.streak-days>div{min-height:63px;background:#f4f6ef;border:1px solid #e3e9db;border-radius:11px;text-align:center;position:relative;padding:6px 3px}.streak-days>div>small{font-size:10px;color:#6d7a64}.streak-days>div>span{display:grid;place-items:center;height:28px;color:#a4b093}.streak-days .reached{background:#e8f0dd;border-color:#bed0ab}.streak-days .gift{background:#faf3df}.streak-days>div>svg{position:absolute;right:-3px;bottom:-4px;background:#487841;color:#fff;border-radius:50%;padding:2px;width:14px;height:14px}.day-art{width:27px;height:32px;object-fit:contain}.streak-rewards>div{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.streak-rewards>div>span{font-size:12px}.streak-rewards .reward-inline{margin-top:3px}.streak-rewards button{min-height:32px;font-size:10px;padding:8px}.streak-card>.muted{display:block;font-size:11px;margin-top:12px}
.combo-guide{font-size:13px;margin:8px 0 15px}.combo-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:15px 0 20px}.combo-slot{position:relative;height:97px;border:1px dashed #c0cdb7;border-radius:14px;background:#edf1e7;display:grid;place-items:center}.combo-slot small{position:absolute;top:6px;left:7px;font-size:10px;color:var(--muted)}.combo-slot>span{font-size:25px;color:#a9b49e}.combo-slot img{width:80px;height:80px}.combo-slot.filled{background:#fff;border-style:solid}.combo-slot.correct{border:2px solid #6c9952;background:#eef4e2}.combo-slot.incorrect{background:#f1e7e7;border-color:#c89599;opacity:.7}.combo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.combo-card{display:flex;align-items:center;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;min-height:117px;padding:8px 3px}.combo-card img{width:75px;height:74px}.combo-card span{font-size:10px;line-height:1.2;padding:0 3px;min-height:25px}.combo-card.selected{opacity:.4;background:#e6eddf}.combo-result{text-align:center;padding:20px}.combo-result p{margin-top:8px}.combo-prize{display:flex;gap:12px;align-items:center;background:#f2eedc;padding:15px;border-radius:16px;margin:18px 0}.combo-prize p{font-size:12px;color:#736741}
.premium-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.premium-metrics.three{grid-template-columns:repeat(3,1fr)}.metric-tile{background:#fff;border-radius:17px;border:1px solid var(--line);padding:15px;min-width:0}.metric-tile>.ui-icon{width:19px;height:19px;color:#739064;display:block;margin-bottom:11px}.metric-tile strong{display:block;font-size:21px;letter-spacing:-.5px;overflow-wrap:anywhere}.metric-tile>span{font-size:11px;color:var(--muted);display:block;margin-top:3px}.three .metric-tile{padding:12px 10px}.three .metric-tile strong{font-size:16px}.three .metric-tile>span{font-size:10px}.menu-tile{display:flex;gap:11px;align-items:center;text-align:left;width:100%;padding:14px;background:#fff;border:1px solid var(--line);border-radius:16px;margin-bottom:9px}.menu-tile>span:not(.sigil){flex:1;min-width:0}.menu-tile b{font-size:14px;color:var(--ink)}.menu-tile small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.menu-tile>i{font-style:normal;color:#9aa690;font-size:18px}.alliance-hero{position:relative;border-radius:22px;background:linear-gradient(135deg,#e4ecdb,#f5f2dc);padding:24px 20px 0;text-align:center;overflow:hidden}.alliance-hero p{font-size:13px;margin:10px auto 0;max-width:265px}.alliance-plants{height:133px;display:flex;align-items:flex-end;justify-content:center;margin-top:7px}.alliance-plants img{object-fit:contain;width:32%;height:119px}.alliance-plants img:nth-child(2){height:139px}.partner-rate{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);padding:18px;border-radius:19px;margin:16px 0 9px}.partner-rate b{font-size:42px;letter-spacing:-1.5px;color:var(--green)}.partner-rate b>span{font-size:22px}.partner-rate p{font-size:12px}.partner-rate .sigil{width:58px;height:58px;border-radius:19px}.invite-card{border:1px solid var(--line);padding:18px;background:#fff;border-radius:20px;margin-top:15px}.invite-code{display:flex;align-items:center;gap:7px;margin:10px 0 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:0 8px}.invite-code input{min-width:0;flex:1;font-size:12px;background:transparent;border:0;padding:12px 0;color:var(--muted)}.invite-code button{width:36px;height:40px;color:var(--green)}.invite-card>.primary{width:100%}.invite-steps{margin:24px 0}.invite-steps>div{display:flex;gap:12px;padding:11px 0}.invite-steps>div>b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e4eddc;color:#52723d;font-size:12px;flex:none}.invite-steps strong{font-size:13px;display:block}.invite-steps small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.referral-total{display:flex;gap:12px;align-items:center;margin:17px 0}.referral-total small{color:var(--muted);font-size:12px;display:block}.referral-total b{font-size:25px}.referral-person{display:flex;gap:10px;align-items:center;padding:14px;border-bottom:1px solid var(--line)}.friend-info{flex:1;min-width:0}.friend-info b{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friend-info small{font-size:10px;color:var(--muted)}.friend-state{display:block;font-size:10px;color:#558344;margin-top:3px}.friend-state.inactive{color:#918268}.friend-earning b{font-size:12px}.friend-earning button{font-size:10px;color:var(--green);display:block;min-height:30px}.loading-copy{padding:32px;text-align:center;color:var(--muted);font-size:13px}.empty-state{text-align:center;padding:28px 15px}.empty-state img,.empty-state>.sigil{margin:0 auto 10px}.empty-state p{margin-bottom:15px;font-size:13px}
.rank-header{text-align:center;padding:14px 0 10px}.rank-header .sigil{width:57px;height:57px;border-radius:19px;background:#f3e8c8;color:#8d6b26;margin-bottom:12px}.rank-header p{font-size:12px;margin-top:9px}.premium-podium{display:flex;align-items:flex-end;justify-content:center;gap:10px;margin:27px 0 22px}.podium-person{width:30%;min-width:0;text-align:center}.podium-portrait{position:relative;display:inline-flex;align-items:center;justify-content:center;margin-bottom:9px}.podium-portrait>b{position:absolute;bottom:-6px;left:calc(50% - 11px);border-radius:50%;background:#ececd9;color:#6c6e4b;font-size:11px;width:22px;height:22px;display:grid;place-items:center;border:2px solid var(--paper)}.rank-1 .podium-portrait>b{background:#e8cc7e;color:#795b17}.rank-1 .user-avatar{box-shadow:0 0 0 3px #dec780}.podium-person h3{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-bottom:8px}.podium-plinth{padding:15px 8px 11px;background:linear-gradient(#e8eee1,#f5f7f3);border-radius:14px 14px 0 0;border:1px solid #e1e7d8;border-bottom:0;min-height:64px}.rank-1 .podium-plinth{background:linear-gradient(#f1e7c6,#f5f7f3);border-color:#e4dab9;min-height:92px;padding-top:25px}.rank-3 .podium-plinth{min-height:54px}.podium-plinth strong{display:block;font-size:18px}.podium-plinth small{display:block;font-size:10px;color:var(--muted)}.rank-prizes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.rank-prizes>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 9px}.rank-prizes>div>b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f2e7c4;color:var(--gold);font-size:12px;margin-bottom:6px}.rank-prizes .reward-inline{font-size:10px;gap:2px}.rank-prizes .reward-inline>span{font-size:10px}.rank-prizes .boost-chip{line-height:1.25}.rank-prizes .reward-art{width:19px;height:24px}.rank-table{overflow:visible}.ranking-row{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #edf0e9;min-height:58px}.ranking-row:last-child{border-bottom:0}.ranking-row>span:first-child{font-size:12px;color:var(--muted);width:24px;flex:none;text-align:center}.rank-avatar{flex:none;display:inline-flex}.ranking-row>strong{flex:1;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ranking-row>strong small{display:block;font-size:10px;font-weight:400;color:var(--green);margin-top:2px}.ranking-row>b{font-size:12px;white-space:nowrap}.ranking-row.me{position:sticky;bottom:-24px;background:#e4eedc;border:1px solid #bfceaF;border-radius:13px;box-shadow:0 -3px 14px #2449220a;z-index:1}.profile-banner{border-radius:23px;background:linear-gradient(#e7eddc,#f2f4ea);border:1px solid var(--line);padding:24px;text-align:center}.profile-medallion{display:flex;justify-content:center;margin-bottom:13px}.profile-medallion .user-avatar{border:4px solid #fff;box-shadow:0 0 0 5px #d7e3cb}.profile-banner h1{font-size:26px;overflow-wrap:anywhere}.profile-banner>p{font-size:12px;margin:8px 0 18px}.profile-banner>.bar{text-align:left}.profile-banner .secondary{background:#fff;border-color:#dce4d4;min-height:39px;font-size:12px}.logout-button{display:block;margin:18px auto 0;color:#876b62;font-weight:500}.level-hero{position:relative;text-align:center;padding:18px 25px 23px;background:linear-gradient(135deg,#eef0de,#f6f4e5);border:1px solid var(--line);border-radius:21px;margin-bottom:20px}.level-hero>.sigil{display:none}.level-orb{font-size:55px;font-weight:750;color:var(--green);letter-spacing:-2px;margin:17px 0 9px}.level-hero>p{font-size:12px;margin:8px 0}.level-hero>b{font-size:12px;color:var(--green)}.level-stop{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--line);border-radius:15px;margin-bottom:8px;padding:14px 12px}.level-stop>div:nth-child(2){flex:1;min-width:0}.level-number{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:14px;background:#e9efe3;color:#58734b;font-weight:750}.level-stop h3{font-size:13px;margin-bottom:4px}.level-stop small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.level-stop button{min-height:34px;padding:8px;font-size:10px}.level-stop.available{border-color:#b6cda7}.level-stop.claimed{background:#f1f4ec}.nursery-card{display:grid;grid-template-columns:106px minmax(0,1fr);align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;margin-bottom:12px}.nursery-art{position:relative}.nursery-art img{height:106px;width:106px}.nursery-art>span{position:absolute;bottom:0;right:10px;border-radius:20px;background:#e4ebd9;color:#49643b;font-size:11px;padding:3px 7px;font-weight:700}.nursery-card h3{font-size:15px}.nursery-card p{font-size:12px;margin:6px 0 10px}.nursery-card .primary{min-height:36px;font-size:12px}.nursery-actions{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:11px}.nursery-actions button{min-height:34px;font-size:11px;padding:8px 10px}
.auth-screen{position:absolute;inset:0;z-index:12;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;padding:35px;background:var(--paper);gap:14px}.app-emblem{width:88px;height:88px;object-fit:contain;border-radius:24px;margin-bottom:4px}.auth-screen h1{font-size:29px}.auth-screen p{font-size:14px;max-width:290px}.auth-screen small{color:var(--muted);font-size:12px;max-width:280px}.auth-screen button{width:100%;max-width:270px}.toast{position:absolute;left:20px;right:20px;bottom:calc(79px + var(--safe-bottom));border-radius:14px;background:#234b36;color:#fff;padding:13px 16px;font-size:13px;text-align:center;z-index:15;box-shadow:0 7px 20px #19392b20;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s}.toast.visible{visibility:visible;opacity:1}.immersive .toast{bottom:calc(79px + var(--safe-bottom))}
dialog{border:1px solid #e3e8df;padding:0;background:#fafbf7;color:var(--ink);width:calc(100% - 24px);max-width:480px;max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 30px);border-radius:24px;margin:auto;box-shadow:0 25px 70px #152b2b4d;overflow:visible}dialog::backdrop{background:#112b2799}dialog[open]{animation:dialog-in .17s ease-out}#dialog-body{padding:28px 22px 20px;overflow-y:auto;max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 30px);overscroll-behavior:contain;scrollbar-width:thin;border-radius:24px}#dialog-body h2{font-size:25px;letter-spacing:-.65px;padding-right:18px;margin:3px 0 13px}#dialog-body>p{font-size:13px;margin:10px 0}#dialog-body h3{font-size:16px}.dialog-close{position:absolute;right:9px;top:9px;background:#f0f3e9;color:#5d6c52;z-index:2;font-size:26px;width:34px;min-height:34px;border-radius:50%}.modal-plant{text-align:center;background:radial-gradient(ellipse at 50% 60%,#e5ecd4,transparent 65%);height:160px;margin-bottom:14px}.modal-plant img{width:160px;height:160px;margin:auto}.modal-pack{width:210px;height:190px;object-fit:contain;margin:0 auto 8px}.modal-symbol{margin-bottom:16px}.modal-symbol .sigil{width:65px;height:65px;border-radius:20px}.modal-symbol svg{width:30px;height:30px}.modal-item{width:164px;height:180px;object-fit:contain;margin:0 auto 15px}.economy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:#eef2e6;padding:15px;border-radius:16px;margin:16px 0}.economy-grid>span{font-size:11px;color:var(--muted)}.economy-grid b{font-size:17px;color:var(--ink);display:block;margin-top:4px}.rules-disclosure{font-size:12px;border-top:1px solid var(--line);margin:16px 0 9px;padding-top:13px}.rules-disclosure>summary{font-weight:650;color:#537046;cursor:pointer;min-height:28px}.rules-disclosure p{font-size:12px;margin:8px 0;line-height:1.55}.rules-disclosure .economy-grid{margin:12px 0}.purchase-terms{font-size:12px}.purchase-terms p{font-size:12px;margin-bottom:8px}.form-error{font-size:12px;color:var(--danger);margin:9px 0}.form-error:empty{display:none}.form-success{color:var(--green)!important}.settings-list{margin:18px 0}.setting-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:57px;border-bottom:1px solid var(--line);font-size:14px;text-align:left}.switch{width:39px;height:23px;position:relative;background:#dfe5d9;border-radius:20px;flex:none}.switch:after{content:'';position:absolute;width:17px;height:17px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .15s}.switch.on{background:#528047}.switch.on:after{transform:translateX(16px)}label{display:block;color:var(--muted);font-size:12px;font-weight:600;margin:12px 0}input:not([type=checkbox]){display:block;width:100%;min-height:47px;margin-top:6px;border:1px solid #d5dfcf;border-radius:12px;background:#fff;padding:11px 13px;color:var(--ink);font-size:16px;font-weight:500}input::placeholder{color:#a0ab97}.amount-input{position:relative}.amount-input input{padding-right:62px;font-size:25px;min-height:61px}.amount-input>span{position:absolute;right:15px;top:20px;font-size:13px;color:var(--muted)}.quick-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0}.quick-amounts button{font-size:11px;min-height:34px;padding:8px 4px}.withdraw-summary{background:#edf2e6;border-radius:15px;padding:15px;margin:15px 0}.withdraw-summary>span{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.withdraw-summary>strong{font-size:13px}.invoice-total{font-size:38px;font-weight:750;letter-spacing:-1px;margin:24px 0 15px;overflow-wrap:anywhere}.invoice-total small{font-size:17px;font-weight:500;letter-spacing:0}.pack-detail-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 0;margin:15px 0}.pack-detail-list>div{display:flex;align-items:center;gap:10px;min-height:58px;padding:4px 0}.pack-detail-list img{width:53px;height:53px}.pack-detail-list span:not(.sigil){flex:1;font-size:13px}.pack-detail-list small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.pack-detail-list b{font-size:13px}.vault-illustration{height:190px;display:grid;place-items:center;margin:10px 0 0;background:radial-gradient(ellipse,#e1e9d2,transparent 68%)}.vault-illustration canvas{width:100%;max-width:340px;height:190px;object-fit:contain}.vault-large-value{font-size:26px;font-weight:750;text-align:center;letter-spacing:-.7px;color:#5e6d37}.unit-records{margin-top:16px}.unit-records>div{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.unit-records b{font-size:12px}.unit-records small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.unit-records button{font-size:11px;padding:8px 11px;min-height:35px}
@keyframes turn{to{transform:rotate(360deg)}}@keyframes dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(min-width:700px){body{background:radial-gradient(ellipse at 45% 35%,#f2f5ed,#e3eae0)}.miniapp{box-shadow:0 0 60px #345d3020;border-left:1px solid #dde5d7;border-right:1px solid #dde5d7;max-width:480px}.battle-shell{border-radius:23px}.page-view{padding-left:24px;padding-right:24px}}
@media(max-width:360px){.page-view{padding:8px 12px 20px}.app-header{padding-left:10px;padding-right:10px;gap:7px}.brand-name{font-size:9px}.identity strong{font-size:13px}.balance-pill{font-size:12px;gap:4px}.premium-catalog{gap:9px}.product-copy{padding:11px 9px 3px}.product-copy h3{font-size:14px}.product-price>span{font-size:9px}.hero-copy h1{font-size:26px}.hero-copy p{font-size:12px}.quest-card{padding:13px;gap:8px}.quest-art .sigil{width:30px;height:30px}.quest-body h3{font-size:14px}.seed-wrap{width:46px}.seed{width:46px;min-height:61px}.seed img.sprite-portrait{width:44px;height:41px}.field-tools{top:60px}.field-footer button{font-size:11px;padding:7px}.garden-shortcuts button{font-size:10px;gap:3px}}
@media(max-height:650px){.app-header{min-height:55px;padding-top:calc(5px + var(--safe-top));padding-bottom:5px}.bottom-nav{padding-top:3px;padding-bottom:calc(3px + var(--safe-bottom))}.garden-shortcuts{padding:2px 0}.garden-shortcuts button{min-height:28px}.field-heading{top:9px}.field-heading strong{font-size:17px}.field-tools{top:51px}.seed-wrap:nth-child(1),.seed-wrap:nth-child(2){top:28%}.seed-wrap:nth-child(3),.seed-wrap:nth-child(4){top:49%}.seed-wrap:nth-child(5){top:70%}.seed{min-height:49px;width:44px;border-radius:12px}.seed .sprite-portrait{height:33px;width:42px}.seed-info{display:block;min-height:27px}.seed-price{font-size:9px!important}.vault-target{bottom:29px;height:115px}.field-footer button{min-height:35px;font-size:10px}.field-collect small{display:none}.garden-empty{top:27%;padding:13px}.garden-empty h2{font-size:16px}.garden-empty p{font-size:11px;margin:5px 0 8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}[data-reduced-motion=true] *,[data-reduced-motion=true] *:before,[data-reduced-motion=true] *:after{animation:none!important;transition:none!important}

/* Touch targets stay generous; secondary metadata remains compact. */
.tabs button{min-height:42px}.field-tools .icon-button{width:40px;min-height:40px}.quest-bottom button{min-height:40px;font-size:12px}.product-copy>.primary{min-height:43px;font-size:12px}.seed-info{min-height:29px}.setting-row{min-height:58px}.balance-pill #coins{max-width:128px;overflow:hidden;text-overflow:ellipsis}.plant-terms>p{font-size:12px;margin:9px 0}.field-loading p{color:#e5eddf;padding:20px;font-size:13px}.field-loading>div{text-align:center;padding:25px}.vault-target:active{filter:none}
/* Five leagues: shared layout, distinct materials and readable light surfaces. */
.league-1,.seal-1{--league:#396e48;--league-soft:#ebf2df;--league-metal:#bfcb87;--league-ink:#21402c}
.league-2,.seal-2{--league:#665390;--league-soft:#eeeaf6;--league-metal:#c4b6ea;--league-ink:#3c2d61}
.league-3,.seal-3{--league:#9b5b16;--league-soft:#fcf0d9;--league-metal:#edc46c;--league-ink:#654116}
.league-4,.seal-4{--league:#326d82;--league-soft:#e6f3f5;--league-metal:#a0d7df;--league-ink:#214b5c}
.league-5,.seal-5{--league:#705078;--league-soft:#f4edf0;--league-metal:#edc783;--league-ink:#493051}
.league-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:4px 0 16px;padding:6px;background:#fff;border:1px solid #e1e8da;border-radius:21px}
.league-picker button{min-height:76px;border-radius:15px;padding:7px 2px;display:flex;align-items:center;flex-direction:column;gap:5px;background:none;color:#66715d}
.league-picker button.active{background:#eef2e9;color:#283e2b;box-shadow:inset 0 0 0 1px #cad6bd}.league-picker small{font-size:10px;font-weight:700}.league-picker .league-seal{width:36px;height:36px;font-size:15px}
.league-seal{width:50px;height:54px;flex:none;display:inline-grid;place-items:center;border-radius:17px 17px 22px 22px;background:linear-gradient(145deg,#fff,var(--league-metal));color:var(--league-ink);border:2px solid var(--league-metal);box-shadow:inset 0 0 0 3px #fff8,0 4px 12px #192b2514;font-weight:850;font-size:23px;font-family:Georgia,serif}
.league-hero{height:244px;position:relative;overflow:hidden;border-radius:24px;background:var(--league-soft);isolation:isolate}.league-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 12%;z-index:-2}.league-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#071d27e8,#0b252358 70%,#0d281538);z-index:-1}.league-hero>div{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:19px;gap:7px;text-align:center}.league-hero .eyebrow{font-size:9px;color:#f6edc8;letter-spacing:2px}.league-hero h1{color:#fff;font-size:25px;line-height:1.1;margin:4px 0 0;letter-spacing:-.7px}.league-hero p{color:#e7eadf;font-size:12px;margin:0}.league-hero .league-seal{height:45px;width:42px;font-size:20px;margin-top:5px}
.league-prizes{margin:18px 0;border:1px solid #e0e7d9;background:#fff;padding:17px;border-radius:21px}.league-prizes h2{font-size:17px;margin:0 0 7px;color:#293f2e}.league-prizes>p{font-size:12px;line-height:1.6;color:#61715d;margin:5px 0 13px}.league-prizes>small{display:block;font-size:10px;line-height:1.5;color:#64725e;margin-top:12px}.league-prizes .rank-prizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 12px}.league-prizes .rank-prizes>div{display:flex;align-items:center;flex-direction:column;gap:8px;border-radius:14px;background:var(--league-soft);padding:10px 3px}.league-prizes .rank-prizes>div>b{font:700 16px Georgia,serif;color:var(--league-ink)}.league-prizes .reward-inline{display:flex;flex-direction:column;align-items:center;gap:7px}.league-prizes .boost-chip{display:flex;flex-direction:column;font-size:9px;text-align:center;line-height:1.2;color:#4d5d48}.league-prizes .reward-art{width:27px;height:27px}.league-claimed{display:flex;align-items:center;gap:5px;color:#397348!important}
.rank-column-labels{display:flex;align-items:center;justify-content:space-between;padding:12px 12px;font-size:10px;color:#67735f;text-transform:uppercase;letter-spacing:.7px}.rank-table{overflow:hidden;border-radius:19px;border:1px solid #e1e7db;background:#fff}.ranking-row{grid-template-columns:24px 38px minmax(0,1fr) auto;gap:8px;padding:12px 10px;min-height:65px}.ranking-row strong{font-size:12px}.ranking-row strong small{font-size:9px;color:#66745f;margin-top:5px;white-space:normal}.ranking-row>b{font-size:13px;color:#334931;font-variant-numeric:tabular-nums}.rank-table .ranking-row.me{position:static;background:var(--league-soft);border-radius:0}
.garden-progress-row{display:flex;gap:10px;justify-content:space-between;color:#5e7156;font-size:10px;line-height:1.5;margin:8px 0 16px}.journey-current{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #e0e8d9;border-radius:20px;padding:17px;margin:0 0 20px}.journey-current>div{flex:1}.journey-current h2{font-size:17px}.journey-current p{font-size:11px;color:#64755d;margin:7px 0 11px}.league-journey{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}.journey-card{height:192px;border-radius:23px;overflow:hidden;position:relative;isolation:isolate;border:2px solid transparent;background:var(--league-soft)}.journey-card.current{border-color:var(--league-metal);box-shadow:0 0 0 3px var(--league-soft)}.journey-card>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 18%;z-index:-2}.journey-card:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0d212de6,#1022259e 55%,#10222510);z-index:-1}.journey-card>div{height:100%;padding:21px;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;position:relative}.journey-card .league-seal{position:absolute;right:19px;top:20px;width:42px;height:47px;font-size:20px}.journey-card small{font-size:9px;text-transform:uppercase;letter-spacing:1.4px;color:var(--league-metal);margin-bottom:10px}.journey-card h2{font-size:21px;color:#fff;max-width:80%;line-height:1.2}.journey-card p{font-size:12px;color:#edf0e1;margin:7px 0}.journey-card b{font-size:11px;color:#ead9a8}.journey-card.locked>img{filter:saturate(.82)}
.boss-health{position:absolute;top:111px;left:65px;right:65px;pointer-events:none;padding:7px 10px;background:#292138ed;border:1px solid #edc5879c;border-radius:12px;box-shadow:0 4px 12px #17282a33;color:#faecc9;z-index:1}.boss-health>span{display:block;text-align:center;font-size:10px;font-weight:750;margin-bottom:5px}.boss-health>div{height:5px;border-radius:8px;overflow:hidden;background:#655071}.boss-health i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#c86a70,#ffbd7a);transform-origin:left;transition:transform .25s linear}.vault-target,.immersive .vault-target{bottom:auto;top:calc(var(--vault-y,80%) - var(--vault-height,137px));height:calc(var(--vault-height,137px) + 25px);width:var(--vault-width,144px);left:calc(50% - var(--vault-width,144px)/2);padding-bottom:0}.field-heading{z-index:1}.field-tools{z-index:2}.seed-dock{z-index:2}.boss-health:not([hidden])~.battle-status.show{top:155px}
@media(max-width:360px){.league-hero h1{font-size:22px}.league-picker small{font-size:9px}.ranking-row{gap:6px;grid-template-columns:20px 34px minmax(0,1fr) auto}.ranking-row strong{font-size:11px}.ranking-row>b{font-size:11px}.league-prizes{padding:13px}.journey-card h2{font-size:19px}.boss-health{top:102px;left:60px;right:60px}}
.field-heading{top:10px;left:10px;right:10px;min-height:50px;padding:6px 10px;border:1px solid #d9e3c526;border-radius:15px;background:linear-gradient(90deg,#14362bf2,#14362bd6)}.field-heading strong{font-size:18px;line-height:1.2}.location-name{line-height:1.2}.immersive .field-heading{top:calc(10px + var(--safe-top))}.immersive .boss-health{top:calc(111px + var(--safe-top))}.battle-shell[data-field-compact=true] .field-heading{top:7px;min-height:36px;padding:4px 8px}.battle-shell[data-field-compact=true] .location-name{font-size:8px;letter-spacing:1px}.battle-shell[data-field-compact=true] .field-heading strong{font-size:14px}.battle-shell[data-field-compact=true] .live-level{min-height:26px;font-size:10px;padding:4px 8px}.battle-shell[data-field-compact=true] .field-tools{top:49px}.battle-shell[data-field-compact=true] .field-tools .icon-button{width:32px;min-height:32px}.battle-shell[data-field-compact=true] .boss-health{top:85px;left:70px;right:70px;padding:4px 6px}.battle-shell[data-field-compact=true] .boss-health>span{font-size:9px;margin-bottom:3px}.battle-shell[data-field-compact=true] .boss-health>div{height:3px}

/* 4.2.1 — consistent currencies, free planting, compact league standings */
.currency-amount{display:inline-flex!important;align-items:center;justify-content:inherit;gap:4px;white-space:nowrap;vertical-align:middle;font-variant-numeric:tabular-nums;line-height:1.25}
.currency-amount .currency-icon,.currency-icon{display:inline-grid!important;width:18px!important;height:18px!important;min-width:18px;min-height:18px;max-width:18px;flex:none;margin:0!important;vertical-align:middle;object-fit:contain;font-size:10px!important;line-height:18px}
.currency-amount img.drop-icon{background:none;box-shadow:none;border:none;border-radius:0;padding:0}
.rate-unit{display:inline-block;font-size:11px;font-weight:500;color:inherit;margin-left:4px;white-space:nowrap}
.plant-daily{display:flex;align-items:center;gap:2px;color:#426d4b!important;font-weight:650}
.primary .currency-amount{color:inherit}.primary .coin-mark{color:#674610}
.product-art{width:100%;border:0;border-radius:0;cursor:pointer}.product-art:focus-visible{outline-offset:-4px}.product-copy .product-price{min-height:0;margin:10px 0;font-size:11px}.product-copy .product-price>span{display:block}.product-copy>.primary{flex-wrap:wrap;gap:6px}.pack-price strong{font-size:19px}.pack-price del{font-size:12px}.quest-bottom>div>small{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.quest-body p .currency-amount{color:#4f683c;font-weight:600}.reward-inline>.currency-amount{color:#77541c;font-weight:700}
.seed-wrap,.immersive .seed-wrap{width:56px;gap:0;pointer-events:none}
.seed-wrap:nth-child(odd){left:4px}.seed-wrap:nth-child(even){right:4px}
.seed-wrap:nth-child(1),.seed-wrap:nth-child(2),.immersive .seed-wrap:nth-child(1),.immersive .seed-wrap:nth-child(2){top:calc(var(--field-top,110px) + var(--field-height,350px)*.03)}
.seed-wrap:nth-child(3),.seed-wrap:nth-child(4){top:calc(var(--field-top,110px) + var(--field-height,350px)*.37)}
.seed-wrap:nth-child(5){top:calc(var(--field-top,110px) + var(--field-height,350px)*.71)}
.seed-wrap .seed{pointer-events:auto;width:54px;min-height:51px;height:51px;border-radius:15px 15px 9px 9px;border:1px solid #eef3d580;background:linear-gradient(145deg,#f9f8eaf5,#e6ecd8eb)}
.seed-wrap .seed .sprite-portrait{width:52px;height:49px;margin:0;object-fit:contain}
.seed-wrap .seed-price{pointer-events:auto;min-height:30px;min-width:56px;width:56px;margin-top:2px;border-radius:8px;background:#f5ecd6;color:#354a2b;font-size:10px!important;font-weight:750;display:flex;align-items:center;justify-content:center;padding:4px 2px;box-shadow:0 2px 6px #152b2030;white-space:nowrap}
.seed-price .currency-amount{gap:2px;font-size:9px}.seed-price .currency-icon{width:12px!important;height:12px!important;min-width:12px;min-height:12px;font-size:8px!important;line-height:12px}
.seed-wrap.selected .seed{border-color:#f4ce69;box-shadow:0 0 0 2px #f5d479}.seed-wrap .seed-count{font-size:9px;max-width:39px;overflow:hidden}
.battle-shell[data-field-compact=true] .seed-wrap .seed{min-height:36px;height:36px;width:46px}.battle-shell[data-field-compact=true] .seed-wrap .sprite-portrait{width:44px;height:36px}.battle-shell[data-field-compact=true] .seed-price{min-height:27px}
.boss-health,.immersive .boss-health{top:calc(64px + var(--field-safe-top,0px));left:58px;right:106px;padding:5px 7px;border-radius:9px}.boss-health>span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:4px}.boss-health>div{height:4px}
.battle-shell[data-field-compact=true] .boss-health{top:calc(49px + var(--field-safe-top,0px));left:54px;right:87px;padding:4px 6px}
.battle-status,.boss-health:not([hidden])~.battle-status.show{top:calc(var(--field-top,110px) + 5px);font-size:11px}.combo{top:calc(var(--field-top,110px) + 36px)}
.vault-target,.immersive .vault-target{height:calc(var(--vault-height,137px) + 20px);gap:1px}.vault-target strong{display:flex;align-items:center;gap:2px;font-size:10px;padding:2px 5px}.vault-target .currency-icon{width:13px!important;height:13px!important;min-width:13px;min-height:13px}
.field-footer{align-items:center}.field-footer button{max-width:calc(50% - 8px)}.field-collect small{display:flex;align-items:center;font-size:10px}.field-collect .currency-icon{width:12px!important;height:12px!important;min-width:12px;min-height:12px}.field-collect .rate-unit{font-size:9px}
.placement-hint{left:64px;right:64px;top:calc(var(--field-top,110px) + var(--field-height,350px) + 2px);bottom:auto;z-index:3;font-size:10px;padding:5px 30px 5px 7px;line-height:1.4;border-radius:9px;min-height:30px}.placement-hint button{pointer-events:auto;position:absolute;right:0;top:0;width:30px;height:100%;min-height:30px;font-size:20px;color:#36543a}
.ranking-heading{display:flex;align-items:center;gap:14px;margin:0 0 10px}.ranking-heading .back-link{margin:0;font-size:12px}.ranking-heading h1{font-size:21px;margin:0;letter-spacing:-.5px}
.league-picker{gap:3px;padding:4px;margin:0 0 10px;border-radius:15px}.league-picker button{min-height:57px;padding:5px 1px;gap:4px;border-radius:11px}.league-picker .league-seal{width:27px;height:29px;font-size:12px;border-width:1px;border-radius:8px 8px 12px 12px;box-shadow:inset 0 0 0 2px #fff8}.league-picker small{font-size:10px;font-weight:600}.league-picker button.active{box-shadow:inset 0 0 0 1px #b9cbb1;background:#eff4e8}
.league-hero{height:91px;border-radius:16px}.league-hero>img{object-position:50% 38%}.league-hero:after{background:linear-gradient(90deg,#122c28f5,#1a3325c4 60%,#17282b24)}.league-hero>div{padding:14px 16px;align-items:flex-start;justify-content:center;text-align:left;gap:6px;position:relative}.league-hero .eyebrow{font-size:9px;letter-spacing:.5px;color:#edf3e0}.league-hero h2{font-size:19px;letter-spacing:-.4px;color:#fff6dd;max-width:80%;line-height:1.15;margin:0}.league-hero .league-seal{position:absolute;right:15px;top:22px;margin:0;width:36px;height:44px;font-size:17px}
.league-prizes{margin:10px 0;padding:12px;border-radius:16px;border-color:var(--league-metal)}.prize-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}.prize-heading h3{font-size:12px;color:var(--league-ink);margin:0}.prize-heading>span{font-size:9px;color:#727b6a}.league-prizes .rank-prizes{gap:5px;margin:0 0 7px}.league-prizes .rank-prizes>.prize-cell{position:relative;padding:7px 3px 5px;border-radius:10px;gap:4px}.prize-place{font-size:9px;color:#55644b}.prize-cell .place-1{color:#865c16}.prize-cell .place-2{color:#5d6979}.prize-cell .place-3{color:#91613c}.league-prizes .prize-cell>b{font:700 13px system-ui,sans-serif}.prize-bottle{display:flex;align-items:center;justify-content:center;gap:2px;color:var(--league-ink);font-size:10px;height:25px}.league-prizes .reward-art{width:27px;height:29px;object-fit:contain}.prize-cell .currency-icon{width:15px!important;height:15px!important;min-width:15px;min-height:15px;font-size:9px!important}
.league-elixir{display:flex;align-items:center;gap:9px;padding:6px 0 2px}.elixir-portrait{width:36px;height:46px;object-fit:contain;flex:none}.league-elixir>div{min-width:0}.league-elixir b{font-size:11px;color:var(--league-ink)}.league-elixir p{font-size:10px;line-height:1.4;margin:3px 0;color:#536349}.league-prizes>.primary{min-height:34px;font-size:12px;margin-top:7px;border-radius:9px;background:var(--league);color:white}.league-prizes .league-claimed{margin:6px 0 0;font-size:10px}
.rank-column-labels{padding:10px;font-size:9px;letter-spacing:.4px;color:#6b7664;background:#fafbf7}.rank-table{border-radius:14px}.ranking-row{display:grid;grid-template-columns:29px 34px minmax(0,1fr) auto;gap:7px;min-height:54px;padding:8px 9px;border-bottom:1px solid #edf0e8;align-items:center}.ranking-row:last-child{border-bottom:0}.ranking-row.me,.rank-table .ranking-row.me{position:static!important;inset:auto!important;box-shadow:none;margin:0;border-radius:0;background:var(--league-soft)}.ranking-row strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650}.ranking-row strong small{display:block;margin-top:4px;font-size:9px;line-height:1.2;white-space:nowrap;color:#68745f}.ranking-row strong em{display:inline;margin-left:5px;font-size:9px;font-style:normal;color:var(--league)}.ranking-row>b{font-size:12px;color:#3c4e35;letter-spacing:-.2px}.ranking-row>.rank-position{font:650 11px system-ui,sans-serif;color:#78816f;text-align:center}.ranking-row.rank-1>.rank-position,.ranking-row.rank-2>.rank-position,.ranking-row.rank-3>.rank-position{width:24px;height:26px;display:grid;place-items:center;border-radius:6px 6px 10px 10px;background:#f5e1a6;color:#745314;box-shadow:inset 0 0 0 1px #cbaa5850}.ranking-row.rank-2>.rank-position{background:#e8edf0;color:#62717d}.ranking-row.rank-3>.rank-position{background:#f0dfd1;color:#8c603b}.rank-tail-label{padding:8px 10px;color:var(--league-ink);font-size:10px;background:var(--league-soft);border-top:1px solid var(--league-metal)}.rank-self-tail{position:static;margin-top:2px}.rank-empty{font-size:12px;text-align:center;padding:24px 18px;line-height:1.6}
@media(max-width:360px){.league-hero h2{font-size:17px}.ranking-heading h1{font-size:19px}.league-prizes{padding:10px}.ranking-row{gap:5px;padding-left:7px;padding-right:7px;grid-template-columns:27px 32px minmax(0,1fr) auto}.ranking-row strong{font-size:11px}.ranking-row>b{font-size:11px}.seed-price .currency-amount{font-size:8px}}
@media(prefers-reduced-motion:reduce){.seed,.seed-price,.league-picker button{transition:none}}

/* Header insets come from safe area, never from the measured field geometry. */
.battle-shell{--field-hud-inset:0px}.immersive .battle-shell{--field-hud-inset:var(--safe-top)}
.battle-shell[data-field-compact=true] .field-heading{top:calc(7px + var(--field-hud-inset,0px))}
/* 4.2.2: larger five-row field and a single painted currency asset. */
.coin-mark{display:inline-block;object-fit:contain;object-position:center;background:none!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0!important;font-size:0}
.balance-pill>.coin-mark{width:26px;height:26px;flex:none}.treasury-balance>.coin-mark.currency-icon{width:34px!important;height:34px!important;min-width:34px;min-height:34px;max-width:34px}
.currency-amount .coin-mark{filter:none}.field-tools,.immersive .field-tools{top:calc(54px + var(--field-hud-inset,0px))}.field-tools .icon-button{width:36px;min-height:36px}
.battle-shell[data-field-compact=true] .field-tools{top:calc(44px + var(--field-hud-inset,0px))}.battle-shell[data-field-compact=true] .field-tools .icon-button{width:32px;min-height:32px}
.boss-health,.immersive .boss-health{top:calc(55px + var(--field-hud-inset,0px))}.battle-shell[data-field-compact=true] .boss-health{top:calc(45px + var(--field-hud-inset,0px))}
.seed-wrap,.immersive .seed-wrap{width:50px}.seed-wrap:nth-child(odd){left:3px}.seed-wrap:nth-child(even){right:3px}
.seed-wrap .seed{width:48px;min-height:46px;height:46px}.seed-wrap .seed .sprite-portrait{width:47px;height:46px}.seed-wrap .seed-price{width:50px;min-width:50px;min-height:28px}
.seed-price .currency-amount{font-size:8px}.seed-price .currency-icon{width:12px!important;height:12px!important;min-width:12px;min-height:12px}
.seed-wrap:nth-child(1),.seed-wrap:nth-child(2),.immersive .seed-wrap:nth-child(1),.immersive .seed-wrap:nth-child(2){top:calc(var(--field-top) - 14px)}
.seed-wrap:nth-child(3),.seed-wrap:nth-child(4){top:calc(var(--field-top) + max(var(--field-height)*.38,79px) - 14px)}
.seed-wrap:nth-child(5){top:calc(var(--field-top) + max(var(--field-height)*.76,158px) - 14px)}
.battle-shell[data-field-compact=true] .seed-wrap:nth-child(3),.battle-shell[data-field-compact=true] .seed-wrap:nth-child(4){top:calc(var(--field-top) + max(var(--field-height)*.38,68px) - 14px)}
.battle-shell[data-field-compact=true] .seed-wrap:nth-child(5){top:calc(var(--field-top) + max(var(--field-height)*.76,136px) - 14px)}
.vault-target,.immersive .vault-target{top:calc(var(--vault-y) - var(--vault-height));height:var(--vault-height);width:var(--vault-width);left:calc(50% - var(--vault-width)/2);background:transparent!important;padding:0;border:0;border-radius:22px}
.field-footer{justify-content:center;gap:8px}.field-footer button{min-height:36px;padding:8px 16px;border-radius:12px;font-size:12px}.field-footer .field-collect{align-items:center;justify-content:center;flex:0 1 auto;min-width:138px}.field-footer:has(.field-restore:not([hidden])){justify-content:space-between}.field-restore[hidden]{display:none!important}
.placement-hint{top:calc(var(--field-top) + var(--field-height) + 3px);left:56px;right:56px}.battle-status,.boss-health:not([hidden])~.battle-status.show{top:calc(var(--entrance-top,100px) + 4px)}.combo{top:calc(var(--entrance-top,100px) + 37px)}
@media(max-width:360px){.field-footer button{font-size:11px;padding:8px 12px}.field-footer .field-collect{min-width:126px}}

/* 4.2.3 — width-led field, persistent navigation and native phone fullscreen. */
:root{--safe-left:max(env(safe-area-inset-left,0px),var(--tg-left,0px));--safe-right:max(env(safe-area-inset-right,0px),var(--tg-right,0px))}
html,body{height:100%;overflow:hidden;overscroll-behavior:none}.miniapp{min-height:0;padding-left:var(--safe-left);padding-right:var(--safe-right)}
.page-view,#dialog-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.battle-shell,.immersive .battle-shell{--field-hud-inset:0px}
.battle-shell .field-heading,.battle-shell[data-field-compact=true] .field-heading{top:8px;left:8px;right:124px;min-height:44px;padding:5px 8px;align-items:center;border-radius:12px}
.battle-shell .field-heading strong{font-size:16px;line-height:1.2;letter-spacing:-.3px}.battle-shell .location-name{font-size:8px;line-height:1.2;letter-spacing:.7px}.battle-shell .live-level{font-size:10px;min-height:28px;padding:5px 7px;white-space:nowrap}
.battle-shell .field-tools,.battle-shell[data-field-compact=true] .field-tools{top:13px;left:auto;right:8px;gap:5px}
.battle-shell .field-tools .icon-button,.battle-shell[data-field-compact=true] .field-tools .icon-button{width:32px;min-height:34px;height:34px;border-radius:10px}.battle-shell .field-tools .icon-button:first-child{margin-right:0}
.battle-shell:has(#expand-button[hidden]) .field-heading{right:86px}
.battle-shell .boss-health,.battle-shell[data-field-compact=true] .boss-health{top:58px;left:calc(50% - 76px);right:auto;width:152px;padding:3px 6px;border-radius:7px}.battle-shell .boss-health>span{font-size:8px;margin-bottom:2px}.battle-shell .boss-health>div{height:3px}
.battle-shell .field-footer{bottom:8px}.battle-shell .vault-target{left:calc(var(--vault-x) - var(--vault-width)/2)}
.battle-shell[data-field-wide=true] .field-footer{left:auto;right:65px;width:146px;flex-direction:column;gap:5px}.battle-shell[data-field-wide=true] .field-footer button{max-width:100%;width:100%;min-height:32px;padding:6px 8px}
.battle-shell .placement-hint{left:var(--field-left);right:auto;width:var(--field-height);top:calc(var(--field-top) + var(--field-height) + 3px)}
.battle-shell[data-field-wide=true] .placement-hint{top:60px;left:auto;right:64px;width:154px}
.battle-shell .battle-status,.battle-shell .boss-health:not([hidden])~.battle-status.show{top:calc(var(--entrance-top) + 6px);max-width:calc(100% - 112px);left:50%;transform:translateX(-50%);white-space:normal}
.battle-shell .boss-health:not([hidden])~.battle-status.show{top:calc(var(--entrance-top) + 30px)}
.battle-shell .combo{top:calc(var(--entrance-top) + 25px);font-size:11px}.battle-shell .combo b{font-size:20px}
html[data-device=phone] .miniapp{max-width:none;border:0;box-shadow:none}
html[data-device=phone] .app-header{min-height:48px;gap:8px;padding:calc(6px + var(--safe-top)) 10px 6px}
html[data-device=phone] .avatar-button{width:34px;height:34px}html[data-device=phone] .avatar-button .user-avatar{width:34px;height:34px}
html[data-device=phone] .identity strong{font-size:12px}html[data-device=phone] .brand-name{font-size:9px;letter-spacing:.8px}
html[data-device=phone] .balance-pill{font-size:12px;min-height:34px;gap:5px;padding:5px 7px}html[data-device=phone] .balance-pill>.coin-mark{width:24px;height:24px}
html[data-device=phone] .game-view{padding:0 4px}html[data-device=phone] .battle-shell{border-radius:18px}
html[data-device=phone] .garden-shortcuts{min-height:30px;padding:3px 0;gap:2px}html[data-device=phone] .garden-shortcuts button{font-size:9px;min-height:26px;gap:3px}html[data-device=phone] .garden-shortcuts svg{width:15px;height:15px}
html[data-device=phone] .bottom-nav{padding:5px 4px calc(5px + var(--safe-bottom));min-height:50px}html[data-device=phone] .bottom-nav button{font-size:10px;min-height:40px;gap:2px}html[data-device=phone] .bottom-nav svg{width:20px;height:20px}
.league-prizes .prize-bottle{height:42px;font-size:15px;gap:5px}.league-prizes .prize-bottle .reward-art{width:36px;height:42px}.league-prizes .rank-prizes>.prize-cell{padding:7px 3px;gap:3px}
@media(max-width:350px){.battle-shell .seed-wrap{width:42px}.battle-shell .seed-wrap .seed{width:42px}.battle-shell .seed-wrap .seed-price{min-width:42px;width:42px;font-size:8px!important}.battle-shell .seed-wrap .sprite-portrait{max-width:40px}.battle-shell .seed-price .currency-amount{font-size:7px}.battle-shell .seed-price .currency-icon{width:10px!important;min-width:10px;height:10px!important;min-height:10px}.battle-shell .field-heading{right:122px}.battle-shell .field-heading strong{font-size:14px}}

dialog,#dialog-body{max-height:calc(var(--app-height,100dvh) - var(--safe-top) - var(--safe-bottom) - 30px)}

/* 4.2.4: a separate phone-only field focus and a larger tank beside the actions. */
.battle-shell .field-footer,.battle-shell[data-field-wide=true] .field-footer{left:auto;right:10px;bottom:18px;width:40%;display:flex;flex-direction:column;align-items:stretch;gap:7px}
.battle-shell .field-footer button,.battle-shell[data-field-wide=true] .field-footer button{width:100%;max-width:none;min-width:0;min-height:40px;font-size:11px;padding:8px 6px}
.battle-shell[data-field-wide=true] .field-footer{right:18px;bottom:calc(var(--vault-height) + 24px);width:196px}
html.field-focus[data-device=phone] .app-header,html.field-focus[data-device=phone] .bottom-nav,html.field-focus[data-device=phone] .garden-shortcuts{display:none}
html.field-focus[data-device=phone] .game-view{padding:var(--safe-top) 0 var(--safe-bottom)}
html.field-focus[data-device=phone] .battle-shell{border-radius:0}
html.field-focus[data-device=phone] .toast{bottom:calc(18px + var(--safe-bottom))}
.game-timer{font-variant-numeric:tabular-nums;white-space:nowrap}
.reset-timer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 14px;padding:10px 13px;border-radius:12px;background:#e8eee1;color:#465b3f;font-size:12px}
.reset-timer .game-timer{font-weight:750;color:#234c33}
.league-gift{display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:center;padding:15px;border-bottom:1px solid #dce4d5}
.league-gift>.item-art{width:56px;height:64px;object-fit:contain}.league-gift h3{font-size:14px;margin:0 0 4px}.league-gift p{font-size:11px;margin:3px 0;color:#576c50}.league-gift>.primary{grid-column:1/-1;min-height:38px;font-size:12px}.league-gift>.league-claimed{grid-column:1/-1;margin:0}
.league-daily-note{padding:0 14px;font-size:11px;line-height:1.5;color:#56694e}.league-prizes>.reset-timer{margin:8px 0}.rank-total{display:block;font-size:9px;font-weight:500;margin-top:3px;color:#63725c}
.journey-gift{margin:0 0 14px;padding:12px;border-radius:12px;background:#edf1e5;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}.journey-gift button{min-height:38px;padding:8px 12px;font-size:11px}.combo-prize .coin-mark{width:34px;height:34px}.combo-prize .currency-amount{font-size:25px;font-weight:800;gap:8px}
.expired-link{opacity:.5;pointer-events:none;cursor:default}

/* Quiet botanical artwork for menu pages and the sign-in screen. */
.page-view,.auth-screen{
  background-color:var(--paper);
  background-image:linear-gradient(#f5f7f340,#f5f7f340),url('assets/menu-background.webp');
  background-position:center bottom;
  background-size:cover;
  background-repeat:no-repeat;
  background-attachment:scroll;
}

/* Finance and referrals: quiet surfaces above the botanical background. */
.content-card,.page-title,.ranking-heading,.page-view>.fine-print,.page-view>.loading-copy,.page-view>.combo-guide{padding:16px;margin:0 0 14px;background:#fffffff2;border:1px solid #e0e7db;border-radius:18px;box-shadow:0 2px 8px #29482a04}
.content-card h3{margin-bottom:7px}.content-card p+p{margin-top:7px}.compact-card{padding:12px;margin:12px 0}.page-title{padding:20px}.page-title h1,.ranking-heading h1{font-size:26px}.page-title p{margin-top:9px}.ranking-heading .back-link{margin-bottom:8px}
.page-view>.back-link{width:max-content;border:1px solid #e0e7db;border-radius:12px;background:#ffffffeb;padding:7px 11px;margin:0 0 12px}.section-heading{padding:12px 14px;background:#fffffff0;border:1px solid #e0e7db;border-radius:13px;margin:18px 0 10px}.page-view>.shop-balance{padding:12px 14px}.page-view>.fine-print{font-size:12px;line-height:1.65}.list-empty,.empty-state p{line-height:1.6}
.language-switch{display:flex;align-items:center;gap:3px;flex:1;min-width:0}.language-switch button{font-size:12px;font-weight:750;padding:8px 10px;min-width:40px;min-height:38px;border:1px solid transparent;border-radius:11px;color:#647269}.language-switch button[aria-pressed=true]{background:#fff;border-color:#dbe5d6;color:#246b49;box-shadow:0 2px 5px #243f2207}.app-header{gap:8px}.app-header .balance-pill{margin-left:auto}
.wallet-summary{display:flex;justify-content:space-between;align-items:center;padding:22px 20px;background:linear-gradient(120deg,#e5eedf,#f5f5e8);border:1px solid #d9e4d0;border-radius:22px}.wallet-summary>div{min-width:0}.wallet-summary strong{display:block;font-size:30px;line-height:1.2;letter-spacing:-.8px}.wallet-summary strong .currency-icon{width:30px!important;height:30px!important}.wallet-summary small{display:block;margin-top:6px;color:#5c6f53}.wallet-summary>.sigil{background:#ffffff8f;width:50px;height:50px;border-radius:16px}.wallet-tabs{margin:14px 0}.wallet-tabs button{min-height:40px}
.wallet-actions-card{padding:14px}.wallet-actions-card .finance-actions{margin:0 0 14px}.wallet-actions-card .finance-actions button{min-height:46px}.wallet-rate{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #e7ecdf;padding-top:12px;color:#647269;font-size:12px}.wallet-rate b{font-size:12px;color:#294b35}.wallet-mini-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.wallet-mini-metrics>div{padding:15px;background:#ffffffed;border:1px solid #e0e7db;border-radius:16px}.wallet-mini-metrics span{display:block;font-size:11px;color:#647269}.wallet-mini-metrics b{display:block;margin-top:6px;font-size:18px}.unlock-card{display:flex;gap:12px;align-items:flex-start}.unlock-card>div{flex:1}.unlock-card b{font-size:13px}.unlock-card p{font-size:12px;margin:6px 0 10px}.active-payment{display:flex;align-items:center;gap:10px}.active-payment>div{flex:1;min-width:0}.active-payment b{font-size:13px}.active-payment small{display:block;font-size:11px;color:#647269;margin-top:4px}.active-payment .secondary{font-size:11px;padding:8px 10px;min-height:36px}.wallet-packs{display:grid;gap:14px}
.wallet-packs .pack-card{display:grid;grid-template-columns:38% minmax(0,1fr);margin:0;background:#fff;border-color:#dfe7da;border-radius:20px}.wallet-packs .pack-art{height:auto;min-height:210px;background:#eef3e7;padding:8px;align-items:center}.wallet-packs .pack-art img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply;filter:none}.wallet-packs .pack-copy{padding:16px 13px}.wallet-packs .pack-copy h3{font-size:16px;max-width:none;line-height:1.25}.wallet-packs .pack-copy p{font-size:11px;margin:6px 0 10px;line-height:1.5}.wallet-packs .pack-discount{top:10px;left:10px;right:auto;background:#fff;color:#246b49;font-size:11px;padding:5px 7px}.wallet-packs .pack-price{position:static;display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;margin:12px 0}.pack-price del{font-size:12px;color:#7a8574}.pack-price strong{font-size:25px;color:#245638;letter-spacing:-.7px}.wallet-packs .pack-contents{gap:4px;margin:8px 0}.wallet-packs .pack-contents>span{font-size:9px;padding:4px 5px;background:#f0f4eb;color:#516749;border-radius:6px}.wallet-packs .primary{min-height:39px;font-size:12px;width:100%}.pack-imperial .pack-art{background:#edf3e7}.pack-imperial{border-color:#c9b66b!important}.modal-pack{mix-blend-mode:multiply}.pack-detail-list{padding:10px;border:1px solid #e0e7db;border-radius:15px;background:white}.pack-detail-list>div{display:flex;align-items:center;gap:8px;padding:7px 0}.pack-detail-list>div>span{flex:1;min-width:0}.pack-detail-list small{display:block;font-size:10px;color:#647269}
.payment-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.payment-method{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:98px;padding:10px 5px;border:1px solid #dfe7db;border-radius:15px;background:#fff;line-height:1.2}.payment-method img{width:38px;height:38px}.payment-method strong{font-size:11px;overflow-wrap:anywhere;text-align:center}.payment-method small{font-size:9px;color:#697763}.payment-method:disabled{opacity:.48}.payment-method:not(:disabled):hover{border-color:#8eb17d;background:#f5f9f0}.payment-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf3e7;border:1px solid #dfe7d8;padding:13px 15px;border-radius:14px;margin:14px 0;font-size:13px}.payment-summary strong{font-size:24px;white-space:nowrap;color:#254b34}.payment-pack-name{font-size:13px;color:#47613e}.amount-presets{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.amount-presets button{flex:1;min-height:34px;font-size:11px;padding:7px 9px}.amount-input>span:first-child{padding-left:12px;color:#617254}.payment-invoice-heading{display:flex;gap:12px;align-items:center}.payment-invoice-heading h2{font-size:22px!important;margin:0!important;padding:0!important}.payment-invoice-heading .eyebrow{margin-bottom:4px;font-size:10px}.payment-status{padding:9px 12px;border-radius:11px;background:#edf2e7;color:#506648;font-size:12px;font-weight:650;margin-bottom:12px}.status-paid{background:#e2efda;color:#246b49}.status-expired,.status-cancelled,.status-failed{background:#f3e8e4;color:#8c5243}.payment-detail{padding:12px;margin:10px 0;background:#fff;border:1px solid #e0e7db;border-radius:14px}.payment-detail label{display:block;font-size:11px;color:#697763;margin-bottom:7px}.payment-copy-row{display:flex;align-items:center;gap:4px;min-width:0}.payment-copy-row input{flex:1;width:0;min-width:0;padding:7px 0;border:0!important;background:transparent!important;font:12px ui-monospace,SFMono-Regular,Consolas,monospace;color:#274c34}.payment-copy-row>span{font-size:11px;font-weight:700}.payment-copy-row button{flex:none;width:32px;min-height:34px;color:#246b49;border-radius:9px;background:#edf3e7}.payment-network{font-size:12px;padding:6px 2px;color:#65735f}.payment-network b{color:#284b33;text-transform:uppercase}.payment-hint{font-size:11px!important;line-height:1.65;margin:10px 0!important;color:#65735f}.payment-address-text{font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important;overflow-wrap:anywhere;word-break:break-all}.payment-cancel{display:block;margin:8px auto;min-height:38px}.payment-loading{text-align:center;padding:26px 10px}.payment-loading>.sigil{margin:0 auto 18px}.payment-loading p{font-size:13px;margin-top:12px}.payment-loading .sigil svg{animation:turn 2s linear infinite}
.referral-rates{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.referral-rates>div{padding:14px 8px;text-align:center;background:#fff;border:1px solid #dde7d5;border-radius:16px}.referral-rates span{font-size:11px;color:#63725b}.referral-rates strong{display:block;font-size:29px;color:#2b6847;line-height:1.2;margin:5px 0}.referral-rates small{font-size:9px;color:#748069}.turnover-card>strong{display:block;font-size:30px;font-weight:750;letter-spacing:-.7px}.turnover-card p{font-size:12px;margin:7px 0 12px}.turnover-card small{display:block;font-size:11px;line-height:1.6;color:#607256;margin-top:10px}.tier-max{display:inline-block;padding:6px 10px;margin-top:8px;background:#ecf3e2;border-radius:9px;font-size:12px;color:#2b6847}.referral-tier-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:13px;table-layout:fixed}.referral-tier-table th,.referral-tier-table td{padding:10px 3px;text-align:center;border-bottom:1px solid #edf1e8}.referral-tier-table th:first-child{text-align:left;width:34%}.referral-tier-table thead th{font-size:10px;font-weight:600;color:#738069}.referral-tier-table tbody th{font-weight:600}.referral-tier-table .current-tier{background:#eaf2df;color:#275b39;font-weight:750}.referral-tier-table tr:last-child>*{border-bottom:0}.invite-steps.content-card{padding:4px 15px;margin:14px 0}.invite-steps .invite-step{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid #e7edde}.invite-steps .invite-step:last-child{border:0}.invite-steps .invite-step>b{width:28px;height:28px;min-width:28px;border-radius:10px;display:grid;place-items:center;background:#e9f1de;border:0;color:#406d39;font:750 13px/1 system-ui}.invite-steps .invite-step>span{flex:1}.invite-steps strong{display:block;font-size:13px;color:#2e4936;line-height:1.3}.invite-steps small{display:block;font-size:12px;line-height:1.6;margin-top:5px;color:#627358}.friend-earning>small{display:block;font-size:10px;color:#748069;margin-top:5px}.referral-person .friend-info b{overflow-wrap:anywhere}.boost-running{border-color:#91b37b;background:#f4f9ed}.boost-countdown{font-size:17px;font-weight:750;color:#366735;margin:8px 0}.boost-running .eyebrow{font-size:9px}.promo-card.content-card{display:flex;gap:14px;align-items:center}.promo-card>.gift-art{width:78px;height:100px;object-fit:contain}.promo-card.content-card>div{flex:1;min-width:0}.promo-card.content-card p{font-size:12px}.empty-state h3{margin:10px 0 7px}
@media(max-width:350px){.language-switch button{min-width:35px;padding:7px}.app-header{padding-left:10px;padding-right:10px}.wallet-packs .pack-card{grid-template-columns:34% minmax(0,1fr)}.wallet-packs .pack-copy{padding:13px 10px}.wallet-summary strong{font-size:26px}.referral-tier-table{font-size:11px}.payment-method-grid{gap:6px}.payment-method strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.payment-loading .sigil svg{animation:none}}

.ledger-status{display:block;font-size:10px;font-weight:500;color:#647269;margin-top:4px}.wallet-tabs button{min-width:0;white-space:normal}.wallet-summary strong{overflow-wrap:anywhere}.amount-input{display:flex;align-items:center}.amount-input input{min-width:0;flex:1}.page-view>.reset-timer{background:#fffffff2;border:1px solid #e0e7db;padding:10px 12px;border-radius:12px}.payment-method:focus-visible,.language-switch button:focus-visible{outline:2px solid #47733b;outline-offset:2px}

.auth-content{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:350px;width:100%;padding:24px 18px;margin:0}.auth-screen{padding:20px}.combo-result{background:#fffffff2;border:1px solid #e0e7db;border-radius:18px;margin:12px 0}

/* Inline wallet forms and a single, readable exchange-rate row. */
.wallet-tabs{margin:0 0 14px}.wallet-tabs button{white-space:nowrap;font-size:13px}
.wallet-entry-card{padding:18px;background:#fff}.wallet-rate-line{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 12px;margin:0 0 19px;border-radius:11px;background:#f0f5e9;color:#63725a;font-size:12px;white-space:nowrap}.wallet-rate-line>strong{display:inline-flex;align-items:center;gap:7px;color:#365632;font-size:14px;letter-spacing:0}.wallet-rate-line .currency-amount{gap:4px}.wallet-rate-line .currency-icon{width:19px!important;height:19px!important}
.wallet-entry-card label{margin:0 0 8px;color:#455d3e;font-size:12px}.wallet-amount-input{display:flex;align-items:center;gap:8px;border:1px solid #cfdcc5;border-radius:13px;background:#fafcf7;padding:0 14px;min-height:58px}.wallet-amount-input:focus-within{border-color:#6d965c;box-shadow:0 0 0 3px #6d965c18}.wallet-amount-input>span{display:flex;align-items:center;justify-content:center;flex:none;font-size:24px;color:#688157;min-width:24px}.wallet-amount-input>span .coin-mark{width:27px;height:27px}.wallet-amount-input input:not([type=checkbox]){min-width:0;margin:0;padding:12px 0;border:0;box-shadow:none;outline:0;background:transparent;border-radius:0;font-size:25px;font-weight:650;letter-spacing:-.5px;flex:1;min-height:56px}
.wallet-receive-line,.wallet-available-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;color:#67775d;font-size:12px}.wallet-receive-line>strong{font-size:18px;color:#375b32;overflow-wrap:anywhere;text-align:right}.wallet-receive-line .currency-icon{width:23px!important;height:23px!important}.wallet-available-line{margin-top:-4px;font-size:11px}.wallet-available-line b{font-weight:600;color:#526a49}.wallet-entry-card .full-width{min-height:47px;margin-top:4px}.wallet-entry-card .form-error{line-height:1.5}.wallet-packs-heading{padding:16px 18px}.wallet-packs-heading h2{font-size:20px;letter-spacing:-.4px;margin:0 0 6px}.wallet-packs-heading p{font-size:12px;line-height:1.6;color:#66755e}.unlock-card{background:#f9f7ee;border-color:#e8e1ca}.unlock-card h2{font-size:16px;line-height:1.4;letter-spacing:-.2px}.unlock-card p{line-height:1.6;color:#756d52}.unlock-card .progress{margin-top:12px}
/* Country flags open the language chooser on every page. */
.language-trigger{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:7px 9px;border:1px solid #dbe5d6;border-radius:11px;background:#fff;color:#435f3c;font-size:12px;font-weight:700;flex:none;margin-right:auto}.language-trigger img{width:25px;height:18px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #233d291a}.language-trigger>i{width:6px;height:6px;border-right:1.5px solid #77906c;border-bottom:1.5px solid #77906c;transform:rotate(45deg);margin:0 2px 3px 1px}.language-options{display:grid;gap:10px;margin-top:18px}.language-option{display:flex;align-items:center;gap:13px;min-height:65px;padding:13px 15px;border:1px solid #dfe7d9;border-radius:15px;background:#fff;text-align:left;font-size:15px}.language-option[aria-checked=true]{background:#eef5e7;border-color:#8eae7c;color:#315d30}.language-option img{width:36px;height:26px;object-fit:cover;border-radius:4px;box-shadow:0 0 0 1px #233d291a}.language-option>span{flex:1}.language-option>i{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;border:1px solid #ccd8c3;color:#fff}.language-option[aria-checked=true]>i{background:#5b8648;border-color:#5b8648}.language-option>i svg{width:16px;height:16px}.language-trigger:focus-visible,.language-option:focus-visible{outline:2px solid #47733b;outline-offset:3px}
/* A league gift and its unlock instruction share one opaque card. */
.league-gift.content-card{grid-template-columns:60px minmax(0,1fr);gap:12px;padding:16px;margin:14px 0;border:1px solid #dce5d4;border-radius:18px;background:#fff;box-shadow:0 3px 12px #28492406}.league-gift.content-card>.item-art{width:60px;height:72px}.league-gift>div{min-width:0}.league-gift.content-card h3{font-size:14px;line-height:1.4;margin:0 0 6px}.league-gift.content-card p{font-size:12px;line-height:1.5;margin:3px 0}.league-gift .league-gift-footer{grid-column:1/-1;padding:11px 12px;margin:0;background:#f0f5e9;border-radius:11px;font-size:12px;line-height:1.6;color:#5f7553;text-align:left}.league-gift>.primary{grid-column:1/-1}
@media(max-width:350px){.wallet-tabs button{padding-left:6px;padding-right:6px;font-size:12px}.wallet-entry-card{padding:15px}.wallet-rate-line{gap:7px;font-size:11px}.wallet-rate-line>strong{font-size:13px;gap:6px}.language-trigger{gap:5px;padding:7px}.league-gift.content-card{padding:13px;gap:10px}}

/* Garden icon set: fuller silhouettes and restrained botanical colours. */
.ui-icon{flex-shrink:0;vertical-align:middle;overflow:visible}.bottom-nav .ui-icon{width:25px;height:25px;transition:transform .18s ease,color .18s ease;filter:drop-shadow(0 1px 0 #ffffffb3)}.bottom-nav button.active .ui-icon{transform:translateY(-1px);color:#345b35}.garden-shortcuts .ui-icon{width:20px;height:20px}.sigil{color:#526d42;background:#edf3e5;border:1px solid #e1e9d7}.sigil .ui-icon{width:27px;height:27px}.menu-tile .sigil{border-radius:14px;background:#f2f6eb}.metric-tile>.ui-icon{width:27px;height:27px;color:#5e784c}.invite-card>.primary{display:flex;justify-content:center;align-items:center;gap:9px}.invite-card>.primary .ui-icon{color:#f8f2d6}
.payment-method-grid{gap:9px}.payment-method{min-height:110px;padding:10px 5px 9px;border-radius:16px;border-color:#e2e8d9;background:linear-gradient(155deg,#fff,#f8faf3);box-shadow:0 2px 5px #233f2105}.payment-method img{width:53px;height:53px;object-fit:contain;filter:drop-shadow(0 2px 2px #5e532220)}.payment-method strong{font-size:11px;line-height:1.25}.payment-method small{color:#71816a}.payment-method:disabled{opacity:.55;filter:saturate(.7)}.payment-method:not(:disabled):hover{background:#f0f6e6;border-color:#a2b889;box-shadow:0 3px 8px #3a562a0a}.payment-invoice-heading>img{width:56px;height:56px;object-fit:contain}
@media(max-width:350px){.payment-method{min-height:102px}.payment-method img{width:47px;height:47px}}html[data-device=phone] .garden-shortcuts .ui-icon{width:17px;height:17px}html[data-device=phone] .bottom-nav .ui-icon{width:23px;height:23px}
@media(prefers-reduced-motion:reduce){.bottom-nav .ui-icon{transition:none}}
