:root{--ground: #8fc0a0;--ink: #4a2030;--plum: #3d2238;--cream: #fff1d6;--cream-2: #ffe3b3;--cream-3: #f3cf94;--orange: #f08a2c;--gold: #ffc22e;--green: #6dcf74;--green-d: #2f8f4a;--red: #e2503c;--muted: #8a6658;--lift: 0 5px 0 rgba(74, 32, 48, .45);--sat: env(safe-area-inset-top, 0px);--sab: env(safe-area-inset-bottom, 0px);--sal: env(safe-area-inset-left, 0px);--sar: env(safe-area-inset-right, 0px)}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%}body{margin:0;overflow:hidden;background:var(--ground);color:var(--ink);font:700 14px/1.3 Trebuchet MS,Segoe UI,system-ui,sans-serif;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;overscroll-behavior:none}#game{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}.hud{position:fixed;z-index:2}.pill{display:flex;align-items:center;gap:7px;padding:4px 14px 4px 6px;background:#3d2238e6;border:3px solid var(--cream);border-radius:999px;color:#fff;font-variant-numeric:tabular-nums;box-shadow:0 4px #4a20304d}#inv{top:14px;left:14px;display:flex;flex-direction:column;gap:7px;pointer-events:none}#inv .pill{min-width:104px;font-size:16px}#inv .pill img{width:30px;height:30px;margin:-6px 0 -6px -4px}#inv .pill span{margin-left:auto}#level{padding:3px 8px 3px 3px;gap:6px}#inv #level .lv{margin:0;min-width:30px;height:30px;padding:0 4px;display:flex;align-items:center;justify-content:center;background:#3b82f6;border:2px solid var(--cream);border-radius:50%;font-size:15px}.xp{position:relative;flex:1;min-width:96px;height:16px;background:#24131f;border-radius:8px;overflow:hidden}.xp i{display:block;height:100%;background:linear-gradient(#7fd4ff,#3b9ff0);border-radius:8px}.xp b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;text-shadow:0 1px 0 #0009}#topHud{top:14px;left:50%;transform:translate(-50%);width:min(44vw,460px);display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}#craving{width:100%;text-align:center;color:#fff;text-shadow:0 2px 0 rgba(74,32,48,.6);font-size:16px}#craving img{width:28px;height:28px;vertical-align:-8px}#craving .bar{height:20px;margin-top:4px;background:var(--plum);border:3px solid var(--cream);border-radius:8px;overflow:hidden;box-shadow:0 4px #4a20304d}#craveFill{height:100%;background:linear-gradient(#ffd75a,var(--gold));border-radius:0 4px 4px 0}#hint{padding:5px 16px;font-size:14px}#topRight{top:14px;right:14px;display:flex;align-items:center;gap:10px}#money{font-size:19px;color:#ffe07a;padding-right:16px}#money img{width:26px;height:26px}.round{position:relative;width:68px;height:68px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--cream);border:3px solid var(--ink);border-radius:18px;box-shadow:var(--lift);transition:transform .08s}.round img{width:36px;height:36px;pointer-events:none}.round .cap{font-size:11px;line-height:1;margin-top:1px}.round:hover{background:#fff8e8;transform:translateY(-2px)}.round:active{transform:translateY(3px);box-shadow:0 2px #4a203073}.round.small{width:44px;height:44px;border-radius:14px;background:var(--plum);border-color:var(--cream)}.round.small:hover{background:#55304e}.round.small img{width:26px;height:26px}.badge{position:absolute;top:-7px;right:-7px;width:18px;height:18px;background:var(--red);border:3px solid var(--cream);border-radius:50%;animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.25)}}#sideBtns{right:14px;bottom:14px;display:flex;gap:12px}#hotbar{left:50%;bottom:14px;z-index:3;transform:translate(-50%);display:flex;align-items:center;gap:10px;padding:8px 10px;background:var(--cream);border:3px solid var(--ink);border-radius:20px;box-shadow:var(--lift)}.slots{display:flex;gap:8px}#hotbar .sep{width:3px;height:44px;border-radius:2px;background:var(--cream-3)}#seeds,#machines{position:relative}.slot.basket{width:74px}.slot.basket .wicker{width:40px;height:40px;margin-top:8px}.slot.basket .seed{position:absolute;top:1px;left:50%;width:30px;height:30px;transform:translate(-50%);filter:drop-shadow(0 2px 0 rgba(74,32,48,.3))}.slot.basket .cap{margin-top:-3px;color:var(--ink)}.slot.basket:after{content:"";position:absolute;top:6px;right:6px;border:5px solid transparent;border-bottom-color:var(--muted);border-top-width:0}#seed-picker,#machine-picker{position:absolute;right:-14px;bottom:calc(100% + 22px);grid-template-columns:repeat(4,auto);gap:8px;padding:12px;background:var(--cream);border:4px solid var(--ink);border-radius:20px;box-shadow:0 6px #4a203073;animation:pop .12s ease-out}#seed-picker:after,#machine-picker:after{content:"";position:absolute;right:38px;bottom:-13px;width:18px;height:18px;background:var(--cream);border-right:4px solid var(--ink);border-bottom:4px solid var(--ink);transform:rotate(45deg)}#seed-picker .slot.active{transform:none}#seed-picker .slot:hover,#machine-picker .slot:hover{transform:translateY(-2px)}.slot.machines img{width:50px;height:28.3px;margin:6px 0 3px}.slot.machines .stopped{position:absolute;top:-6px;left:-6px;width:14px;height:14px;background:var(--red);border:3px solid var(--cream);border-radius:50%}#machine-picker{grid-template-columns:repeat(3,auto)}.slot.machine{width:92px;height:88px;gap:3px;background:#dff3d6;border-color:var(--green-d)}.slot.machine img{width:56px;height:31.7px}.slot.machine .cap{font-size:11px;color:var(--ink)}.slot.machine .state{padding:2px 10px;background:var(--red);border:2px solid var(--ink);border-radius:999px;color:#fff;font-size:11px;line-height:1.2}.slot.machine.off{background:var(--cream-2);border-color:var(--cream-3)}.slot.machine.off img{filter:grayscale(1);opacity:.6}.slot.machine.off .cap{color:var(--muted)}.slot.machine.off .state{background:var(--green);color:var(--ink)}.slot{position:relative;width:58px;height:58px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--cream-2);border:3px solid var(--cream-3);border-radius:14px;transition:transform .08s}.slot img{width:34px;height:34px;pointer-events:none}.slot .cap{font-size:10px;line-height:1;color:var(--muted)}.slot .key{position:absolute;top:-8px;left:-8px;min-width:20px;padding:1px 0;background:var(--plum);border:2px solid var(--cream);border-radius:7px;color:#fff;font-size:11px;text-align:center}.slot:hover{transform:translateY(-2px)}.slot.active{background:var(--gold);border-color:var(--ink);transform:translateY(-7px);box-shadow:0 5px #4a203059}.slot.active .cap{color:var(--ink)}#tileInfo{position:fixed;left:0;top:0;z-index:3;display:flex;align-items:center;gap:8px;min-width:168px;padding:6px 12px 7px 7px;background:var(--cream);border:3px solid var(--ink);border-radius:14px;box-shadow:0 4px #4a203059;pointer-events:none;white-space:nowrap}#tileInfo>div{flex:1}#tileInfo img{width:34px;height:34px}#tileInfo .name{font-size:14px;line-height:1.15}#tileInfo .status{font-size:11px;font-weight:600;color:var(--muted)}#tileInfo.thirsty .status{color:var(--red)}.mini{height:6px;margin-top:3px;background:var(--cream-3);border-radius:3px;overflow:hidden}.mini i{display:block;height:100%;border-radius:3px}.mini.grow i{background:var(--green-d)}.mini.water i{background:#39a7e8}#overlay{position:fixed;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:16px;background:#3d223873}.modal{display:flex;flex-direction:column;width:min(720px,100%);max-height:min(86vh,720px);max-height:min(86dvh,720px);background:var(--cream);border:4px solid var(--ink);border-radius:22px;box-shadow:0 10px #4a203073;overflow:hidden;animation:pop .14s ease-out}.modal.narrow,#tavern{width:min(440px,100%)}@keyframes pop{0%{transform:scale(.92);opacity:0}}.modalHead{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;background:var(--orange);border-bottom:4px solid var(--ink)}.modalHead img{width:34px;height:34px}.modalHead h2{margin:0;flex:1;font-size:22px;color:#fff;text-shadow:0 2px 0 rgba(74,32,48,.55)}.close{width:34px;height:34px;padding:0;background:var(--cream);border:3px solid var(--ink);border-radius:50%;font-size:22px;line-height:1}.close:hover{background:#fff}.modalBody{padding:14px 16px 18px;overflow-y:auto}.modalBody h3{margin:2px 2px 9px;font-size:12px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}.modalBody h3:not(:first-child){margin-top:18px}.list{display:grid;gap:10px}.list.two{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))}.row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px 8px 8px;background:#fffaf0;border:3px solid var(--cream-3);border-radius:16px}.row>img{width:44px;height:44px;object-fit:contain}.row .name{font-size:15px}.row .lvl{margin-left:6px;padding:0 7px;background:var(--cream-2);border-radius:999px;font-size:12px;color:var(--muted)}.row .info{font-size:12px;font-weight:600;color:var(--muted)}.row.hot{background:#fff3b8;border-color:var(--gold)}#house{width:min(620px,100%)}.shelf+.shelf{margin-top:6px}.stock{display:grid;grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:10px;padding-bottom:12px;border-bottom:8px solid #c9753f;border-radius:0 0 6px 6px;box-shadow:0 4px #4a203040;margin-bottom:14px}.crate{display:flex;flex-direction:column;align-items:center;padding:8px 4px 7px;background:#fffaf0;border:3px solid var(--cream-3);border-radius:14px}.crate img{width:50px;height:50px}.crate b{margin-top:2px;font-size:19px;line-height:1.1;font-variant-numeric:tabular-nums}.crate span{font-size:12px;font-weight:600;color:var(--muted)}.crate.none{background:transparent;border-style:dashed}.crate.none img{opacity:.35;filter:grayscale(.6)}.crate.none b{color:var(--muted)}#greenhouse .keeper img{width:96px;height:84px}.interior{--reserve: 176px;--room: min( calc(100vw - 20px) , calc((100vh - var(--reserve)) * 120 / 140), 820px);position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:8px;padding:calc(10px + var(--sat)) calc(10px + var(--sar)) calc(10px + var(--sab)) calc(10px + var(--sal));overflow:hidden;animation:enter .25s ease-out}@keyframes enter{0%{opacity:0;transform:scale(1.05)}}.interior .stage{position:relative;flex:none;width:var(--room);aspect-ratio:120 / 140;font-size:calc(var(--room) / 46);filter:drop-shadow(0 8px 0 rgba(74,32,48,.3))}.interior .room{position:absolute;inset:0;width:100%;height:100%}.room .ink{stroke:var(--ink);stroke-width:.7;stroke-linejoin:round}.room .wood{fill:#c9753f}.room .trim{fill:none;stroke:#b9663a;stroke-width:1.1}.room .frame{stroke:#d98646;stroke-width:1.5}.room .furrow{stroke:#5f3319;stroke-width:1.6;stroke-linecap:round;opacity:.5}.room .wall{fill:none;stroke:#c9753f;stroke-width:1.8;paint-order:stroke;filter:drop-shadow(0 0 .5px var(--ink))}.interior .outside{position:absolute;inset:0}.interior>header,.interior>footer{position:relative}.interior>header{pointer-events:none}.interior>header>*{pointer-events:auto}.interior>header{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:14px}.interior>header h2{margin:0;padding:3px 20px;background:var(--orange);border:3px solid var(--ink);border-radius:999px;box-shadow:0 4px #4a20304d;font-size:20px;color:#fff;text-shadow:0 2px 0 rgba(74,32,48,.55)}.interior>header .pill img{width:22px;height:22px}#beds{position:absolute;inset:0;z-index:1}.bed,.tree{position:absolute;display:flex;flex-direction:column;align-items:center;padding:0;background:none;border:0;color:inherit;font:inherit;cursor:pointer;transform:translate(-50%,-100%) translateY(1.9em)}.bed:disabled,.tree:disabled{cursor:default}.bed .plants{display:grid;grid-template-columns:repeat(3,1.95em);grid-auto-rows:1.6em;align-items:end;justify-content:center;min-width:5.9em;height:5.2em;padding-top:2em;pointer-events:none}.bed .plants img{position:relative;width:3.2em;height:4em;margin:0 -.63em;filter:drop-shadow(0 .1em 0 rgba(74,32,48,.25))}.bed .plants img:nth-child(-n+3){z-index:0}.bed .plants img:nth-child(n+4){z-index:1}.bed:hover:not(:disabled) .plants img,.tree:hover:not(:disabled) .crown img{filter:brightness(1.1) drop-shadow(0 .1em 0 rgba(74,32,48,.25))}.bed .mini{width:4.8em;height:.42em;margin:.22em 0 0;background:#4a203080;border-radius:1em}.bed .mini i{background:var(--green)}.bed .tag,.tree .tag{display:flex;align-items:center;gap:.25em;margin-top:.22em;padding:0 .7em;background:#3d2238eb;border:.18em solid var(--cream);border-radius:999px;color:#fff;font-size:max(10px,.92em);line-height:1.45;font-variant-numeric:tabular-nums;white-space:nowrap}.bed .tag img,.tree .tag img{width:1em;height:1em}.bed.empty .tag,.tree.empty .tag{background:var(--green);border-color:var(--ink);color:var(--ink)}.bed.empty:hover .tag,.bed.forSale:hover:not(:disabled) .tag,.tree.empty:hover:not(:disabled) .tag{filter:brightness(1.1)}.bed.ripe .tag,.tree.ripe .tag{background:var(--gold);border-color:var(--ink);color:var(--ink)}.tree.empty:disabled .tag{background:#e2d2b6;border-color:#b9a58c;color:#8a7462}.bed.ripe .plants img{transform-origin:50% 100%;animation:ripe 1.1s ease-in-out infinite}.bed.ripe .plants img:nth-child(2n){animation-delay:-.45s}@keyframes ripe{0%,to{transform:scale(1)}50%{transform:scale(1.07,.94)}}.bed.ripe:after,.tree.ripe:after{content:"\2726";position:absolute;top:.9em;right:.2em;z-index:2;color:#fff;font-size:1.5em;text-shadow:0 0 .4em #fff3b8;animation:glint 1.6s ease-in-out infinite;pointer-events:none}@keyframes glint{0%,to{opacity:0;transform:scale(.4) rotate(0)}50%{opacity:1;transform:scale(1) rotate(30deg)}}.bed.forSale .plants{display:block;min-width:0;width:5.2em;height:2.6em;padding:0;margin:2.6em 0 .2em;background:#fff1d624;border:.18em dashed var(--cream);border-radius:.7em}.bed.forSale:disabled{opacity:.7}.tree{width:0;height:0;transform:none}.tree .crown{position:absolute;left:-5.1em;bottom:-1.5em;z-index:var(--z);display:flex;align-items:flex-end;justify-content:center;width:10.2em;height:13.4em}.tree .crown img{pointer-events:none}.tree .crown img.grown{width:10.05em;height:13.4em;filter:drop-shadow(0 .12em 0 rgba(74,32,48,.25))}.tree .crown img.sapling{width:4.6em;height:5.75em;margin-bottom:.3em}.tree .crown img.fruit{position:absolute;width:1.95em;height:1.95em;filter:drop-shadow(0 .1em 0 rgba(74,32,48,.3));animation:sway 2.4s ease-in-out infinite}.tree .crown img.f1{left:1.5em;top:4.2em}.tree .crown img.f2{left:6.3em;top:2.5em;animation-delay:-.8s}.tree .crown img.f3{left:4.1em;top:5.5em;animation-delay:-1.5s}.tree .crown img.f4{left:2.9em;top:1.5em;animation-delay:-.4s}.tree .crown img.f5{left:7.2em;top:5em;animation-delay:-1.9s}.tree .crown img.f6{left:.5em;top:5.9em;animation-delay:-1.1s}.tree .crown img.f7{left:4.7em;top:.9em;animation-delay:-.2s}.tree .crown img.f8{left:4.3em;top:3.2em;animation-delay:-1.3s}.tree .crown img.f9{left:2.3em;top:6.6em;animation-delay:-.6s}.tree .crown img.f10{left:6.1em;top:6.8em;animation-delay:-1.7s}.tree.growing .crown{left:-2.6em;width:5.2em;height:6.4em}.tree.empty .crown{left:-3.2em;bottom:-1.2em;width:6.4em;height:3.4em}.tree .tag{position:absolute;left:0;top:1.5em;z-index:1000;margin:0;transform:translate(-50%)}.tree.ripe:after{content:none}.tree.ripe .crown:after{content:"\2726";position:absolute;top:.8em;right:.9em;color:#fff;font-size:1.5em;text-shadow:0 0 .4em #fff3b8;animation:glint 1.6s ease-in-out infinite;pointer-events:none}.interior>footer{flex:none;display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--cream);border:4px solid var(--ink);border-radius:22px;box-shadow:0 6px #4a203073;font-size:14px}.interior>footer .sep{width:3px;height:44px;border-radius:2px;background:var(--cream-3)}.interior>footer .slots{gap:6px}.interior .slot{width:78px;height:62px;cursor:pointer}.interior .slot .cap{display:flex;align-items:center;gap:3px;margin-top:1px}.interior .slot .cap img{width:10px;height:11px}.interior .slot.wanted{background:#f1e2c6}.interior .slot.wanted>img{opacity:.55}.interior .slot:disabled{cursor:default}.interior>footer .round{width:62px;height:62px;box-shadow:0 3px #4a203066;cursor:pointer}.interior>footer .round img{width:30px;height:30px}.interior>footer .round:disabled{opacity:.45;cursor:default}@media(prefers-reduced-motion:reduce){.interior,.bed.ripe .plants img,.bed.ripe:after,.tree.ripe:after,.tree .crown img.fruit{animation:none}}@media(max-width:680px){.interior{--reserve: 232px}.interior>header h2{font-size:16px;padding:3px 14px}.interior>footer{flex-wrap:wrap;justify-content:center;gap:6px;padding:6px 8px}.interior>footer .sep{display:none}.interior .slot{width:56px;height:52px}.interior .slot>img{width:28px;height:28px}.interior>footer .round{width:52px;height:52px}}#ranks .tabs{margin-bottom:12px}.ranks{display:grid;gap:6px;margin-top:10px}.ranks.own{margin-top:12px;padding-top:12px;border-top:3px dashed var(--cream-3)}.rank{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:6px 12px 6px 6px;background:#fffaf0;border:3px solid var(--cream-3);border-radius:14px}.rank.me{background:#fff3b8;border-color:var(--gold)}.rank .pos{display:grid;place-items:center;height:30px;border-radius:10px;background:var(--cream-2);font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.rank.top1 .pos,.rank.top2 .pos,.rank.top3 .pos{border:3px solid var(--ink);color:var(--ink);font-size:15px}.rank.top1 .pos{background:var(--gold)}.rank.top2 .pos{background:#d9dee6}.rank.top3 .pos{background:#e0975a}.rank .who{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.rank .lvl{padding:0 7px;background:var(--cream-2);border-radius:999px;font-size:12px;color:var(--muted)}.rank .coins{display:flex;align-items:center;gap:4px;min-width:62px;justify-content:flex-end;font-variant-numeric:tabular-nums}.rank .coins img{width:16px;height:16px}.row button,button.big{background:var(--green);border:3px solid var(--ink);border-radius:14px;box-shadow:0 4px #4a203066}.row button{min-width:92px;padding:5px 10px;line-height:1.15}.row button .cost{display:flex;align-items:center;justify-content:center;gap:4px;font-size:13px;font-variant-numeric:tabular-nums}.row button .cost:empty{display:none}.row button .cost:before{content:"";width:14px;height:14px;background:url(/images/coin-9d5e80ef0000136a859f840c6800d8fa.svg?vsn=d) center / contain no-repeat}.row button:hover:not(:disabled),button.big:hover:not(:disabled){filter:brightness(1.07)}.row button:active:not(:disabled),button.big:active:not(:disabled){transform:translateY(3px);box-shadow:0 1px #4a203066}.row button:disabled,button.big:disabled{background:#e2d2b6;border-color:#b9a58c;color:#a08b78;box-shadow:none}button.big{width:100%;margin-top:14px;padding:11px;background:var(--gold);font-size:16px}a.big{display:block;margin-top:10px;padding:11px;background:var(--cream);border:3px solid var(--ink);border-radius:14px;box-shadow:0 4px #4a203066;color:inherit;font-size:16px;text-align:center;text-decoration:none}a.big:hover{filter:brightness(1.07)}.field{display:block;margin-top:10px;font-size:12px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.field input{display:block;width:100%;margin-top:4px;padding:9px 12px;border:3px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:16px;font-weight:600;letter-spacing:0;text-transform:none;user-select:text;-webkit-user-select:text}.field input:focus{outline:3px solid var(--gold);outline-offset:1px}.field input[aria-invalid]{border-color:var(--red)}.field input[readonly]{background:var(--cream-2)}.fieldError{margin:4px 2px 0;font-size:13px;color:var(--red)}.formError{margin:12px 0 0;padding:8px 12px;border:3px solid var(--red);border-radius:12px;background:#ffe3dd;font-weight:700}.help.small{margin-top:12px;font-size:12px}.devFarm{margin-top:14px;padding:10px 12px 12px;background:#fffaf0;border:3px solid var(--cream-3);border-radius:16px}.devFarm.me{background:#fff3b8;border-color:var(--gold)}.devFarm .who{display:flex;align-items:center;gap:8px;font-size:16px}.devFarm .who .name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.devFarm .who .lvl{padding:0 7px;background:var(--cream-2);border-radius:999px;font-size:12px;color:var(--muted)}.devFarm .who .coins{display:flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}.devFarm .who .coins img{width:16px;height:16px}.devFarm .help.small{margin-top:2px}.devFarm form{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:end;gap:8px}.devFarm form button.big{margin:0;padding:9px 8px;font-size:14px}#welcome{position:fixed;inset:0;z-index:8;display:flex;padding:calc(14px + var(--sat)) 16px calc(14px + var(--sab));background:var(--ground);overflow-y:auto}.welcomeCard{width:min(400px,100%);margin:auto;background:var(--cream);border:4px solid var(--ink);border-radius:26px;box-shadow:0 10px #4a203073;overflow:hidden;animation:pop .2s ease-out}.welcomeHead{padding:20px 18px 0;text-align:center;background:linear-gradient(#d3f0da,#9ccfae);border-bottom:4px solid var(--ink)}.welcomeHead .logo{display:block;width:76px;height:76px;margin:0 auto;border:4px solid var(--ink);border-radius:22px;box-shadow:0 5px #4a203059}.welcomeHead h1{margin:12px 0 4px;font-size:30px;line-height:1;letter-spacing:-.5px}.welcomeHead h1 span{display:inline-block;min-width:34px;padding:2px 8px;background:var(--orange);border:3px solid var(--ink);border-radius:12px;color:#fff;transform:rotate(6deg)}.welcomeHead p{margin:0 auto;max-width:290px;font-weight:600;color:#3f5a4a}.crops{position:relative;display:flex;justify-content:center;align-items:flex-end;gap:6px;height:54px;margin:10px -18px 0}.crops:before{content:"";position:absolute;left:0;right:0;bottom:0;height:15px;background:repeating-linear-gradient(90deg,#e5a15c 0 22px,#e09a55 22px 44px);border-top:3px solid #b9552f}.crops img{position:relative;width:32px;height:40px;margin-bottom:6px;transform-origin:50% 100%;animation:sway 2.6s ease-in-out infinite}.crops img:nth-child(2n){animation-delay:-.9s}.crops img:nth-child(3n){animation-delay:-1.7s}@keyframes sway{0%,to{transform:rotate(-4deg)}50%{transform:rotate(4deg) translateY(-2px)}}@media(prefers-reduced-motion:reduce){.crops img{animation:none}}.welcomeBody{padding:16px 18px 20px}.welcomeBody .help{margin-top:12px}.welcomeBody .tabs{margin-bottom:14px}.welcomeBody a:not(.big):not(.tabs a){color:var(--ink)}.welcomeHead>a{display:block;width:fit-content;margin:0 auto}.formHead h2{margin:0;font-size:20px}.formHead .help{margin-top:4px}.divider{display:flex;align-items:center;gap:10px;margin:18px 0 4px;color:var(--muted);font-size:13px}.divider:before,.divider:after{content:"";flex:1;border-top:3px dashed var(--cream-3)}.divider:empty{gap:0}.flash{position:fixed;top:calc(12px + var(--sat));left:50%;transform:translate(-50%);z-index:9;max-width:min(92vw,440px);padding:7px 18px;cursor:pointer}.flash.error{border-color:#ffb4a6;background:#8c2222eb}.flash b{margin-right:4px}.tabs{display:flex;gap:4px;padding:4px;background:#ecd9b8;border:3px solid var(--ink);border-radius:15px}.tabs a,.tabs button{flex:1;padding:8px 6px;background:transparent;border:0;border-radius:9px;color:var(--muted);font:inherit;font-size:15px;text-align:center;text-decoration:none;cursor:pointer}.tabs a.active,.tabs button.active{background:var(--gold);color:var(--ink);box-shadow:0 2px #4a203066}@media(min-width:760px){.welcomeCard{display:grid;grid-template-columns:5fr 6fr;width:min(760px,100%)}.welcomeHead{display:flex;flex-direction:column;padding-top:24px;border-bottom:0;border-right:4px solid var(--ink)}.welcomeHead .logo{width:96px;height:96px;margin-top:auto;border-radius:26px}.welcomeHead h1{font-size:34px}.crops{margin-top:auto;padding-top:24px;height:78px}.welcomeBody{align-self:center}}@media(max-width:759px)and (max-height:640px){.welcomeHead{padding-top:12px}.welcomeHead .logo{width:52px;height:52px;border-radius:16px}.welcomeHead h1{margin-top:8px;font-size:24px}.welcomeHead p{display:none}.crops{height:46px;margin-top:4px}}button.big.danger{background:#ff9d8c;margin-top:10px}button.big.alt{background:var(--cream);margin-top:10px}.keeper{display:flex;gap:12px;align-items:center;margin-bottom:14px}.keeper img{width:84px;height:98px;flex-shrink:0}.keeper .name{font-size:16px}.speech{position:relative;margin-top:6px;padding:8px 12px;background:#fff;border:3px solid var(--ink);border-radius:14px;font-weight:600}.speech:before{content:"";position:absolute;left:-9px;top:12px;width:12px;height:12px;background:#fff;border-left:3px solid var(--ink);border-bottom:3px solid var(--ink);transform:rotate(45deg)}.help{margin:0 0 4px;font-weight:600;color:var(--muted)}.musicRow{display:flex;align-items:center;gap:12px}.musicRow .round.small{flex-shrink:0;box-shadow:0 3px #4a203066}.musicRow.muted input,.musicRow.muted span{opacity:.45}#volumeText{min-width:42px;text-align:right;font-variant-numeric:tabular-nums}#volume{flex:1;min-width:0;height:28px;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;touch-action:pan-y}#volume::-webkit-slider-runnable-track{height:12px;background:var(--cream-3);border:3px solid var(--ink);border-radius:8px;box-sizing:content-box}#volume::-moz-range-track{height:12px;background:var(--cream-3);border:3px solid var(--ink);border-radius:8px}#volume::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;margin-top:-7px;background:var(--orange);border:3px solid var(--ink);border-radius:50%;box-shadow:0 2px #4a203066}#volume::-moz-range-thumb{width:20px;height:20px;background:var(--orange);border:3px solid var(--ink);border-radius:50%}#toast,#offline{position:fixed;left:50%;bottom:104px;transform:translate(-50%);z-index:6;padding:7px 18px;max-width:90vw;text-align:center}.row .lvl:empty{display:none}@media(max-width:760px),(max-height:520px){#inv{top:calc(8px + var(--sat));left:calc(8px + var(--sal));flex-direction:row;flex-wrap:wrap;gap:5px;max-width:calc(100vw - 150px - var(--sal) - var(--sar))}#inv .pill{min-width:0;gap:4px;padding:2px 9px 2px 4px;border-width:2px;font-size:13px;box-shadow:none}#inv .pill img{width:22px;height:22px;margin:-3px 0 -3px -2px}#inv .pill span{margin-left:0}#level{padding:1px 6px 1px 2px}#inv #level .lv{min-width:22px;height:22px;font-size:12px;border-width:1.5px}.xp{min-width:58px;height:12px}.xp b{font-size:8px}#topRight{top:calc(8px + var(--sat));right:calc(8px + var(--sar));gap:6px}#money{font-size:15px;padding:2px 10px 2px 4px;border-width:2px}#money img{width:20px;height:20px}.round.small{width:36px;height:36px;border-radius:11px;border-width:2px}.round.small img{width:22px;height:22px}#topHud{top:calc(76px + var(--sat));width:min(86vw,420px);gap:5px}#craving{font-size:13px}#craving img{width:22px;height:22px;vertical-align:-6px}#craving .bar{height:14px;margin-top:2px;border-width:2px}#hint{padding:3px 12px;font-size:12px;border-width:2px}#hotbar{bottom:calc(8px + var(--sab));gap:6px;padding:6px;border-radius:16px;max-width:calc(100vw - 16px - var(--sal) - var(--sar))}.slots{gap:5px}#hotbar .sep{height:34px;flex-shrink:0}.slot{width:44px;height:44px;flex-shrink:0;border-width:2px;border-radius:11px}.slot img{width:30px;height:30px}.slot .cap,.slot .key{display:none}.slot:hover{transform:none}.slot.active{transform:none;box-shadow:inset 0 0 0 2px #fff}#sideBtns{right:calc(8px + var(--sar));bottom:calc(72px + var(--sab));gap:8px}.round{width:50px;height:50px;border-radius:14px}.round img{width:30px;height:30px}.round .cap{display:none}.round:hover{transform:none}#toast,#offline{bottom:calc(134px + var(--sab));font-size:13px}#overlay{padding:8px}.modal{max-height:90vh;max-height:90dvh;border-radius:18px}.modalHead{padding:7px 10px 7px 12px}.modalHead h2{font-size:18px}.modalBody{padding:12px 10px 14px}.row{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;padding:7px}.row>img{width:36px;height:36px}.row button{min-width:78px}.keeper img{width:64px;height:75px}}@media(max-height:520px)and (orientation:landscape){#inv{max-width:30vw}#topHud{top:calc(8px + var(--sat));width:32vw}#sideBtns{bottom:calc(8px + var(--sab))}#toast,#offline{bottom:calc(70px + var(--sab))}}
