*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#11231f;color:#f6f3d8;font-family:Trebuchet MS,Arial,sans-serif}body{background:radial-gradient(ellipse at 25% 20%,#334b43,transparent 48%),radial-gradient(ellipse at 90% 80%,#293243,transparent 60%),#101f1d;display:grid;place-items:center}#app{position:relative;height:100dvh;max-height:1000px;width:min(100vw,calc(100dvh * 640 / 1200));overflow:hidden;box-shadow:0 0 100px #0007;background:#233e32}#game{height:100%;width:100%;touch-action:none}canvas{display:block;touch-action:none}.overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(ellipse at 50% 30%,#4e6b4288,transparent 70%),linear-gradient(#142b27ed,#11261ef8);display:flex;align-items:center;justify-content:center;padding:24px;z-index:3}.overlay.hidden{display:none}.intro{text-align:center;width:100%}.eyebrow{font-size:10px;letter-spacing:3px;color:#b8cf9e;font-weight:700}.wordmark{font-size:clamp(42px,10vw,76px);font-weight:1000;line-height:.95;color:#b3ee59;letter-spacing:-3px;text-shadow:0 4px #416f30,0 8px 0 #172c24;margin-top:24px}.wordmark span{display:block;color:#ffe08b;font-size:.75em;letter-spacing:-2px;text-shadow:0 4px #9b6534,0 8px #172c24}.hero-plants{display:flex;align-items:flex-end;justify-content:center;height:180px;margin:14px -10px 0}.hero-plants img{width:30%;filter:drop-shadow(0 10px 5px #0005)}.hero-plants img:nth-child(2){width:40%;margin:0 -12px;z-index:1;transform:translateY(-15px)}h1{font-size:23px;letter-spacing:-.8px;margin:20px 0 10px}p{font-size:14px;line-height:1.6;color:#b8cbb8;margin:0 0 24px}.primary,.secondary{font-family:inherit;width:100%;border:0;cursor:pointer;font-weight:700;border-radius:16px;min-height:58px;font-size:17px;background:linear-gradient(#c4f36e,#91ce41);color:#23442c;box-shadow:0 5px #507f35,inset 0 2px #e0ffa7;touch-action:manipulation}.primary span{float:right;margin-right:5px}.primary:active,.secondary:active{transform:translateY(3px);box-shadow:0 2px #507f35}.secondary{margin-top:15px;background:#355143;color:#e6efd7;box-shadow:0 4px #20382d}.intro-foot{font-size:9px;letter-spacing:.5px;margin-top:26px;color:#92aa90}.intro-foot i{padding:0 5px;color:#d5bf7f;font-style:normal}#best{font-size:12px;margin-top:20px;color:#e9dca9}.dialog-title{font-size:38px;font-weight:700;color:#d3ef91;margin:18px 0}.stats{display:flex;justify-content:space-around;margin:24px 0}.stats b{display:block;color:#fff2bc;font-size:28px}.stats small{color:#9eb49d}.help-line{text-align:left;font-size:14px;padding:12px 0;border-bottom:1px solid #ffffff14}.help-line b{color:#daedb6}.help-line:last-of-type{margin-bottom:25px}@media (max-height:600px) and (orientation:landscape){#app{width:calc(100dvh * 640 / 1200)}.hero-plants{height:80px}.wordmark{font-size:36px}.intro h1{font-size:16px}.intro p{font-size:10px;margin-bottom:12px}.intro-foot{display:none}.eyebrow{font-size:8px}.primary{min-height:34px;font-size:12px}.intro{transform:scale(.95)}}.plant-sprite{display:inline-block;flex:none;background-image:url(/assets/plants.png);background-size:300% 200%;background-repeat:no-repeat;width:90px;height:90px;filter:drop-shadow(0 8px 5px #0004)}.hero-plants .plant-sprite{width:100px;height:100px}.hero-plants .plant-sprite:nth-child(2){width:145px;height:145px;margin:0 -20px;z-index:1;transform:translateY(-8px)}.menu-row{display:flex;justify-content:center;gap:6px;margin-top:18px}.menu-row button{border:0;background:none;color:#c6d7b4;font-family:inherit;font-size:12px;padding:10px;cursor:pointer;text-decoration:underline;text-decoration-color:#657d5e;text-underline-offset:5px;min-height:42px}.slim{min-height:44px;font-size:14px;border-radius:12px}.chapters{display:grid;gap:14px;margin:24px 0}.chapter{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:linear-gradient(120deg,#425d40,#294638);border:1px solid #6c8756;border-radius:16px;padding:20px 14px;color:#eef1cf;font-family:inherit;cursor:pointer}.chapter-num{font-size:28px;color:#c1e887;opacity:.7}.chapter b{display:block;font-size:16px}.chapter small{display:block;color:#aebf9e;margin-top:7px;font-size:10px}.chapter em{display:block;font-size:10px;color:#e7cc7c;letter-spacing:2px;font-style:normal;margin-top:9px}.chapter.locked{opacity:.45;cursor:default}.chevron{margin-left:auto;font-size:30px}.setting{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18;padding:25px 0;margin:25px 0}.toggle{border:1px solid #bdde80;background:#a3cf67;color:#243d29;border-radius:22px;padding:10px 20px;font-weight:700;cursor:pointer}.toggle[aria-pressed=false]{background:#3a5142;color:#b6c4a8;border-color:#65745c}.volume-label{display:flex;justify-content:space-between;font-size:14px;margin-bottom:20px}input[type=range]{width:100%;accent-color:#b0d975;height:30px}.setting-note{margin:25px 0}.help-merge{display:flex;justify-content:center;align-items:center}.help-merge .plant-sprite{width:64px;height:64px}.help-line{font-size:12px;line-height:1.5;padding:11px 0}.help-line b{display:block;font-size:14px}.help-line br{display:none}.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.plant-card{background:#ffffff08;border:1px solid #788a4f40;border-radius:14px;display:flex;align-items:center;flex-direction:column;padding:5px 6px 12px}.plant-card .plant-sprite{width:85px;height:85px}.plant-card small{font-size:7px;color:#a9ba98;letter-spacing:.6px}.plant-card b{font-size:13px;margin:5px 0}.plant-card span:not(.plant-sprite){font-size:9px;color:#bfd0aa}.plant-card em{font-size:9px;color:#e5d9a2;font-style:normal;margin-top:5px}.plant-card.undiscovered{opacity:.6}.collection h1{font-size:30px;margin:12px 0}.collection p{margin-bottom:12px;font-size:12px}.result-art .plant-sprite{width:145px;height:145px}.stars{font-size:35px;color:#ffdc83;letter-spacing:8px;margin-bottom:15px}#share-status{font-size:12px;margin:12px 0 0}.overlay{overflow-y:auto;scrollbar-width:thin}.intro{max-height:100%;padding:12px 0}.hero-plants{height:155px}.wordmark{font-size:70px}button:focus-visible,input:focus-visible{outline:3px solid #ffe08b;outline-offset:4px}@media (max-height:740px){.hero-plants{height:110px}.hero-plants .plant-sprite{width:85px;height:85px}.hero-plants .plant-sprite:nth-child(2){width:120px;height:120px}.wordmark{font-size:55px}.eyebrow{font-size:9px}.intro h1{margin:15px 0 8px}.intro>p{margin-bottom:15px}.help-line{font-size:11px;padding:8px 0}.help-line b{font-size:12px}.book-grid{gap:6px}.plant-card .plant-sprite{width:65px;height:65px}.plant-card{padding-bottom:8px}}body{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}#app{height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:min(100%,calc((100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) * 640 / 1200))}.species-icon{display:inline-block;width:100px;height:100px;flex:none;object-fit:contain;background-image:url(/assets/chibi-defenders.png);background-size:500% 200%;background-repeat:no-repeat}.seed-choice{font-family:inherit;color:inherit;cursor:pointer;min-height:164px}.seed-choice:hover{border-color:#e9be7d;background:#54754a}.plant-card span.species-icon{font-size:inherit}.results{animation:result-enter .5s ease-out}.results .stats{animation:result-enter .8s ease-out}@keyframes result-enter{0%{opacity:0;transform:translateY(30px) scale(.94)}to{opacity:1;transform:none}}html,body{width:100%;height:100%;padding:0;display:block}#app{width:100vw;height:100dvh;max-height:none;box-shadow:none}#game{width:100%;height:100%}.intro{max-width:520px;margin:auto}.overlay{padding:max(20px,env(safe-area-inset-top)) 24px max(20px,env(safe-area-inset-bottom))}#seed-tray{position:absolute;z-index:2;bottom:0;left:0;right:0;display:flex;align-items:center;gap:7px;padding:8px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));height:100px;overflow-x:auto;overscroll-behavior:contain;background:#283f36f5;border-top:2px solid #9fae6f;scrollbar-width:thin;touch-action:pan-x}#seed-tray.hidden{display:none}.seed-chip{flex:0 0 73px;min-height:74px;background:#405746;color:#fff2d0;border:2px solid #779165;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:inherit;cursor:pointer}.seed-chip[aria-pressed=true]{border-color:#ffe7a0;background:#697b35;box-shadow:inset 0 0 0 2px #dac366}.seed-chip .species-icon{width:48px;height:48px;pointer-events:none}.seed-chip:focus-visible{outline:3px solid #fff2c0;outline-offset:1px}@media (min-width:1000px){#seed-tray{justify-content:center}}img.species-icon{background:none}#seed-tray{height:80px;padding-top:4px;padding-bottom:max(4px,env(safe-area-inset-bottom));gap:5px}.seed-chip{min-height:64px;flex-basis:70px}#orientation-hint{display:none}canvas{image-rendering:auto}.hero-plants .species-icon{width:120px;height:120px}.hero-plants .species-icon:nth-child(2){width:155px;height:155px}@media (orientation:portrait){#orientation-hint{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;background:#152b2b;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px;color:#e3edce;text-align:center}#orientation-hint svg{width:160px;height:110px;color:#b9db93}#orientation-hint button{max-width:280px}#orientation-hint p{max-width:300px}}.wordmark{color:#b8ccb7;text-shadow:0 4px #355d57,0 8px #112b2b}.wordmark span{color:#d6b07c;text-shadow:0 4px #68563f,0 8px #112b2b}.primary{background:linear-gradient(#aabb8c,#738658);color:#142c28;box-shadow:0 5px #364a3b,inset 0 2px #d1d9b5}.hero-plants{height:160px}.dialog-title{color:#cedbc5}#seed-tray{background:#182f30f7;border-color:#8d8867}.seed-chip{background:#294944;border-color:#607267}.seed-chip[aria-pressed=true]{background:#4e6653;border-color:#dbc28a;box-shadow:inset 0 0 0 1px #c1ad80}#battle-controls{display:none}@media (orientation:landscape) and (max-height:540px){#battle-controls:not(.hidden){display:block;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2}.battle-left,.battle-right{position:absolute;top:max(12px,env(safe-area-inset-top));width:112px;display:flex;flex-direction:column;gap:10px;align-items:center;padding:12px 6px;border:1px solid #a3a78577;border-radius:14px;background:#193934ed;pointer-events:auto}.battle-left{left:max(8px,env(safe-area-inset-left))}.battle-right{right:max(8px,env(safe-area-inset-right))}#battle-controls button{width:96px;min-height:44px;border:1px solid #a9b791;background:#526c4c;color:#f1edcf;border-radius:10px;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer}#battle-controls button:disabled{opacity:.4;cursor:default}#battle-controls button small{display:block;font-size:11px;margin-top:3px}#battle-controls small{font-size:12px;color:#c5d1b5}.battle-left b{font-size:16px}.compact-energy{display:flex;align-items:center;gap:8px;font-size:22px}.compact-energy svg{width:24px;height:28px;fill:#e7b45e}#compact-pause svg{width:24px;height:24px;fill:#e6dbb6}#seed-tray{height:64px;padding-top:2px;padding-bottom:2px}.seed-chip{min-height:56px;flex-basis:64px}.seed-chip .species-icon{width:34px;height:34px}.seed-chip b{font-size:10px}.hero-plants{height:90px}.hero-plants .species-icon,.hero-plants .species-icon:nth-child(2){width:90px;height:90px}.wordmark{font-size:40px;margin-top:8px}.intro{max-height:100%;padding:4px 0}.intro-foot,#best{display:none}.menu-row{margin-top:6px}}html,body{background:#3f365c;color:#fff1dd;font-family:Trebuchet MS,Arial,sans-serif}body{display:grid;place-items:center;background:radial-gradient(ellipse at top,#8272ab,#383451)}#app{width:min(100vw,560px);height:100dvh;max-height:none;background:#9acb80;box-shadow:0 0 100px #201e4755}#orientation-hint,#battle-controls{display:none!important}.overlay{background:linear-gradient(#49365b83,#49365be8),url(/assets/chibi-garden.webp) center/cover;padding:24px 26px;align-items:safe center}.intro{max-width:420px;padding:12px 0}.eyebrow{color:#f7cfb6;font-size:12px;letter-spacing:2px}.wordmark{color:#c9f28f;text-shadow:0 4px #3e7d62,0 8px #352e52;font-size:66px;margin-top:18px}.wordmark span{color:#ffd79e;text-shadow:0 4px #ac6b70,0 8px #352e52}.hero-plants{height:150px;margin:12px 0}.hero-plants .species-icon{width:115px;height:115px;filter:drop-shadow(0 8px 4px #291a4133)}.hero-plants .species-icon:nth-child(2){width:145px;height:145px;margin:0 -20px;z-index:1}.intro h1{font-size:24px;color:#fff1d8}.intro p{font-size:15px;color:#e7dbee}.primary{background:linear-gradient(#c8f39a,#85d175);color:#294f46;box-shadow:0 5px #467e61,inset 0 2px #edffd7;border:2px solid #daffc2;min-height:54px;border-radius:18px}.secondary{background:#f7d6bd;color:#654660;box-shadow:0 4px #9a6b83;min-height:48px;border:1px solid #ffe9cb}.menu-row button{color:#ffe7d0;font-size:14px}.chapter{background:#6c5886;border:2px solid #ae8caa}.chapter small,.plant-card span:not(.species-icon){color:#e6daed;font-size:13px}.chapter-num{color:#f9d495}.dialog-title,.collection h1{color:#ffe2a8}.plant-card{background:#6c5784;border:1px solid #b596b0;padding:12px 8px}.plant-card b{font-size:15px}.plant-card em{font-size:12px}.help-line{font-size:14px}.help-line b{font-size:15px;color:#d4f6ae}.stats small{color:#eddfeb}.intro-foot{font-size:11px;color:#e4d5e5}#best{color:#ffe0af}#seed-tray{height:90px;bottom:0;gap:6px;padding:6px 10px max(6px,env(safe-area-inset-bottom));background:linear-gradient(#fbe4c9,#edc8ad);border-top:3px solid #fff2dc;box-shadow:0 -3px 14px #41284c33;align-items:flex-start}.seed-chip{flex:0 0 68px;min-height:70px;padding:3px;border:2px solid #c39d9e;border-radius:14px;background:#fff0d8;color:#65445b}.seed-chip .species-icon{width:43px;height:43px}.seed-chip b{font-size:11px}.seed-chip[aria-pressed=true]{background:#d2edac;border-color:#57936c;box-shadow:inset 0 0 0 2px #efffd0;transform:translateY(-2px)}@media (max-height:700px){.wordmark{font-size:48px;margin-top:8px}.hero-plants{height:95px}.hero-plants .species-icon{width:85px;height:85px}.hero-plants .species-icon:nth-child(2){width:110px;height:110px}.intro-foot,#best{display:none}.intro h1{margin-top:12px}.menu-row{margin-top:10px}}#game canvas{width:100%!important;height:100%!important}#seed-tray{justify-content:flex-start}.species-icon.seed-art,.species-icon.pitcher-art{background-image:url(/assets/chibi-seed-pitcher.png);background-size:200% 100%}.species-icon.seed-art{background-position:left center}.species-icon.pitcher-art{background-position:right center}#shop-bar{position:absolute;bottom:90px;left:0;right:0;height:72px;display:flex;gap:5px;padding:6px 8px;background:#6c4e72;border-top:2px solid #eccda8;z-index:2}#shop-bar.hidden{display:none}#shop-bar button{flex:1;min-width:0;border:2px solid #f7deb5;border-radius:12px;background:linear-gradient(#ffe6ad,#eec483);color:#644153;font-family:inherit;cursor:pointer}#shop-bar button b{display:block;font-size:12px}#shop-bar small{display:block;font-size:10px;margin-top:5px}#shop-bar button:disabled{opacity:.48;cursor:default}.seed-chip small{font-size:10px;white-space:nowrap}.seed-chip{flex-basis:84px}.seed-chip .species-icon{width:37px;height:37px}.species-icon.tier-art{background-size:300% 300%}.family-card{font-family:inherit;color:inherit;cursor:pointer}.plant-card .tier-art{width:110px;height:110px}#shop-bar b svg,#shop-bar b img{width:22px;height:22px;vertical-align:middle;object-fit:contain}#shop-bar b{height:24px;line-height:24px}.econ-icon{display:inline-block;width:24px;height:24px;vertical-align:middle;background-image:url(/assets/fantasy-economy.webp);background-size:300% 200%}.dwarf-icon{background-position:0 0}.village-icon{background-position:0 100%}.hero-preview{background:none!important;object-fit:contain;flex-shrink:0}html,body{background:#0c2522;color:#f5edcf}body{background:radial-gradient(ellipse at top,#254b40,#091d1b)}#app{background:#173d2f;box-shadow:0 0 100px #0006}.overlay{background:linear-gradient(#112f29c9,#102923f5),url(/assets/home-camp.webp) center/cover}.primary{background:linear-gradient(#f4d48c,#d7a854);border-color:#ffe8b0;color:#283d2b;box-shadow:0 5px #795832,inset 0 2px #fff0be;border-radius:14px}.secondary{background:#254c40;color:#f2e3ba;border-color:#8f9b6c;box-shadow:0 3px #102c25;border-radius:12px}.chapter,.plant-card{background:#25473de8;border-color:#7c8964}.chapter small,.plant-card span:not(.species-icon),.intro p{color:#cdd6be}.dialog-title,.collection h1,.intro h1{color:#f5e6bd}.eyebrow{color:#c7d7a4}.menu-row button{color:#e6dfbb}.overlay[data-screen=home]{padding:0;display:block;overflow-y:auto;background:linear-gradient(#08271b80,#08271b00 48%,#08271bcc 68%),url(/assets/home-camp.webp) center/cover}.overlay[data-screen=home]>.intro{box-sizing:border-box;width:100%;max-width:none;min-height:100%;height:auto;max-height:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:stretch;transform:none;isolation:isolate}.home-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:max(14px,env(safe-area-inset-top)) 20px 8px;font-size:12px;color:#fff1c9}.home-top>span:nth-child(2){display:none}.home-seal,.home-best{padding:8px 12px;background:#0b2d24ed;border:1px solid #9fa777;border-radius:12px;font-weight:700;white-space:nowrap}.home-title{padding:14px 16px 18px;margin:0;background:linear-gradient(#0b2d2480,#0b2d2400);text-align:center;text-shadow:0 2px 5px #031c16}.home-title>span{font-size:12px;letter-spacing:2px;color:#e9dfb7}.home-title h1{font-family:Georgia,serif;font-size:clamp(34px,10vw,58px);line-height:1.15;letter-spacing:1px;margin:8px 0;color:#fff0bd}.home-title p{font-size:14px!important;line-height:1.5;margin:0;color:#fff2d7!important}.home-party{position:relative;flex:1 0 auto;min-height:120px;height:clamp(120px,23dvh,220px);display:flex;align-items:flex-end;justify-content:center;padding:8px 16px 0;filter:drop-shadow(0 8px 4px #09271d66)}.home-party .hero-preview{width:30%;height:auto;max-width:140px;aspect-ratio:1;margin:0}.home-party .hero-preview:nth-child(2){width:34%;max-width:160px;transform:none}.home-dock{flex-shrink:0;width:100%;padding:20px 20px max(18px,env(safe-area-inset-bottom));background:#0b2a21f5;border-top:1px solid #9aa67770;text-align:center;margin:0}.home-chapter{margin:0 0 18px;display:flex;flex-direction:column;gap:7px}.home-chapter>span{font-size:12px;line-height:1.4;letter-spacing:1px;color:#c7d7ad}.home-chapter strong{font-family:Georgia,serif;font-size:24px;line-height:1.25;font-weight:400;color:#fff0d2;overflow-wrap:anywhere}.home-chapter small{font-size:13px;line-height:1.4;color:#c3d3bb}.home-play{display:block;width:100%;height:auto;min-height:52px;padding:12px 10px;font-size:17px;line-height:1.3;letter-spacing:0;margin:0 0 12px;white-space:normal}.home-play small{display:block;font-size:13px;line-height:1.3;font-weight:400;margin-top:4px}.home-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0 0}.home-nav button{min-width:0;border:1px solid #9aa67770;background:#23483b;border-radius:12px;min-height:70px;padding:10px 4px;color:#eef1d7;font-family:inherit;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;cursor:pointer}.home-nav svg{width:22px;height:22px;fill:none;stroke:#d3dfae;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.home-nav span{font-size:14px;line-height:1.3}.home-footer{font-size:12px!important;line-height:1.5;color:#c3d3bb!important;margin:16px 0 0!important}.home-nav button:hover{background:#385d45}@media (max-height:740px){.home-title{padding-top:8px;padding-bottom:8px}.home-title p{display:none}.home-party{height:110px;min-height:110px}.home-dock{padding-top:14px}.home-chapter{margin-bottom:12px}.home-nav{margin-top:14px}.home-footer{margin-top:12px!important}}@media (prefers-reduced-motion:reduce){.home-party,.results{animation:none}}#shop-bar{background:#173a2e;border-color:#8f9e6d}#shop-bar button{background:linear-gradient(#efda9d,#cfad67);border-color:#eed8a0;color:#2d4331}#seed-tray{background:linear-gradient(#254c3c,#163b2e);border-color:#829362;box-shadow:0 -3px 14px #09281d66}.seed-chip{background:#345540;border-color:#6b835c;color:#f1e6c7}.seed-chip[aria-pressed=true]{background:#5a7447;border-color:#f4d386;box-shadow:inset 0 0 0 1px #f8e3a4}#app{--panel:#19382d;--panel-raised:#315242;--edge:#9a824d;--gold:#eed38b;--ink:#f6edd2}#battle-hud,#command-deck,.home-dock,.overlay:not([data-screen=home])>.intro{border:16px solid transparent;border-image:url(/assets/realm-panel.webp) 140 fill / 16px / 0 stretch;background:none;filter:drop-shadow(0 4px 4px #071c1a66)}#battle-hud{position:absolute;inset:2px 6px auto;z-index:2;height:74px;padding:0 4px;border-width:10px;border-image-width:10px;display:grid;grid-template-columns:36px 1fr auto;grid-template-rows:34px 16px;gap:2px 10px;color:var(--ink)}#battle-hud button{width:34px;height:34px;border:1px solid #c7a46188;border-radius:50%;background:linear-gradient(#61754b,#304b35);box-shadow:inset 0 1px #dcce8d55;color:var(--gold);cursor:pointer}#battle-hud svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.battle-wave{display:flex;flex-direction:column;justify-content:center;gap:1px}.battle-wave small{font-size:9px;letter-spacing:1px;color:#c1d0ac}.battle-wave b{font-size:19px;line-height:1.1}.battle-wallet{display:flex;align-items:center;gap:10px}.battle-wallet span{display:flex;align-items:center;gap:4px;font-size:16px;color:var(--gold)}.battle-wallet span:last-child{color:#edbba1}#hud-progress{grid-column:1/-1;text-align:center;font-size:11px;line-height:16px;color:#d4d8b6}#command-deck{position:absolute;z-index:2;bottom:0;left:4px;right:4px;height:216px;padding:0 6px;border-width:12px;border-image-width:12px;display:grid;grid-template-rows:76px 48px 68px;isolation:isolate}#command-deck #seed-tray,#command-deck #shop-bar,#command-deck #deploy-bar{position:static;inset:auto;width:100%;height:auto;padding:0;background:none;border:0;box-shadow:none;min-width:0}#command-deck #seed-tray{grid-row:1;gap:5px;align-items:flex-start;scrollbar-width:none}.seed-chip{flex:0 0 79px;min-height:72px;padding:0 3px;background:none;border:1px solid transparent;border-radius:12px;color:var(--ink)}.seed-chip[aria-pressed=true]{transform:none;background:radial-gradient(ellipse at 50% 30%,#a8ba5d55,transparent 70%);border-color:#d6c17b88;box-shadow:none}.seed-chip b{font-size:11px;line-height:14px}.seed-chip small{font-size:10px;line-height:13px;color:#d3ddc0}.seed-chip .species-icon{width:38px;height:38px}#command-deck #shop-bar{grid-row:2;display:flex;align-items:stretch;gap:0;border-top:1px solid #acac6c33;border-bottom:1px solid #acac6c33}#shop-bar button{border:0;border-radius:0;background:none;color:var(--ink);box-shadow:none}#shop-bar button+button{border-left:1px solid #acac6c33}#shop-bar button b{font-size:12px;height:20px;line-height:20px}#shop-bar small{font-size:12px;margin:0;color:var(--gold)}#shop-bar .econ-icon{width:20px;height:20px}#shop-bar button:hover{background:#b3bc6822}#command-deck #deploy-bar{grid-row:3;padding-top:4px}#deploy-info{font-size:12px;line-height:16px;color:#d4d8b6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:4px}.deploy-actions{display:grid;grid-template-columns:1fr 60px;gap:8px}.deploy-actions button{height:36px;border:1px solid #efdba3;border-bottom:3px solid #8e6c38;border-radius:12px;background:linear-gradient(#eaca80,#bca45e);box-shadow:inset 0 2px #f9e8b0;color:#283d28;font:700 15px Trebuchet MS,Arial;cursor:pointer}.deploy-actions #sell-unit{border:1px solid #bdad6d;border-bottom:3px solid #233c28;background:linear-gradient(#566d43,#3b5235);box-shadow:inset 0 1px #9eab6266;color:var(--ink)}.deploy-actions button:disabled{opacity:.45;cursor:default}#battle-hud.hidden,#command-deck.hidden,#deploy-bar.hidden,.overlay.hidden{display:none!important}.home-dock{width:calc(100% - 20px);margin:0 10px 10px;padding:12px 14px max(10px,env(safe-area-inset-bottom));border-top-width:16px}.home-nav{gap:0;margin-top:14px;border-top:1px solid #acac6c33;padding-top:8px}.home-nav button{background:none;border:0;border-radius:0;min-height:60px}.home-nav button+button{border-left:1px solid #acac6c33}.home-nav button:hover{background:#b3bc6818}.home-party{padding-bottom:0}.home-title{background:none}.overlay[data-screen=home]{background:linear-gradient(#08271b80,transparent 40%,#08271b44),url(/assets/home-camp.webp) center/cover}.overlay:not([data-screen=home]){padding:16px}.overlay:not([data-screen=home])>.intro{padding:16px;max-height:100%;overflow:auto}.chapter{border:0;border-bottom:1px solid #acac6c55;background:#29493855;border-radius:0}.chapters{gap:0}.plant-card{border:1px solid #acac6c44;background:#2f4d3b66;border-radius:12px}.primary{border-radius:13px;background:linear-gradient(#eaca80,#bca45e);color:#283d28;box-shadow:0 3px #795832,inset 0 2px #f9e8b0}.secondary{border-radius:12px;background:linear-gradient(#566d43,#3b5235);color:var(--ink);border-color:#bdad6d;box-shadow:0 3px #233c28,inset 0 1px #9eab6266}@media (max-width:350px){.home-dock{padding:10px 4px}.home-nav span{font-size:12px}#battle-hud{gap:2px 6px}.battle-wallet{gap:6px}.battle-wallet span{font-size:14px}.battle-wave small{font-size:8px}}#app button,#app input{touch-action:manipulation;-webkit-tap-highlight-color:transparent}#seed-tray,#seed-tray .seed-chip{touch-action:pan-x}#game,#game canvas{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;overscroll-behavior:none}html,body,#app{touch-action:manipulation}#app button,#app button *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
