:root{--ink: #3b2a1a;--panel: #fff7e6;--panel-2: #f6e6c4;--edge: #c9a46a;--green: #4f9a3a;--green-d: #37762a;--gold: #f2b632;--gem: #3fb6d9;--red: #d0503c;font-family:Nunito,ui-rounded,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#5f9e3a;overscroll-behavior:none;touch-action:none;user-select:none;-webkit-user-select:none}#game{position:fixed;top:0;right:0;bottom:0;left:0}#ui{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;color:var(--ink)}#ui>*{pointer-events:auto}button{font:inherit;color:inherit;cursor:pointer;border:0}.ic{width:28px;height:28px;vertical-align:middle}.ic.sm{width:18px;height:18px;margin-top:-2px}.ic.lg{width:48px;height:48px}.hud-top{position:absolute;top:max(10px,env(safe-area-inset-top));left:10px;right:10px;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none!important;gap:8px}.hud-top>*{pointer-events:auto}.lvl{display:flex;align-items:center}.lvl-badge{width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe48a,var(--gold));border:4px solid #fff;box-shadow:0 3px #00000040;display:grid;place-items:center;z-index:1}.lvl-badge span{font-weight:900;font-size:22px;color:#7a4a10}.xp{margin-left:-14px;width:150px;height:26px;border-radius:13px;background:#3b2a1a8c;border:3px solid #fff;position:relative;overflow:hidden}.xp-fill{position:absolute;inset:0 auto 0 0;background:linear-gradient(#a8e35d,#6fbf34);transition:width .4s}.xp-text{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:12px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.6)}.money{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.pill{display:flex;align-items:center;gap:6px;height:34px;padding:0 4px;border-radius:17px;background:#3b2a1a8c;border:3px solid #fff;color:#fff;font-weight:900;min-width:104px}.pill b{flex:1;text-align:right}.pill-ic{width:24px;height:24px;border-radius:50%;border:2px solid rgba(0,0,0,.25)}.pill-ic.coin{background:radial-gradient(circle at 35% 30%,#ffe48a,var(--gold))}.pill-ic.gem{background:radial-gradient(circle at 35% 30%,#aef0ff,var(--gem));transform:rotate(45deg);border-radius:5px;width:20px;height:20px;margin:0 2px}.pill .plus{width:24px;height:24px;border-radius:50%;background:var(--green);color:#fff;font-weight:900;line-height:1}.hud-bottom{position:absolute;right:12px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;gap:10px;align-items:flex-end;pointer-events:none!important}.hud-bottom>*{pointer-events:auto}.hud-bottom .big{width:72px;height:72px;border-radius:18px;background:linear-gradient(#ffd96b,#f2b632);border:4px solid #fff;box-shadow:0 4px #b37a12;font-size:28px;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}.hud-bottom .big span{font-size:12px;font-weight:900;margin-top:4px;color:#6b3f08}.hud-bottom .round{width:44px;height:44px;border-radius:50%;background:#ffffffd9;border:3px solid #fff;font-size:24px;font-weight:900;box-shadow:0 3px #0003}.hud-bottom .big:active,.hud-bottom .round:active{transform:translateY(2px);box-shadow:0 2px #b37a12}.banner{position:absolute;left:12px;right:12px;margin:0 auto;width:fit-content;bottom:max(100px,calc(env(safe-area-inset-bottom) + 96px));background:#3b2a1ad9;color:#fff;padding:10px 10px 10px 18px;border-radius:24px;font-weight:800;display:flex;gap:12px;align-items:center;max-width:calc(100% - 24px)}.banner button{background:var(--green);color:#fff;border-radius:16px;padding:8px 16px;font-weight:900}.toast{z-index:8;position:absolute;left:12px;right:12px;margin:0 auto;width:fit-content;top:max(96px,calc(env(safe-area-inset-top) + 90px));background:#fff;padding:10px 18px;border-radius:16px;font-weight:800;box-shadow:0 4px 14px #0003;max-width:calc(100% - 24px);text-align:center;transition:opacity .25s;pointer-events:none!important}.hidden{opacity:0;pointer-events:none!important}.banner.hidden{display:none}.popup{position:absolute;background:var(--panel);border:3px solid var(--edge);border-radius:18px;box-shadow:0 6px 18px #00000040;padding:8px}.picker{display:flex;gap:6px}.seed{position:relative;width:66px;height:74px;border-radius:14px;background:#fff;border:2px solid var(--panel-2);display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:2px}.seed .ic{width:38px;height:38px}.seed .cnt{position:absolute;top:2px;right:4px;font-weight:900;font-size:13px}.seed .tm{font-size:11px;font-weight:700;opacity:.75}.seed.empty{opacity:.55}.seed.locked{filter:grayscale(1);opacity:.5}.seed:active{transform:scale(.95)}.info{width:230px}.info .row{display:flex;gap:8px;align-items:center}.info .row>div{flex:1}.bar{height:10px;background:#e2cfa6;border-radius:6px;overflow:hidden;margin:4px 0}.bar i{display:block;height:100%;background:linear-gradient(#a8e35d,#6fbf34)}.bar.big{height:16px;flex:1}.gem-btn{margin-top:8px;width:100%;background:linear-gradient(#7fdcf5,var(--gem));color:#fff;font-weight:900;padding:8px;border-radius:12px;text-shadow:0 1px 1px rgba(0,0,0,.3)}.modal-back{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:#00000059;display:grid;place-items:center;padding:12px}.modal{width:min(560px,100%);max-height:min(80vh,640px);display:flex;flex-direction:column;background:var(--panel);border:4px solid var(--edge);border-radius:22px;box-shadow:0 10px 30px #00000059;overflow:hidden}.modal header{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#ffd96b,#f2b632);padding:10px 14px}.modal h2{margin:0;font-size:20px;font-weight:900;color:#6b3f08}.modal .x{width:34px;height:34px;border-radius:50%;background:var(--red);color:#fff;font-weight:900}.modal .body{padding:14px;overflow:auto}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.item{background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:8px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;position:relative}.item .q{position:absolute;top:6px;right:8px;font-weight:900;font-size:13px}.item b{font-size:14px}.item .thumb{height:70px;display:grid;place-items:center}.item .thumb img{max-height:70px;max-width:100px}.item.locked .thumb{filter:grayscale(1) opacity(.5)}.stepper{display:flex;align-items:center;gap:8px;font-weight:900}.stepper button{width:28px;height:28px;border-radius:50%;background:var(--panel-2);font-weight:900}.sell,.buy{width:100%;background:linear-gradient(#7cc95a,var(--green));color:#fff;font-weight:900;padding:7px;border-radius:10px;text-shadow:0 1px 1px rgba(0,0,0,.25)}.buy:disabled{background:#c9bfae}.buy.poor{background:#b9a98c}.cap{display:flex;align-items:center;gap:10px;font-weight:900}.hint{font-size:13px;opacity:.8}.empty-note{grid-column:1 / -1;text-align:center;opacity:.7}.menu{display:flex;flex-direction:column;gap:10px}.menu button,.menu .file,.actions button{background:var(--green);color:#fff;font-weight:900;padding:12px;border-radius:12px;text-align:center;cursor:pointer}.menu .file input{display:none}.danger{background:var(--red)!important}.actions{display:flex;gap:10px}.actions button{flex:1}.actions .no{background:#9a8a70}.ver{font-size:12px;opacity:.6;text-align:center}.levelup{text-align:center}.levelup .burst{font-size:64px;color:var(--gold);text-shadow:0 3px 0 #b37a12;animation:pop .6s ease-out}.rewards{display:flex;gap:10px;justify-content:center;font-weight:900;font-size:18px}.unlocks{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.un{display:flex;flex-direction:column;align-items:center;font-weight:800;font-size:13px}.levelup .ok{margin-top:14px;background:var(--green);color:#fff;padding:12px 40px;border-radius:14px;font-weight:900;font-size:18px}@keyframes pop{0%{transform:scale(.2) rotate(-30deg)}to{transform:scale(1) rotate(0)}}.queue{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.slot{width:84px;min-height:92px;border-radius:14px;background:#fff;border:2px solid var(--panel-2);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;gap:2px;padding:4px}.slot .ic{width:36px;height:36px}.slot.empty{border-style:dashed;background:transparent}.slot.waiting{opacity:.6}.slot.done{border-color:var(--green);background:#effbe6;cursor:pointer}.slot .check{position:absolute;top:2px;right:6px;color:var(--green);font-weight:900}.slot .bar{width:100%;height:7px;margin:0}.slot .left{font-size:11px;font-weight:800}.slot .finish{background:linear-gradient(#7fdcf5,var(--gem));color:#fff;font-size:11px;font-weight:900;border-radius:10px;padding:2px 8px;white-space:nowrap}.slot.add{border-style:dashed;font-size:28px;font-weight:900;color:var(--green-d);background:#f8fff2}.slot.add small{font-size:12px}.collect{width:100%;background:linear-gradient(#7cc95a,var(--green));color:#fff;font-weight:900;padding:10px;border-radius:12px;margin:6px 0 10px}.recipes{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}.recipe{text-align:left;background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:6px}.recipe .top{display:flex;gap:8px;align-items:center}.recipe .top small{display:block;font-size:12px;opacity:.75}.recipe .ins{display:flex;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:800}.recipe .in.short{color:var(--red)}.recipe.locked{filter:grayscale(1);opacity:.55}.recipe.lacking{border-color:#f0c9a0}.recipe .buyline{background:linear-gradient(#7fdcf5,var(--gem));color:#fff;font-weight:900;border-radius:10px;padding:6px;text-align:center;font-size:13px}.recipe:active{transform:scale(.98)}.housing{width:220px;display:flex;flex-direction:column;gap:6px;text-align:center}.housing .sell:disabled{background:#c9bfae}.orders{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.order{background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:6px;min-height:140px}.order.can{border-color:var(--green);background:#f3fbea}.order .needs{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;flex:1;align-items:center}.order .need{display:flex;flex-direction:column;align-items:center;font-weight:900;font-size:13px;color:var(--red)}.order .need.ok{color:var(--green-d)}.order .need .ic.lg{width:40px;height:40px}.order .rw{text-align:center;font-weight:900;font-size:14px}.order .bonus{display:inline-flex;align-items:center;gap:2px;background:#fff3c4;border-radius:8px;padding:0 4px;font-size:12px}.order .acts{display:flex;gap:6px}.order .trash{background:#eee3cc;border-radius:10px;width:36px}.order .deliver{flex:1;background:linear-gradient(#7cc95a,var(--green));color:#fff;font-weight:900;padding:7px;border-radius:10px}.order .deliver:disabled{background:#c9bfae}.order.waiting{justify-content:center;align-items:center;text-align:center;background:#f6efe0;border-style:dashed}.order.waiting .gem-btn{width:auto;padding:6px 12px}.picker{flex-wrap:wrap;max-width:360px}.tool,.plot{width:250px;display:flex;flex-direction:column;gap:6px;text-align:center;align-items:stretch}.tool .row{display:flex;gap:6px;align-items:center;justify-content:center}.plot .ins,.upgrade .ins{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;font-weight:800;font-size:13px}.plot .in.short,.upgrade .in.short{color:var(--red)}.plot .sell:disabled{background:#c9bfae}.upgrade{background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:10px;margin:10px 0;display:flex;flex-direction:column;gap:8px;text-align:center}.tut{z-index:6;position:absolute;left:12px;bottom:max(100px,calc(env(safe-area-inset-bottom) + 96px));width:min(340px,calc(100% - 24px));background:#fff;border:3px solid var(--gold);border-radius:18px;padding:10px 14px;box-shadow:0 6px 18px #00000040}.tut p{margin:4px 0 8px;font-weight:800}.tut-step{font-size:12px;font-weight:900;color:#b37a12}.tut-acts{display:flex;gap:8px;justify-content:flex-end}.tut-acts .skip{background:transparent;color:#8a7a60;font-weight:800;font-size:13px}.tut-acts .free{background:linear-gradient(#7fdcf5,var(--gem));color:#fff;font-weight:900;padding:6px 12px;border-radius:10px}.tut-hand{position:absolute;font-size:36px;pointer-events:none!important;animation:tap 1s ease-in-out infinite;filter:drop-shadow(0 2px 2px rgba(0,0,0,.4));z-index:7}.tut.hidden,.tut-hand.hidden{display:none}@keyframes tap{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}[hidden]{display:none!important}.hud-bottom .big.alt{background:linear-gradient(#fff,#f1e6cf);box-shadow:0 4px #b9a27a;position:relative}.hud-bottom .big .dot{position:absolute;top:-4px;right:-4px;width:16px;height:16px;border-radius:50%;background:var(--red);border:2px solid #fff}.stall{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.listing{background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:8px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;font-size:13px}.listing.empty{border-style:dashed;cursor:pointer;background:#fbf6ea}.listing .plus{font-size:32px;font-weight:900;color:var(--green-d)}.listing.sold{border-color:var(--gold);background:#fff8dc}.listing .acts{display:flex;gap:6px;width:100%}.listing .ad{flex:1;background:#ffe9a8;border-radius:10px;padding:5px;font-weight:800;font-size:12px}.listing .ad:disabled{opacity:.5}.listing .cancel{background:#eee3cc;border-radius:10px;width:30px}.pickform{display:flex;flex-direction:column;align-items:center;gap:10px}.pickform input[type=range]{width:100%;max-width:360px}.pickform .quick{display:flex;gap:8px}.pickform .quick button,.back{background:var(--panel-2);border-radius:10px;padding:6px 10px;font-weight:800}.pickform .list{max-width:360px}.grid.pick .item{cursor:pointer}.gazette{display:flex;flex-direction:column;gap:8px}.offer{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:6px 10px}.offer>div{flex:1}.offer small{display:block;opacity:.7}.offer .sell{width:auto;padding:7px 14px}.crates{display:grid;gap:8px}.crate{background:#f3e2c0;border:3px solid #b8874a;border-radius:10px;padding:8px;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;font-size:13px}.crate.can{border-color:var(--green)}.crate.filled{background:#e3f3d6;border-color:var(--green-d)}.crate .short{color:var(--red)}.crate .sell:disabled{background:#c9bfae}.away{text-align:center;font-size:18px;font-weight:800;padding:30px 0;line-height:1.6}.achs{display:flex;flex-direction:column;gap:8px}.ach{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:8px 10px}.ach .mid{flex:1}.ach .stars{color:var(--gold);letter-spacing:1px}.ach.can{border-color:var(--gold);background:#fff8dc}.ach.done{opacity:.6}.ach .sell{width:auto;padding:7px 12px}.ach .tick{color:var(--green);font-weight:900;font-size:22px}.days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:8px 0 14px}.day{background:#fff;border:2px solid var(--panel-2);border-radius:12px;padding:6px 2px;text-align:center;font-weight:900;font-size:13px}.day.got{opacity:.45}.day.today{border-color:var(--gold);background:#fff3c4;transform:scale(1.06)}.claim:disabled{background:#c9bfae}@media (max-width: 480px){.hud-bottom{right:8px;gap:6px}.hud-bottom .round{display:none}.hud-bottom .big{width:60px;height:60px;font-size:22px;border-radius:15px}.hud-bottom .big span{font-size:10px}.days{grid-template-columns:repeat(4,1fr)}}.login{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;background:linear-gradient(#8cc65a,#4f8a33);display:grid;place-items:center;padding:16px}.login-card{background:var(--panel);border:4px solid var(--edge);border-radius:22px;padding:22px;width:min(380px,100%);display:flex;flex-direction:column;gap:10px;text-align:center;box-shadow:0 10px 30px #0000004d}.login-card h1{margin:0;color:#6b3f08}.login-card input,.addf input{font:inherit;padding:10px 12px;border-radius:12px;border:2px solid var(--panel-2);text-align:center}.login-card .guest{background:var(--green);color:#fff;font-weight:900;padding:12px;border-radius:12px}.login-card .gsi{display:flex;justify-content:center;min-height:44px}.login-card .small{font-size:12px;opacity:.7;margin:0}.login-card .err{color:var(--red);font-weight:800;margin:0;min-height:1em}.account{background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:4px;text-align:center}.account code{font-weight:900;font-size:15px;letter-spacing:2px}.account .logout{background:#9a8a70!important}.netpill{position:absolute;top:max(60px,calc(env(safe-area-inset-top) + 56px));left:50%;transform:translate(-50%);background:var(--red);color:#fff;font-weight:800;padding:4px 12px;border-radius:12px;font-size:13px;z-index:9}.code{font-weight:800;display:flex;gap:8px;align-items:center;justify-content:center;margin-bottom:10px}.code b{font-size:20px;letter-spacing:3px}.code button,.addf .add{width:auto;padding:6px 12px;border-radius:10px;background:var(--panel-2);font-weight:800}.addf{display:flex;gap:8px;justify-content:center;margin-bottom:8px}.addf .add{background:var(--green);color:#fff}.friend{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid var(--panel-2);border-radius:12px;padding:8px 10px;margin-bottom:6px}.friend b{flex:1}.friend small{opacity:.7}.friend .sell{width:auto;padding:6px 14px}.coop-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin-bottom:8px}.coop-head b{font-size:18px;font-weight:900;color:#6b3f08}.coop-head small{opacity:.75;flex:1}.coop-head .tier,.cup-head .tierchip{background:#6b3f08;color:#ffe39a;font-weight:900;font-size:12px;padding:3px 9px;border-radius:10px}.tabs{display:flex;gap:6px;margin-bottom:10px}.tabs button{flex:1;padding:8px 4px;border-radius:12px;background:var(--panel-2);font-weight:900;font-size:13px;color:#6b3f08}.tabs button.on{background:linear-gradient(#ffd96b,#f2b632);box-shadow:0 3px #b37a12}.pane h3{margin:12px 0 6px;font-size:15px}.chat{height:min(46vh,360px);overflow-y:auto;background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:6px}.chat .line{align-self:flex-start;max-width:85%;background:#f3ead6;border-radius:12px 12px 12px 4px;padding:5px 9px;font-size:14px;overflow-wrap:anywhere}.chat .line b{display:block;font-size:12px;color:#6b3f08}.chat .line small{display:block;font-size:10px;opacity:.55;text-align:right}.chat .line.me{align-self:flex-end;background:#dff1cf;border-radius:12px 12px 4px}.chat .line.sys{align-self:center;background:none;font-style:italic;font-size:12px;opacity:.75;text-align:center;padding:0}.chat .line.sys small{display:inline;margin-left:6px}.say{display:flex;gap:8px;margin-top:8px}.say input,.create input:not([type=checkbox]),.addf input{flex:1;min-width:0;padding:9px 12px;border-radius:12px;border:2px solid var(--panel-2);font:inherit;background:#fff}.say .sell{width:auto;padding:8px 16px}.create{display:flex;flex-direction:column;gap:8px}.create label{font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px}.create input[type=number]{width:80px;flex:0}.offer .glyph,.task .glyph,.chest .glyph{font-size:30px;width:44px;text-align:center}.mine,.feed{display:flex;flex-direction:column;gap:6px}.pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:6px;max-height:32vh;overflow-y:auto}.pick button{background:#fff;border:2px solid var(--panel-2);border-radius:12px;padding:4px;display:flex;flex-direction:column;align-items:center}.pick button.on{border-color:var(--green);background:#e3f3d6}.pick small{font-size:11px;font-weight:800;opacity:.7}.qty{display:flex;align-items:center;gap:10px;margin:10px 0}.qty .which{font-weight:800;min-width:90px}.qty input{flex:1}.qty .sell{width:auto;padding:7px 16px}.back,.leave,.abandon{padding:7px 14px;border-radius:10px;background:var(--panel-2);font-weight:800}.leave{margin-top:14px;background:#e9c9c0;color:#8a2b16;width:100%}.member .role{width:22px;text-align:center}.member b small{display:block;font-weight:600;opacity:.7}.member .acts{padding:4px 6px;border-radius:8px;border:2px solid var(--panel-2);background:#fff;font-weight:900}.friend b small{display:block;font-weight:600}.cup-head{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(#7a4a12,#5a340b);color:#ffe9b0;border-radius:16px;padding:10px 14px}.cup-head b{display:block;font-size:18px;font-weight:900}.cup-head small{opacity:.85;font-size:12px}.cup-head .score{text-align:right}.cup-head .score b{font-size:24px;color:#ffd24a}.league{margin:0;padding:0;list-style:none;counter-reset:r;background:#fff;border:2px solid var(--panel-2);border-radius:14px;overflow:hidden}.league li{counter-increment:r;display:flex;gap:10px;padding:6px 10px;font-size:14px}.league li:before{content:counter(r);width:18px;font-weight:900;opacity:.6}.league li:nth-child(odd){background:#faf4e6}.league li span{flex:1}.league li.me{background:#fff1b8;font-weight:900}.board{display:flex;flex-direction:column;gap:6px}.task,.chest{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid var(--panel-2);border-radius:14px;padding:6px 10px}.task>div,.chest>div{flex:1}.task small,.chest small{display:block;opacity:.75}.task .sell,.chest .sell{width:auto;padding:7px 14px}.task .sell:disabled{background:#c9bfae}.task.active{border-color:var(--green);background:#f1f9e9;margin-bottom:6px}.chest{background:#fff6d6;border-color:#e9b93a;margin-bottom:8px}.hist{display:grid;grid-template-columns:80px 1fr auto;gap:8px;font-size:13px;padding:4px 2px;border-bottom:1px dashed var(--panel-2)}.hist span:first-child{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hist.done b{color:var(--green-d)}.hist.failed b,.hist.abandoned b{color:var(--red);opacity:.8}.crate .askc{font-size:11px;font-weight:800;padding:3px 6px;border-radius:8px;background:var(--panel-2);width:100%}.crate .askc.on{background:#ffe39a}.crate .by{font-size:11px;opacity:.75}.sell:disabled,.buy:disabled{background:#c9bfae;cursor:default;text-shadow:none}.coop-head small{flex:1 1 auto;min-width:140px}.tabs button{white-space:nowrap}@media (max-width: 480px){.coop-head small{order:3;flex-basis:100%}.tabs{gap:4px}.tabs button{font-size:12px;padding:7px 2px}}.fly{position:fixed;left:0;top:0;z-index:30;pointer-events:none;will-change:transform,opacity;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}.confetti{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;z-index:40;pointer-events:none}.goal-card{position:absolute;left:10px;top:calc(max(10px,env(safe-area-inset-top)) + 64px);width:250px;display:flex;align-items:center;gap:8px;background:#fffaecf5;border:3px solid #fff;border-radius:16px;padding:6px 8px;box-shadow:0 4px #0000002e;cursor:pointer;z-index:2}.goal-card .gi{width:44px;height:44px;flex:none;display:grid;place-items:center;background:#f3e6c8;border-radius:12px}.goal-card .gi img{max-width:40px;max-height:40px}.goal-card .gi .glyph{font-size:26px}.goal-card .gt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.goal-card .gt small{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;color:#b07a2a}.goal-card .gt b{font-size:13px;line-height:1.15;color:#4a2e10}.goal-card .bar{height:8px;background:#e6d7b5;border-radius:4px;overflow:hidden}.goal-card .bar i{display:block;height:100%;background:linear-gradient(#a8e35d,#6fbf34);transition:width .4s}.goal-card .gn{font-size:11px;font-weight:800;opacity:.7}.goal-card .grw{display:flex;gap:6px;flex-wrap:wrap;font-size:12px;font-weight:900}.goal-card .grw span{display:flex;align-items:center;gap:2px}.goal-card .claim{width:auto;padding:8px 12px;animation:claimPulse 1.1s ease-in-out infinite}.goal-card.done{border-color:#ffd84a;box-shadow:0 0 0 3px #ffd84a73,0 4px #0000002e}@keyframes claimPulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@media (max-width: 480px){.goal-card{width:200px;top:calc(max(10px,env(safe-area-inset-top)) + 56px)}.goal-card .gt b{font-size:12px}}@media (prefers-reduced-motion: reduce){.goal-card .claim{animation:none}}
