:root{--ds-page:#fffdfb;--ds-ink:#251f21;--ds-ink-2:#585254;--ds-hairline:#eae9ea;--ds-teal:#73a89a;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ds-ink);font-size:14px;line-height:1.6;font-synthesis:none}.independent-game{max-width:760px;margin:0 auto;padding:16px}.help-section h2{font-size:21px;font-weight:600}.help-section ul{padding-left:22px}.help-section li{margin:10px 0}.help-note{padding:16px;background:#f4efec;border-radius:12px}.help-note h3{margin:0 0 8px}.help-note p{margin:0}figure{margin:20px 0}figure img{display:block;max-width:100%;height:auto;max-height:440px}figcaption,footer{font-size:12px;line-height:1.7;color:var(--ds-ink-2)}footer{border-top:1px solid var(--ds-hairline);margin-top:24px;padding:20px 0}button:focus-visible,summary:focus-visible{outline:3px solid var(--ds-teal);outline-offset:3px}@media(max-width:360px){.independent-game{padding:8px}}html,body,#root{margin:0;min-height:100%}body{background:var(--ds-page)}button{font:inherit;color:inherit}.td-shell{display:flex;flex-direction:column;gap:14px;margin-top:18px}.td-hud-wrap{display:grid;gap:6px;padding:6px;border:1px solid var(--ds-hairline);border-radius:16px;background:#fffdfbf2;box-shadow:0 4px 14px #251f211a;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.td-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.td-hud-item{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:42px;border-radius:11px;background:#fbfaf9}.td-hud-value{display:flex;align-items:center;gap:4px}.td-hud-value i{font-style:normal;font-size:14px;line-height:1}.td-hud-item strong{color:var(--ds-ink);font-weight:700;font-size:17px;line-height:20px;font-variant-numeric:tabular-nums}.td-hud-item small{color:var(--ds-ink-2);font-size:9.5px;letter-spacing:.05em;text-transform:uppercase;line-height:12px}.td-hud-controls{display:flex;gap:6px}.td-hud-controls button{min-height:40px;border:1px solid var(--ds-hairline);border-radius:999px;background:#fff;padding:0 14px;font-weight:600;font-size:13px;cursor:pointer}.td-hud-controls .td-primary{flex:1 1 auto;border-color:var(--ds-teal);background:var(--ds-teal);color:#fff}.td-hud-controls button:disabled{cursor:default;opacity:.55}.td-hud-wrap .td-message{padding:0 6px 2px}.td-shop{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.td-shop-card{min-height:64px;display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center;padding:9px;border:1px solid var(--ds-hairline);border-radius:14px;background:#fff;text-align:left;cursor:pointer}.td-shop-card.is-selected{border-color:var(--ds-teal);box-shadow:0 0 0 2px color-mix(in srgb,var(--ds-teal) 24%,transparent)}.td-shop-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:600}.td-shop-card strong{display:block;font-size:13px;line-height:18px}.td-shop-card small{display:block;color:var(--ds-ink-2);font-size:11px;line-height:15px}.td-board-wrap{overflow:hidden;border-radius:20px;border:1px solid var(--ds-hairline);background:#dcecdf}.td-board{position:relative;display:grid;width:100%;background:#dcecdf;touch-action:manipulation}.td-cell{position:relative;aspect-ratio:1;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:#dcecdf;box-shadow:inset 0 0 0 .5px #54705a1f;cursor:pointer}.td-cell:nth-child(odd){background:#d4e6d6}.td-cell.is-path,.td-cell.is-path:nth-child(odd){background:#eadcc0;box-shadow:inset 0 0 0 1px #98774a24}.td-cell.has-tower{background:#cfe4d2}.td-cell.is-selected{box-shadow:inset 0 0 0 3px var(--ds-teal)}.td-tower-icon{position:absolute;inset:16%;border-radius:50%;display:grid;place-items:center;font-size:clamp(13px,3.6vw,17px);font-weight:600;box-shadow:0 2px 5px #251f2121}.tower-arrow .td-tower-icon,.td-shop-icon.tower-arrow{background:#b9d8ef}.tower-frost .td-tower-icon,.td-shop-icon.tower-frost{background:#cde9ed}.tower-stone .td-tower-icon,.td-shop-icon.tower-stone{background:#d9d0c6}.td-level{position:absolute;right:8%;bottom:7%;width:15px;height:15px;border-radius:50%;display:grid;place-items:center;background:var(--ds-ink);color:#fff;font-size:9px;font-weight:600}.td-shots{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.td-shots line{stroke-width:.07;stroke-linecap:round;opacity:.8}.shot-arrow{stroke:#36739a}.shot-frost{stroke:#56aebb;stroke-width:.1}.shot-stone{stroke:#7e7469;stroke-width:.12}.td-enemy{position:absolute;width:8.5%;aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none;z-index:2}.td-enemy-face{display:block;width:100%;height:100%;border-radius:50% 50% 44% 44%;border:2px solid rgba(37,31,33,.18);box-shadow:0 2px 5px #251f2129}.enemy-sprout .td-enemy-face{background:#a8cf82}.enemy-runner .td-enemy-face{background:#f0b56f}.enemy-shell .td-enemy-face{background:#aaa2bd}.enemy-boss{width:11%}.enemy-boss .td-enemy-face{background:#d98f9f}.td-enemy.is-slow .td-enemy-face{outline:3px solid rgba(130,205,220,.65)}.td-health{position:absolute;left:10%;right:10%;bottom:-7px;height:4px;border-radius:99px;overflow:hidden;background:#251f2129}.td-health span{display:block;height:100%;background:var(--ds-teal)}.td-message{min-height:24px;margin:0;color:var(--ds-ink-2);font-size:13px;line-height:20px}.td-upgrade{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:14px;background:#f4efec}.td-upgrade strong{display:block;font-size:14px}.td-upgrade small{display:block;margin-top:2px;color:var(--ds-ink-2);font-size:12px}.td-upgrade button,.td-actions button{min-height:44px;border:1px solid var(--ds-hairline);border-radius:999px;background:#fff;padding:0 16px;font-weight:600;cursor:pointer}.td-actions{display:flex;flex-wrap:wrap;gap:8px}.td-actions button{flex:1 1 auto}.td-actions .td-primary{border-color:var(--ds-teal);background:var(--ds-teal);color:#fff}.td-actions button:disabled{cursor:default;opacity:.55}.td-max{color:var(--ds-ink-2);font-size:13px}@media(min-width:768px){.td-shell{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start}.td-hud-wrap{grid-column:1;grid-row:1}.td-board-wrap{grid-column:1;grid-row:2 / span 5}.td-shop{grid-column:2;grid-row:1 / span 3;grid-template-columns:1fr}.td-actions{grid-column:2;grid-row:6}}.td-cell.is-path,.td-cell.is-path:nth-child(odd){background:#e7d6b4;box-shadow:inset 0 0 0 1px #98774a29}.td-cell.is-path:after{content:"";position:absolute;inset:42% 8%;border-radius:99px;background:#fffcf459}.td-tower-icon{border:2px solid rgba(255,255,255,.65)}.td-tower-lv2{inset:13%;font-size:clamp(14px,3.9vw,19px)}.td-tower-lv3{inset:10%;font-size:clamp(15px,4.3vw,21px);box-shadow:0 3px 8px #251f2138,0 0 0 2px #ffd580d9}.tower-bolt .td-tower-icon,.td-shop-icon.tower-bolt{background:#f2dd9a}.td-range{fill:#468c781a;stroke:#468c7880;stroke-width:.045;stroke-dasharray:.14 .1}.shot-bolt{stroke:#d8a920;stroke-width:.09}.td-puff{position:absolute;width:9%;aspect-ratio:1;transform:translate(-50%,-50%) scale(1.4);border-radius:50%;background:radial-gradient(circle,#ffffffe6,#fff0);pointer-events:none;z-index:3}.puff-boss,.puff-king,.puff-golem{width:13%}.td-enemy{transition:filter .08s linear}.enemy-wisp .td-enemy-face{background:#ffe9a3;box-shadow:0 0 10px 2px #ffde78cc;border-color:#d6a83c59}.enemy-wisp{width:6.5%}.enemy-golem .td-enemy-face{background:#9aa5a1;border-radius:40% 40% 46% 46%}.enemy-golem{width:10.5%}.enemy-king{width:13%}.enemy-king .td-enemy-face{background:#c97f95;border-radius:46% 46% 40% 40%;box-shadow:0 3px 8px #251f2140,inset 0 6px #ffffff38}.td-enemy.is-hit .td-enemy-face{filter:brightness(1.45) saturate(1.2)}.td-next{margin:0;padding:8px 12px;border-radius:10px;background:#f4efec;color:var(--ds-ink-2);font-size:12px;line-height:17px}.td-best{margin:0;color:var(--ds-ink-2);font-size:12px;text-align:center}.td-upgrade{flex-wrap:wrap}.td-upgrade-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.td-upgrade .td-sell{background:#fff;border-color:var(--ds-hairline);color:var(--ds-ink-2);font-weight:500}@media(min-width:768px){.td-next{grid-column:2;grid-row:4}.td-actions{grid-column:2;grid-row:7}.td-best{grid-column:2;grid-row:8}.td-board-wrap{grid-row:2 / span 7}}.td-shop{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.td-shop-card{min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px 4px;text-align:center}.td-shop-card>span:last-child{display:flex;flex-direction:column;align-items:center}.td-shop-card strong{font-size:11px;line-height:14px}.td-shop-card small{display:none}.td-shop-icon{width:28px;height:28px;font-size:14px}.td-confirm{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:#e8f1ec;border:1px solid color-mix(in srgb,var(--ds-teal) 35%,transparent);flex-wrap:wrap}.td-confirm strong{display:block;font-size:13px}.td-confirm small{display:block;margin-top:2px;color:var(--ds-ink-2);font-size:11px}.td-confirm-actions{display:flex;gap:6px}.td-confirm-actions button{min-height:38px;border:1px solid var(--ds-hairline);border-radius:999px;background:#fff;padding:0 14px;font-weight:600;font-size:13px;cursor:pointer}.td-confirm-actions .td-primary{border-color:var(--ds-teal);background:var(--ds-teal);color:#fff}.td-cell.is-pending{box-shadow:inset 0 0 0 2px var(--ds-teal);background:#e2efe6}.td-ghost{opacity:.55;filter:saturate(.7)}.td-range-pending{stroke-dasharray:.2 .12;fill:#468c7824}.td-branch{position:absolute;left:6%;bottom:6%;width:9px;height:9px;border-radius:50%;box-shadow:0 1px 2px #251f2140}.td-branch-a{background:#4e8c78}.td-branch-b{background:#d8a920}.td-branch-btn{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-height:44px;border:1px solid var(--ds-hairline);border-radius:12px;background:#fff;padding:6px 12px;font-weight:600;font-size:12px;cursor:pointer}.td-branch-btn small{color:var(--ds-ink-2);font-weight:400;font-size:10.5px}@media(min-width:768px){.td-shop{grid-template-columns:1fr}.td-shop-card{min-height:64px;display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center;padding:9px;text-align:left}.td-shop-card>span:last-child{display:block}.td-shop-card strong{font-size:13px;line-height:18px}.td-shop-card small{display:block;color:var(--ds-ink-2);font-size:11px;line-height:15px}.td-shop-icon{width:34px;height:34px;font-size:16px}}.td-shell{gap:8px;margin-top:10px}.td-shop-card{min-height:48px;padding:4px}.td-shop-icon{width:26px;height:26px}.td-hud-wrap{display:flex;flex-direction:row;align-items:center;gap:4px;padding:4px}.td-hud-item{flex-direction:row;min-height:34px;padding:0 5px;gap:2px}.td-hud-item strong{font-size:13px;line-height:16px}.td-hud-item i{font-size:12px}.td-hud-item small{display:none}.td-hud-controls{flex:1 1 auto;justify-content:flex-end;gap:3px}.td-hud-controls button{min-height:36px;padding:0 7px;font-size:12px}.td-hud-controls .td-primary{flex:0 1 auto;min-width:0}.td-status{display:grid;gap:6px}.td-status .td-message{min-height:20px;padding:0 4px;font-size:12px;line-height:18px}.td-confirm,.td-upgrade{padding:8px 10px}.td-next{padding:6px 10px}@media(min-width:768px){.td-hud-wrap{display:grid;gap:6px;padding:6px;grid-column:1;grid-row:1}.td-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.td-hud-item{flex-direction:column;min-height:42px;padding:0}.td-hud-item strong{font-size:17px;line-height:20px}.td-hud-item small{display:block}.td-hud-controls{justify-content:flex-start;gap:6px}.td-hud-controls button{min-height:40px;padding:0 14px;font-size:13px}.td-hud-controls .td-primary{flex:1 1 auto}.td-status{grid-column:1;grid-row:9}.td-next{grid-row:10}.td-actions{grid-row:11}.td-best{grid-row:12}.td-board-wrap{grid-row:2 / span 11}}.td-title{margin:0;padding:0 4px;color:var(--ds-ink-2);font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:18px}.td-hud-controls button{white-space:nowrap}.td-hud-controls .td-primary{min-width:0;overflow:hidden;text-overflow:ellipsis}.td-shop{margin-top:0}@media(min-width:768px){.td-title{grid-column:1 / span 2}.td-hud-wrap{grid-column:1;grid-row:2}.td-board-wrap{grid-column:1;grid-row:3 / span 10}.td-shop{grid-column:2;grid-row:2 / span 4}.td-status{grid-column:2;grid-row:6}.td-next{grid-column:2;grid-row:7}.td-actions{grid-column:2;grid-row:8}.td-best{grid-column:2;grid-row:9}}.td-shell{gap:6px}.td-hud-wrap{flex-wrap:nowrap}.td-hud-controls button{padding:0 9px}@media(min-width:768px){.td-shop{grid-column:2;grid-row:2 / span 4}.td-status{grid-column:2;grid-row:6}}.td-hud{display:flex;gap:2px}.td-hud-item{padding:0 5px}.td-hud-item strong{font-size:13px}.td-hud-controls{gap:3px}.td-hud-controls button,.td-hud-controls .td-primary{padding:0 7px}.td-board-wrap{position:relative}.td-overlay{position:absolute;left:6px;right:6px;bottom:6px;z-index:4;display:grid;gap:6px}.td-overlay .td-confirm,.td-overlay .td-upgrade{background:#fffdfbf5;box-shadow:0 6px 18px #251f212e;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.td-overlay-top{top:6px;bottom:auto}.td-board-wrap,.td-board{background:#d8e9d1}.td-cell{background-color:#d8e9d1;background-image:radial-gradient(rgba(255,255,255,.18) 1px,transparent 1.5px);background-size:7px 7px;box-shadow:inset 0 0 0 .5px #54705a2e}.td-cell:nth-child(odd){background-color:#d0e2c9}.td-cell.has-tower{background-color:#c9dec3}.td-cell.is-path,.td-cell.is-path:nth-child(odd){background-color:#e4cfa3;background-image:radial-gradient(rgba(152,119,74,.2) 1px,transparent 1.7px),linear-gradient(90deg,#98774a29,#98774a00 22% 78%,#98774a29);background-size:9px 9px,auto;box-shadow:inset 0 0 0 1px #98774a3d}.td-health{bottom:auto;top:-9px;z-index:5;box-shadow:0 0 0 1.5px #fffcf4d9}@media(max-width:767px){.td-shell{gap:5px;margin-top:6px}.td-title{display:none}.td-hud-item{min-height:32px}.td-shop-card{min-height:46px}.td-board-wrap{max-width:320px;width:100%;margin-inline:auto;align-self:center}.td-cell{aspect-ratio:1 / .93}}.td-tower-icon.has-art,.td-shop-icon.has-art{background-color:#f6efe2;background-size:cover;background-position:center;border-radius:26%;border:0}.td-shop-icon.has-art{width:30px;height:30px}.td-enemy-face.has-art{background-color:#f6efe2;background-size:cover;background-position:center;border-radius:30%}.td-cell{box-shadow:inset 0 0 0 .5px #54705a1a}.td-hud-wrap{position:sticky;top:6px;z-index:30}.td-overlay{position:absolute;inset:8px 10px auto;z-index:40;max-width:520px;margin:0 auto;filter:drop-shadow(0 10px 24px rgba(37,31,33,.28))}@media(min-width:768px){.td-overlay{left:auto;right:24px;width:430px}}.td-cell.path-b,.td-cell.path-b:nth-child(odd){background:#e6d2a8;box-shadow:inset 0 0 0 1px #98774a33}.td-cell.is-hill,.td-cell.is-hill:nth-child(odd){background:#cddfb4;box-shadow:inset 0 -4px #54705a4d,inset 0 0 0 .5px #54705a1f}.td-hill-mark{position:absolute;left:22%;right:22%;bottom:10%;height:30%;border-radius:60% 60% 12% 12%;background:#54705a4d}.td-cell.is-pond,.td-cell.is-pond:nth-child(odd){background:#bcdde8;box-shadow:inset 0 0 0 1px #4682a047;cursor:default}.tower-spore .td-tower-icon,.td-shop-icon.tower-spore{background-color:#e3c9e8}.shot-spore{stroke:#9d6ab8;stroke-width:.09;stroke-dasharray:.04 .07}.td-tower-lv4{inset:11%;box-shadow:0 3px 8px #251f2138,0 0 0 2px #c0c0d2e6}.td-tower-lv5{inset:8%;box-shadow:0 4px 10px #251f2142,0 0 0 3px #ffc85af2}.td-enemy.is-poisoned .td-enemy-face{outline:3px solid rgba(157,106,184,.6)}.td-cell.is-pending .td-tower-icon{border:0}.td-dir{position:absolute;left:50%;top:50%;width:0;height:0;border-style:solid;opacity:.55;pointer-events:none;z-index:1}.td-dir-r{transform:translate(-50%,-50%);border-width:4.5px 0 4.5px 7px;border-color:transparent transparent transparent #a8854f}.td-dir-l{transform:translate(-50%,-50%);border-width:4.5px 7px 4.5px 0;border-color:transparent #a8854f transparent transparent}.td-dir-d{transform:translate(-50%,-50%);border-width:7px 4.5px 0 4.5px;border-color:#a8854f transparent transparent transparent}.td-dir-u{transform:translate(-50%,-50%);border-width:0 4.5px 7px 4.5px;border-color:transparent transparent #a8854f transparent}.td-dir-b.td-dir-r{border-left-color:#7d94c2}.td-dir-b.td-dir-l{border-right-color:#7d94c2}.td-dir-b.td-dir-d{border-top-color:#7d94c2}.td-dir-b.td-dir-u{border-bottom-color:#7d94c2}.td-gate{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;z-index:2;padding-bottom:2px}.td-gate i{font-style:normal;font-size:9px;font-weight:800;letter-spacing:.3px;line-height:1;color:#fffaebfa;text-shadow:0 1px 2px rgba(0,0,0,.55)}.td-gate-in{background:radial-gradient(ellipse at 18% 50%,#5a4732,#33261a 60%,#241a10);box-shadow:inset -3px 0 5px #0006}.td-gate-creek{background:radial-gradient(ellipse at 18% 50%,#42607f,#24374d 60%,#182639)}.td-gate-out{background:radial-gradient(ellipse at 82% 50%,#e2a92e,#a8791a 60%,#7d5a0e);box-shadow:inset 3px 0 5px #5a3e088c}.td-gate-out i{color:#fff8e6;text-shadow:0 1px 2px rgba(80,55,0,.7)}.td-cell.is-creek-locked{opacity:.8}.td-cell.is-creek-locked:before{content:"";position:absolute;inset:2px;border:1.5px dashed rgba(90,116,156,.75);border-radius:4px;pointer-events:none}.td-card-stats{color:var(--ds-ink);font-weight:600}@media(max-width:767px){.td-shop{grid-template-columns:repeat(5,minmax(0,1fr));position:relative;z-index:28;background:#fffdfbf2;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:12px;padding:4px;box-shadow:0 4px 12px #251f2114}.td-shop-card{min-height:64px}.td-shop-card .td-card-stats{display:block;font-size:8.5px;line-height:11px;font-weight:600;color:var(--ds-ink-2)}.td-shop-card .td-card-note{display:none}}@media(max-width:767px){.td-shop-card .td-card-role{display:block;font-size:8px;line-height:10px;color:var(--ds-ink-2);font-weight:400}.td-shop-card .td-card-note{display:none}}@media(min-width:768px){.td-shop-card .td-card-role{display:none}}@media(max-width:767px){.td-shop{position:relative}}.td-upgrade button small.td-diff{display:block;font-weight:400;font-size:10px;line-height:13px;opacity:.75}.td-buildinfo{grid-column:1 / -1;display:grid;gap:1px;padding:7px 12px;border:1px solid var(--ds-hairline);border-radius:12px;background:#fffdfbf7;font-size:12px;line-height:17px;color:var(--ds-ink-2);text-align:left}.td-buildinfo strong{color:var(--ds-ink);font-size:12.5px}.td-next-stats{display:block;margin-top:3px;font-size:12px;line-height:16px;color:#2f6f5e;font-weight:600}@media(max-width:767px){.td-shop{grid-template-columns:repeat(4,minmax(0,1fr))}.td-card-stats,.td-card-role{display:none}.td-shop-card{min-height:54px}}@media(max-width:767px){.td-shop{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px}.td-shop-card{padding:4px 1px;min-width:0;min-height:58px}.td-shop-card strong{font-size:11px;line-height:15px;white-space:normal}.td-buildinfo{font-size:12px;line-height:17px}}.td-help{margin-top:12px;border-top:1px solid var(--ds-hairline);padding-top:12px}.td-help summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}.td-help[open]{display:flex;flex-direction:column;gap:20px}.td-restart-dialog{border:1px solid var(--ds-hairline);border-radius:20px;padding:24px;max-width:min(360px,calc(100vw - 32px));color:var(--ds-ink);background:var(--ds-page)}.td-restart-dialog::backdrop{background:#251f2166}.td-restart-dialog h2{margin:0 0 12px;font-size:22px;line-height:28px}.td-restart-dialog p{font-size:14px;line-height:22px;margin:0 0 20px}.td-restart-actions{display:flex;flex-direction:column;gap:10px}.td-restart-actions button{min-height:44px;border-radius:12px;border:1px solid var(--ds-hairline);padding:10px 16px;background:var(--ds-page);font:inherit;cursor:pointer}.td-restart-actions button:first-child{background:var(--ds-teal);font-weight:600}@media(max-width:360px){.td-hud-wrap{flex-wrap:wrap;gap:5px}.td-hud{min-width:0;flex:1 1 100%;justify-content:space-between}.td-hud-controls{min-width:0;width:100%;display:flex}.td-hud-controls .td-primary{flex:1}.td-shop-card strong{font-size:10.5px;line-height:14px}}.td-help summary:after{content:"+";margin-left:auto;padding-left:12px;font-size:20px;font-weight:400}.td-help[open] summary:after{content:"\2212"}.td-leaf-icon{width:14px;height:14px;flex-shrink:0;color:#507e63}@media(max-width:360px){.td-cost-dot{display:none}.td-tower-cost{display:block}.td-shop-card strong{white-space:nowrap}}.campaign-head{max-width:760px;margin:0 auto;padding:16px 16px 0}.campaign-head p{font-size:12px;line-height:1.6;color:#585254;margin:6px 0}.campaign-head nav{display:flex;gap:8px;flex-wrap:wrap}.campaign-head nav button{min-height:44px;padding:8px 12px;border:1px solid #eae9ea;border-radius:8px;background:#fff}.campaign-head nav button[aria-current]{border-color:#73a89a;font-weight:600}.campaign-head nav button:disabled{opacity:.45}.td-cell.is-garden{background:#c4dab9;box-shadow:none;cursor:default}.td-cell.is-garden:after{content:"";position:absolute;inset:30%;border-radius:50%;background:#6b8f5f24}.home-mark{font-size:27px!important;color:#ffe6a1;text-shadow:0 1px 2px #6b4624}.td-gate-out{background:linear-gradient(#927052,#5e4936)}.tower-frost.td-shop-icon,.tower-frost .td-tower-icon{background-size:contain!important;background-repeat:no-repeat}.td-formed{animation:form-in .32s ease-out}@keyframes form-in{0%{opacity:.3;transform:scale(.7) translateY(3px)}to{opacity:1;transform:scale(1) translateY(0)}}@media(prefers-reduced-motion:reduce){.td-formed{animation:none}}.campaign-head summary{min-height:44px;cursor:pointer;display:flex;align-items:center}.campaign-head nav{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;padding-bottom:8px}.campaign-head nav button{padding:4px;min-width:0}.campaign-next{min-height:44px;border:0;border-radius:8px;background:#73a89a;color:#fff;padding:8px 16px;font-weight:600}.painted-roads{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}.td-board{isolation:isolate;background-size:100% 100%;background-position:center}.td-board .td-cell{z-index:1;background:transparent!important;box-shadow:none;border:none}.td-board .td-cell.is-path:after,.td-board .td-cell.is-garden:after{display:none}.td-board .td-cell.is-buildable{background:#f4f3d17a!important;border:1px dashed rgba(98,123,74,.32);border-radius:15%}.td-board .td-cell.is-hill{background:#ede7b1b3!important;box-shadow:inset 0 -3px #82865240}.td-board .td-cell.is-pending,.td-board .td-cell.is-selected{background:#d6f2debf!important;box-shadow:inset 0 0 0 2px #547b61}.td-board .td-route-arrow{opacity:.6}.td-board .td-gate-in{background:radial-gradient(ellipse at 25% 70%,#53604e,#839778);border-radius:45% 35% 10% 15%;box-shadow:inset 0 -4px #303c2459}.td-board .td-gate-out{border-radius:35% 35% 12% 12%;background:linear-gradient(#a88963,#6e5945);box-shadow:0 1px 3px #382f2033}.td-board .td-tower-icon.has-art{inset:-4% -8% 5%;border:0;background-color:transparent;background-size:contain;background-position:center bottom;background-repeat:no-repeat;border-radius:0;box-shadow:none;filter:drop-shadow(0 2px 1px rgba(55,65,37,.2))}.td-board .td-tower-lv3,.td-board .td-tower-lv4,.td-board .td-tower-lv5{outline:1px solid rgba(237,207,119,.7);outline-offset:-3px;border-radius:18%}.td-shop-card:disabled{opacity:.45;cursor:default}.td-shop-icon.has-art{background-size:contain!important;background-repeat:no-repeat;background-position:center;background-color:transparent!important;border:0;box-shadow:none}@media(min-width:768px){.map-inspection{grid-column:1;grid-row:2/span 10}.td-status,.td-next{grid-column:2}.campaign-head{max-width:760px;margin-inline:auto}}.td-board-wrap{max-width:none;width:100%}.map-inspection{min-width:0}.td-enemy{z-index:3}.td-shots{z-index:4}.campaign-head{padding:12px 16px 0}.campaign-head p{margin:4px 0;font-size:12px}.campaign-head strong{font-size:17px}.td-shell{margin-top:8px}.td-hud-wrap,.td-shop{position:relative!important;top:auto!important;transform:none!important}@media(min-width:768px){.td-shell .td-title{grid-row:1;grid-column:1/-1}.td-shell .td-hud-wrap{grid-column:1;grid-row:2}.td-shell .map-inspection{grid-column:1;grid-row:3/span 10}.td-shell .td-shop{grid-column:2;grid-row:2/span 6}.td-shell .td-status{grid-column:2;grid-row:8}.td-shell .td-next{grid-column:2;grid-row:9}.td-shell .td-actions{grid-column:2;grid-row:10}.td-shell .td-best{grid-column:2;grid-row:11}}.td-panel-close{min-height:44px;min-width:72px;margin-left:auto;display:block;background:#fffdfb;border:1px solid #eae9ea;border-radius:10px;padding:6px 12px;font-weight:600}.td-overlay{padding-top:0}.td-overlay .td-upgrade{max-height:45vh;overflow:auto;overscroll-behavior:contain}.save-status{max-width:728px;margin:0 auto;padding:0 16px 20px;font-size:12px;color:#585254}.runtime-notices{margin-top:12px;font-size:12px}.runtime-notices summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.runtime-notices pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.td-victory{display:grid;gap:8px;padding:12px;background:#eaf3ed;border:1px solid #a3c3af;border-radius:12px;margin-top:8px;color:#315d45}.td-victory .campaign-next{font-size:17px;min-height:52px;width:100%}.td-victory strong{font-size:14px}.td-cleared{font-weight:600;color:#315d45;align-self:center}.td-actions:has(+.td-best) button{font-weight:400;color:#585254}.map-zoom-controls span{max-width:160px}.map-zoom-help{font-size:12px;color:#585254}.map-zoom-help summary{min-height:44px;display:flex;align-items:center;cursor:pointer;justify-content:flex-end;padding-right:6px}.map-zoom-help summary:after{content:" \24d8";margin-left:5px}.map-zoom-help p{margin:0 0 6px}.td-round-options{margin-top:16px;border-top:1px solid #eae9ea}.td-round-options summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:12px;color:#585254}.td-buildinfo summary{min-height:36px;display:flex;align-items:center;cursor:pointer}.td-buildinfo summary strong{font-size:12px}.td-buildinfo[open] span{display:block}.td-status{margin-top:0}.td-victory{scroll-margin-bottom:12px}@media(max-width:767px){.td-shell{gap:6px}.td-shell .td-title{display:none}.td-shell .td-shop{order:1}.td-shell .td-hud-wrap{order:2}.td-shell .map-inspection{order:3}.td-shell .td-status{order:4}.td-shell .td-next{order:5}.td-shell .td-best{order:6}.td-buildinfo{padding:0 8px}.td-buildinfo summary strong{font-size:11px;line-height:15px}.td-shop-card{min-height:54px}.map-zoom-help{margin-top:2px}.td-shell .map-inspection:has(+.td-overlay){order:3}}.td-board:not(.is-placing) .td-cell.is-buildable,.td-board:not(.is-placing) .td-cell.is-hill{background:transparent!important;border-color:transparent;box-shadow:none}.td-board:not(.is-placing) .td-hill-mark{opacity:.32}.td-board.is-placing .td-cell.is-buildable{background:#fffff47a!important;border:1px dashed rgba(255,255,250,.8)}.td-board .td-cell.is-invalid{background:#d4463d66!important;box-shadow:inset 0 0 0 2px #b7362fbf}.td-board .td-cell.is-selected{box-shadow:inset 0 0 0 2px #547b61}.td-restart-row{display:flex;align-items:center;gap:10px;margin:4px 0}.td-restart-row button{min-height:44px;border:1px solid var(--ds-hairline);border-radius:999px;background:#fff;padding:0 16px;font:inherit;font-size:14px;color:var(--ds-ink);cursor:pointer}.td-restart-row small{font-size:12px;color:#585254}@media(min-width:768px){.td-shell .td-restart-row{grid-column:2;grid-row:10}}.td-restart-dialog{width:min(340px,calc(100vw - 32px));box-sizing:border-box}.td-enemy-face.has-art{background-color:transparent;background-size:contain;background-repeat:no-repeat;background-position:center;border:0;border-radius:0;box-shadow:none;filter:drop-shadow(0 2px 2px rgba(37,31,33,.28))}.td-enemy .td-enemy-face.has-art{background-color:transparent}.td-enemy.is-hit .td-enemy-face.has-art{filter:drop-shadow(0 2px 2px rgba(37,31,33,.28)) brightness(1.45) saturate(1.2)}.td-enemy.is-slow .td-enemy-face.has-art{outline:0;filter:drop-shadow(0 0 3px rgba(130,205,220,.9)) drop-shadow(0 2px 2px rgba(37,31,33,.28))}.td-enemy.is-poisoned .td-enemy-face.has-art{outline:0;filter:drop-shadow(0 0 3px rgba(157,106,184,.9)) drop-shadow(0 2px 2px rgba(37,31,33,.28))}.td-arrow-shot{position:absolute;left:var(--ax1);top:var(--ay1);width:24px;height:8px;margin:-4px 0 0 -12px;z-index:4;pointer-events:none;transform:rotate(var(--aang));filter:drop-shadow(0 1px 1px rgba(37,31,33,.35));animation:arrow-fly .14s linear forwards}@keyframes arrow-fly{0%{left:var(--ax1);top:var(--ay1);opacity:1}85%{opacity:1}to{left:var(--ax2);top:var(--ay2);opacity:.9}}@media(prefers-reduced-motion:reduce){.td-arrow-shot{animation-duration:.01s}}.td-arrow-shot svg{display:block;width:100%;height:100%}.campaign-menu-view{max-width:420px;margin:0 auto;padding:48px 20px;text-align:center;display:flex;flex-direction:column;gap:16px}.campaign-menu-view h1{font-size:28px;line-height:34px;margin:0 0 4px;color:var(--ds-ink)}.campaign-menu-view p{margin:0;color:#585254;font-size:14px}.campaign-menu-view .campaign-next{min-height:56px;font-size:18px}.campaign-levels{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.campaign-levels button{min-height:64px;border:1px solid var(--ds-hairline);border-radius:14px;background:#fffdfb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit;cursor:pointer;padding:6px}.campaign-levels button strong{font-size:20px}.campaign-levels button small{font-size:12px;color:#585254}.campaign-levels button:disabled{opacity:.45;cursor:default}.campaign-back{min-height:44px;border:1px solid var(--ds-hairline);border-radius:999px;background:#fff;font:inherit;cursor:pointer}.campaign-menu{min-height:44px;margin:0 0 4px;border:1px solid #eae9ea;border-radius:8px;background:#fff;padding:4px 14px;font:inherit;cursor:pointer}.campaign-pages{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;-webkit-overflow-scrolling:touch}.campaign-pages>.campaign-levels{flex:0 0 100%;scroll-snap-align:start}.campaign-page-hint{font-size:12px!important}.campaign-codex-btn{min-height:48px;border:1px solid var(--ds-hairline);border-radius:12px;background:#fffdfb;font:inherit;font-weight:600;cursor:pointer}.codex{text-align:left}.codex h1,.codex>p{text-align:center}.codex-card{border:1px solid var(--ds-hairline);border-radius:16px;padding:14px;background:#fffdfb;display:flex;flex-direction:column;gap:6px}.codex-card p{margin:0;font-size:13px;line-height:20px;color:var(--ds-ink)}.codex-card .codex-role{color:#585254}.codex-card .codex-cost{color:#585254;font-size:12px}.codex-head{display:flex;align-items:center;gap:12px}.codex-head strong{display:block;font-size:16px}.codex-head small{font-size:12px;color:#585254}.codex-art{width:56px;height:56px;flex:0 0 56px;background-size:contain;background-repeat:no-repeat;background-position:center}.codex-branch{border-top:1px dashed #eae9ea;padding-top:6px}.campaign-pages{align-items:flex-start;scrollbar-width:none}.campaign-pages::-webkit-scrollbar{display:none}.train-coins{font-size:20px;font-weight:700;margin:0}.train-note{font-size:13px;color:#585254;margin:0}.td-gain{margin:0 0 6px;font-weight:700;color:#8a5a00}.codex-train{color:#8a5a00!important;font-weight:600}.hall-bar{font-size:18px;font-weight:700;margin:0}.draw-result{font-size:20px;font-weight:700;color:#8a5a00;margin:0}.settings-row{display:grid;gap:8px}.settings-slider{display:grid;gap:6px;font-size:14px}.settings-slider input[type=range]{width:100%;min-height:36px}.codex-hero{display:flex;gap:12px;align-items:flex-start}.codex .codex-art{width:136px;height:162px;flex:0 0 136px;border-radius:12px;background-color:#f6f1e6;background-size:contain;background-repeat:no-repeat;background-position:center}.codex-side{min-width:0;display:flex;flex-direction:column;gap:4px}.codex-side strong{font-size:20px;line-height:26px}.codex-side small{font-size:12px;color:#585254}.codex-side .codex-role{font-size:14px;line-height:21px;color:#2b2729}.codex-side .codex-key{font-size:13px;line-height:19px;font-weight:600;color:#3b5b3a}.codex-card.codex-two{flex-direction:row;align-items:flex-start;gap:10px;padding:12px}.codex-two .codex-art{width:116px;height:140px;flex:0 0 116px;position:sticky;top:8px}.codex-two .codex-side{flex:1;gap:6px}.codex-two .codex-side strong{font-size:19px}.codex-two section{display:block}.codex-two h3{margin:0;font-size:12px;line-height:18px;color:#6a5a2a}.codex-two section p{font-size:12.5px;line-height:19px}.codex-two .codex-branch{border-top:1px dashed #eae9ea;padding-top:5px}.codex-two .codex-role{font-size:13.5px;line-height:20px}.codex-two h3.codex-train,.codex-two p.codex-train{color:#8a5a00}.hall-tabs{display:flex;gap:8px;justify-content:center}.hall-tabs button{min-height:40px;padding:0 16px;border:1px solid var(--ds-hairline);border-radius:999px;background:#fffdfb;font:inherit;font-weight:600;cursor:pointer}.hall-tabs button.on{background:#6fa391;color:#fff;border-color:#6fa391}.combat-caster-wrap{position:absolute;inset:0;pointer-events:none;transform-origin:50% 95%}.combat-caster-wrap[data-firing=stone]{animation:caster-stone .22s ease-out}.combat-caster-wrap[data-firing=frost]{animation:caster-frost .2s ease-out}.combat-hit-layer{position:absolute;inset:0;pointer-events:none;z-index:3}.combat-hit{position:absolute;width:var(--hit-size,24px);height:var(--hit-size,24px);object-fit:contain;transform:translate(-50%,-50%);pointer-events:none}.td-enemy .td-health{z-index:5}@keyframes caster-stone{0%{transform:scale(1)}35%{transform:scale(1.06,.92)}70%{transform:scale(.98,1.03)}to{transform:scale(1)}}@keyframes caster-frost{0%,to{filter:none}35%{filter:brightness(1.2)}}@media(prefers-reduced-motion:reduce){.combat-caster-wrap[data-firing]{animation:none}.combat-hit{opacity:.75}}.combat-caster-wrap[data-firing]{animation:none}.td-board .local-motion{background-size:2000% 100%!important;background-repeat:no-repeat!important;animation:local-pixels 2s steps(1,end) infinite;transform-origin:50% 95%}@keyframes local-pixels{0%{background-position:0% 0}5%{background-position:5.263158% 0}10%{background-position:10.526316% 0}15%{background-position:15.789474% 0}20%{background-position:21.052632% 0}25%{background-position:26.315789% 0}30%{background-position:31.578947% 0}35%{background-position:36.842105% 0}40%{background-position:42.105263% 0}45%{background-position:47.368421% 0}50%{background-position:52.631579% 0}55%{background-position:57.894737% 0}60%{background-position:63.157895% 0}65%{background-position:68.421053% 0}70%{background-position:73.684211% 0}75%{background-position:78.947368% 0}80%{background-position:84.210526% 0}85%{background-position:89.473684% 0}90%{background-position:94.736842% 0}95%{background-position:100% 0}to{background-position:100% 0}}[data-motion-paused=true] .local-motion{animation-play-state:paused!important}.combat-caster-wrap[data-firing=arrow]{animation:caster-arrow .2s ease-out}.combat-caster-wrap[data-firing=bolt]{animation:caster-bolt .18s ease-out}.combat-caster-wrap[data-firing=spore]{animation:caster-spore .24s ease-out}@keyframes caster-arrow{40%{transform:translate(-1px) rotate(-2deg)}}@keyframes caster-bolt{40%{filter:brightness(1.2)}}@keyframes caster-spore{40%{transform:translateY(1px) scaleY(.98)}}@media(prefers-reduced-motion:reduce){.td-board .local-motion,.combat-caster-wrap[data-firing]{animation:none!important;background-position:0 0!important}}.td-skilled-shots{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none}.skill-trail{animation:skill-arrive .16s ease-out both}@keyframes skill-arrive{0%{opacity:.35}to{opacity:1}}[data-motion-paused=true] .skill-trail{animation-play-state:paused}.skill-impact-spore{transform-box:fill-box;transform-origin:center;animation:spore-hit .2s ease-out}@keyframes spore-hit{0%{transform:scale(.7)}to{transform:scale(1.15)}}@media(prefers-reduced-motion:reduce){.skill-trail,.skill-impact-spore{animation:none}}.td-overlay{left:16px;right:16px;width:auto;max-width:350px;gap:0;pointer-events:auto;filter:none;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px #1722193d;border:1px solid rgba(239,241,219,.25);background:#20312ade;color:#fff9e7;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.td-overlay .td-upgrade,.td-overlay .td-confirm{padding:14px;background:transparent;box-shadow:none;color:inherit;display:block;max-height:33vh;overflow:auto;border:0;backdrop-filter:none}.td-overlay strong{display:block;padding-right:24px;font-size:14px;line-height:20px}.td-overlay small{color:#e4e9d9;font-size:11px;line-height:16px;margin-top:4px}.td-panel-close{position:absolute;right:3px;top:2px;z-index:2;min-width:40px;min-height:40px;width:40px;padding:0;border:0;background:transparent;color:#fff9e7;font-size:22px;margin:0}.td-overlay .td-upgrade-actions,.td-overlay .td-confirm-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.td-overlay button:not(.td-panel-close){min-height:44px;padding:8px 12px;background:#e6eed9;color:#20362c;border:1px solid rgba(255,255,255,.18);border-radius:10px;font-size:12px;font-weight:650}.td-overlay .td-sell{background:#ffffff17!important;color:#e9dfcf!important}.td-overlay button small{color:#365144;font-size:10px}.td-overlay .td-branch-btn{flex:1;min-width:110px;text-align:left}.td-upgrade-detail{margin-top:7px;font-size:11px;line-height:16px;color:#f1e7b8}.td-upgrade-detail summary{min-height:32px;cursor:pointer;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}.td-upgrade-detail small{display:block}.td-board .td-dir{opacity:.27!important}.td-board .td-cell.is-path{box-shadow:none!important;border:0!important;background:transparent!important}@media(min-width:768px){.td-overlay{left:auto;right:24px;width:340px}}.td-overlay button:not(.td-panel-close){font-weight:500}.td-overlay strong{font-weight:600}.td-overlay .td-upgrade-actions .td-branch-btn{flex:1 1 calc(50% - 7px);min-width:0;padding:8px}.td-overlay .td-branch-btn small{display:none}.td-overlay .td-upgrade-actions .td-sell{margin-left:auto;min-height:36px;padding:6px 10px}.td-overlay .td-next-stats{font-weight:400}.terrain-relief{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.td-board .td-cell{will-change:auto}.td-board .has-tower:before{content:"";position:absolute;left:5%;right:5%;bottom:2%;height:12%;border-radius:50%;background:#3443262b;filter:blur(1px)}.td-board .is-hill:not(.has-tower):before{content:"";position:absolute;inset:10% 4% 0;border-radius:60% 55% 25% 25%;background:linear-gradient(165deg,#e7e7a642,#5367353b);box-shadow:0 3px 1px #41512b1f}.td-skilled-shots,.td-shots,.combat-hit-layer,.td-arrow-shot{z-index:4}.td-enemy{transition:left .1s linear,top .1s linear}.leaf-zoom-controls{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:6px 8px;background:#f2f5e9;border-bottom:1px solid #c6d1b6;line-height:1.4}.leaf-zoom-controls button{min-width:44px;min-height:44px;padding:6px 9px}.leaf-zoom-controls output{width:42px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}.leaf-zoom-controls span{font-size:11px;color:#65765b}.leaf-map-viewport{overflow:hidden;position:relative;touch-action:none;isolation:isolate}.leaf-map-world{transform-origin:center}.new-map-frame .leaf-map-world .new-map-canvas{border-radius:0;overflow:visible}.leaf-map-world svg{touch-action:none;user-select:none;-webkit-user-select:none}.leaf-map-viewport .new-preview-drag{touch-action:none}.new-map-game .new-pad-panel{position:relative;left:auto;right:auto;top:auto!important;bottom:auto;box-shadow:none;margin:8px 0;padding:9px 10px}.new-pad-panel .new-pad-actions{gap:5px}.leaf-audio-status{font-size:11px;color:#778367;margin:0 0 6px;min-height:15px}.new-map-game{padding-bottom:max(32px,env(safe-area-inset-bottom))}[hidden]{display:none!important}@media(max-width:600px){.new-map-game.leaf-clean{height:var(--leaf-phone-height,640px);min-height:400px;padding:4px 8px 8px;display:flex;flex-direction:column;gap:4px;box-sizing:border-box;overflow:hidden}.new-map-game .new-map-head{display:flex;align-items:center;gap:4px;flex-shrink:0;min-height:44px}.new-map-game .new-map-head>div:first-child{flex:1;min-width:0}.new-map-game .new-map-head .leaf-eyebrow{display:none}.new-map-game .new-map-head h1{font-size:15px;white-space:nowrap;margin:0}.new-map-game .new-map-head>button{order:3;padding:4px 8px}.new-map-game .new-controls{margin:0;gap:3px;flex-wrap:nowrap}.new-map-game .new-controls button{font-size:11px;padding:4px 6px;min-width:44px}.new-map-game .new-controls button:last-child{display:none}.new-map-game .leaf-audio-status,.new-map-game .new-build-hint,.new-map-game .new-wave-brief,.new-map-game .new-status,.new-map-game .new-save-status{display:none}.new-map-game .new-shop{gap:3px;flex-shrink:0;height:94px}.new-map-game .new-shop button{min-height:44px;display:grid;grid-template-columns:25px 1fr;grid-template-rows:1fr 1fr;padding:2px;gap:0}.new-map-game .new-shop img{grid-row:1/3;width:25px;height:34px}.new-map-game .new-shop strong,.new-map-game .new-shop span{font-size:10px}.new-map-game .new-map-frame,.new-map-game .leaf-map-inspection{flex:1;min-height:0;display:flex;flex-direction:column}.new-map-game .leaf-zoom-controls{padding:2px 5px;min-height:44px;flex-wrap:nowrap;gap:4px;flex-shrink:0}.new-map-game .leaf-zoom-controls span{font-size:9px}.new-map-game .leaf-zoom-controls button{padding:4px;min-height:44px}.new-map-game .leaf-map-viewport{flex:1;min-height:0}.new-map-game .leaf-map-world,.new-map-game .new-map-canvas{height:100%}.new-map-game .new-map-canvas>svg{height:100%;width:100%;max-width:none}.new-map-game .new-battle-controls{min-height:48px;padding:4px 8px;flex-shrink:0}.new-map-game .new-battle-controls>button{min-height:44px}.new-map-game .new-battle-resources strong{font-size:16px}.new-map-game .new-wave-status{font-size:10px}.new-map-game .new-map-tools{margin:0;min-height:44px;flex-shrink:0}.new-map-game .new-map-tools span{display:none}.new-map-game .new-map-tools:after{content:"\53cc\6307\7f29\653e  \b7  \62d6\9884\89c8\4eba\7269\8c03\4f4d";font-size:10px;color:#65765b}.new-map-game .new-pad-panel{margin:0;flex-shrink:0;min-height:86px;max-height:122px;overflow:auto;padding:5px 8px}.new-map-game .new-pad-panel p{margin:0;font-size:10px}.new-map-game .new-pad-panel>div:first-child strong{font-size:12px}.new-map-game .new-pad-panel>.new-primary{float:right;margin-top:-22px}.new-map-game .new-pad-panel .new-close{min-height:32px}.new-map-game .leaf-rules{position:fixed;inset:8% 12px auto;max-height:75vh;overflow:auto;background:#fffdf3;box-shadow:0 0 0 100vmax #17231366;padding:14px;border-radius:12px;z-index:50}.new-map-game .new-map-transition{font-size:11px;padding:5px}.new-map-game .new-result{overflow:auto;max-height:30vh}}@media(max-width:350px){.new-map-game .leaf-zoom-controls span{display:none}.new-map-game .new-map-head h1{font-size:13px}.new-map-game .new-shop button{grid-template-columns:20px 1fr}.new-map-game .new-shop img{width:20px}.new-map-game .new-shop strong{font-size:9px}}@media(max-width:600px){.new-map-game .new-controls button:last-child{display:block;margin-left:0}.new-map-game .new-map-head,.new-map-game .new-controls{margin:0;gap:3px}.new-map-game .new-map-head .leaf-eyebrow{display:none}.new-map-game .new-map-head h1{font-size:15px}.new-map-game .new-shop button{display:grid;grid-template-columns:25px 1fr;grid-template-rows:1fr 1fr;text-align:left;padding:2px}.new-map-game .new-shop strong{font-size:10px;align-self:end}.new-map-game .new-shop img{width:25px;height:34px}.new-map-game .new-shop span{align-self:start}}@media(max-width:350px){.new-map-game .new-shop button{grid-template-columns:20px 1fr}.new-map-game .new-shop img{width:20px}.new-map-game .new-shop strong{font-size:9px}.new-map-game .new-map-head h1{font-size:13px}}@media(max-width:600px){.new-map-game.leaf-clean{scroll-margin-top:90px;min-height:380px}}.leaf-game-dialog{padding:0;border:0;background:#fffefb;color:inherit;width:100%;max-width:100%;height:var(--instinct-modal-height, calc(100svh - 90px) );max-height:100%;overflow:hidden;margin:0;box-sizing:border-box}.leaf-game-dialog::backdrop{background:#fffefb}.leaf-game-dialog .new-map-game.leaf-clean{height:100%;min-height:0;scroll-margin:0}.leaf-game-dialog .new-save-status{display:block;font-size:9px;line-height:12px;height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;flex-shrink:0}.leaf-shop-toggle{display:none}@media(max-width:600px){.leaf-fullscene.new-map-game.leaf-clean{position:relative;padding:0;display:block;overflow:hidden;background:#a4bc72}.leaf-fullscene .new-map-frame{position:absolute;inset:0;border:0;border-radius:0;display:block;margin:0;background:transparent}.leaf-fullscene .leaf-map-inspection,.leaf-fullscene .leaf-map-viewport,.leaf-fullscene .leaf-map-world,.leaf-fullscene .new-map-canvas{position:absolute;inset:0;width:100%;height:100%;border-radius:0!important}.leaf-fullscene .new-map-canvas>svg{width:100%;height:100%}.leaf-fullscene .new-map-head{position:absolute;top:6px;left:8px;right:8px;z-index:12;margin:0;padding:3px 5px;border-radius:12px;background:#f7faeddf;backdrop-filter:blur(5px)}.leaf-fullscene .new-map-head h1{font-size:13px}.leaf-fullscene .new-map-head>div:first-child{flex:1}.leaf-fullscene .new-shop{position:absolute;bottom:106px;left:8px;right:8px;z-index:12;height:94px;padding:3px;background:#f6f8e9e8;border:1px solid #b5c49d;border-radius:12px;backdrop-filter:blur(5px)}.leaf-fullscene .new-shop button{background:#f7fae9d9;border-color:#a7b88b}.leaf-fullscene .leaf-zoom-controls{position:absolute;top:64px;right:8px;z-index:11;display:flex;flex-direction:column;gap:3px;padding:4px;border:1px solid #b5c49d;border-radius:12px;background:#f7faede5;backdrop-filter:blur(4px)}.leaf-fullscene .leaf-zoom-controls span{display:none}.leaf-fullscene .leaf-zoom-controls output{font-size:10px}.leaf-fullscene .leaf-zoom-controls button{min-width:44px;min-height:44px;background:#f7faebdc}.leaf-fullscene .new-battle-controls{position:absolute;bottom:52px;left:8px;right:8px;z-index:12;border:1px solid #b5c49d;border-radius:12px;background:#f6f9e9ec;backdrop-filter:blur(5px);padding:4px 8px;height:48px;box-sizing:border-box}.leaf-fullscene .new-map-tools{position:absolute;bottom:7px;left:8px;right:8px;z-index:12;display:flex;justify-content:space-between;min-height:40px;gap:5px}.leaf-fullscene .new-map-tools:after{display:none}.leaf-fullscene .new-map-tools button{min-height:40px;background:#f6f9e9e8;font-size:11px;padding:5px 10px}.leaf-fullscene .leaf-shop-toggle{display:block}.leaf-fullscene .new-pad-panel{position:absolute;left:8px;right:68px;z-index:13;min-height:86px;max-height:126px;background:#fffef1ed;backdrop-filter:blur(5px);border:1px solid #aab98f;border-radius:12px;padding:5px 8px}.leaf-fullscene .new-pad-panel.leaf-panel-top{top:64px!important;bottom:auto}.leaf-fullscene .new-pad-panel.leaf-panel-bottom{bottom:106px;top:auto!important}.leaf-fullscene .new-save-status{position:absolute;bottom:0;left:10px;right:10px;z-index:14;font-size:8px;height:9px;line-height:9px;opacity:.8}.leaf-fullscene .new-map-transition{position:absolute;top:62px;left:8px;right:68px;z-index:13;background:#f6f9e9ed;border-radius:12px}.leaf-fullscene .new-wave-overlay{z-index:18}.leaf-fullscene .new-confirm{z-index:40}.leaf-fullscene .leaf-rules{z-index:45}}@media(max-width:600px){.leaf-fullscene .new-shop{top:64px;bottom:auto}.leaf-fullscene .new-shop:not([hidden])~.new-map-frame .leaf-zoom-controls{top:170px}}.leaf-game-dialog{width:100%;max-width:100%;height:var(--instinct-modal-height,100svh);max-height:100%;padding:0;border:0;border-radius:0;overflow:hidden;background:#93ae69}.leaf-landscape.new-map-game.leaf-clean{position:relative;width:100%;height:100%;min-height:0;max-width:none;margin:0;padding:0;display:block;overflow:hidden;background:#93ae69}.leaf-landscape .new-map-frame{position:absolute;inset:0;display:block;margin:0;border:0;border-radius:0;background:transparent}.leaf-landscape .leaf-map-inspection,.leaf-landscape .leaf-map-viewport,.leaf-landscape .leaf-map-world,.leaf-landscape .new-map-canvas{position:absolute;inset:0;height:100%;width:100%;border-radius:0!important}.leaf-landscape .new-map-canvas>svg{width:100%;height:100%;display:block}.leaf-landscape .new-map-head{position:absolute;top:8px;left:12px;right:12px;z-index:12;display:flex;align-items:center;gap:6px;justify-content:space-between;margin:0;padding:0;pointer-events:none}.leaf-landscape .new-map-head>div:first-child{background:#f6fae8e8;border:1px solid #a6b88b;border-radius:13px;padding:6px 12px;min-height:38px;box-sizing:border-box}.leaf-landscape .new-map-head .leaf-eyebrow{display:none}.leaf-landscape .new-map-head h1{font-size:14px;margin:0;white-space:nowrap}.leaf-landscape .new-map-head>button{margin-left:auto;order:3}.leaf-landscape .new-map-head button,.leaf-landscape .new-map-head>div{pointer-events:auto}.leaf-landscape .new-controls{display:flex;flex-wrap:nowrap;margin:0;gap:5px}.leaf-landscape .new-controls button,.leaf-landscape .new-map-head>button{min-width:44px;min-height:44px;font-size:11px;padding:5px 8px;background:#f8fae9ed;border-color:#98b07c;backdrop-filter:blur(4px)}.leaf-landscape .new-shop{position:absolute;z-index:14;bottom:62px;left:12px;width:350px;height:110px;max-height:calc(100% - 124px);overflow:auto;grid-auto-rows:minmax(46px,1fr);box-sizing:border-box;padding:5px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;background:#f7fae9ee;border:1px solid #a5b58b;border-radius:14px;backdrop-filter:blur(5px)}.leaf-landscape .new-shop button{min-height:46px;padding:2px;display:grid;grid-template-columns:27px 1fr;grid-template-rows:1fr 1fr;text-align:left;border-radius:8px;background:#f2f7e3}.leaf-landscape .new-shop img{grid-row:1/3;width:27px;height:36px;object-fit:contain}.leaf-landscape .new-shop strong{font-size:10px;align-self:end}.leaf-landscape .new-shop span{font-size:10px;align-self:start}.leaf-landscape .leaf-zoom-controls{position:absolute;left:12px;top:62px;z-index:12;display:flex;gap:4px;align-items:center;padding:4px;border:1px solid #a7b98a;border-radius:12px;background:#f7fae9dd;backdrop-filter:blur(5px)}.leaf-landscape .leaf-zoom-controls button{min-width:40px;min-height:40px;padding:4px;background:#f8faeddf;font-size:12px}.leaf-landscape .leaf-zoom-controls output{width:35px;font-size:10px}.leaf-landscape .leaf-zoom-controls span{display:none}.leaf-landscape .new-battle-controls{position:absolute;right:12px;bottom:12px;z-index:12;min-height:48px;height:48px;display:flex;align-items:center;padding:3px 5px 3px 10px;gap:12px;border:1px solid #a5b68a;border-radius:13px;background:#f7fae9ee;backdrop-filter:blur(5px);width:auto}.leaf-landscape .new-battle-controls>button{min-height:40px;min-width:100px;font-size:12px}.leaf-landscape .new-battle-resources{gap:8px}.leaf-landscape .new-battle-resources strong{font-size:16px}.leaf-landscape .new-wave-status{font-size:10px}.leaf-landscape .new-map-tools{position:absolute;left:12px;bottom:12px;z-index:12;display:flex;gap:5px;margin:0;min-height:44px;width:auto}.leaf-landscape .new-map-tools button{min-height:44px;padding:6px 10px;background:#f7fae9ee;border-color:#a6b68d;font-size:11px;backdrop-filter:blur(5px)}.leaf-landscape .leaf-shop-toggle{display:block}.leaf-landscape .new-map-tools span,.leaf-landscape .new-map-tools:after{display:none}.leaf-landscape .new-pad-panel{position:absolute!important;z-index:15;top:auto!important;bottom:67px;width:270px;left:auto;right:12px;margin:0;max-height:min(170px,calc(100% - 82px));min-height:0;padding:8px 10px;box-sizing:border-box;overflow:auto;background:#fffef0f2;backdrop-filter:blur(5px);border:1px solid #99ae7c;border-radius:13px;box-shadow:0 4px 18px #2b47251f}.leaf-landscape .new-pad-panel.leaf-panel-left{left:12px;right:auto}.leaf-landscape .new-pad-panel.leaf-panel-right{right:12px;left:auto}.leaf-landscape .new-pad-panel p{font-size:10px;line-height:1.45;margin:3px 0 5px}.leaf-landscape .new-pad-panel>div:first-child strong{font-size:12px}.leaf-landscape .new-pad-panel .new-close{min-width:32px;min-height:32px}.leaf-landscape .new-pad-panel>.new-primary{float:right;margin:0;min-height:40px;font-size:12px}.leaf-landscape .new-pad-actions{gap:4px}.leaf-landscape .new-pad-actions button{font-size:10px;min-height:40px;min-width:0;padding:5px;flex:1}.leaf-landscape .new-pad-actions button small{font-size:9px}.leaf-landscape .leaf-audio-status,.leaf-landscape .new-build-hint,.leaf-landscape .new-wave-brief,.leaf-landscape .new-status{display:none!important}.leaf-landscape .new-save-status{position:absolute;left:220px;right:300px;bottom:1px;z-index:12;height:9px;line-height:9px;font-size:8px;opacity:.7;text-align:center;overflow:hidden;white-space:nowrap;margin:0}.leaf-landscape .leaf-rules,.leaf-landscape .leaf-pause-sheet{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:35;width:min(420px,calc(100% - 60px));box-sizing:border-box;max-height:calc(100% - 36px);overflow:auto;background:#fffef3;border:1px solid #9bae7e;border-radius:22px;padding:18px 24px;box-shadow:0 0 0 100vmax #253c2866}.leaf-landscape .leaf-pause-sheet{text-align:center;width:310px}.leaf-landscape .leaf-pause-sheet h2{font-size:22px;margin:5px 0 8px}.leaf-landscape .leaf-pause-sheet p{font-size:12px;margin:7px 0 10px}.leaf-landscape .leaf-pause-sheet>button{display:block;width:100%;margin-top:7px;min-height:44px}.leaf-landscape .new-map-transition{position:absolute;z-index:16;top:64px;right:12px;width:300px;font-size:11px;padding:8px 12px;background:#fffef0ed;border-radius:14px}.leaf-landscape .new-wave-overlay{z-index:18;max-width:420px;max-height:calc(100% - 30px);overflow:auto}.leaf-landscape .new-confirm{z-index:45;top:50%;transform:translate(-50%,-50%);max-height:90%;overflow:auto}@media(max-width:600px){.leaf-landscape .new-map-head h1{font-size:12px}.leaf-landscape .new-controls button:last-child{display:none}.leaf-landscape .new-shop{left:8px;right:8px;width:auto}.leaf-landscape .new-battle-controls{right:8px;bottom:64px}.leaf-landscape .new-map-tools{left:8px;right:8px;bottom:12px;justify-content:space-between}.leaf-landscape .new-pad-panel{bottom:120px;max-height:160px}.leaf-landscape .new-save-status{left:10px;right:10px}.leaf-landscape .new-map-head>div:first-child{padding:6px 8px}}.leaf-landscape .new-shop.leaf-shop-right{left:auto;right:12px}.leaf-landscape .new-shop.leaf-shop-left{left:12px;right:auto}.leaf-menu-dialog{background:#fffef8;overflow:auto}.leaf-menu-dialog::backdrop{background:#fffef8}.leaf-menu-dialog .leaf-home{max-width:1400px;box-sizing:border-box;margin:0 auto;padding:16px;display:grid;grid-template-columns:minmax(200px,.9fr) minmax(330px,1.1fr);gap:20px;height:100%;min-height:0;overflow:hidden}.leaf-menu-dialog .leaf-cover{height:100%;min-height:0;border-radius:22px}.leaf-menu-dialog .leaf-cover-copy{left:18px;right:18px;bottom:18px}.leaf-menu-dialog .leaf-cover-copy h1{font-size:24px}.leaf-menu-dialog .leaf-cover-copy p{font-size:12px;line-height:1.7}.leaf-menu-dialog .leaf-home-panel{padding:0 4px;overflow:auto;overscroll-behavior:contain}.leaf-menu-dialog .leaf-home-panel>button{min-height:44px;margin:7px 0;font-size:12px}.leaf-menu-dialog .leaf-home-panel>p{font-size:11px;line-height:1.4;margin:5px 0 8px}.leaf-menu-dialog .leaf-home-panel details{font-size:11px;margin:8px 0;padding-top:6px;line-height:1.6}.leaf-menu-dialog .leaf-home-panel details summary{min-height:36px;cursor:pointer;display:flex;align-items:center}.leaf-orientation-note{display:none;font-size:11px;color:#637c4c;margin-bottom:6px}.leaf-menu-dialog .leaf-home-panel .leaf-eyebrow{display:block;font-size:11px}.leaf-gallery-dialog{padding:12px 18px;box-sizing:border-box;overflow:auto}.leaf-gallery-dialog .review-back{position:sticky;top:0;z-index:8;background:#f6f8ed;min-height:44px}.leaf-gallery-dialog .review-tabs{position:sticky;top:48px;z-index:7;background:#fffef8;padding:4px 0}.leaf-gallery-dialog .review-wind{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.leaf-gallery-dialog .review-wind img{height:150px}.leaf-gallery-dialog .review-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.leaf-gallery-dialog .review-grid img{height:130px}.leaf-gallery-dialog .review-fx-pair{max-width:520px;margin:0 auto}.leaf-gallery-dialog figure{margin:0}.leaf-gallery-dialog figcaption{font-size:11px}.leaf-gallery-dialog figcaption small{font-size:10px}@media(max-width:600px){.leaf-menu-dialog .leaf-home{display:block;padding:12px;overflow:auto}.leaf-menu-dialog .leaf-cover{height:210px;min-height:210px}.leaf-menu-dialog .leaf-home-panel{padding:12px 0;overflow:visible}.leaf-orientation-note{display:block}.leaf-gallery-dialog{padding:10px}.leaf-gallery-dialog .review-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.leaf-gallery-dialog .review-wind{grid-template-columns:repeat(2,minmax(0,1fr))}.leaf-gallery-dialog .review-wind img{height:170px}}.leaf-rotate-hint{position:absolute;z-index:60;inset:0;background:#e9f0d6ed;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:24px}.leaf-rotate-hint>span{font-size:56px;color:#69864c}.leaf-rotate-hint h2{font-size:20px;margin:12px 0}.leaf-rotate-hint p{font-size:13px}.leaf-rotate-hint button{min-height:44px;margin-top:18px;background:#fdfef6;border:1px solid #9caf7c;padding:8px 20px;border-radius:12px}.leaf-gallery-dialog .file-header{gap:6px}.leaf-gallery-dialog .file-title{font-size:23px}.leaf-gallery-dialog .file-header .file-intro{font-size:11px;line-height:1.5;margin:0}.leaf-gallery-dialog .file-card{padding:0}.leaf-gallery-dialog .file-group{margin-top:14px}.leaf-gallery-dialog .file-group-heading{font-size:17px}.leaf-gallery-dialog .file-group-head{margin-bottom:8px}.leaf-gallery-dialog .file-group-label{font-size:11px}.leaf-gallery-dialog .review-wind img{height:140px}.leaf-landscape .leaf-hud-toggle{position:absolute;right:72px;top:8px;z-index:30;min-height:44px;padding:5px 9px;font-size:11px;background:#f8fae9ed;border:1px solid #98b07c;border-radius:12px}.leaf-landscape.leaf-hud-hidden .leaf-hud-toggle{right:12px;opacity:.85}.leaf-landscape.leaf-hud-hidden .new-map-head,.leaf-landscape.leaf-hud-hidden .leaf-zoom-controls,.leaf-landscape.leaf-hud-hidden .new-battle-controls,.leaf-landscape.leaf-hud-hidden .new-map-tools,.leaf-landscape.leaf-hud-hidden .new-save-status{display:none!important}.leaf-gallery-dialog .file-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px 16px;align-content:start}.leaf-gallery-dialog .file-header,.leaf-gallery-dialog .file-group,.leaf-gallery-dialog .file-closing,.leaf-gallery-dialog footer{grid-column:1/-1}.leaf-gallery-dialog .review-back{align-self:center;top:0}.leaf-gallery-dialog nav.review-tabs{margin:0;top:0;align-self:center;min-height:44px}.leaf-gallery-dialog .file-group{gap:10px;margin-top:0}.leaf-gallery-dialog .review-tabs{margin:6px 0}.leaf-gallery-dialog .file-closing{margin-top:0}.leaf-gallery-dialog .file-group-heading{margin:0}@media(max-width:600px){.leaf-gallery-dialog .file-card{display:flex;gap:12px}.leaf-gallery-dialog .review-back{align-self:flex-start}.leaf-gallery-dialog nav.review-tabs{top:48px;align-self:stretch}}.leaf-gallery-dialog .file-group .review-tabs{position:static;top:auto}.leaf-landscape .leaf-zoom-controls button,.leaf-landscape .new-pad-panel .new-close{min-width:44px;min-height:44px}.leaf-landscape .new-pad-panel>.new-primary,.leaf-landscape .new-pad-actions button,.leaf-landscape .new-battle-controls>button{min-height:44px}.leaf-landscape .new-map-head.leaf-compact-head{left:auto;right:10px;width:auto;gap:6px;justify-content:flex-end}.leaf-landscape .leaf-compact-head>button{margin:0;order:0;min-width:44px;min-height:44px}.leaf-landscape .leaf-compact-menu{width:min(340px,calc(100% - 36px));padding:14px 18px}.leaf-landscape .leaf-compact-menu h2{font-size:20px}.leaf-landscape .leaf-compact-menu>.leaf-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.leaf-landscape .leaf-compact-menu .leaf-menu-actions button{min-height:44px;font-size:11px;padding:6px}.leaf-landscape.leaf-hud-hidden .leaf-hud-toggle{right:10px;top:8px}.leaf-menu-scrim{position:absolute;inset:0;z-index:34;background:#253c2844}.leaf-landscape .leaf-compact-menu{box-shadow:0 8px 35px #263b2855}.leaf-landscape .new-shop,.leaf-landscape .new-shop.leaf-shop-left,.leaf-landscape .new-shop.leaf-shop-right{inset:auto 10px 8px;width:auto;height:78px;max-height:78px;display:flex;gap:4px;padding:5px;overflow-x:auto;overflow-y:hidden;align-items:stretch;z-index:20;border-radius:13px}.leaf-landscape .new-shop[hidden]{display:none!important}.leaf-landscape .new-shop button{display:grid;grid-template-columns:1fr;grid-template-rows:28px 15px 14px;flex:1 0 58px;min-width:58px;max-width:90px;padding:2px;gap:0;min-height:64px;text-align:center}.leaf-landscape .new-shop img{grid-row:auto;width:28px;height:28px;margin:auto}.leaf-landscape .new-shop strong,.leaf-landscape .new-shop span{font-size:10px;align-self:center}.leaf-landscape .new-shop .leaf-build-cancel{display:block;flex:0 0 44px;min-width:44px;font-size:24px}.leaf-landscape.leaf-building .new-battle-controls,.leaf-landscape.leaf-building .new-map-tools{display:none}.leaf-landscape .new-map-tools .leaf-build-instruction{display:flex;align-items:center;padding:6px 10px;color:#405d36;font-size:11px;background:#f7fae9e8;border-radius:10px}.leaf-landscape .new-map-tools{min-height:44px}.leaf-landscape .new-shop button[aria-pressed=true]{border:1px solid #b8c4a6;padding:2px;background:#f2f7e3}.leaf-landscape .new-shop button{touch-action:none}.leaf-landscape .leaf-placement-panel{left:var(--preview-left,12px)!important;right:auto!important;top:var(--preview-top,80px)!important;bottom:auto!important;width:170px;max-height:110px;padding:6px 8px}.leaf-landscape .leaf-placement-panel>div:first-child{display:none}.leaf-landscape .leaf-placement-panel p{min-height:16px;margin:0 0 4px;font-size:10px}.leaf-placement-actions{display:flex;gap:5px}.leaf-placement-actions button{flex:1;min-width:0;min-height:44px!important;font-size:12px!important}.leaf-landscape .new-shop .leaf-build-cancel{touch-action:manipulation}.leaf-landscape .new-map-tools .leaf-shop-toggle{display:block}.leaf-landscape .leaf-placement-panel{width:104px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;overflow:visible;max-height:88px}.leaf-landscape .leaf-placement-panel p{font-size:10px;line-height:1.3;color:#6a3b29;text-shadow:0 1px 2px #fff,0 -1px 2px #fff;margin:0;min-height:0}.leaf-landscape .leaf-placement-panel p[hidden]{display:none}.leaf-landscape .leaf-placement-actions{gap:4px}.leaf-landscape .leaf-placement-actions button,.leaf-landscape .leaf-placement-actions button.new-primary{width:48px;min-width:48px;min-height:48px;background:transparent;border:0;box-shadow:none;color:#294b29;font-size:14px!important;font-weight:700;padding:0;text-shadow:0 1px 3px #fff,0 -1px 3px #fff,1px 0 3px #fff,-1px 0 3px #fff}.leaf-landscape .leaf-placement-actions button.leaf-placement-cancel{color:#5d634d;font-size:18px!important}.leaf-landscape .leaf-placement-actions button:disabled{color:#86563c;opacity:.6}.leaf-landscape .leaf-placement-actions button:focus-visible{outline:2px solid #426441;outline-offset:-5px}.leaf-landscape .leaf-placement-panel{inset:0 auto auto 0!important;width:0;height:0;min-height:0;padding:0;margin:0;max-height:none;overflow:visible}.leaf-landscape .leaf-placement-actions{display:block;position:static}.leaf-landscape .leaf-placement-actions>button{position:absolute;left:calc(var(--ok-x) - 24px);top:calc(var(--ok-y) - 24px);width:48px;height:48px;min-width:48px;min-height:48px}.leaf-landscape .leaf-placement-actions>button.leaf-placement-cancel{left:calc(var(--cancel-x) - 24px);top:calc(var(--cancel-y) - 24px)}.leaf-landscape .leaf-placement-panel p{position:absolute;left:calc(var(--ok-x) - 70px);top:calc(var(--ok-y) + 19px);width:140px;text-align:center;pointer-events:none}.leaf-game-dialog{font-family:ui-rounded,PingFang SC,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif}.leaf-landscape .leaf-compact-head button,.leaf-landscape .new-map-tools button{border-radius:13px;border-color:#94aa7966;background:#f8fbece8;box-shadow:0 2px 7px #38502b0d;font-size:11px;letter-spacing:.02em}.leaf-landscape .new-battle-controls{box-shadow:0 2px 8px #38502b12}.leaf-landscape .new-battle-controls>.new-primary{border-radius:11px}.leaf-landscape .new-pad-panel:not(.leaf-placement-panel){background:#fbfcefef;box-shadow:0 5px 20px #344e2b18;border-color:#a1b58a99;border-radius:17px}.leaf-landscape .new-pad-actions button{border-radius:10px}.leaf-landscape .new-wave-overlay{background:#fbfcedfc;border-color:#8da775}@media(max-height:450px)and (orientation:landscape){.leaf-landscape .leaf-compact-menu{width:min(560px,calc(100% - 36px));display:grid;grid-template-columns:1fr 1.12fr;gap:7px 16px;padding:12px 16px;max-height:calc(100% - 24px)}.leaf-landscape .leaf-compact-menu>.leaf-eyebrow{grid-column:1;grid-row:1;font-size:10px}.leaf-landscape .leaf-compact-menu>h2{grid-column:1;grid-row:2;font-size:19px;margin:0}.leaf-landscape .leaf-compact-menu>p{display:none}.leaf-landscape .leaf-compact-menu>button.new-primary{grid-column:1;grid-row:3;margin:0}.leaf-landscape .leaf-compact-menu>button:not(.new-primary){grid-column:1;grid-row:4;margin:0;font-size:11px}.leaf-landscape .leaf-compact-menu>.leaf-menu-actions{grid-column:2;grid-row:1/5;margin:0;gap:5px}.leaf-landscape .leaf-compact-menu .leaf-menu-actions button{min-height:44px;padding:5px}}.leaf-landscape .leaf-compact-head .leaf-icon-button{width:48px;height:48px;min-width:48px;padding:11px;border:1px solid #c9d5ac88;border-radius:50%;background:#e9f0d9df;color:#37583b;box-shadow:0 2px 7px #2a493322;display:grid;place-items:center}.leaf-icon-button svg{display:block;width:25px;height:25px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:currentColor}.leaf-landscape button:focus-visible{outline:3px solid #6d985b;outline-offset:3px}.leaf-landscape .new-battle-controls{background:#2d4b3edb;border-color:#c0ce9c5c;border-radius:16px;box-shadow:0 3px 12px #19342824;color:#ecedd5;gap:12px}.leaf-landscape .new-battle-resources strong{color:#f4e8b4}.leaf-landscape .new-wave-status{color:#bdcfae}.leaf-landscape .new-battle-controls>.new-primary{background:linear-gradient(120deg,#d4c58a,#b6bb79);border:1px solid #e1d29b;color:#294633;border-radius:12px;box-shadow:0 2px 6px #17362333;font-weight:600}.leaf-landscape .new-map-tools button{background:#2c4b3fdb;border:1px solid #bfce9c5c;border-radius:14px;color:#edf0d8;box-shadow:0 2px 8px #17362322;font-size:11px;padding:8px 12px}.leaf-landscape .new-map-head.leaf-compact-head .leaf-icon-button{background:#294a3bcd;border:1px solid #bdcea261;color:#f1edcf;box-shadow:0 2px 9px #20432f33}.leaf-landscape .new-shop{background:#2a4b3eeb;border:1px solid #c2d0a261;box-shadow:0 3px 16px #19392744;backdrop-filter:blur(8px)}.leaf-landscape .new-shop button{background:#72915a22;border:1px solid #b8c99944;color:#eff0d8;border-radius:10px}.leaf-landscape .new-shop button span{color:#c8d7b9}.leaf-landscape .new-shop button[aria-pressed=true]{background:#b6bf803d;border:1px solid #ddcd8d}.leaf-landscape .new-shop button:disabled{opacity:.43}.leaf-landscape .new-shop .leaf-build-cancel{color:#e7e8cf;background:transparent;border-color:transparent}.leaf-landscape .new-pad-panel:not(.leaf-placement-panel){background:#2b4b3eea;border:1px solid #c1ca996b;color:#eeeccf;box-shadow:0 5px 20px #1b382c33;border-radius:16px}.leaf-landscape .new-pad-panel:not(.leaf-placement-panel)>div:first-child strong{color:#f1e6b8;font-weight:600}.leaf-landscape .new-pad-panel:not(.leaf-placement-panel) p{color:#cfdbbd}.leaf-landscape .new-pad-actions button,.leaf-landscape .new-pad-panel .new-close{background:#92ac6b30;border:1px solid #becb9955;color:#e8ebd0;border-radius:10px}.leaf-landscape .new-pad-actions button small{color:#c7d4b9}.leaf-landscape .new-pad-actions button:disabled{opacity:.42}.leaf-landscape .new-pad-panel .new-branch-warning{background:#b4b66a23;border-radius:8px;padding:6px;color:#e2dfb9}.leaf-landscape .leaf-rules,.leaf-landscape .leaf-pause-sheet,.leaf-landscape .new-confirm,.leaf-landscape .new-wave-overlay{background:#2b4b3ff5;border:1px solid #bdc99477;color:#eeecd3;border-radius:20px;box-shadow:0 8px 35px #17312655;backdrop-filter:blur(10px)}.leaf-landscape .leaf-rules button,.leaf-landscape .leaf-pause-sheet button,.leaf-landscape .new-confirm button,.leaf-landscape .new-wave-overlay button{background:#708d553b;border:1px solid #bfca9855;color:#e9ebd1;border-radius:11px;min-height:44px;font-weight:500}.leaf-landscape .leaf-pause-sheet button.new-primary,.leaf-landscape .new-confirm button.new-primary,.leaf-landscape .new-wave-overlay button.new-primary{background:linear-gradient(120deg,#d4c58a,#b6bb79);border-color:#e1d39c;color:#294432;font-weight:600}.leaf-landscape .leaf-pause-sheet .leaf-eyebrow,.leaf-landscape .new-result-kicker{color:#d7ce97;letter-spacing:.12em}.leaf-landscape .leaf-pause-sheet p,.leaf-landscape .new-wave-overlay p,.leaf-landscape .new-wave-overlay small,.leaf-landscape .new-confirm p,.leaf-landscape .leaf-rules p{color:#c7d6bb}.leaf-landscape .new-wave-overlay h2{font-weight:550;letter-spacing:.04em;color:#f3e9bd}.leaf-landscape .new-save-status{font-size:8px;color:#34533b;background:#d6e0b95c;border-radius:5px;left:calc(50% - 120px);right:auto;width:240px;opacity:.74}.leaf-landscape .new-map-transition{background:#2c4b3eea;color:#e6e9cf;border:1px solid #bfcb9c55;box-shadow:0 3px 16px #1a362b33}.leaf-landscape .new-map-transition p{color:#c4d5b5}.leaf-landscape .new-battle-resources{color:#d6e0c3}.leaf-result-scrim{position:absolute;inset:0;z-index:17;background:#19372842;backdrop-filter:blur(1px)}.leaf-landscape .leaf-rules{z-index:36;font-size:12px;line-height:1.8}.leaf-landscape .leaf-rules>button{float:right;margin:0 0 8px 14px;min-width:90px}.leaf-landscape .leaf-rules p:first-of-type{margin-top:4px}.native-water-shimmer path{animation:native-water-light 6s ease-in-out infinite;opacity:.2;transform-box:fill-box;transform-origin:center}@keyframes native-water-light{0%,to{opacity:.08;transform:translate(-3px) scaleX(.8)}50%{opacity:.42;transform:translate(3px) scaleX(1.07)}}@media(prefers-reduced-motion:reduce){.native-water-shimmer path{animation:none;opacity:.22}}.leaf-landscape .new-save-status:not([hidden]){height:auto;line-height:1.5;font-size:11px;bottom:6px;padding:5px 9px;background:#f2d6aaed;border:1px solid #bd8856;color:#553e29;left:50%;right:auto;transform:translate(-50%);width:auto;max-width:calc(100% - 36px);white-space:normal;z-index:70;border-radius:8px;opacity:1}@media(max-height:340px)and (orientation:landscape){.leaf-landscape .new-wave-overlay{display:grid;grid-template-columns:1fr 1fr;gap:5px 9px;max-width:480px;padding:14px 18px;max-height:calc(100% - 24px)}.leaf-landscape .new-wave-overlay>.new-result-kicker,.leaf-landscape .new-wave-overlay>h2,.leaf-landscape .new-wave-overlay>p,.leaf-landscape .new-wave-overlay>small{grid-column:1/-1}.leaf-landscape .new-wave-overlay h2{font-size:22px;margin:2px 0 3px}.leaf-landscape .new-wave-overlay p{font-size:11px;margin:2px 0;line-height:1.5}.leaf-landscape .new-wave-overlay>.new-result-kicker{font-size:10px}.leaf-landscape .new-wave-overlay button{width:auto;margin:4px 0 0;font-size:11px}.leaf-landscape .new-wave-overlay small{font-size:10px;line-height:1.4}}.leaf-landscape .new-pad-panel:not(.leaf-placement-panel){width:300px;max-height:min(310px,calc(100% - 140px));overflow-y:auto;overscroll-behavior:contain}.leaf-combat-stats{font-size:11px;line-height:1.5;margin:7px 0}.leaf-stat-row{display:grid;grid-template-columns:68px 1fr;gap:1px 8px;margin:6px 0;padding:5px 7px;background:#bfd19b12;border-radius:7px}.leaf-stat-row strong{font-size:13px;color:#f4e8b4}.leaf-stat-row small{grid-column:1/-1}.leaf-combat-stats small{display:block;font-size:10px;color:#c6d7b8}.leaf-landscape .new-pad-panel .leaf-combat-stats p{font-size:11px;line-height:1.5;margin:5px 0}.leaf-landscape .new-pad-panel .new-pad-actions{position:sticky;bottom:-8px;background:#2b4b3f;padding:6px 0 0;z-index:1}.leaf-landscape .new-shop,.leaf-landscape .new-shop.leaf-shop-left,.leaf-landscape .new-shop.leaf-shop-right{height:124px;max-height:124px}.leaf-landscape .new-shop button:not(.leaf-build-cancel){min-width:112px;max-width:132px;flex:1 0 112px;grid-template-rows:24px 14px 14px 48px;min-height:110px}.leaf-landscape .new-shop img{width:24px;height:24px}.leaf-roster-stats{display:block;font-size:10px;line-height:15px;white-space:nowrap}.leaf-landscape .new-shop .leaf-roster-stats span{display:block;font-size:10px;line-height:15px;color:#d4dfc6}.leaf-landscape .new-shop .leaf-roster-stats span:last-child{font-size:9px;color:#aec69e}.leaf-landscape .new-shop,.leaf-landscape .new-shop.leaf-shop-left,.leaf-landscape .new-shop.leaf-shop-right{height:142px;max-height:142px}.leaf-landscape .new-shop button:not(.leaf-build-cancel){min-width:136px;max-width:156px;flex-basis:136px;grid-template-rows:24px 14px 14px 66px;min-height:128px}.leaf-roster-stats,.leaf-landscape .new-shop .leaf-roster-stats span{font-size:11px;line-height:16px}.leaf-landscape .new-shop .leaf-roster-stats span:last-child{font-size:10px}.leaf-landscape .new-shop,.leaf-landscape .new-shop.leaf-shop-left,.leaf-landscape .new-shop.leaf-shop-right{overflow:hidden;gap:5px}.leaf-roster-scroll{display:flex;gap:4px;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#b4c58d transparent;scroll-snap-type:x proximity}.leaf-roster-scroll>button{scroll-snap-align:start}.leaf-landscape .new-shop .leaf-roster-nav{display:flex;flex-direction:column;justify-content:space-between;width:44px;flex:0 0 44px}.leaf-landscape .new-shop .leaf-roster-nav button{display:block;flex:none;min-width:44px;max-width:44px;min-height:40px;height:40px;padding:0;font-size:24px;touch-action:manipulation}.leaf-landscape .new-shop .leaf-roster-nav .leaf-build-cancel{font-size:21px}.leaf-roster-scroll{scrollbar-width:none}.leaf-roster-scroll::-webkit-scrollbar{display:none}.leaf-landscape .new-pad-panel:not(.leaf-placement-panel){max-height:min(320px,calc(100% - 98px));scrollbar-width:thin;scrollbar-color:#a7bd8a #2b4b3f}.leaf-landscape .leaf-support-source{font-size:10px!important}@media(max-height:500px)and (orientation:landscape){.leaf-landscape .new-shop,.leaf-landscape .new-shop.leaf-shop-left,.leaf-landscape .new-shop.leaf-shop-right{height:84px;max-height:84px;left:6px;right:6px;bottom:6px;padding:4px;gap:5px;border-radius:11px;align-items:center}.leaf-landscape .new-shop .leaf-roster-scroll{height:74px;align-items:stretch;gap:4px}.leaf-landscape .new-shop .leaf-roster-scroll>button{display:grid;grid-template-columns:24px minmax(0,1fr) auto;grid-template-rows:23px 42px;align-content:center;align-items:center;min-width:184px;max-width:184px;flex:0 0 184px;min-height:72px;height:74px;padding:3px 6px;gap:0 4px;text-align:left;border-radius:8px}.leaf-landscape .new-shop .leaf-roster-scroll>button img{grid-column:1;grid-row:1;width:22px;height:23px;margin:0}.leaf-landscape .new-shop .leaf-roster-scroll>button strong{grid-column:2;grid-row:1;font-size:11px;line-height:18px;align-self:center}.leaf-landscape .new-shop .leaf-roster-scroll>button>span{grid-column:3;grid-row:1;font-size:10px;line-height:18px;align-self:center}.leaf-landscape .new-shop .leaf-roster-stats{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-self:center;font-size:10px;line-height:13px;white-space:nowrap}.leaf-landscape .new-shop .leaf-roster-stats span{font-size:10px;line-height:13px;align-self:center}.leaf-landscape .new-shop .leaf-roster-stats span:nth-child(2){text-align:right}.leaf-landscape .new-shop .leaf-roster-stats span:nth-child(n+3){grid-column:1/-1}.leaf-landscape .new-shop .leaf-roster-stats span:last-child{font-size:9px;line-height:13px}.leaf-landscape .new-shop .leaf-roster-nav{width:140px;flex:0 0 140px;display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:flex-end}.leaf-landscape .new-shop .leaf-roster-nav button{min-width:44px;max-width:44px;min-height:44px;height:44px;padding:0;font-size:22px;border-radius:9px}.leaf-landscape .leaf-compact-head .leaf-icon-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px}.leaf-landscape .leaf-compact-head .leaf-icon-button svg{width:22px;height:22px}}html,body,#root{margin:0;padding:0;width:100%;height:100%;overflow:hidden;background:#93ae69}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}button{font:inherit;cursor:pointer}dialog.leaf-game-dialog{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-height:100dvh;max-width:100%;padding:0;border:0}.file-card{display:grid;gap:16px}.file-header{display:grid;gap:6px}.file-title{font-size:26px;margin:0}.file-intro,.file-caption,.file-closing{font-size:12px;line-height:1.6;margin:0}.file-group{display:grid;gap:10px}.file-group-heading{font-size:19px;margin:0}.standalone-photo{position:fixed;inset:10px;width:calc(100% - 20px);height:calc(100dvh - 20px);max-width:none;max-height:none;background:#f9faef;border:0;border-radius:12px;padding:12px;overflow:auto}.standalone-photo::backdrop{background:#203c23cc}.standalone-photo button{min-height:44px}.standalone-photo h2{font-size:16px}.standalone-photo img{display:block;max-width:100%;max-height:calc(100dvh - 120px);margin:auto;object-fit:contain}.leaf-landscape .new-map-head{top:max(8px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}.leaf-landscape .new-battle-controls{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}.leaf-landscape .new-map-tools{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom))}.leaf-landscape .leaf-hud-toggle{top:max(8px,env(safe-area-inset-top));right:calc(max(12px,env(safe-area-inset-right)) + 60px)}.leaf-landscape.leaf-hud-hidden .leaf-hud-toggle{right:max(12px,env(safe-area-inset-right))}dialog.leaf-gallery-dialog{padding:12px 18px}@media(max-width:600px){dialog.leaf-gallery-dialog{padding:10px}}.native-cover{position:absolute;inset:0;width:100%;height:100%;display:block}.leaf-menu-dialog .leaf-cover{position:relative}.leaf-menu-dialog .leaf-cover-copy{z-index:1;text-shadow:0 2px 8px #203b24}.leaf-menu-dialog .leaf-cover:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#284c3399);pointer-events:none}.leaf-menu-dialog .leaf-cover-copy{z-index:2}.leaf-menu-dialog .leaf-cover{background:#91ad73}.native-cover{height:64%;top:4px}.leaf-menu-dialog .leaf-cover:after{inset:50% 0 0;background:linear-gradient(transparent,#284c33bb)}@media(max-height:330px)and (min-width:601px){.leaf-menu-dialog .leaf-cover-copy p{display:none}.leaf-menu-dialog .leaf-cover-copy h1{font-size:20px}.native-cover{height:68%}}.leaf-image-recovery{position:fixed;z-index:100000;left:12px;top:12px;max-width:min(420px,90vw);max-height:65vh;overflow:auto;background:#203f32f5;color:#f2edcd;border:1px solid #bac69b;border-radius:12px;padding:10px;font-size:12px}.leaf-image-recovery p{margin:0 0 7px}.leaf-image-recovery button{min-height:44px;margin:3px;border-radius:9px;padding:6px 12px}.leaf-image-recovery pre{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere}.leaf-image-recovery button{color:#f5efcb!important;background:#42614b!important;border:1px solid #b7c396!important;font-size:12px!important}.leaf-image-recovery button:focus-visible{outline:3px solid #ead395;outline-offset:2px}.leaf-game-dialog .leaf-image-recovery{position:absolute;top:max(76px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));max-width:min(420px,calc(100% - 24px));max-height:calc(100% - 100px);line-height:1.5;box-sizing:border-box}.leaf-game-dialog .leaf-image-recovery p{font-size:12px;line-height:1.5;white-space:normal;overflow:visible}.leaf-file-status{position:fixed;bottom:0;left:0;right:0;z-index:100002;background:#203f32ef;color:#f2edcd;font:11px/16px system-ui;text-align:center;padding:3px 8px;pointer-events:none}.leaf-file-load{padding:32px;background:#203f32;color:#f2edcd}.leaf-game-dialog{--forest-stone-texture:url("./assets/forest-stone-surface-2N7F2XHU.svg")}.leaf-game-dialog .journey-shell button:not(.journey-wordmark):not(.forest-stone-button),.leaf-game-dialog .leaf-landscape button:not(.leaf-hud-toggle){border-radius:7px 10px 6px 9px;background-image:var(--forest-stone-texture),linear-gradient(145deg,#657d66,#3e594b 55%,#334e43);background-size:100% 100%;background-repeat:no-repeat;border-color:#a8b39175;color:#f1edcf;box-shadow:inset 0 1px #d8d7b32b,inset 0 -2px #172f2a50,0 2px 4px #0c261c33}.leaf-game-dialog .journey-shell button.journey-primary:not(.forest-stone-button),.leaf-game-dialog .leaf-landscape button.new-primary,.leaf-game-dialog .journey-wave-nodes button.is-current{background-image:var(--forest-stone-texture),linear-gradient(145deg,#c5c9ab,#a5b493 58%,#8d9f80);color:#203e2c;border-color:#ccd2ab9c;text-shadow:0 1px 0 #e3e5ca66}.leaf-game-dialog .journey-primary small,.leaf-game-dialog .journey-primary b{color:#314f37}.leaf-game-dialog .leaf-landscape .new-shop{border-radius:8px 11px 6px 10px;background-image:linear-gradient(145deg,#495f50ee,#283f35f2);border-color:#b8c39a80;box-shadow:inset 0 1px #c9d2a32b,0 2px 6px #10271e44}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{background-image:linear-gradient(145deg,#677c5c45,#39534266);border-radius:5px 8px 5px 7px;border-color:#a2b28566;box-shadow:inset 0 1px #e1e3b917}.leaf-game-dialog .leaf-landscape .new-map-head.leaf-compact-head .leaf-icon-button{border-radius:9px 6px 10px;background-image:var(--forest-stone-texture),linear-gradient(145deg,#627962,#354f42);padding:10px;color:#f1ecd1}.leaf-game-dialog .leaf-landscape .new-battle-controls{border-radius:9px 6px 11px 7px;background-image:var(--forest-stone-texture),linear-gradient(145deg,#4f6553ef,#293f35ef);background-size:100% 100%;border-color:#b9c49c80;box-shadow:inset 0 1px #d8deb52b,0 2px 6px #10291d44}.leaf-game-dialog .leaf-landscape .new-battle-resources strong{color:#f1e4af}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary{background-image:var(--forest-stone-texture),linear-gradient(145deg,#d0d5b0,#9cae88);background-size:100% 100%;border:1px solid #dce1b891;color:#25442e;text-shadow:0 1px #f2edc9;font-size:13px!important;box-shadow:0 2px 5px #16322266;border-radius:8px 5px}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.leaf-placement-cancel{background-image:var(--forest-stone-texture),linear-gradient(145deg,#80907b,#526b58);background-size:100% 100%;border:1px solid #bac6a37a;color:#fff0d1;text-shadow:0 1px #253c31;font-size:21px!important;box-shadow:0 2px 5px #16322266;border-radius:7px 9px 5px 7px}.leaf-game-dialog .leaf-landscape .leaf-rules,.leaf-game-dialog .leaf-landscape .leaf-pause-sheet,.leaf-game-dialog .leaf-landscape .new-wave-overlay,.leaf-game-dialog .leaf-landscape .new-confirm,.leaf-game-dialog .leaf-landscape .new-pad-panel:not(.leaf-placement-panel),.leaf-game-dialog .journey-confirm{background-image:linear-gradient(135deg,#4c6351f7,#2a4439fa);border-color:#afbd8d88;border-radius:12px 8px 14px;box-shadow:inset 0 1px #d6dbb12b,0 7px 22px #0c281e66}.leaf-game-dialog .journey-sound{background-image:var(--forest-stone-texture),linear-gradient(145deg,#61745b,#354f43);border-radius:8px 6px 9px}.leaf-game-dialog .leaf-landscape button:disabled,.leaf-game-dialog .journey-shell button:disabled{filter:saturate(.45)}.leaf-game-dialog button:focus-visible{outline:2px solid #e9dba1;outline-offset:2px}.leaf-game-dialog .forest-stone-button:focus-visible{outline-offset:0}.leaf-game-dialog .journey-shell button:not(.journey-wordmark):not(.forest-stone-button),.leaf-game-dialog .leaf-landscape button:not(.leaf-hud-toggle){background-color:transparent;background-image:url("./assets/forest-stone-surface-2N7F2XHU.svg");border-color:transparent;box-shadow:none}.leaf-game-dialog .journey-shell button.journey-primary:not(.forest-stone-button),.leaf-game-dialog .leaf-landscape button.new-primary,.leaf-game-dialog .journey-wave-nodes button.is-current,.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary{background-image:url("./assets/forest-stone-light-V2J4PRCS.svg");border-color:transparent;box-shadow:none}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{background-image:linear-gradient(145deg,#677c5c45,#39534266);border:1px solid #a2b28566}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]{background-image:linear-gradient(145deg,#a5ad6a66,#6c86574d);border-color:#ddd29a}.leaf-game-dialog .leaf-landscape .new-map-head.leaf-compact-head .leaf-icon-button,.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.leaf-placement-cancel{background-color:transparent;background-image:url("./assets/forest-stone-surface-2N7F2XHU.svg");border-color:transparent;box-shadow:none}.leaf-game-dialog .journey-welcome .forest-stone-button:focus-visible{outline:none}.leaf-game-dialog .journey-welcome .forest-stone-button:focus-visible .forest-stone-art{filter:drop-shadow(0 0 2px #fff1a7) drop-shadow(0 4px 4px #10291e80)}.leaf-game-dialog .leaf-landscape .leaf-pause-sheet,.leaf-game-dialog .leaf-landscape .leaf-rules,.leaf-game-dialog .leaf-landscape .new-confirm,.leaf-game-dialog .leaf-landscape .new-wave-overlay,.leaf-game-dialog .leaf-landscape .new-pad-panel:not(.leaf-placement-panel),.leaf-game-dialog .journey-confirm{background-color:#334c3c;background-image:url("./assets/forest-wood-panel-SG3G5IYC.svg");background-repeat:no-repeat;background-size:100% 100%;border:0;border-radius:13px;box-shadow:0 6px 20px #0b201c70}.leaf-game-dialog .leaf-landscape .leaf-pause-sheet h2,.leaf-game-dialog .leaf-landscape .new-wave-overlay h2,.leaf-game-dialog .leaf-landscape .new-pad-panel>div:first-child strong,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .leaf-pause-sheet button,.leaf-game-dialog .leaf-landscape .new-map-tools button,.leaf-game-dialog .leaf-landscape .new-pad-actions button,.leaf-game-dialog .leaf-landscape .new-wave-overlay button,.leaf-game-dialog .leaf-landscape .leaf-rules>button,.leaf-game-dialog .leaf-landscape .new-battle-controls>button{font-family:Leaf Ruins Display,Georgia,serif;font-weight:400;font-synthesis:none;letter-spacing:.025em}[data-game-language=en] .leaf-game-dialog .leaf-landscape .leaf-pause-sheet h2,[data-game-language=en] .leaf-game-dialog .leaf-landscape .new-wave-overlay h2{font-family:Georgia,serif;font-weight:600;letter-spacing:.015em}[data-game-language=en] .leaf-game-dialog .leaf-landscape .leaf-pause-sheet button,[data-game-language=en] .leaf-game-dialog .leaf-landscape .new-map-tools button,[data-game-language=en] .leaf-game-dialog .leaf-landscape .new-pad-actions button,[data-game-language=en] .leaf-game-dialog .leaf-landscape .new-wave-overlay button,[data-game-language=en] .leaf-game-dialog .leaf-landscape .leaf-rules>button,[data-game-language=en] .leaf-game-dialog .leaf-landscape .new-battle-controls>button,[data-game-language=en] .leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong{font-family:Georgia,serif;font-weight:600;letter-spacing:0}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{background-color:transparent;background-image:url("./assets/forest-stone-surface-2N7F2XHU.svg");background-repeat:no-repeat;background-size:100% 100%;border:0;box-shadow:none;padding-left:8px;padding-right:8px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]{background-image:url("./assets/forest-stone-light-V2J4PRCS.svg");color:#233f2e}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong{color:#f0e4b8;text-shadow:0 1px 1px #1b3127;font-size:12px}.leaf-game-dialog .leaf-landscape .leaf-stat-row{border-radius:0;background:linear-gradient(90deg,#c5bf8830,#8da06c0a);border-top:1px solid #c1bf8650;border-bottom:1px solid #223b2a;padding:5px 7px}.leaf-game-dialog .leaf-landscape .leaf-pause-sheet .global-language-choice button{min-height:36px}.leaf-game-dialog .leaf-landscape .new-pad-panel .new-pad-actions{background:#334c3c}.leaf-game-dialog .leaf-landscape .new-map-head.leaf-compact-head .leaf-icon-button{background-repeat:no-repeat!important;background-size:100% 100%!important;background-position:center!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true] strong,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]>span,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true] .leaf-roster-stats span{color:#27422e;text-shadow:none}.leaf-game-dialog .leaf-landscape .leaf-pause-sheet{padding-top:25px;padding-bottom:19px}.leaf-game-dialog .leaf-landscape .new-pad-panel:not(.leaf-placement-panel){padding-top:16px;padding-bottom:13px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button .leaf-roster-stats{font-size:10px;line-height:12px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button .leaf-roster-stats span{line-height:12px}@media(max-height:500px)and (orientation:landscape){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{grid-template-rows:20px 48px;padding-top:1px;padding-bottom:1px}}@media(max-height:500px)and (orientation:landscape){.leaf-game-dialog .leaf-landscape .new-shop{height:90px;min-height:90px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{grid-template-rows:20px 48px;min-height:74px;height:74px;padding-top:0;padding-bottom:4px}}@media(max-height:500px)and (orientation:landscape){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{scroll-snap-type:x mandatory}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{flex-basis:calc((100% - 8px)/3);min-width:calc((100% - 8px)/3);max-width:calc((100% - 8px)/3)}}@media(max-height:500px)and (orientation:landscape)and (max-width:800px){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{flex-basis:calc((100% - 4px)/2);min-width:calc((100% - 4px)/2);max-width:calc((100% - 4px)/2)}}@media(max-height:500px)and (orientation:landscape)and (max-width:600px){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{flex-basis:100%;min-width:100%;max-width:100%}}.leaf-map-zoom{display:none}@media(min-width:1024px)and (min-height:600px){.leaf-map-zoom{display:flex;position:absolute;top:9px;left:10px;z-index:6;gap:3px;background:#334c3cdd;padding:3px;border:1px solid #a8b79177;border-radius:5px}.leaf-map-zoom button{min-width:34px;min-height:32px;padding:3px 8px;border:1px solid #b6c39a66;background:#526c4e;color:#f4eed1;font-size:14px;border-radius:3px;cursor:pointer}.leaf-map-zoom button:disabled{opacity:.4;cursor:default}.leaf-game-dialog .leaf-landscape .new-shop{height:166px;min-height:166px;max-height:166px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{gap:8px;scroll-snap-type:x mandatory}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{flex:0 0 calc((100% - 40px)/6);min-width:0;max-width:calc((100% - 40px)/6);height:148px;min-height:148px;grid-template-rows:24px 16px 16px 65px;padding:3px 10px 19px;scroll-snap-align:start}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button .leaf-roster-stats{font-size:12px;line-height:15px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button .leaf-roster-stats span{line-height:15px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong{font-size:14px}.leaf-game-dialog .leaf-landscape .new-battle-controls{font-size:15px}}@media(min-width:1700px)and (min-height:600px){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{flex-basis:calc((100% - 56px)/8);max-width:calc((100% - 56px)/8)}}@media(min-width:1024px)and (min-height:600px){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-stats,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-stats span{white-space:normal}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button .leaf-roster-stats span:last-child{font-size:10px}}@media(max-height:500px)and (orientation:landscape){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{grid-template-rows:20px 45px;min-height:80px;height:80px;padding-bottom:10px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{height:80px}.leaf-game-dialog .leaf-landscape .new-shop{height:96px;min-height:96px;max-height:96px}}.leaf-desktop-context{display:none}@media(min-width:1024px)and (min-height:600px){.leaf-desktop-context{display:flex;position:absolute;top:0;left:170px;right:170px;height:54px;align-items:center;justify-content:center;gap:18px;z-index:5;pointer-events:none;color:#ede6be;font-size:14px}.leaf-desktop-context strong{font-family:Georgia,serif;font-weight:500;font-size:17px}.leaf-desktop-context span{font-size:12px;color:#c6d4b5}}.leaf-game-dialog .leaf-landscape .leaf-audio-retry{position:absolute;left:50%;top:60px;transform:translate(-50%);z-index:33;max-width:calc(100% - 24px);min-height:44px;padding:9px 18px;font-size:12px}@media(hover:hover)and (pointer:fine){.leaf-game-dialog,.leaf-game-dialog *{cursor:url("./assets/leaf-spirit-cursor-native-E7ZN4WE4.webp") 1 1,auto}.leaf-game-dialog button,.leaf-game-dialog button *,.leaf-game-dialog a,.leaf-game-dialog a *,.leaf-game-dialog summary,.leaf-game-dialog select{cursor:url("./assets/leaf-spirit-cursor-native-E7ZN4WE4.webp") 1 1,pointer}.leaf-game-dialog button:disabled,.leaf-game-dialog button:disabled *{cursor:not-allowed}.leaf-game-dialog input,.leaf-game-dialog textarea{cursor:text}}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources{position:absolute;top:10px;left:12px;z-index:48;display:flex;gap:18px;align-items:center;min-height:38px;padding:5px 13px;border:1px solid #b6c59188;border-radius:8px;background:#294533ed;color:#ecedd3;font-size:13px;box-shadow:0 2px 8px #132c2233}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources strong{font-size:23px;font-weight:700;margin-left:5px;color:#f4e7a3;line-height:1}.leaf-game-dialog .leaf-landscape .light-intel-open{left:210px;top:12px}.leaf-game-dialog .leaf-landscape .leaf-map-zoom{left:auto;right:12px;top:58px;opacity:.82;transform:scale(.88);transform-origin:right top}@media(max-height:450px){.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources{top:8px;left:12px;min-height:34px;padding:4px 10px;gap:12px;font-size:12px}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources strong{font-size:20px}.leaf-game-dialog .leaf-landscape .light-intel-open{left:190px;top:8px}.leaf-game-dialog .leaf-landscape .leaf-map-zoom{top:54px}}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources{gap:18px;padding:3px 11px;background:linear-gradient(130deg,#36533bef,#223e30f0)}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources>span{display:flex;align-items:center;gap:4px}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources svg{display:block;width:32px;height:32px;filter:drop-shadow(0 1px 1px #172c2466)}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources strong{font-size:25px;margin:0;min-width:28px}.leaf-game-dialog .leaf-landscape .light-intel-open{left:220px}@media(max-height:450px){.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources{gap:12px;padding:2px 9px}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources svg{width:29px;height:29px}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources strong{font-size:23px}.leaf-game-dialog .leaf-landscape .light-intel-open{left:208px}}.leaf-game-dialog .leaf-landscape .new-map-tools .leaf-shop-toggle{display:flex;align-items:center;gap:8px;min-width:145px;min-height:65px;padding:4px 16px 4px 4px;background:linear-gradient(130deg,#5f7755f5,#314d3bf5);border:2px solid #b2ba7a;border-radius:17px 7px 19px 6px;box-shadow:inset 0 0 0 2px #263c2d99,0 3px 8px #122b2255;color:#f2ebcb;font-size:15px;overflow:visible}.leaf-game-dialog .leaf-landscape .leaf-shop-toggle img{width:47px;height:60px;object-fit:contain;margin-top:-12px;filter:drop-shadow(0 2px 2px #142c2166)}.leaf-game-dialog .leaf-landscape .new-map-tools .leaf-shop-toggle span{display:block;text-align:left}.leaf-game-dialog .leaf-landscape .leaf-shop-toggle small{display:block;font-size:10px;color:#d0d9ab;margin-top:2px}.leaf-game-dialog .leaf-landscape .new-shop{height:116px!important;width:min(810px,calc(100% - 24px))!important;left:12px!important;right:auto!important;bottom:86px!important;max-height:calc(100% - 155px);padding:8px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{height:92px;align-items:stretch;gap:6px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:65px;max-width:65px;flex:0 0 65px;min-height:86px;height:86px;padding:3px!important;gap:0}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button img{width:48px;height:56px;margin:0;object-fit:contain}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong{font-size:11px;line-height:14px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button>span{font-size:10px;line-height:13px}.leaf-game-dialog .leaf-landscape .leaf-guard-tooltip{position:fixed;z-index:160;pointer-events:none;width:250px;padding:12px 14px;line-height:1.5;border:1px solid #bec795;border-radius:10px 5px 13px 6px;background:#263f32f5;color:#eee9cc;box-shadow:0 4px 16px #172b2655;font-size:13px}.leaf-guard-tooltip p{margin:3px 0 7px;font-size:12px!important;color:#d3d9b1!important}.leaf-guard-tooltip .leaf-roster-stats{display:flex;flex-direction:column;gap:2px;color:#ede6c5;font-size:12px}.leaf-guard-tooltip>small{display:block;font-size:10px;color:#b7c89c;margin-top:7px}@media(max-height:450px){.leaf-game-dialog .leaf-landscape .new-map-tools .leaf-shop-toggle{min-height:56px;min-width:138px;font-size:14px}.leaf-game-dialog .leaf-landscape .leaf-shop-toggle img{height:50px;width:40px}.leaf-game-dialog .leaf-landscape .new-shop{bottom:76px!important;height:108px!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{height:84px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{height:80px;min-height:80px}}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));overflow:visible;gap:4px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{width:100%;min-width:0;max-width:none;flex:none}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-nav{width:28px;min-width:28px;flex:0 0 28px;display:flex;align-items:center;justify-content:center}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-nav button{min-width:26px;width:26px;padding:0}@media(max-width:680px){.leaf-game-dialog .leaf-landscape .new-shop{height:196px!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{grid-template-columns:repeat(5,minmax(0,1fr));height:180px;grid-template-rows:repeat(2,84px)}}.leaf-game-dialog .leaf-landscape .new-shop{min-height:0!important}.leaf-game-dialog .leaf-landscape .new-map-tools .leaf-shop-toggle>span{color:#f2ebcb!important;font-size:15px!important}.leaf-game-dialog .leaf-landscape .leaf-primary-hud{position:absolute;top:8px;left:12px;z-index:49;display:flex;align-items:center;gap:6px;max-width:calc(100% - 125px)}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources{position:static;flex-shrink:0}.leaf-game-dialog .leaf-landscape .leaf-primary-hud .new-battle-controls{position:static!important;height:42px;min-height:42px;padding:2px 5px;gap:5px;flex-shrink:0}.leaf-game-dialog .leaf-landscape .leaf-primary-hud .new-battle-controls>button{min-height:36px;min-width:82px;padding:4px 10px;font-size:13px}.leaf-game-dialog .leaf-landscape .leaf-primary-hud .new-battle-controls>.leaf-quick-speed{min-width:44px;font-size:16px;font-weight:700;color:#f0e7be}.leaf-game-dialog .leaf-landscape .leaf-primary-hud .new-battle-info{display:none}.leaf-game-dialog .leaf-landscape .light-intel-open{left:12px;top:60px}.leaf-game-dialog .leaf-landscape.leaf-hud-hidden .leaf-primary-hud{display:none}@media(max-height:450px){.leaf-game-dialog .leaf-landscape .leaf-primary-hud .new-battle-controls{height:37px;min-height:37px}.leaf-game-dialog .leaf-landscape .leaf-primary-hud .new-battle-controls>button{min-height:32px}.leaf-game-dialog .leaf-landscape .light-intel-open{top:52px}}.leaf-game-dialog .leaf-landscape .leaf-map-zoom{display:none!important}.leaf-settings-zoom{display:flex;align-items:center;gap:10px;justify-content:center;margin:10px 0;color:#e6e8ce;font-size:12px}.leaf-settings-zoom button{min-width:38px;min-height:38px!important;font-size:19px!important}.leaf-game-dialog .leaf-landscape .leaf-primary-hud{top:22px;left:24px;gap:12px}.leaf-game-dialog .leaf-landscape .leaf-primary-hud>.new-battle-resources{border:0;background:none;box-shadow:none;padding:0;gap:17px;text-shadow:0 2px 3px #183526,1px 0 2px #183526,-1px 0 2px #183526}.leaf-game-dialog .leaf-landscape .leaf-primary-hud .new-battle-controls{border:0!important;border-radius:0;background:none!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none;padding:0;gap:6px}.leaf-game-dialog .leaf-landscape .light-intel-open{left:24px;top:76px}.leaf-game-dialog .leaf-landscape .leaf-desktop-context{top:14px;text-shadow:0 2px 3px #183526}.leaf-game-dialog .leaf-landscape .new-shop{background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:7px;overflow:visible!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;position:relative;overflow:visible;isolation:isolate}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button img{width:54px;height:59px;filter:drop-shadow(0 2px 2px #183526bb)}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button>span{color:#fff2cc!important;text-shadow:0 2px 3px #183526,1px 0 2px #183526,-1px 0 2px #183526}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]:before{content:"";position:absolute;z-index:-1;top:0;left:8%;width:84%;height:62px;border:2px solid #ead281;border-radius:48% 44% 40% 45%;background:radial-gradient(ellipse,#dac87444,transparent 70%);box-shadow:0 1px 4px #273a2666}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:hover{transform:translateY(-3px)}@media(max-height:450px){.leaf-game-dialog .leaf-landscape .leaf-primary-hud{top:16px;left:20px;gap:8px}.leaf-game-dialog .leaf-landscape .light-intel-open{left:20px;top:65px}}.leaf-game-dialog .leaf-landscape .new-shop{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(20px);transform-origin:left bottom;transition:opacity .16s ease,transform .18s ease,visibility 0s .18s}.leaf-game-dialog .leaf-landscape .new-shop.leaf-picker-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:opacity .16s ease,transform .18s ease,visibility 0s}@media(min-height:600px)and (min-width:1000px){.leaf-game-dialog .leaf-landscape .new-shop{width:182px!important;height:422px!important;bottom:88px!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{height:408px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,78px);gap:3px 5px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{height:78px;min-height:78px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-nav{position:absolute;bottom:1px;right:-23px}}@media(prefers-reduced-motion:reduce){.leaf-game-dialog .leaf-landscape .new-shop{transition:none;transform:none}}.leaf-game-dialog .leaf-landscape .new-shop:before{content:"";position:absolute;inset:0 0 -3px;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 8% 20%,#956f3640,transparent 50%),radial-gradient(ellipse at 85% 75%,#ab804335,transparent 55%),linear-gradient(90deg,#af8c50c7,#e5d4a3e8 8%,#f1e2b9df 45%,#dfc994de 92%,#aa8547cc);clip-path:polygon(3% 2%,22% 1%,38% 2%,60% 1%,78% 2%,98% 1%,97% 34%,99% 58%,97% 81%,98% 99%,76% 98%,55% 100%,31% 98%,2% 99%,3% 76%,1% 50%,3% 28%);filter:drop-shadow(1px 3px 4px #172e2380)}.leaf-game-dialog .leaf-landscape .new-shop:after{content:"";position:absolute;inset:-3px -4px -6px;z-index:-1;pointer-events:none;border-top:8px solid #b49c64;border-bottom:8px solid #ab9158;border-radius:5px;box-shadow:inset 0 2px #f1e3b888,inset 0 -2px #6b593b66,0 2px 3px #172d2344}.leaf-game-dialog .leaf-landscape .new-shop{isolation:isolate;padding:10px 8px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button>span{color:#34482b!important;text-shadow:0 1px 0 #fff1cfa0}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]:before{border-color:#8b7138;background:radial-gradient(ellipse,#fff3b950,transparent 72%);box-shadow:none}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:active{transform:translateY(1px) scale(.96)}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button{min-width:46px!important;min-height:46px!important;width:46px!important;height:46px!important;padding:4px!important;transition:transform .1s ease,filter .1s ease;touch-action:manipulation}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary{display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:0;border:2px solid #c9d394!important;border-radius:48% 32% 47% 30%!important;background-image:linear-gradient(145deg,#758d54,#365941)!important;box-shadow:inset 0 2px #dbe7a73b,0 2px 3px #17332370!important;color:#f5edcb!important;text-shadow:0 1px 1px #243c28;font-size:10px!important}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary svg{width:23px;height:23px;fill:none;stroke:#f4eac4;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.leaf-placement-cancel{border:2px solid #b6b99a!important;border-radius:32% 47% 34% 48%!important;background-image:linear-gradient(145deg,#747a62,#3e5144)!important;box-shadow:inset 0 2px #e0d9b62b,0 2px 3px #17332370!important;color:#f3dfb5!important;font-size:27px!important}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button:active{transform:scale(.94);filter:brightness(1.15)}.leaf-game-dialog .leaf-landscape.leaf-building .leaf-primary-hud .new-battle-controls{display:flex!important;visibility:visible!important;pointer-events:auto!important}@media(min-height:600px)and (min-width:1000px){.leaf-game-dialog .leaf-landscape .new-shop{width:204px!important;height:419px!important;padding:8px 22px 10px!important;left:0!important;bottom:82px!important}.leaf-game-dialog .leaf-landscape .new-shop:before{inset:0!important;background:url("./assets/leaf-root-niche-native-5PABIING.webp") center/100% 100% no-repeat!important;clip-path:none!important;opacity:1!important;border:0!important;box-shadow:none!important}.leaf-game-dialog .leaf-landscape .new-shop:after{display:none!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{height:405px;grid-template-rows:repeat(5,78px);gap:3px 4px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{height:78px;min-height:78px;justify-content:flex-start;padding-top:0!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button img{width:51px;height:50px;filter:drop-shadow(0 3px 2px #0d201acc) saturate(.88) brightness(.98)}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button>span{color:#e7e5bb!important;text-shadow:0 1px 2px #1a2c20;font-size:10px;line-height:12px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]:before{border:0;background:radial-gradient(ellipse,#e4d88a25,transparent 70%)}}@media(min-height:600px)and (min-width:1000px){.leaf-game-dialog .leaf-landscape .new-shop{width:214px!important;height:442px!important;padding:0!important;bottom:82px!important}.leaf-game-dialog .leaf-landscape .new-shop:before{background-image:url("./assets/leaf-root-sockets-native-U3UMPQIX.webp")!important}.leaf-game-dialog .leaf-landscape .new-shop:after{display:block!important;position:absolute;inset:0!important;z-index:2!important;border:0!important;box-shadow:none!important;background:url("./assets/leaf-root-socket-front-native-BLEXSWCS.webp") center/100% 100% no-repeat!important;pointer-events:none}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{position:absolute;inset:0;display:block;height:100%;z-index:auto}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{position:absolute;top:28px;left:40px;width:66px;height:77px;min-height:77px;max-width:none;padding:0!important;justify-content:flex-start;isolation:auto}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(2n){left:113px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+3){top:105px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+5){top:180px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+7){top:255px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+9){top:330px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button img{position:relative;z-index:1;width:53px;height:52px;flex-shrink:0;filter:drop-shadow(0 3px 2px #101e13cc) saturate(.9)}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong{position:relative;z-index:3;margin-top:1px;line-height:11px;color:#f0e9c4!important;font-size:10px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button>span{position:relative;z-index:3;line-height:11px;color:#d7d9ad!important;font-size:10px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:hover{transform:none}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]:before{top:12px;left:8px;width:50px;height:44px;z-index:0;border:0;box-shadow:none}}@media(min-height:600px)and (min-width:1000px){.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{top:37px;left:40px;height:76px;min-height:76px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(2n){left:114px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+3){top:113px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+5){top:189px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+7){top:265px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:nth-child(n+9){top:341px}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button img{width:48px;height:52px;object-fit:contain;object-position:center bottom}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong{margin-top:2px}}@media(max-height:599px),(max-width:999px){.leaf-game-dialog .leaf-landscape .new-shop{height:115px!important;width:min(810px,calc(100% - 24px))!important;bottom:76px!important;padding:0!important;left:12px!important;right:auto!important}.leaf-game-dialog .leaf-landscape .new-shop:before{inset:0!important;background:url("./assets/leaf-root-horizontal-native-M4SFP55V.webp") center/100% 100% no-repeat!important;clip-path:none!important;border:0!important;box-shadow:none!important}.leaf-game-dialog .leaf-landscape .new-shop:after{display:block!important;inset:0!important;border:0!important;box-shadow:none!important;background:url("./assets/leaf-root-horizontal-front-native-3YZAI5QU.webp") center/100% 100% no-repeat!important;z-index:2!important;pointer-events:none}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll{height:100%;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:1fr;gap:0;position:relative}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button{position:relative;isolation:auto;justify-content:flex-start;height:110px;min-height:110px;padding:19px 0 0!important}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button img{width:44px;height:53px;object-fit:contain;object-position:center bottom;position:relative;z-index:1;filter:drop-shadow(0 3px 2px #101e13cc) saturate(.9)}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button>span{position:relative;z-index:3;font-size:10px;line-height:12px;color:#efebc8!important;text-shadow:0 1px 2px #1c2c1b}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button:hover{transform:none}.leaf-game-dialog .leaf-landscape .new-shop .leaf-roster-scroll>button[aria-pressed=true]:before{border:0;box-shadow:none;top:24px;background:radial-gradient(ellipse,#eadb8922,transparent 70%);z-index:0}}:root{--leaf-game-type:"Leaf Forest Chinese","Leaf Forest Latin",serif}body:has(.leaf-game-dialog),.leaf-game-dialog,.leaf-game-dialog *,.leaf-game-dialog *:before,.leaf-game-dialog *:after,.light-loading,.light-loading *,.light-scene-ready,.light-scene-ready *{font-family:var(--leaf-game-type)!important;font-synthesis:none!important;font-weight:400!important}.leaf-game-dialog .leaf-primary-hud strong{font-variant-numeric:lining-nums;font-feature-settings:"lnum";letter-spacing:.025em}.leaf-game-dialog .new-shop strong,.leaf-game-dialog .new-shop button>span{font-size:11px!important;line-height:12px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored{left:var(--tower-panel-x,12px)!important;top:var(--tower-panel-y,64px)!important;right:auto!important;bottom:auto!important;margin:0}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-compact{width:240px;max-height:160px;padding:7px 9px 9px}.leaf-game-dialog .leaf-landscape .leaf-tower-compact>div:first-child{gap:5px}.leaf-game-dialog .leaf-landscape .leaf-tower-compact>div:first-child strong{flex:1}.leaf-game-dialog .leaf-landscape .leaf-tower-detail-toggle{min-height:36px;padding:4px 6px;font-size:11px}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-close{min-width:36px;min-height:36px}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions{position:static;padding:5px 0 0}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions small[hidden]{display:none}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-compact{width:300px;max-height:220px}.leaf-game-dialog .leaf-landscape .leaf-upgrade-facts{font-size:11px;line-height:1.55;display:flex;flex-direction:column;gap:0;margin:2px 0 4px;color:#ecebcf}.leaf-game-dialog .leaf-landscape .leaf-upgrade-facts>span:first-child{font-size:10px;color:#becda7}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions:has(button .leaf-upgrade-facts){display:grid;grid-template-columns:1fr 1fr}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions:has(button .leaf-upgrade-facts)>button:last-child{grid-column:1/-1;min-height:32px}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions button:has(.leaf-upgrade-facts){text-align:left;padding:6px}.leaf-game-dialog .leaf-landscape .new-pad-actions button .leaf-upgrade-facts{font-size:10px;line-height:1.5}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-compact{max-height:240px}.leaf-game-dialog .leaf-landscape .leaf-tower-compact:has(.leaf-branch-current){width:340px}.leaf-game-dialog .leaf-landscape .leaf-branch-current{font-size:11px;line-height:1.5;margin:1px 0 4px;color:#e4e7c6}.leaf-game-dialog .leaf-landscape .leaf-branch-facts>span:first-child{font-size:11px;color:#ecebcf}.leaf-game-dialog .leaf-landscape .new-pad-actions button .leaf-branch-facts{font-size:11px;line-height:1.5}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions button small{font-size:10px;line-height:1.5}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions:has(button .leaf-upgrade-facts)>button:last-child{grid-column:auto;min-height:44px}.leaf-game-dialog .leaf-landscape .leaf-tower-sell{min-height:36px;font-size:10px;padding:4px 6px;color:#d9d9af}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions:has(button .leaf-upgrade-facts){padding-top:3px}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .new-pad-actions button:has(.leaf-branch-facts){padding-bottom:8px}.leaf-game-dialog .leaf-landscape .new-pad-actions .leaf-upgrade-option-head{display:flex;align-items:baseline;justify-content:space-between;gap:6px;width:100%;font-size:inherit;line-height:inherit}.leaf-game-dialog .leaf-landscape .new-pad-actions .leaf-upgrade-option-head strong{font-size:inherit;font-weight:700;letter-spacing:.02em}.leaf-game-dialog .leaf-landscape .new-pad-actions .leaf-upgrade-option-head>span{font-size:inherit;white-space:nowrap;font-variant-numeric:tabular-nums;color:#ebe5b6}.leaf-game-dialog .leaf-landscape .leaf-upgrade-facts{font-variant-numeric:tabular-nums}.leaf-game-dialog .leaf-landscape .leaf-tower-sale-row{display:flex;justify-content:flex-end;border-top:1px solid #aebc8b44;margin-top:5px;padding-top:3px}.leaf-game-dialog .leaf-landscape .leaf-tower-sale-row .leaf-tower-sell{min-height:28px;padding:3px 6px;background:none;border-color:transparent;color:#c9ceb3}.leaf-game-dialog .leaf-landscape .leaf-max-level{display:flex;flex-direction:column;gap:2px;min-height:36px}.leaf-game-dialog .leaf-landscape .leaf-max-level strong{font-size:12px;color:#eee7b5}.leaf-game-dialog .leaf-landscape .leaf-max-level span{font-size:10px;color:#cbd4b8}.leaf-game-dialog .leaf-landscape .leaf-sell-scrim{position:absolute;inset:0;z-index:90;background:#102a1d88}.leaf-game-dialog .leaf-landscape .leaf-sell-confirm{position:absolute;z-index:91;top:50%;left:50%;transform:translate(-50%,-50%);width:min(340px,calc(100% - 32px));padding:18px;background:#314c3e;border:2px solid #b7c497;border-radius:10px;color:#eee9c9;box-shadow:0 8px 28px #10261c88}.leaf-game-dialog .leaf-landscape .leaf-sell-confirm>strong{font-size:18px}.leaf-game-dialog .leaf-landscape .leaf-sell-confirm>p{font-size:13px;line-height:1.6;margin:12px 0}.leaf-game-dialog .leaf-landscape .leaf-sell-confirm>div{display:flex;gap:10px}.leaf-game-dialog .leaf-landscape .leaf-sell-confirm button{flex:1;min-height:44px;font-size:13px;padding:7px;background:#45614e;color:#f2edcf;border:1px solid #adb98b;border-radius:6px}.leaf-game-dialog .leaf-landscape .leaf-sell-confirm button:disabled{opacity:.45}.leaf-game-dialog .leaf-landscape .leaf-sell-confirm .leaf-sell-accept{background:#705947}.leaf-game-dialog .leaf-landscape .leaf-tower-compact .leaf-sell-icon{width:36px;min-width:36px;height:36px;min-height:36px;padding:5px;background:#38523f;border:1px solid #9cad7c66}.leaf-game-dialog .leaf-landscape .leaf-sell-icon svg{display:block;width:24px;height:24px}@media(min-width:1024px)and (min-height:600px){.leaf-desktop-context{left:50%;right:auto;transform:translate(-50%);height:auto;min-height:38px;max-width:calc(100% - 390px);padding:7px 18px;gap:14px;border:1px solid rgba(214,223,161,.45);border-radius:0 0 14px 14px;background:#182d20e6;box-shadow:0 3px 9px #111f152e;color:#fff6d9;text-shadow:0 1px 2px #162b1c}.leaf-desktop-context strong{font-size:21px;white-space:nowrap}.leaf-desktop-context span{font-size:17px;color:#f1e8bd;white-space:nowrap}.leaf-game-dialog .leaf-landscape .leaf-desktop-context{top:0}}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:absolute!important;inset:auto auto 12px 12px!important;width:max-content!important;max-width:calc(100% - 230px)!important;height:106px!important;max-height:106px!important;min-height:0!important;padding:5px 8px!important;gap:4px!important;transform:none!important;background:linear-gradient(0deg,#203529b0,transparent)!important;border:0!important;border-radius:14px!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;z-index:22!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker:before,.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker:after{content:none!important;display:none!important;background:none!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll{display:flex!important;position:relative!important;align-items:flex-end!important;width:max-content!important;max-width:100%!important;min-width:0!important;height:96px!important;gap:3px!important;overflow-x:auto!important;overflow-y:hidden!important;grid-template-columns:none!important;scrollbar-width:none;flex:0 1 auto!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button{display:flex!important;position:relative!important;flex:0 0 76px!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;inset:auto!important;width:76px!important;min-width:76px!important;max-width:76px!important;height:94px!important;min-height:94px!important;padding:0 1px 4px!important;margin:0!important;gap:0!important;background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;transform:none!important;opacity:1!important;filter:none!important;touch-action:none}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button:before,.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button:after{content:none!important;display:none!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button:disabled{opacity:.48!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button>span{display:block!important;position:relative!important;top:auto!important;width:100%!important;text-align:center!important;margin:0!important;line-height:13px!important;font-size:11px!important;white-space:nowrap!important;text-shadow:0 1px 3px #132719!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-nav{display:flex!important;flex:0 0 30px!important;align-self:flex-end!important;align-items:center!important;justify-content:center!important;width:30px!important;height:40px!important;margin:0 0 6px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-build-cancel{display:block!important;min-width:30px!important;max-width:30px!important;width:30px!important;height:40px!important;min-height:40px!important;background:none!important;font-size:24px!important;padding:0!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .guardian-seal{display:block!important;position:relative!important;isolation:isolate!important;flex:none!important;width:66px!important;height:66px!important;margin:0!important;overflow:visible!important;filter:drop-shadow(0 2px 2px #14261999)!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .guardian-seal img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;object-fit:contain!important;filter:none!important;transition:opacity .34s cubic-bezier(.22,.68,.28,1) .1s!important}.guardian-seal .seal-dormant{opacity:1!important}.guardian-seal .seal-lit,.guardian-seal .seal-leak{opacity:0}.guardian-seal .seal-leak{pointer-events:none;mix-blend-mode:screen}.guardian-seal.is-activated .seal-lit{opacity:1}.guardian-seal.is-activated .seal-leak{opacity:.55;animation:solo-recess-awaken .85s ease-out both}@keyframes solo-recess-awaken{0%{opacity:0}24%{opacity:.3}52%{opacity:.94}to{opacity:.55}}.solo-builder-status{position:absolute;left:22px;bottom:124px;z-index:23;display:flex;align-items:center;gap:8px;font-size:11px;color:#f2e9c6;text-shadow:0 1px 3px #102618;pointer-events:none}.solo-builder-status button{pointer-events:auto;min-height:30px;padding:3px 9px!important;font-size:11px!important}@media(max-height:500px){.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker{bottom:7px!important;left:8px!important;max-width:calc(100% - 205px)!important;height:91px!important;max-height:91px!important;padding:2px 4px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll{height:86px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button{width:56px!important;min-width:56px!important;max-width:56px!important;flex-basis:56px!important;height:84px!important;min-height:84px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .guardian-seal{width:50px!important;height:50px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button>span{font-size:10px!important;line-height:12px!important}.solo-builder-status{left:16px;bottom:103px;font-size:10px}.solo-builder-status button{font-size:10px!important;min-height:27px}}@media(prefers-reduced-motion:reduce){.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .guardian-seal img{transition:none!important}.guardian-seal .seal-leak{animation:none!important}}.leaf-game-dialog .leaf-landscape .new-map-tools{left:auto!important;right:12px!important;bottom:12px!important}.leaf-game-dialog .leaf-landscape .new-map-tools>span{display:none!important}@media(max-height:500px)and (max-width:760px){.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll{gap:1px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button{width:48px!important;min-width:48px!important;max-width:48px!important;flex-basis:48px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .guardian-seal{width:44px!important;height:44px!important}}@font-face{font-family:Leaf Entry Ruins;src:url("./assets/leaf-entry-ruins-4T7PGWYF.ttf") format("truetype");font-weight:400;font-display:swap}.leaf-game-dialog .leaf-cover-home,.leaf-game-dialog .leaf-cover-home *,.leaf-game-dialog .leaf-story-card,.leaf-game-dialog .leaf-story-card *{font-family:Leaf Entry Ruins,Leaf Forest Chinese,serif!important;font-weight:400!important;font-synthesis:none!important}.leaf-game-dialog .leaf-cover-home{height:100%;min-height:100%;padding:0;overflow:hidden;display:block;background-position:center;background-size:cover;isolation:isolate}.leaf-cover-home:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#132b1c66,transparent 25%,transparent 80%,#132b1c20);z-index:-1}.leaf-cover-home .cover-brand{position:absolute;left:37%;top:25%;width:26%;text-align:center;pointer-events:none}.leaf-cover-home .cover-brand h1{margin:0;line-height:1;font-size:0;max-width:none}.cover-brand h1 img{display:block;width:100%;height:auto;filter:drop-shadow(0 4px 3px #25341677)}.leaf-cover-home .cover-brand p{font-size:17px;line-height:1.6;color:#f7edce;text-shadow:0 2px 3px #1b3321,0 0 12px #1b3321;margin:-1% -15% 0;letter-spacing:.04em}.leaf-cover-home .cover-actions{position:absolute;left:50%;bottom:7%;width:330px;transform:translate(-50%);display:flex;align-items:center;flex-direction:column;gap:8px}.leaf-cover-home button.cover-stone{position:relative;display:grid;place-items:center;background:none!important;border:0!important;padding:0;min-height:0;width:154px;height:56px;color:#293d27;text-shadow:0 1px #f8f0bf;filter:drop-shadow(0 5px 3px #17352088);transition:filter .15s,transform .15s;cursor:pointer}.cover-stone .forest-stone-art{position:absolute;width:100%;height:100%;inset:0;pointer-events:none}.cover-stone span{position:relative;z-index:1;font-size:18px;letter-spacing:.08em;white-space:nowrap;transform:translateY(-1px)}.leaf-cover-home button.cover-primary{width:280px;height:82px}.cover-primary span{font-size:28px;letter-spacing:.13em}.cover-secondary,.cover-restart{display:flex;gap:12px;justify-content:center}.leaf-cover-home button.cover-stone:hover{transform:translateY(-2px);filter:brightness(1.12) drop-shadow(0 7px 4px #17352099)}.leaf-cover-home button.cover-stone:active{transform:translateY(1px)}.leaf-cover-home button.cover-sound{position:absolute;right:26px;top:22px;width:48px;height:48px;min-height:48px;border-radius:50%;padding:12px;background:#25452a99;border:1px solid #c6d6a466;color:#e6eccc;backdrop-filter:blur(4px)}.cover-sound svg{width:100%;height:100%}.leaf-cover-home .cover-save{position:absolute;bottom:3%;width:100%;text-align:center;font-size:13px;color:#fff3cc}.cover-credits{position:absolute;bottom:12px;left:18px;font-size:11px;color:#e7e8d1;text-shadow:0 1px 3px #112a19;z-index:6}.cover-credits summary{cursor:pointer}.cover-credits[open]{background:#1a382cf2;padding:14px;border:1px solid #a7b58b77;border-radius:9px;max-width:340px}.cover-credits p{font-size:12px;line-height:1.7;margin:7px 0}.leaf-cover-home .light-guide{position:absolute;z-index:8;left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,90%);max-width:680px;max-height:86%;margin:0;background:#233b2af5;border:2px solid #9ba57c;padding:24px 30px;box-shadow:0 0 0 100vmax #10271e88,0 15px 50px #0d2119aa}.leaf-cover-home .light-guide h2{font-size:24px;line-height:1.4;margin-bottom:16px}.leaf-cover-home .light-guide p,.leaf-cover-home .light-guide li{font-size:17px;line-height:1.75}.leaf-cover-home .light-guide button{font-size:15px}.leaf-cover-home .light-guide small{font-size:13px;line-height:1.8}.leaf-game-dialog .leaf-story-card h2{font-size:21px;line-height:1.45;letter-spacing:.025em}.leaf-game-dialog .leaf-story-card p{font-size:16px;line-height:1.8;letter-spacing:.01em}.leaf-game-dialog .leaf-story-card button{font-size:15px;min-height:42px}@media(max-height:470px){.leaf-cover-home .cover-brand{top:13%;left:35%;width:30%}.leaf-cover-home .cover-brand p{font-size:13px}.leaf-cover-home .cover-actions{bottom:5%;gap:3px}.leaf-cover-home button.cover-primary{width:224px;height:64px}.leaf-cover-home button.cover-stone:not(.cover-primary){height:43px;width:138px}.cover-stone span{font-size:15px}.cover-primary span{font-size:23px}.leaf-cover-home button.cover-sound{right:16px;top:13px;width:43px;height:43px;min-height:43px}.leaf-cover-home .light-guide{padding:18px 24px;max-height:90%}.leaf-cover-home .light-guide p,.leaf-cover-home .light-guide li{font-size:15px;line-height:1.65}.leaf-cover-home .cover-restart .cover-stone{height:32px!important}.leaf-cover-home .cover-restart span{font-size:12px}}@media(max-width:600px)and (orientation:portrait){.leaf-cover-home{background-position:52% center}.leaf-cover-home .cover-brand{left:15%;width:70%;top:23%}.leaf-cover-home .cover-actions{bottom:10%;width:300px}.leaf-cover-home .cover-brand p{font-size:15px}.leaf-cover-home .light-guide{padding:20px;max-height:82%}.leaf-cover-home .light-guide p,.leaf-cover-home .light-guide li{font-size:15px}}.leaf-cover-home .cover-stone .forest-stone-art{visibility:hidden}.leaf-cover-home button.cover-stone:before{content:"";position:absolute;inset:0;background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center /100% 100% no-repeat;pointer-events:none}.leaf-cover-home .cover-primary span{font-size:25px}.leaf-cover-home .cover-brand p{margin-top:1%;font-size:17px}.leaf-game-dialog .leaf-story-card,.leaf-game-dialog .leaf-cover-home .light-guide,.leaf-game-dialog .leaf-landscape .light-intel,.leaf-game-dialog .leaf-landscape .leaf-rules,.leaf-game-dialog .leaf-landscape .leaf-pause-sheet,.leaf-game-dialog .leaf-landscape .new-confirm,.leaf-game-dialog .leaf-landscape .new-wave-overlay{box-sizing:border-box;border:26px solid transparent!important;border-image:url("./assets/entry-stone-panel-border-ZAVEDE2P.webp") 40 50 40 50 /26px /0 stretch!important;border-radius:0!important;background:url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat!important;background-clip:padding-box!important;color:#2e3d2a!important;box-shadow:0 12px 26px #10251977!important;text-shadow:0 1px 0 #faf3d477!important;padding:12px 20px!important}.leaf-game-dialog .leaf-story-card{max-width:510px;width:90%;max-height:94vh}.leaf-game-dialog .leaf-story-card .leaf-story-art{background:none;border-radius:0;max-height:210px;width:min(230px,58%);margin-bottom:4px;filter:drop-shadow(0 5px 3px #48583c44)}.leaf-game-dialog .leaf-story-card .leaf-story-name{border:0;border-bottom:1px solid #7b8c5e88;border-radius:0;padding:3px 12px;letter-spacing:.12em;color:#52623f}.leaf-game-dialog .leaf-cover-home .light-guide{box-shadow:0 0 0 100vmax #10271e88,0 15px 50px #0d2119aa!important;max-height:90%}.leaf-game-dialog .leaf-landscape .light-intel{width:550px;max-width:calc(100% - 48px);max-height:calc(100% - 120px);overflow:auto;top:90px;left:24px;font-size:16px;line-height:1.7}.leaf-game-dialog .leaf-landscape .light-intel h2{font-size:22px}.leaf-game-dialog .leaf-landscape .light-intel small{font-size:14px}.leaf-game-dialog .leaf-landscape .leaf-rules{max-height:88%;overflow:auto}.leaf-game-dialog .leaf-story-card *,.leaf-game-dialog .leaf-cover-home .light-guide *,.leaf-game-dialog .leaf-landscape .light-intel *,.leaf-game-dialog .leaf-landscape .leaf-rules *,.leaf-game-dialog .leaf-landscape .leaf-pause-sheet *,.leaf-game-dialog .leaf-landscape .new-confirm *,.leaf-game-dialog .leaf-landscape .new-wave-overlay *{color:#2e3d2a!important;text-shadow:none!important;font-family:Leaf Entry Ruins,Leaf Forest Chinese,serif!important;font-weight:400!important}.leaf-game-dialog .leaf-story-card button,.leaf-game-dialog .leaf-cover-home .light-guide button,.leaf-game-dialog .leaf-landscape .light-intel button,.leaf-game-dialog .leaf-landscape .leaf-rules button,.leaf-game-dialog .leaf-landscape .leaf-pause-sheet button,.leaf-game-dialog .leaf-landscape .new-confirm button,.leaf-game-dialog .leaf-landscape .new-wave-overlay button{background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:12px 20px!important;min-height:46px;color:#263d28!important;text-decoration:none;font-size:16px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay .light-result-story{background:#d1d2ad44!important;color:#2e3d2a!important;border-top:1px solid #7c8d6577;border-bottom:1px solid #7c8d6577;border-radius:0!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay .light-result-story p,.leaf-game-dialog .leaf-landscape .new-wave-overlay .light-result-story small{color:#2e3d2a!important}@media(max-height:470px){.leaf-game-dialog .leaf-story-card{max-height:96vh;max-width:620px;display:grid;grid-template-columns:160px 1fr;column-gap:18px;align-items:center;border-width:20px!important;border-image-width:20px!important;padding:8px 14px!important}.leaf-game-dialog .leaf-story-card .leaf-story-art{grid-column:1;grid-row:1/5;width:150px;height:190px;max-height:190px;margin:0}.leaf-game-dialog .leaf-story-card .leaf-story-name,.leaf-game-dialog .leaf-story-card h2,.leaf-game-dialog .leaf-story-card p{grid-column:2}.leaf-game-dialog .leaf-story-card .leaf-story-nav{grid-column:1/3}.leaf-game-dialog .leaf-story-card p{font-size:15px;line-height:1.65}.leaf-game-dialog .leaf-landscape .light-intel{top:55px;max-height:calc(100% - 75px);font-size:14px;border-width:20px!important;border-image-width:20px!important}.leaf-game-dialog .leaf-landscape .light-intel h2{font-size:18px}.leaf-game-dialog .leaf-landscape .light-intel small{font-size:12px}}.leaf-game-dialog .leaf-landscape .leaf-desktop-context{background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;padding:12px 27px 14px!important;color:#2c412a!important;box-shadow:none!important;text-shadow:0 1px #f3edd2!important}.leaf-game-dialog .leaf-landscape .leaf-desktop-context *{color:#2c412a!important;font-family:Leaf Entry Ruins,serif!important}.leaf-game-dialog .leaf-landscape .new-note{background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center/100% 100% no-repeat!important;border:0!important;color:#2c412a!important;text-shadow:none!important}:root{--leaf-game-type:"Leaf Entry Ruins",serif}.leaf-game-dialog .leaf-landscape .light-intel-open,.leaf-game-dialog .leaf-landscape .new-map-tools>button,.leaf-game-dialog .leaf-landscape .new-battle-controls>button,.leaf-game-dialog .leaf-landscape .new-map-head .leaf-icon-button,.leaf-game-dialog .leaf-landscape .solo-builder-status button{background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;color:#2c412a!important;text-shadow:0 1px #faf0ce!important;box-shadow:none!important}.leaf-game-dialog .leaf-landscape .new-status{border:0!important;background:#243d2cbd!important;color:#f5eac4!important;text-shadow:0 1px 2px #102418!important;border-radius:2px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel:not(.leaf-placement-panel){background:url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat!important;border:16px solid transparent!important;border-image:url("./assets/entry-stone-panel-border-ZAVEDE2P.webp") 40 50 40 50 /16px /0 stretch!important;background-clip:padding-box!important;border-radius:0!important;padding:5px 10px!important;color:#30432b!important;box-shadow:0 5px 16px #11261977!important}.leaf-game-dialog .leaf-landscape .new-pad-panel:not(.leaf-placement-panel) *{color:#30432b!important;text-shadow:none!important}.leaf-game-dialog .leaf-landscape .new-pad-panel:not(.leaf-placement-panel) button{background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;color:#30432b!important}.leaf-game-dialog .leaf-landscape .new-pad-panel .leaf-stat-row{background:#b7c09d33!important;border-color:#7a8e6255!important}.cover-credits a{color:#eee8bc;text-decoration:underline}.cover-credits pre{font-size:10px;line-height:1.5;white-space:pre-wrap;max-height:180px;overflow:auto}@media(min-width:1024px)and (min-height:600px){.leaf-cover-home .cover-brand{left:34%;top:9%;width:32%}.leaf-cover-home .cover-actions{bottom:11%}.leaf-cover-home .cover-brand p{font-size:18px;line-height:1.7;margin-top:0}}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary,.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.leaf-placement-cancel{background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;color:#2c412a!important;text-shadow:0 1px #f5f0d0!important;box-shadow:none!important}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary svg{color:#2c412a!important;stroke:#2c412a!important}.leaf-game-dialog .leaf-story-card,.leaf-game-dialog .leaf-cover-home .light-guide,.leaf-game-dialog .leaf-landscape .light-intel,.leaf-game-dialog .leaf-landscape .leaf-rules,.leaf-game-dialog .leaf-landscape .leaf-pause-sheet,.leaf-game-dialog .leaf-landscape .new-confirm,.leaf-game-dialog .leaf-landscape .new-wave-overlay{border:0!important;border-image:none!important;background:#d8dcbc url("./assets/entry-tablet-NMYPP5RO.svg") center/100% 100% no-repeat!important;background-clip:border-box!important;box-shadow:none!important;filter:drop-shadow(0 8px 8px #0d21195e);padding:30px 36px!important}.leaf-cover-home:has(.light-guide):after{content:"";position:absolute;inset:0;z-index:7;background:#10271e88;pointer-events:none}.leaf-game-dialog .leaf-story-card{padding:26px 30px!important}.leaf-game-dialog .leaf-landscape .light-intel{padding:28px 34px!important}@media(max-height:470px){.leaf-game-dialog .leaf-story-card{padding:18px 25px!important}.leaf-game-dialog .leaf-cover-home .light-guide,.leaf-game-dialog .leaf-landscape .light-intel{padding:20px 28px!important}}.leaf-game-dialog .leaf-landscape .solo-picker-toggle{position:absolute;left:16px;bottom:12px;z-index:23;display:flex;flex-direction:column;align-items:center;justify-content:center;width:62px;min-height:70px;padding:5px!important;background:url("./assets/entry-stone-blank-UEOU6EYB.webp") center/100% 100% no-repeat!important;border:0!important;box-shadow:none!important;color:#293d28!important;font-size:12px!important;gap:1px}.solo-picker-toggle svg{width:38px;height:38px;filter:drop-shadow(0 1px 1px #14281980)}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker{bottom:89px!important;max-width:calc(100% - 180px)!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker[data-expanded=false]{display:none!important;pointer-events:none!important}.solo-builder-status{bottom:94px}.solo-builder-status:has(span[hidden]):not(:has(button)){display:none}@media(max-height:500px){.leaf-game-dialog .leaf-landscape .solo-picker-toggle{left:10px;bottom:7px;width:54px;min-height:60px}.solo-picker-toggle svg{width:30px;height:30px}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker{bottom:72px!important}.solo-builder-status{bottom:76px}}.leaf-reveal-layout{width:min(510px,92%);max-height:96vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;isolation:isolate}.leaf-reveal-layout>.leaf-reveal-art{display:block;width:230px;height:230px;max-height:34vh;object-fit:contain;background:transparent;border:0;border-radius:0;margin:0 0 -8px;position:relative;z-index:1;filter:grayscale(1) brightness(.4) contrast(.9);animation:leaf-reveal-color 1.8s ease-in-out .5s forwards}.leaf-game-dialog .leaf-reveal-layout>.leaf-reveal-card{width:100%;max-height:58vh;overflow:auto;padding:25px 32px 24px!important;margin:0}.leaf-reveal-card h2{margin:8px 0}.leaf-reveal-card p{margin:10px 0}@media(max-height:500px){.leaf-reveal-layout{width:min(510px,84%)}.leaf-reveal-layout>.leaf-reveal-art{width:130px;height:130px;max-height:31vh;margin-bottom:-5px}.leaf-game-dialog .leaf-reveal-layout>.leaf-reveal-card{padding:15px 25px!important;max-height:65vh}.leaf-reveal-card .leaf-story-name{font-size:11px}.leaf-game-dialog .leaf-reveal-card h2{font-size:18px;margin:4px 0}.leaf-game-dialog .leaf-reveal-card p{font-size:13px;line-height:1.5;margin:7px 0}.leaf-reveal-card .leaf-story-nav{margin-top:7px}}.leaf-game-dialog .leaf-reveal-layout>.leaf-reveal-card{display:block!important}.leaf-reveal-layout{width:min(700px,94%)}.leaf-game-dialog .leaf-reveal-layout>.leaf-reveal-card{max-width:700px;width:100%;height:auto;min-height:280px;max-height:none;aspect-ratio:500/197;padding:32px 66px 26px!important;background:url("./assets/reveal-stone-painted-KE5B3XKJ.webp") center/100% 100% no-repeat!important;filter:drop-shadow(0 10px 8px #081c18a0);overflow:visible;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:0}.leaf-game-dialog .leaf-reveal-card .leaf-story-name{font-size:12px;letter-spacing:.12em;margin:0 0 3px;padding:0 12px 3px}.leaf-game-dialog .leaf-reveal-card h2{font-size:23px;line-height:1.4;margin:0 0 10px}.leaf-game-dialog .leaf-reveal-card p{font-size:17px;line-height:1.7;margin:0;text-wrap:pretty}.leaf-game-dialog .leaf-reveal-card .leaf-reveal-ability{font-size:14px;line-height:1.5;margin:9px 0 3px;color:#52623b!important}.leaf-reveal-card .leaf-story-nav{width:100%;justify-content:center;margin:6px 0 0}.leaf-reveal-card .leaf-story-nav>span{display:none}.leaf-game-dialog .leaf-reveal-card .leaf-story-nav button{min-width:142px;min-height:42px;background-size:100% 100%!important;font-size:15px}@media(max-height:500px){.leaf-reveal-layout{width:min(640px,88%)}.leaf-reveal-layout>.leaf-reveal-art{height:126px;width:150px;max-height:31vh;margin-bottom:-4px}.leaf-game-dialog .leaf-reveal-layout>.leaf-reveal-card{min-height:217px;max-height:none;aspect-ratio:500/185;padding:22px 58px 18px!important}.leaf-game-dialog .leaf-reveal-card h2{font-size:19px;margin:0 0 5px}.leaf-game-dialog .leaf-reveal-card p{font-size:14px;line-height:1.6}.leaf-game-dialog .leaf-reveal-card .leaf-story-name{font-size:10px;margin:0 0 2px;padding:0 10px 2px}.leaf-game-dialog .leaf-reveal-card .leaf-reveal-ability{font-size:12px;margin:5px 0 2px}.leaf-reveal-card .leaf-story-nav{margin-top:4px}.leaf-game-dialog .leaf-reveal-card .leaf-story-nav button{min-height:36px;font-size:14px}}.leaf-lumi-speaker{display:flex;align-items:center;justify-content:center;gap:5px}.leaf-lumi-speaker img{width:24px;height:28px;object-fit:contain;filter:drop-shadow(0 1px 1px #243b2940)}@media(max-height:500px){.leaf-lumi-speaker img{width:18px;height:20px}}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored:not(.leaf-placement-panel){background:url("./assets/reveal-stone-painted-KE5B3XKJ.webp") center/100% 100% no-repeat!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;filter:drop-shadow(0 5px 5px #182b1e66);width:360px;max-width:calc(100% - 24px);max-height:calc(100% - 82px);padding:26px 44px 30px!important;overflow-y:auto}.leaf-game-dialog .leaf-landscape .leaf-tower-anchored .new-pad-actions{background:none!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored button{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-branch-stones:not(.leaf-placement-panel){isolation:isolate;overflow-y:auto;width:460px;max-width:calc(100% - 24px);max-height:calc(100% - 82px);padding:32px 58px 40px 90px!important;background:url("./assets/reveal-stone-painted-KE5B3XKJ.webp") center/100% 100% no-repeat!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;filter:drop-shadow(0 5px 5px #182b1e66)}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-branch-stones button{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}.leaf-game-dialog .leaf-landscape .leaf-branch-stones>div:first-child{gap:4px;min-height:32px}.leaf-game-dialog .leaf-landscape .leaf-branch-stones>div:first-child strong{font-size:14px}.leaf-game-dialog .leaf-landscape .leaf-branch-stones .leaf-branch-current{font-size:11px;margin:1px 0 6px}.leaf-game-dialog .leaf-landscape .leaf-branch-stones .new-pad-actions,.leaf-game-dialog .leaf-landscape .leaf-branch-stones.leaf-tower-compact .new-pad-actions:has(button .leaf-upgrade-facts){position:static;display:flex;flex-direction:column;gap:5px;background:none!important;padding:0}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-branch-stones .new-pad-actions>button,.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-branch-stones.leaf-tower-compact .new-pad-actions>button:has(.leaf-branch-facts){position:relative;flex:none;width:100%;min-height:73px;padding:3px 0 8px!important;text-align:left;line-height:1.4;font-size:13px}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-branch-stones.leaf-tower-compact .new-pad-actions>button:has(.leaf-branch-facts):nth-child(2){padding:8px 0 6px!important;border-top:1px solid #75805a55!important;min-height:86px}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-branch-stones .new-pad-actions>button .leaf-upgrade-facts{font-size:11px;line-height:1.4;margin:4px 0}.leaf-game-dialog .leaf-landscape .leaf-branch-stones .new-pad-actions>button small{font-size:11px;line-height:1.5}.leaf-game-dialog .leaf-landscape .leaf-branch-stones .new-pad-actions .leaf-upgrade-option-head{font-size:14px}.leaf-game-dialog .leaf-landscape .leaf-branch-stones .new-pad-actions>button:hover:not(:disabled){filter:brightness(1.1);text-shadow:0 0 6px #f9f3c4!important}.leaf-game-dialog .leaf-landscape .leaf-branch-stones button:focus-visible{outline:2px solid #5d7540;outline-offset:2px}.leaf-game-dialog .leaf-landscape .leaf-branch-stones .new-pad-actions>button:disabled{opacity:.55}@media(max-height:380px){.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-branch-stones:not(.leaf-placement-panel){padding-top:24px!important;padding-bottom:28px!important}}.leaf-reveal-layout{position:relative}.leaf-reveal-layout>.leaf-unlock-sparkles{position:absolute;top:0;left:50%;transform:translate(-50%);width:270px;height:230px;pointer-events:none;z-index:2}.leaf-unlock-sparkles i{position:absolute;left:var(--sx);top:var(--sy);width:8px;height:8px;background:#fff3b2;clip-path:polygon(50% 0,61% 38%,100% 50%,61% 62%,50% 100%,39% 62%,0 50%,39% 38%);filter:drop-shadow(0 0 4px #fff4bb);animation:leaf-unlock-twinkle 1.8s ease-in-out infinite both;animation-delay:var(--sd)}@keyframes leaf-unlock-twinkle{0%,to{opacity:0;transform:translateY(4px) scale(.25)}35%,65%{opacity:.85;transform:translateY(-3px) scale(1)}}@media(max-height:500px){.leaf-reveal-layout>.leaf-unlock-sparkles{width:180px;height:min(126px,31vh)}}@media(prefers-reduced-motion:reduce){.leaf-unlock-sparkles i{animation:none;opacity:.4}}.leaf-cover-home .cover-actions{max-height:calc(100% - 110px);overflow-y:auto;overflow-x:hidden;padding:4px 6px;box-sizing:border-box;scrollbar-width:thin}.leaf-cover-home .cover-actions .cover-save{position:static;flex:none;width:100%;box-sizing:border-box;margin:0 0 3px;padding:4px 8px;font-size:12px;line-height:1.4;color:#553e29;background:#f2d6aa;border:1px solid #bd8856;border-radius:6px;text-align:left}.leaf-cover-home .cover-actions .cover-save:empty{display:none}.leaf-cover-home .cover-actions>*,.leaf-cover-home .cover-actions button{flex-shrink:0}@media(max-height:340px){.leaf-cover-home .cover-actions{bottom:28px;max-height:calc(100% - 100px);width:min(460px,calc(100% - 24px));gap:3px}.leaf-cover-home .cover-secondary{width:100%;gap:4px}.leaf-cover-home .cover-secondary button.cover-stone{width:32%}.leaf-cover-home .cover-credits{bottom:7px}}.leaf-cover-home .cover-actions{width:min(460px,calc(100% - 24px))}.leaf-cover-home .cover-secondary{width:100%;gap:4px}.leaf-cover-home .cover-secondary button.cover-stone{width:32%;min-width:0}.leaf-phone-action-hint{display:none}@media(max-width:1000px)and (max-height:500px)and (orientation:landscape){.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored:not(.leaf-placement-panel){inset:70px 10px auto auto!important;width:min(370px,47vw)!important;max-width:calc(100% - 24px)!important;max-height:calc(100% - 80px)!important;padding:10px 12px 12px!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#e7e5c9 url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat!important;border:2px solid #879267!important;border-image:none!important;border-radius:12px!important;box-shadow:0 3px 12px #10281c66!important;filter:none!important;box-sizing:border-box;touch-action:pan-y}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored>div:first-child{min-height:36px;position:sticky;top:-10px;z-index:2;background:#e7e5c9;gap:4px}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored>div:first-child strong{font-size:15px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-close{font-size:26px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-tower-detail-toggle{min-height:44px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;background:none!important;padding:5px 0 0!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions>button{width:auto!important;min-width:0!important;min-height:58px!important;border:1.5px solid #6e7d4d!important;border-radius:8px!important;background:#dce4bc!important;padding:8px!important;line-height:1.4!important;text-align:left!important;box-shadow:0 2px #7a8e5855!important;touch-action:manipulation}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions>button:only-child{grid-column:1/-1!important}.leaf-game-dialog .leaf-landscape .leaf-branch-current{font-size:12px!important;line-height:1.4!important;margin:3px 0!important}.leaf-game-dialog .leaf-landscape .leaf-upgrade-option-head{font-size:14px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions small,.leaf-game-dialog .leaf-landscape .leaf-branch-facts{font-size:12px!important;line-height:1.35!important}.leaf-phone-action-hint{display:block!important;font-size:11px!important;color:#526139!important;margin-top:5px}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions>button:disabled{background:#d9d8bf!important;opacity:.6}}.leaf-roster-scroll,.leaf-roster-scroll button,.leaf-roster-scroll button *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-wave-overlay{display:flex!important;flex-direction:column!important;gap:7px!important;top:50%!important;left:50%!important;width:min(620px,calc(100% - 24px))!important;max-width:620px!important;max-height:calc(100% - 20px)!important;overflow-y:auto!important;padding:14px 18px!important;background:#e7e5c9 url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat!important;border:2px solid #879267!important;border-image:none!important;border-radius:12px!important;box-shadow:0 4px 18px #10251977!important;filter:none!important;overscroll-behavior:contain;touch-action:pan-y}.leaf-game-dialog .leaf-landscape .new-wave-overlay h2{font-size:22px!important;margin:0!important;line-height:1.25!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay p{font-size:13px!important;margin:0!important;line-height:1.5!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay button{flex:none!important;width:100%!important;min-height:44px!important;height:auto!important;max-height:none!important;padding:8px 12px!important;margin:0!important;line-height:1.4!important;background:#dce4bc!important;border:1px solid #7c8d65!important;border-radius:8px!important;font-size:14px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay .light-result-story{padding:8px!important;margin:0!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay small{font-size:12px!important;line-height:1.5!important}}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .leaf-result-scrim{z-index:60}.leaf-game-dialog .leaf-landscape .new-wave-overlay{z-index:61}}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-map-transition{inset:112px 12px 58px auto;width:min(390px,50vw);height:auto;max-height:calc(100% - 170px);box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;margin:0;padding:10px 12px;background:#294638}.leaf-game-dialog .leaf-landscape .leaf-transition-story{display:block}.leaf-game-dialog .leaf-landscape .leaf-transition-story figure{max-width:none;display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;align-items:start}.leaf-game-dialog .leaf-landscape .leaf-transition-story img{height:88px;max-height:88px;object-fit:cover}.leaf-game-dialog .leaf-landscape .leaf-transition-story figcaption{font-size:12px;padding:6px 8px;line-height:1.5}.leaf-game-dialog .leaf-landscape .new-map-transition p{font-size:12px;line-height:1.5}}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-wave-overlay{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px 8px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay>.new-result-kicker,.leaf-game-dialog .leaf-landscape .new-wave-overlay>h2,.leaf-game-dialog .leaf-landscape .new-wave-overlay>p,.leaf-game-dialog .leaf-landscape .new-wave-overlay>small,.leaf-game-dialog .leaf-landscape .new-wave-overlay>.light-result-story{grid-column:1/-1}.leaf-game-dialog .leaf-landscape .new-wave-overlay>button{width:auto!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay>button:nth-of-type(3){grid-column:1/-1}}.leaf-game-dialog .leaf-cover-home .cover-brand .leaf-entry-hint{position:fixed;left:20px;top:20px;width:260px;max-width:calc(100% - 110px);box-sizing:border-box;margin:0!important;padding:6px 10px;background:#e3e6cadf;border:1px solid #9eae7b;border-radius:10px;color:#30462c!important;text-shadow:0 1px #fcf6da!important;font-size:13px!important;letter-spacing:.02em;box-shadow:0 3px 10px #182d2050;backdrop-filter:blur(3px)}.leaf-game-dialog .leaf-cover-home .leaf-entry-hint img{height:48px;width:36px;flex:none;filter:drop-shadow(0 2px 1px #344a2633)}.leaf-game-dialog .leaf-cover-home .leaf-entry-hint span{font-size:13px;line-height:1.6;text-align:left}@media(max-height:450px){.leaf-game-dialog .leaf-cover-home .cover-brand .leaf-entry-hint{left:12px;top:12px;width:236px;padding:4px 8px}.leaf-game-dialog .leaf-cover-home .leaf-entry-hint img{height:38px;width:30px}.leaf-game-dialog .leaf-cover-home .leaf-entry-hint span{font-size:12px}}.leaf-game-dialog .leaf-cover-home .leaf-menu-music-start{position:absolute;z-index:9;right:18px;top:80px;padding:8px 12px;min-height:44px;border:1px solid #b5c39599;border-radius:8px;background:#244b36cc;color:#f4edce;font:14px Leaf Entry Ruins,serif;box-shadow:0 2px 8px #182d2044}@media(max-height:450px){.leaf-game-dialog .leaf-cover-home .leaf-menu-music-start{right:12px;top:62px;font-size:12px;padding:6px 10px}}.light-intel .light-intel-enemies{gap:12px;margin:10px 0 3px;align-items:center}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait{box-sizing:border-box;width:60px;height:60px;min-height:60px;padding:3px;border:1px solid transparent;border-radius:12px;background:transparent;box-shadow:none;display:grid;place-items:center}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait img{width:52px;height:52px;margin:0;object-fit:contain;filter:drop-shadow(0 2px 2px #314c2529)}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait:hover,.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait[aria-pressed=true]{background:#73845a19;border-color:#8a97765e}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait:focus-visible{outline:2px solid #8b753f;outline-offset:2px}.leaf-enemy-insight{min-height:32px;display:flex;align-items:baseline;gap:9px;padding:4px 0 8px;font-size:12px;line-height:1.65;border-bottom:1px solid #6678512b;flex-wrap:wrap}.leaf-enemy-insight strong{font-size:14px;font-weight:400;white-space:nowrap}.leaf-enemy-insight span{font-size:12px;white-space:normal}.leaf-enemy-hint{opacity:.64}@media(max-height:450px){.light-intel .light-intel-enemies{margin:4px 0 0;gap:10px}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait{width:52px;height:52px;min-height:52px}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait img{width:46px;height:46px}.leaf-enemy-insight{min-height:25px;padding:0 0 4px}}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait{background:none!important;border:1px solid transparent!important;border-radius:12px!important;padding:3px!important;box-shadow:none!important;overflow:hidden}.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait[aria-pressed=true],.leaf-game-dialog .leaf-landscape .light-intel button.leaf-enemy-portrait:hover{background:#73845a19!important;border-color:#8a97765e!important}@media(max-height:450px){.leaf-game-dialog .leaf-landscape .light-intel{padding:16px 22px}.leaf-game-dialog .leaf-landscape .light-intel>button:last-child{position:relative;bottom:auto;float:none;margin-top:8px;z-index:auto}}@media(max-height:340px){.leaf-game-dialog .leaf-cover-home .leaf-menu-music-start{top:13px;right:76px;max-width:calc(100% - 330px);font-size:11px;min-height:40px}}@media(min-height:341px)and (max-width:600px){.leaf-game-dialog .leaf-cover-home .leaf-menu-music-start{top:108px}}.leaf-game-dialog .leaf-cover-home.cover-short .leaf-menu-music-start{top:13px;right:76px;max-width:calc(100% - 330px);font-size:11px;min-height:40px}.leaf-cover-home.cover-short .cover-actions{bottom:28px;max-height:calc(100% - 100px);width:min(460px,calc(100% - 24px));gap:3px}.leaf-cover-home.cover-short .cover-credits{bottom:7px}.leaf-game-dialog .leaf-cover-home .light-guide-roster{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}.leaf-game-dialog .leaf-cover-home .light-guide-roster button{padding:6px 3px!important;min-width:0;width:auto;gap:5px;font-size:12px!important;line-height:1.4!important}.leaf-game-dialog .leaf-cover-home .light-guide-roster button img{width:40px;height:45px;max-width:100%;flex:none;object-fit:contain}.leaf-game-dialog .leaf-cover-home .light-guide-roster button span{font-size:12px!important;letter-spacing:0;line-height:1.4;white-space:normal;word-break:normal}@media(max-width:480px){.leaf-game-dialog .leaf-cover-home .light-guide-roster{grid-template-columns:repeat(3,minmax(0,1fr))}}.leaf-game-dialog .leaf-landscape .leaf-factory-confirm{position:absolute!important;top:50%!important;left:50%!important;height:min(480px,calc(100% - 24px))!important;max-height:calc(100% - 24px)!important;transform:translate(-50%,-50%);box-sizing:border-box}.leaf-game-dialog .leaf-landscape .leaf-factory-confirm>h3,.leaf-game-dialog .leaf-landscape .leaf-factory-confirm>label{flex:none}.leaf-game-dialog .leaf-fullscreen-control{font:inherit!important;font-size:13px!important;min-height:44px!important;padding:6px 10px!important}.leaf-cover-home .cover-actions>.leaf-fullscreen-control{width:auto;justify-self:center;min-height:36px!important}.leaf-fullscreen-note{position:absolute;z-index:500;top:12px;left:50%;transform:translate(-50%);width:min(360px,calc(100% - 28px));box-sizing:border-box;padding:14px;border:2px solid #82965e;border-radius:12px;background:#e7e5c9;color:#30442d;box-shadow:0 4px 22px #10251999}.leaf-fullscreen-note p{font:14px/1.7 Leaf Entry Ruins,Leaf Forest Chinese,serif!important;color:#30442d!important;white-space:normal!important;margin:0 0 8px!important}.leaf-fullscreen-note button{min-height:44px!important}.leaf-game-dialog .leaf-compact-head .leaf-fullscreen-quick{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;min-width:66px!important;min-height:38px!important;height:38px!important;padding:4px 7px!important;font-size:11px!important;white-space:nowrap!important;line-height:1.2!important;border-radius:10px!important;flex:none!important}.leaf-fullscreen-quick svg{width:17px;height:17px;flex:none}.leaf-game-dialog .leaf-fullscreen-note-quick{position:fixed!important;z-index:600!important;top:max(10px,env(safe-area-inset-top))!important;left:50%!important;transform:translate(-50%)!important;width:min(390px,calc(100% - 28px))!important;height:auto!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important}.leaf-fullscreen-control:focus-visible{outline:3px solid #f4d88b!important;outline-offset:3px!important}@media(max-height:430px){.leaf-game-dialog .leaf-compact-head .leaf-fullscreen-quick{min-width:62px!important;min-height:34px!important;height:34px!important;font-size:10px!important;padding:3px 5px!important}.leaf-fullscreen-quick svg{width:15px;height:15px}}.leaf-fullscreen-note{position:fixed!important;z-index:600!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:min(390px,calc(100% - 28px))!important;box-sizing:border-box!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;margin:0!important}.leaf-game-dialog .leaf-fullscreen-note-quick{top:50%!important;transform:translate(-50%,-50%)!important}.leaf-app-mode-link{display:inline-flex;margin:8px 0 0 12px;min-height:44px;align-items:center;color:#284938;text-decoration:underline;font:inherit}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored:not(.leaf-placement-panel){background:#e8e5c9 url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat!important;border:2px solid #839066!important;border-image:none!important;border-radius:12px 9px 14px 8px!important;box-shadow:inset 0 2px #f9f3d6,0 4px 10px #16322266!important;filter:none!important;padding:12px 14px 14px!important;width:340px;max-height:calc(100% - 82px);color:#30442d!important;overflow:auto!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored>div:first-child{display:flex;align-items:center;gap:7px;min-height:44px;border-bottom:1px solid #9ca68188;padding-bottom:5px;margin-bottom:7px}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored>div:first-child strong{font-size:18px!important;flex:1;line-height:1.35}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored p,.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-upgrade-facts{font-size:14px!important;line-height:1.6!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions{position:sticky!important;bottom:-14px!important;background:#e8e5c9!important;padding:9px 0 2px!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions>button{background:#cbd6aa!important;border:1px solid #829461!important;border-radius:8px 11px 7px 9px!important;padding:9px 10px!important;min-height:48px!important;box-shadow:inset 0 2px #f1f2d4,0 2px #6c805866!important;text-align:left!important;width:100%!important;line-height:1.45!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions>button:disabled{opacity:.55!important;background:#d6d6bf!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-upgrade-option-head{font-size:16px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-sell-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:44px;min-height:46px;height:auto!important;background:#dfd7b7!important;border:1px solid #a0916c!important;border-radius:7px!important;padding:3px!important;font-size:11px!important;line-height:1.1}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-sell-icon svg{height:20px;width:20px}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button,.leaf-game-dialog .leaf-landscape .leaf-zoom-controls button,.leaf-game-dialog .leaf-landscape .leaf-settings-zoom button{background:#e6e2c4 url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat!important;border:1.5px solid #8b956d!important;border-radius:10px 7px 12px 8px!important;box-shadow:inset 0 2px #faf1d1,0 2px 1px #36513766!important;color:#30462d!important;text-shadow:none!important}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary{background-color:#c7d2a6!important;border-color:#667d50!important;color:#2c4529!important}.leaf-game-dialog .leaf-landscape .leaf-placement-actions>button.new-primary svg{stroke:#355533!important}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored:not(.leaf-placement-panel){width:min(370px,47vw)!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored>div:first-child strong{font-size:16px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored p,.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-upgrade-facts{font-size:13px!important}}.leaf-game-dialog .new-map-game.leaf-landscape .leaf-placement-actions>button.new-primary,.leaf-game-dialog .new-map-game.leaf-landscape .leaf-placement-actions>button.leaf-placement-cancel{background:#e6e2c4 url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat!important;border:1.5px solid #8b956d!important;border-radius:10px 7px 12px 8px!important;box-shadow:inset 0 2px #faf1d1,0 2px 1px #36513766!important;color:#30462d!important;text-shadow:none!important}.leaf-game-dialog .new-map-game.leaf-landscape .leaf-placement-actions>button.new-primary{background-color:#c7d2a6!important;border-color:#667d50!important}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions{position:static!important;bottom:auto!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored>div:first-child{position:static!important}}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions>button:only-child{grid-column:1/-1!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions>button{padding:7px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-upgrade-option-head{font-size:14px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions .leaf-upgrade-facts{font-size:12px!important;line-height:1.45!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions small{font-size:11px!important;line-height:1.4!important}}.leaf-game-dialog .new-map-game:has(.leaf-tower-anchored)>.material-workshop-trigger{visibility:hidden!important;pointer-events:none!important}.leaf-game-dialog .leaf-tower-anchored .new-pad-actions small{text-wrap:pretty}@media(min-width:1001px)and (min-height:501px){.leaf-game-dialog{font-size:18px}.leaf-game-dialog button,.leaf-game-dialog select{font-size:18px!important;line-height:1.5}.leaf-game-dialog p{font-size:18px!important;line-height:1.7!important}.leaf-game-dialog small,.leaf-game-dialog figcaption{font-size:16px!important;line-height:1.6!important}.leaf-game-dialog h2{font-size:28px!important;line-height:1.4}.leaf-game-dialog h3{font-size:23px!important;line-height:1.4}.leaf-game-dialog .leaf-landscape .leaf-desktop-context{max-width:calc(100% - 510px);min-height:50px;gap:14px;padding:8px 22px}.leaf-game-dialog .leaf-desktop-context strong{font-size:26px!important}.leaf-game-dialog .leaf-desktop-context span{font-size:21px!important}.leaf-game-dialog .leaf-landscape .new-battle-controls>.new-primary{font-size:19px!important;min-width:122px!important;min-height:50px!important}.leaf-game-dialog .leaf-landscape .new-wave-status{font-size:17px!important}.leaf-game-dialog .leaf-landscape .new-battle-resources strong,.leaf-game-dialog .leaf-landscape .leaf-resource-strip strong{font-size:30px!important}.leaf-game-dialog .light-intel-open,.leaf-game-dialog .material-workshop-trigger{font-size:18px!important;min-height:48px!important;padding:7px 14px!important}.leaf-game-dialog .solo-picker-toggle{width:74px!important;height:82px!important}.leaf-game-dialog .solo-picker-toggle span{font-size:17px!important;line-height:1.4!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker{height:142px!important;max-height:142px!important;max-width:calc(100% - 230px)!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll{height:132px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button{width:92px!important;min-width:92px!important;max-width:92px!important;flex-basis:92px!important;height:128px!important;min-height:128px!important}.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button strong,.leaf-game-dialog .leaf-landscape .new-shop.solo-stone-picker .leaf-roster-scroll>button>span{font-size:17px!important;line-height:23px!important}.leaf-game-dialog .solo-builder-status{font-size:17px;bottom:160px}.leaf-game-dialog .solo-builder-status button{font-size:17px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored:not(.leaf-placement-panel){width:420px!important;max-width:calc(100% - 24px);padding:16px 18px 18px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored>div:first-child strong{font-size:22px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored p,.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-upgrade-facts,.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-upgrade-facts>span{font-size:18px!important;line-height:1.6!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-upgrade-option-head{font-size:20px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-pad-actions small{font-size:17px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-sell-icon,.leaf-game-dialog .leaf-landscape .leaf-tower-detail-toggle{font-size:16px!important;min-width:52px!important;min-height:48px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .new-close{font-size:26px!important}.leaf-game-dialog .leaf-landscape .new-pad-panel.leaf-tower-anchored .leaf-sell-icon>span{font-size:16px!important}.leaf-game-dialog .leaf-landscape .leaf-placement-actions button{font-size:19px!important;min-width:56px!important;min-height:52px!important}.leaf-game-dialog .leaf-landscape .leaf-compact-menu{width:min(530px,calc(100% - 48px));padding:22px 28px}.leaf-game-dialog .leaf-landscape .leaf-compact-menu .leaf-eyebrow,.leaf-game-dialog .leaf-settings-zoom span,.leaf-game-dialog .leaf-settings-zoom output{font-size:17px!important}.leaf-game-dialog .light-intel .enemy-intel-hint,.leaf-game-dialog .light-intel figcaption,.leaf-game-dialog .light-intel small{font-size:17px!important;line-height:1.65!important}.leaf-game-dialog .leaf-landscape .leaf-compact-menu .leaf-menu-actions{gap:8px}.leaf-game-dialog .leaf-landscape .leaf-compact-menu .leaf-menu-actions button{min-height:48px!important}.leaf-game-dialog .leaf-landscape .leaf-rules{width:min(700px,calc(100% - 60px));font-size:18px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay{max-width:620px;width:min(620px,calc(100% - 48px));box-sizing:border-box}.leaf-game-dialog .leaf-landscape .new-wave-overlay strong{font-size:24px!important}.leaf-game-dialog .leaf-landscape .harvest-item>span{font-size:18px!important}.leaf-game-dialog .material-workshop,.leaf-game-dialog .leaf-journey-picker{font-size:18px!important}.leaf-game-dialog .material-workshop strong,.leaf-game-dialog .field-grid strong{font-size:20px!important}.leaf-game-dialog .field-grid span,.leaf-game-dialog .field-grid small,.leaf-game-dialog .field-filter,.leaf-game-dialog .field-harvest small,.leaf-game-dialog .leaf-journey-picker small,.leaf-game-dialog .leaf-journey-picker footer{font-size:17px!important;line-height:1.6!important}.leaf-game-dialog .material-workshop .workshop-preview p{font-size:17px!important}.leaf-game-dialog .leaf-factory-confirm label,.leaf-game-dialog .leaf-factory-confirm p,.leaf-game-dialog .leaf-factory-confirm>strong{font-size:17px!important}.leaf-game-dialog .leaf-landscape .new-save-status:not([hidden]){font-size:16px!important}}.leaf-game-dialog .leaf-story-scrim{position:absolute;inset:0;padding:10px;box-sizing:border-box;overflow:hidden}.leaf-game-dialog .leaf-story-card:not(.leaf-reveal-card){max-height:calc(var(--leaf-panel-height,100dvh) - 24px);box-sizing:border-box}.leaf-game-dialog .leaf-landscape .light-intel{display:flex;flex-direction:column;overflow:hidden;max-height:calc(var(--leaf-panel-height,100dvh) - 112px);min-height:0}.leaf-game-dialog .leaf-intel-copy{min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-right:6px}.leaf-game-dialog .leaf-landscape .light-intel>button:last-child{flex:none;position:static!important;align-self:flex-start;margin-top:8px;min-height:44px}.leaf-game-dialog[data-compact-panels=true] .leaf-story-card:not(.leaf-reveal-card){display:grid;grid-template-columns:minmax(100px,26%) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:6px 16px;width:min(760px,96%);max-width:760px;height:min(340px,calc(var(--leaf-panel-height) - 24px));max-height:calc(var(--leaf-panel-height) - 24px);padding:12px 18px!important;border-width:16px!important;border-image-width:16px!important;overflow:hidden}.leaf-game-dialog[data-compact-panels=true] .leaf-story-card .leaf-story-art{grid-column:1;grid-row:1;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;margin:0}.leaf-game-dialog[data-compact-panels=true] .leaf-story-copy{grid-column:2;grid-row:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;text-align:left;padding-right:6px}.leaf-game-dialog[data-compact-panels=true] .leaf-story-copy h2{font-size:20px!important;line-height:1.4!important;margin:4px 0 8px}.leaf-game-dialog[data-compact-panels=true] .leaf-story-copy p{font-size:16px!important;line-height:1.65!important;margin:0}.leaf-game-dialog[data-compact-panels=true] .leaf-story-card .leaf-story-nav{grid-column:1/-1;grid-row:2;min-height:44px;margin:0;flex:none}.leaf-game-dialog[data-compact-panels=true] .leaf-story-nav button{min-height:44px!important;padding:8px 16px!important;font-size:15px!important}.leaf-game-dialog[data-compact-panels=true] .leaf-landscape .light-intel{top:62px;left:16px;width:min(660px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(var(--leaf-panel-height) - 74px);padding:12px 18px!important;border-width:16px!important;border-image-width:16px!important;gap:4px}.leaf-game-dialog[data-compact-panels=true] .light-intel h2{font-size:20px!important;line-height:1.4!important;margin:0 0 8px}.leaf-game-dialog[data-compact-panels=true] .light-intel p,.leaf-game-dialog[data-compact-panels=true] .light-intel small{font-size:15px!important;line-height:1.55!important}.light-loading.leaf-loading-screen{background:radial-gradient(ellipse at 50% 42%,#34543b,#203b2a 63%);padding:30px 26px;min-height:100dvh}.leaf-loading-screen section{max-width:310px;text-align:center}.leaf-loading-character{position:relative;width:180px;height:202px;margin:0 auto 22px;isolation:isolate}.leaf-loading-character>img{position:relative;display:block;width:180px;height:190px;object-fit:contain;transform-origin:50% 90%;animation:leaf-loading-hop 1.25s ease-in-out infinite;will-change:transform}.leaf-loading-character>i{position:absolute;left:40px;bottom:1px;width:100px;height:14px;border-radius:50%;background:#0e2519;opacity:.35;animation:leaf-loading-shadow 1.25s ease-in-out infinite}.light-loading.leaf-loading-screen h1{font-size:28px;line-height:1.3;margin:0 0 24px;letter-spacing:.04em;font-weight:400}.leaf-loading-screen .leaf-loading-dots{font-size:inherit;letter-spacing:.1em;color:inherit;display:inline-block;animation:leaf-loading-breathe 1.25s ease-in-out infinite}.light-loading.leaf-loading-screen progress{appearance:none;-webkit-appearance:none;display:block;width:100%;height:6px;border:0;border-radius:6px;overflow:hidden;background:#62745b;margin:0 0 10px;accent-color:#d7dfac}.leaf-loading-screen progress::-webkit-progress-bar{background:#62745b;border-radius:6px}.leaf-loading-screen progress::-webkit-progress-value{background:#d7dfac;border-radius:6px;transition:width .15s ease}.leaf-loading-screen progress::-moz-progress-bar{background:#d7dfac;border-radius:6px}.light-loading.leaf-loading-screen .leaf-loading-count{font-size:13px;line-height:1.5;margin:0;color:#e1e6c7;font-variant-numeric:tabular-nums}.light-loading.leaf-loading-screen small{margin-top:21px;font-size:12px;line-height:1.6;color:#ccd5b9}.leaf-loading-recovery{margin-top:18px}.light-loading .leaf-loading-recovery p{font-size:13px;margin:0 0 8px}.light-loading .leaf-loading-recovery button{font-size:13px;min-height:44px}@keyframes leaf-loading-hop{0%,to{transform:translateY(0) rotate(-2deg) scale(1.02,.98)}42%{transform:translateY(-20px) rotate(2deg) scale(.98,1.02)}72%{transform:translateY(0) rotate(-1deg) scale(1.04,.96)}85%{transform:translateY(-3px) rotate(-1deg) scale(1)}}@keyframes leaf-loading-shadow{0%,to{transform:scaleX(1);opacity:.35}42%{transform:scaleX(.74);opacity:.2}72%{transform:scaleX(1.06);opacity:.4}}@keyframes leaf-loading-breathe{50%{opacity:.5}}@media(max-height:450px)and (orientation:landscape){.light-loading.leaf-loading-screen{padding:18px 24px}.leaf-loading-screen section{max-width:330px}.leaf-loading-character{width:105px;height:111px;margin-bottom:5px}.leaf-loading-character>img{width:105px;height:105px}.leaf-loading-character>i{left:28px;width:54px;height:9px}.light-loading.leaf-loading-screen h1{font-size:22px;margin-bottom:12px}.light-loading.leaf-loading-screen small{margin-top:10px}.leaf-loading-recovery{margin-top:8px}.leaf-loading-recovery p{display:none}}@media(prefers-reduced-motion:reduce){.leaf-loading-character>img,.leaf-loading-character>i,.leaf-loading-screen .leaf-loading-dots{animation:none!important;will-change:auto}.leaf-loading-screen progress::-webkit-progress-value{transition:none}}.light-loading.leaf-loading-screen section{max-width:310px}body:has(.leaf-loading-screen) .leaf-file-status{display:none}@media(max-width:600px)and (orientation:portrait){.light-loading.leaf-loading-screen{align-items:start;padding-top:clamp(42px,8vh,72px)}}.map-journey{position:absolute;inset:0;z-index:220;display:grid;place-items:center;background:#293c2b;isolation:isolate;animation:journey-cover .45s ease-out;transition:background .7s ease;cursor:default}.map-journey-arrived{background:#2033249c}.map-journey-card{width:min(660px,calc(100% - 48px));box-sizing:border-box;text-align:center;padding:30px 40px 24px;border:2px solid #8f9b73;border-radius:22px;background:#dfe2c2;box-shadow:0 14px 50px #14291d50;color:#334b33}.map-journey-card>small{font-size:15px;letter-spacing:.12em}.map-journey-names{display:flex;justify-content:center;align-items:center;gap:18px;margin:18px 0 0}.map-journey-names>span{font-size:18px;color:#64704e}.map-journey-names>i{font-style:normal;font-size:32px;color:#91965e}.map-journey-names>h2{font-size:30px;line-height:1.35;margin:0}.map-journey-trail{position:relative;max-width:440px;margin:10px auto;height:100px}.map-journey-trail>svg:first-child{position:absolute;width:100%;bottom:0;left:0;height:75px}.map-journey-lumi{position:absolute;width:72px;height:90px;bottom:8px;left:6%;animation:journey-walk 2s cubic-bezier(.2,.5,.3,1) both}.map-journey-card>p{font-size:17px;line-height:1.65;margin:12px 0}.map-journey-action{height:44px;display:flex;gap:12px;align-items:center;justify-content:center}.map-journey-action>button{border:1px solid #8c9a71;background:#4a634a;color:#f0edcc;box-shadow:0 3px #293f31;padding:9px 28px;border-radius:12px;font-size:17px;min-height:42px}.map-journey-action>span{font-size:14px;color:#61724f}.map-journey-action>button:focus-visible{outline:3px solid #b79b50;outline-offset:4px}@keyframes journey-cover{0%{background:#293c2b00}to{background:#293c2b}}@keyframes journey-walk{0%{left:6%;transform:translateY(0) rotate(-3deg)}45%{transform:translateY(-5px) rotate(3deg)}to{left:75%;transform:translateY(0) rotate(0)}}@media(max-height:500px){.map-journey-card{width:min(660px,calc(100% - 36px));padding:16px 28px 18px;border-radius:18px}.map-journey-card>small{font-size:13px}.map-journey-names{margin-top:7px;gap:14px}.map-journey-names>span{font-size:16px}.map-journey-names>h2{font-size:26px}.map-journey-trail{height:65px;margin:1px auto 3px;max-width:360px}.map-journey-lumi{width:54px;height:68px;bottom:0}.map-journey-card>p{font-size:15px;margin:7px 0 10px}.map-journey-action{height:38px}.map-journey-action>button{font-size:16px;min-height:36px;padding:6px 24px}}@media(prefers-reduced-motion:reduce){.map-journey{animation:none;transition:none}.map-journey-lumi{animation:none;left:72%}}.map-journey-leaving{opacity:0;transition:opacity .25s ease;pointer-events:auto}@media(prefers-reduced-motion:reduce){.map-journey-leaving{transition:none}}.material-workshop{position:absolute;z-index:80;inset:18px 5%;box-sizing:border-box;padding:16px 20px;border:2px solid #879267;border-radius:14px;background:#e7e5c9 url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat;color:#2e3d2a;box-shadow:0 0 0 100vmax #102519aa;font-family:Leaf Entry Ruins,Leaf Forest Chinese,serif;overflow:hidden}.material-workshop header{display:flex;align-items:center;justify-content:space-between;gap:12px}.material-workshop h2{font:inherit;font-size:22px;margin:0}.material-workshop header button{min-width:44px;min-height:44px;font-size:24px}.workshop-layout{height:calc(100% - 52px);display:grid;grid-template-columns:40% minmax(0,1fr);gap:20px}.workshop-preview{display:flex;flex-direction:column;align-items:center;min-height:0}.workshop-preview svg{width:100%;height:calc(100% - 84px);min-height:60px}.workshop-preview p{font-size:12px;line-height:1.4;margin:6px 0}.workshop-controls{overflow-y:auto;min-height:0;overscroll-behavior:contain;touch-action:pan-y;padding:0 8px 12px 0}.material-workshop button{font:inherit;min-height:44px;border:1px solid #788858;border-radius:7px;background:#dce4bc;color:#2e3d2a;padding:7px 12px;cursor:pointer}.material-workshop button:disabled{opacity:.55;cursor:default}.material-workshop button[aria-pressed=true]{background:#aabb81;border-width:2px}.material-workshop nav{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.material-workshop p{font-size:13px;line-height:1.5}.material-wallet{display:flex;gap:20px;flex-wrap:wrap;margin:3px 0}.material-wallet strong{font-size:20px}.material-workshop article{border-top:1px solid #9aa877;padding:10px 0}.material-workshop h3{font:inherit;font-size:17px;margin:0 0 4px}.material-workshop article p{margin:3px 0}.material-workshop small{font-size:12px;line-height:1.5}.material-workshop button:focus-visible{outline:3px solid #536e3c;outline-offset:2px}.workshop-status{min-height:20px}.material-workshop-trigger{position:absolute;z-index:23;right:12px;top:62px;min-height:44px!important}@media(max-width:1000px)and (max-height:500px){.material-workshop{inset:8px 12px;padding:8px 12px}.material-workshop h2{font-size:18px}.workshop-layout{grid-template-columns:32% minmax(0,1fr);gap:12px}.material-workshop p{font-size:12px}.material-workshop nav{gap:4px}.material-workshop nav button{font-size:12px;padding:6px 8px}.workshop-preview svg{height:calc(100% - 75px)}.material-workshop-trigger{top:60px;font-size:11px!important;right:10px}}.workshop-scrim{position:absolute;inset:0;z-index:79;background:#10251944}.material-wallet{position:sticky;top:0;background:#e7e5c9;z-index:2;padding-top:4px;line-height:36px!important;min-height:36px;align-items:baseline}.material-wallet strong{line-height:36px;display:inline-block}@media(min-width:1001px),(min-height:501px){.material-workshop-trigger.material-transition-trigger{right:326px}}.material-icon{width:32px;height:32px;object-fit:contain;display:inline-block;vertical-align:middle;flex:0 0 auto;user-select:none;pointer-events:none}.material-wallet>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.material-recipe-cost{display:flex;align-items:center;gap:5px}.material-recipe-cost .material-icon{width:26px;height:26px}.material-reward-note .material-icon{margin-right:5px;width:32px;height:32px}.material-recipe-cost{flex-wrap:wrap;column-gap:14px}.material-recipe-cost>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.field-grid article{display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 4px;min-width:0;background:#edf0d433;border:1px solid #9aa877;border-radius:8px}.field-grid .material-icon{width:72px;height:72px}.field-grid strong{font-size:15px;line-height:1.4}.field-grid span,.field-grid small{font-size:12px;line-height:1.5}.field-harvest{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:8px 0}.field-harvest>span{display:flex;align-items:center;gap:5px}.field-harvest small{display:block;font-size:11px}.field-craft-options{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.field-craft-options>small{width:100%}.field-craft-options button{font-size:12px;display:flex;align-items:center;gap:4px;padding:4px 7px}.field-craft-options .material-icon{width:28px;height:28px}@media(max-width:1000px)and (max-height:500px){.field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.field-grid .material-icon{width:54px;height:54px}.field-grid strong{font-size:13px}}.field-filter{display:flex;align-items:center;gap:10px;font:inherit;font-size:13px;margin:5px 0}.field-filter select{font:inherit;color:#2e3d2a;background:#dce4bc;border:1px solid #788858;border-radius:5px;min-height:44px;padding:4px 12px}.field-inventory h3{margin-top:4px}.field-inventory>p{margin:4px 0 6px}.field-inventory>small{display:block;margin-top:5px}@media(max-width:1000px)and (max-height:500px){.field-inventory>h3{display:none}.field-inventory>p{font-size:10px;line-height:1.25;margin:2px 0}.field-filter{margin:2px 0}.field-filter select{min-height:36px}.workshop-controls>nav{margin:0 0 3px}.field-grid article{padding:4px}.field-grid .material-icon{width:44px;height:44px}.field-grid small{font-size:10px}}.field-harvest{display:flex;align-items:flex-start;justify-content:center;gap:14px;flex-wrap:wrap;margin:14px auto 16px!important;max-width:720px}.harvest-item{width:108px;display:flex;flex-direction:column;align-items:center;gap:5px}.harvest-art{position:relative;width:66px;height:58px;display:flex;justify-content:center;align-items:center}.field-harvest .material-icon{width:56px!important;height:56px!important;margin:0!important;filter:drop-shadow(0 2px 2px #23351c22)}.harvest-item>span{font-size:14px;line-height:1.4;white-space:nowrap}.harvest-item em{font-style:normal;color:#5b653e}.harvest-new{position:absolute;right:-12px;top:0;padding:1px 4px;border:1px solid #9c9f62;border-radius:3px;font:9px/1.3 Leaf Canopy Caps,serif;letter-spacing:.03em;background:#efedbf;color:#58613b}.harvest-currency{opacity:.9}.harvest-currency .material-icon{width:46px!important;height:46px!important}@media(max-width:1000px)and (max-height:500px){.field-harvest{gap:12px;margin:10px auto 12px!important}.harvest-item{width:98px;gap:4px}.harvest-art{height:54px}.harvest-item>span{font-size:13px}.field-harvest .material-icon{width:50px!important;height:50px!important}}@media(max-width:1000px)and (max-height:500px){.new-wave-overlay .field-harvest{margin:5px auto 8px!important}.new-wave-overlay .harvest-art{height:46px}.new-wave-overlay .field-harvest .material-icon{width:44px!important;height:44px!important}.new-wave-overlay .harvest-currency .material-icon{width:40px!important;height:40px!important}.new-wave-overlay .harvest-item>span{font-size:12px}.new-wave-overlay .harvest-new{font-size:8px}.new-wave-overlay>button{margin-top:5px!important;margin-bottom:0!important}.new-wave-overlay>small{display:none}}.leaf-factory-link{font-size:11px!important;opacity:.8;border-top:1px solid #8d9671!important;margin-top:10px!important}.leaf-factory-confirm{max-height:calc(100% - 24px);overflow:auto;box-sizing:border-box;background:#e7e5c9!important}.leaf-factory-confirm label{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.5;margin:10px 0}.leaf-factory-confirm input{width:20px;height:20px;flex:none}.leaf-factory-confirm h3{margin:5px 0}.leaf-factory-confirm button{min-height:44px}.leaf-factory-confirm button:disabled{opacity:.45}.leaf-journey-picker{position:fixed;z-index:85;inset:18px 5%;background:#e9e4c9;color:#3e5137;border:1px solid #7c8a59;border-radius:18px;box-shadow:0 18px 80px #152016aa;display:flex;flex-direction:column;padding:18px;box-sizing:border-box;text-align:left}.leaf-journey-picker header{display:flex;justify-content:space-between;align-items:center;flex:none}.leaf-journey-picker h2{margin:3px 0 12px;font-size:24px}.leaf-journey-picker header button{font-size:24px;min-width:44px;min-height:44px}.leaf-journey-picker-body{display:grid;grid-template-columns:minmax(180px,32%) 1fr;gap:20px;min-height:0;flex:1}.leaf-journey-picker nav{overflow:auto;display:flex;flex-direction:column;gap:6px;padding-right:6px}.leaf-journey-picker nav button{display:grid;grid-template-columns:24px 1fr;gap:2px 10px;text-align:left;padding:10px!important;flex:none;min-height:62px}.leaf-journey-picker nav button[aria-pressed=true]{background:#c8d19f;border-color:#5b7048}.leaf-journey-picker nav small{grid-column:2}.leaf-journey-picker article{overflow:auto;padding-right:5px}.leaf-journey-picker h3{font-size:26px;margin:6px 0 10px}.leaf-journey-picker article p{margin:6px 0}.leaf-journey-animals{display:flex;gap:8px;flex-wrap:wrap}.leaf-journey-animals figure{margin:0;text-align:center;width:70px}.leaf-journey-animals img{width:64px;height:64px;object-fit:contain}.leaf-journey-animals figcaption{font-size:12px}.leaf-journey-waves{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.leaf-journey-waves button{display:flex;flex-direction:column;gap:4px;align-items:center;min-height:62px}.leaf-journey-waves button:disabled{opacity:.45}.leaf-journey-picker small,.leaf-journey-picker footer{font-size:12px;line-height:1.5}.leaf-journey-picker footer{opacity:.8}.cover-secondary{gap:8px!important}.cover-secondary .cover-stone{min-width:0!important}@media(max-height:450px){.leaf-journey-picker{inset:10px 3%;padding:12px}.leaf-journey-picker h2{font-size:20px;margin:0 0 6px}.leaf-journey-picker-body{grid-template-columns:185px 1fr;gap:14px}.leaf-journey-animals img{width:48px;height:48px}.leaf-journey-animals figure{width:54px}.leaf-journey-picker h3{font-size:21px;margin:3px 0}.leaf-journey-waves{margin:8px 0;gap:5px}.leaf-journey-waves button{min-height:44px;font-size:14px}.leaf-journey-picker header small{display:none}.cover-brand p{font-size:12px}}.leaf-result-retry svg,.leaf-action-icon{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;margin-right:6px}.leaf-result-retry{min-height:44px!important}.new-confirm.leaf-retry-confirm{z-index:106;background:#e9e4c9;max-height:calc(100% - 24px);overflow:auto}.leaf-retry-confirm strong{font-size:21px}.leaf-retry-confirm p{font-size:14px;line-height:1.65}.leaf-retry-confirm button{min-height:44px}.leaf-entry-hint{display:flex;align-items:center;gap:6px;justify-content:center}.leaf-entry-hint img{height:58px;width:46px;object-fit:contain;filter:drop-shadow(0 2px 3px #1b3321aa)}.leaf-entry-hint span{max-width:250px;line-height:1.7}.leaf-game-dialog .leaf-cover-home .leaf-journey-picker{background:#dce0bf url("./assets/entry-stone-grain-OKGAEQZC.webp") center/480px;border:10px solid #7b8b58;border-image:url("./assets/entry-stone-panel-border-ZAVEDE2P.webp") 28 fill / 18px / 0 stretch;color:#32452b}.leaf-journey-picker button{border-radius:7px;background:#d5dabb;border:1px solid #8b9b6c;color:#354930}.leaf-journey-picker button[aria-pressed=true]{box-shadow:inset 0 0 0 1px #6e8254}.leaf-journey-picker header button{background:transparent;border:0}.leaf-journey-picker h2,.leaf-journey-picker h3{font-weight:400;letter-spacing:.04em}@media(max-height:450px){.leaf-entry-hint img{height:40px;width:32px}.leaf-entry-hint span{font-size:12px;max-width:240px}.leaf-game-dialog .leaf-cover-home .leaf-journey-picker{border-width:7px}}.leaf-game-dialog .leaf-cover-home .leaf-journey-picker{border:18px solid transparent;border-image:url("./assets/entry-stone-panel-border-ZAVEDE2P.webp") 40 50 40 50 /18px /0 stretch;background:#e7e5c9 url("./assets/entry-stone-grain-OKGAEQZC.webp") repeat;background-clip:padding-box}.leaf-game-dialog .leaf-cover-home .leaf-journey-picker button,.leaf-game-dialog .leaf-cover-home .leaf-journey-picker button *{color:#30442d!important;text-shadow:0 1px #eeefd3!important}.leaf-game-dialog .leaf-cover-home .leaf-journey-picker button{background:#c9d2ab!important;border:1px solid #8b9b6c!important}.leaf-game-dialog .leaf-cover-home .leaf-journey-picker button[aria-pressed=true]{background:#aebf87!important;border:2px solid #6e8254!important}.leaf-game-dialog .leaf-cover-home .leaf-journey-picker header button{background:transparent!important;border:0!important}.leaf-game-dialog .leaf-landscape .leaf-factory-confirm{display:flex;flex-direction:column;height:min(480px,calc(100% - 20px));padding:8px 14px!important;border-width:18px!important;border-image-width:18px!important;overflow:hidden}.leaf-factory-body{min-height:0;overflow:auto;flex:1}.leaf-factory-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;flex:none}.leaf-factory-actions button{font-size:13px!important;margin:0!important}.leaf-factory-confirm h3{font-size:20px!important;margin:4px 0 8px!important}.leaf-factory-confirm p{font-size:13px!important;line-height:1.6!important;margin:6px 0!important}.leaf-factory-confirm>strong{font-size:13px!important}.leaf-factory-confirm label{font-size:13px!important}@media(max-height:450px){.leaf-game-dialog .leaf-cover-home .leaf-journey-picker{border-width:12px;border-image-width:12px;padding:8px}.leaf-journey-picker-body{grid-template-columns:180px 1fr}.leaf-journey-animals{gap:6px}.leaf-journey-waves{grid-template-columns:repeat(3,1fr)}.leaf-journey-picker header h2{font-size:19px}.leaf-game-dialog .leaf-landscape .leaf-factory-confirm{border-width:14px!important;border-image-width:14px!important}}@media(max-height:450px){.leaf-journey-picker article{display:flex;flex-direction:column}.leaf-journey-picker article>small{order:0}.leaf-journey-picker article>h3{order:1;font-size:21px;margin:2px 0 4px}.leaf-journey-waves{order:2;flex:none;margin:4px 0}.leaf-journey-picker article>p{order:3;font-size:12px;margin:4px 0}.leaf-journey-animals{order:4;flex:none}.leaf-journey-picker article>footer{order:5;margin-top:10px}.leaf-journey-animals img{height:38px;width:38px}.leaf-journey-animals figure{width:45px}.leaf-journey-animals figcaption{font-size:11px}.leaf-journey-waves button{min-height:44px!important;padding:4px!important}.leaf-journey-waves small{font-size:10px}.leaf-factory-confirm>label{flex:none;margin:5px 0!important}.leaf-factory-actions button{font-size:12px!important;padding:6px!important}.leaf-factory-confirm h3{font-size:19px!important;margin:1px 0 3px!important}.leaf-factory-confirm p{font-size:12px!important}}@media(max-height:450px){.leaf-journey-picker article{position:relative}.leaf-journey-picker article>small,.leaf-journey-picker article>h3{max-width:48%}.leaf-journey-picker article>p{display:none}.leaf-journey-animals{position:absolute;top:0;right:0;max-width:50%;overflow-x:auto;flex-wrap:nowrap}.leaf-journey-animals figure{flex:none}.leaf-journey-waves{margin-top:12px}.leaf-journey-picker article>footer{font-size:10px;line-height:1.5}}.field-grid .field-stock{display:flex;align-items:center;gap:7px;margin:3px 0 5px;font-size:13px}.field-grid .field-stock strong{display:inline-block;min-width:30px;font-size:17px;color:#30442d;background:#d0d9ae;border-radius:5px;padding:1px 5px}.material-owned-note{color:#385537;font-size:14px!important;font-weight:600}@media(max-height:450px)and (orientation:landscape){.leaf-landscape .leaf-compact-menu{grid-template-columns:1fr 1.12fr;grid-auto-rows:minmax(36px,auto);overflow:auto;align-content:start}.leaf-landscape .leaf-compact-menu>.leaf-eyebrow{grid-column:1;grid-row:1}.leaf-landscape .leaf-compact-menu>h2{grid-column:1;grid-row:2}.leaf-landscape .leaf-compact-menu>button.new-primary{grid-column:1;grid-row:3}.leaf-landscape .leaf-compact-menu>button:not(.new-primary):not(.leaf-factory-link){grid-column:1;grid-row:auto}.leaf-landscape .leaf-compact-menu>.global-language-choice{grid-column:1;grid-row:auto}.leaf-landscape .leaf-compact-menu>.leaf-settings-zoom{grid-column:2;grid-row:5}.leaf-landscape .leaf-compact-menu>.leaf-factory-link{grid-column:1/-1;grid-row:7;margin-top:7px!important}.leaf-landscape .leaf-compact-menu>.leaf-menu-actions{grid-column:2;grid-row:1/5}}@media(max-height:450px)and (orientation:landscape){#leaf-battle-menu{display:grid!important;grid-template-columns:1fr 1.12fr!important;grid-template-rows:24px repeat(6,minmax(44px,auto))!important;max-height:calc(100% - 24px)!important;overflow-y:auto!important;align-content:start!important;padding:14px 20px!important;gap:7px 16px!important}#leaf-battle-menu>.leaf-eyebrow{grid-column:1!important;grid-row:1!important}#leaf-battle-menu>h2{grid-column:1!important;grid-row:2!important}#leaf-battle-menu>button.new-primary{grid-column:1!important;grid-row:3!important}#leaf-battle-menu>.leaf-pause-close{grid-column:1!important;grid-row:4!important}#leaf-battle-menu>.leaf-pause-wardrobe{grid-column:1!important;grid-row:5!important}#leaf-battle-menu>.global-language-choice{grid-column:1!important;grid-row:6!important}#leaf-battle-menu>.leaf-settings-zoom{grid-column:2!important;grid-row:5!important}#leaf-battle-menu>.leaf-menu-actions{grid-column:2!important;grid-row:1/5!important}#leaf-battle-menu>.leaf-factory-link{grid-column:1/-1!important;grid-row:7!important;margin:0!important}#leaf-battle-menu>button{min-height:44px!important;height:auto!important}}.wardrobe-invitation{display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important;padding:5px 12px!important;margin:4px 0!important;width:100%!important;background:#d8dfb9!important;border:1px solid #97a477!important;min-height:78px!important;border-radius:9px!important}.wardrobe-invitation>svg{width:60px;height:76px;flex:none}.wardrobe-invitation>span{display:flex;flex-direction:column;gap:3px}.wardrobe-invitation strong{font-size:17px!important}.wardrobe-invitation small,.wardrobe-invitation span span{font-size:13px!important}.first-wardrobe-guide{height:calc(100% - 45px);display:grid;grid-template-columns:45% 1fr;gap:24px;min-height:0}.guide-look{display:flex;flex-direction:column;align-items:center;min-height:0}.guide-look svg{width:100%;height:calc(100% - 24px);min-height:90px}.guide-look>small{font-size:13px}.guide-steps{align-self:center;display:flex;flex-direction:column;gap:10px;max-height:100%;overflow:auto;padding:8px 10px 10px 0}.guide-steps h3{font-size:25px}.guide-steps p{font-size:16px;line-height:1.6;margin:0}.guide-steps small{font-size:13px}.guide-cost,.guide-cost>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.guide-cost .material-icon{width:40px;height:40px}.guide-steps button.guide-primary{background:#c8d69e;border:2px solid #6e8550;font-size:19px}.guide-steps button.guide-secondary{background:transparent;border:0;font-size:13px}.craftable-label{display:inline-block;margin-left:9px;padding:2px 7px;border:1px solid #7b945d;border-radius:5px;color:#3c592d;background:#dae4b9;font-size:12px}.guide-revisit{display:block;margin:7px 0;background:#d2ddb1!important}@media(max-width:1000px)and (max-height:500px){.first-wardrobe-guide{grid-template-columns:38% 1fr;gap:14px;height:calc(100% - 34px)}.guide-steps{gap:6px;padding:3px 7px 7px 0}.guide-steps h3{font-size:20px}.guide-steps p{font-size:14px;line-height:1.45}.guide-steps>small{font-size:11px}.guide-cost .material-icon{width:30px;height:30px}.guide-steps button{min-height:44px!important;padding:6px 10px!important}.guide-steps button.guide-primary{font-size:16px}.wardrobe-invitation{min-height:64px!important;padding:3px 8px!important;margin:1px 0!important}.wardrobe-invitation>svg{height:58px;width:46px}.wardrobe-invitation strong{font-size:15px!important}.wardrobe-invitation small,.wardrobe-invitation span span{font-size:12px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation){gap:4px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .field-harvest{margin:1px 0;gap:8px}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .harvest-art{height:42px;width:42px}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) h2{font-size:20px!important}}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation){padding:9px 16px!important;gap:2px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .new-result-kicker{display:none!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .field-harvest{gap:5px!important;max-height:66px;margin:0!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .harvest-art .material-icon{height:39px!important;width:39px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .harvest-item{gap:1px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .wardrobe-invitation{min-height:58px!important;height:58px!important;flex-shrink:0!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation) .wardrobe-invitation>svg{height:48px!important;width:40px!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.wardrobe-invitation)>p{line-height:1.2!important}.guide-steps{padding-top:0!important;gap:5px}.guide-steps>small{font-size:11px}.guide-steps h3{margin:0!important}}.wardrobe-ready-dot{display:block;font-size:11px!important;line-height:1.25!important;color:#f6edc9!important;background:#516c3f;border-radius:7px;padding:2px 5px;white-space:nowrap}.home-wardrobe-entry{position:relative;display:flex;justify-content:center}.home-wardrobe-entry>.wardrobe-ready-dot{position:absolute;right:-25px;top:1px;pointer-events:none}.wardrobe-invitation>span{min-width:0}.wardrobe-invitation span span{line-height:1.4!important}.guide-look{box-sizing:border-box;padding-bottom:15px}.guide-look svg{height:calc(100% - 40px)}.guide-look>small{padding:3px 4px 0;line-height:1.45;flex:none}.wardrobe-rehearsal-label{position:absolute;z-index:29;bottom:9px;left:50%;transform:translate(-50%);pointer-events:none;font-size:11px;padding:4px 9px;border-radius:6px;background:#e5e8cbc9;color:#30462d}@media(max-width:1000px)and (max-height:500px){.leaf-game-dialog .leaf-landscape .new-wave-overlay .field-harvest{width:100%;flex-wrap:nowrap;max-height:none;flex-shrink:0}.leaf-game-dialog .leaf-landscape .new-wave-overlay .field-harvest .harvest-item{width:auto;min-width:0;flex:1 1 0}}.leaf-game-dialog .leaf-landscape:has(.new-wave-overlay,.material-workshop)>.new-save-status{display:none!important}.leaf-game-dialog .leaf-landscape .new-wave-overlay>.leaf-inline-save-warning,.material-workshop .workshop-save-warning{grid-column:1/-1;color:#553e29!important;background:#f2d6aa;border:1px solid #bd8856;border-radius:6px;padding:5px 8px!important;font-size:12px!important;line-height:1.4!important;margin:3px 0!important;text-align:left;flex:none;pointer-events:none}.material-workshop:has(.workshop-save-warning){display:flex;flex-direction:column;gap:6px}.material-workshop:has(.workshop-save-warning)>header{flex:none;align-items:flex-start}.material-workshop:has(.workshop-save-warning) .first-wardrobe-guide,.material-workshop:has(.workshop-save-warning) .workshop-layout{height:auto;flex:1;min-height:0}.leaf-game-dialog .leaf-landscape .new-wave-overlay:has(.leaf-inline-save-warning) .wardrobe-invitation{margin-top:6px!important}.material-workshop .workshop-preview{overflow-y:auto;overscroll-behavior:contain;gap:5px}.material-workshop .workshop-preview>svg{flex:1;min-height:100px}.workshop-try-status{text-align:center;width:100%;flex:none;background:#dce4bc;border:1px solid #9aa877;border-radius:8px;padding:6px;box-sizing:border-box}.workshop-try-status strong{font-size:14px!important;line-height:1.4}.workshop-try-status p{margin:3px 0!important;font-size:12px!important;line-height:1.4!important}.workshop-try-button{margin-right:6px}.workshop-preview>button,.workshop-preview>p{flex:none}@media(max-width:600px)and (orientation:portrait){.leaf-game-dialog .material-workshop{inset:8px 10px;padding:12px;display:flex;flex-direction:column}.material-workshop>header{flex:none;align-items:flex-start;margin-bottom:6px}.material-workshop .workshop-layout{height:auto;min-height:0;flex:1;display:flex;flex-direction:column;gap:8px}.material-workshop .workshop-preview{flex:none;min-height:108px;max-height:190px;display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 8px;overflow-y:auto;align-items:center}.material-workshop .workshop-preview>svg{grid-column:1;grid-row:1/4;width:112px;height:140px;min-height:0}.material-workshop .workshop-preview>.workshop-try-status{grid-column:2;grid-row:1;padding:4px}.material-workshop .workshop-preview>button{grid-column:2;min-height:44px}.material-workshop .workshop-preview>p{grid-column:2;font-size:12px!important;margin:0}.material-workshop .workshop-controls{flex:1;min-height:0;width:100%;box-sizing:border-box;padding-right:5px}.material-workshop .material-wallet{position:static;gap:7px 15px;margin:6px 0;padding:4px 0;line-height:1.5!important}.material-workshop .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.material-workshop .field-grid .material-icon{width:58px;height:58px}.material-workshop .field-filter{flex-wrap:wrap;gap:6px}.material-workshop .field-grid span,.material-workshop .field-grid small{font-size:12px;line-height:1.6}.material-workshop .field-grid strong{font-size:15px!important}.material-workshop .field-craft-options button{white-space:normal}.material-workshop .workshop-controls>nav{margin:4px 0 8px}}@media(max-width:600px)and (orientation:portrait){.material-workshop .workshop-preview{max-height:220px;grid-template-columns:100px minmax(0,1fr)}.material-workshop .workshop-preview>svg{width:100px;height:125px}.material-workshop .workshop-preview>.workshop-try-status p{font-size:11px!important;line-height:1.3!important}.material-workshop .workshop-preview>p{line-height:1.45!important}}.wardrobe-visual .workshop-preview{gap:8px;overflow-y:auto}.wardrobe-visual .workshop-preview>svg{flex:1;min-height:100px;height:auto}.workshop-preview-caption{text-align:center;flex:none;width:100%}.workshop-preview-caption>strong{font-size:16px!important;line-height:1.5}.workshop-preview-caption>p{font-size:12px!important;margin:4px 0!important}.workshop-preview-caption>small{display:block;font-size:11px!important;line-height:1.5;margin-top:4px}.wardrobe-visual .workshop-controls{display:flex;flex-direction:column;gap:6px}.wardrobe-visual .workshop-controls>*{flex:none;min-width:0}.wardrobe-visual .workshop-main-tabs{order:0;margin:0 0 4px}.wardrobe-visual .workshop-slot-tabs{order:1;margin:0 0 4px;gap:4px}.wardrobe-visual .workshop-slot-tabs button{font-size:12px!important;padding:6px 8px!important;flex:1;min-width:58px}.wardrobe-choice-grid{order:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wardrobe-visual .wardrobe-choice{min-width:0;display:flex;align-items:center;flex-direction:column;padding:5px!important;background:#e9ebcd!important;border:1px solid #a2ad7d!important;gap:3px}.wardrobe-visual .wardrobe-choice[aria-pressed=true]{border:2px solid #637e3f!important;background:#d8dfb0!important;padding:4px!important}.wardrobe-choice>svg{width:100%;height:105px;pointer-events:none}.wardrobe-choice>strong{font-size:13px!important;line-height:1.45!important;font-weight:400;text-align:center}.wardrobe-choice>small{font-size:11px!important;line-height:1.4}.wardrobe-visual .wardrobe-selected{order:2;border:1px solid #a2ad7d;border-radius:9px;padding:10px;background:#ecebd3;margin:0 0 4px}.wardrobe-selected h3{font-size:17px!important;line-height:1.4}.wardrobe-selected-state{font-size:12px!important;line-height:1.4!important}.wardrobe-selected-actions{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0 0}.wardrobe-selected-actions>button{flex:1;font-size:13px!important;min-width:94px}.wardrobe-recipe-details{margin-top:8px}.wardrobe-recipe-details summary,.workshop-more summary{font-size:12px;line-height:1.6;cursor:pointer;padding:8px 0;min-height:28px}.workshop-more{order:4}.wardrobe-visual .workshop-status{order:5;font-size:12px!important}.wardrobe-visual .material-wallet{position:static}@media(max-width:600px)and (orientation:portrait){.wardrobe-visual .workshop-preview{display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:auto;min-height:144px;max-height:175px;gap:8px;overflow:auto}.wardrobe-visual .workshop-preview>svg{grid-row:auto;grid-column:1;width:120px;height:150px;min-height:0}.wardrobe-visual .workshop-preview-caption{grid-column:2;align-self:center}.wardrobe-visual .workshop-preview-caption>strong{font-size:14px!important}.wardrobe-visual .workshop-preview-caption>button{font-size:12px!important;width:100%;padding:6px!important}.wardrobe-visual .wardrobe-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wardrobe-visual .wardrobe-choice>svg{height:105px}.wardrobe-visual .workshop-controls{padding-right:4px}.wardrobe-visual .workshop-main-tabs>button{flex:1}}@media(max-height:450px)and (orientation:landscape){.wardrobe-visual .workshop-preview-caption>p,.wardrobe-visual .workshop-preview-caption>small{display:none}.wardrobe-visual .workshop-preview-caption>strong{font-size:12px!important}.wardrobe-visual .workshop-preview-caption button{font-size:11px!important;min-height:36px!important}.wardrobe-visual .workshop-preview>svg{min-height:50px}.wardrobe-visual .wardrobe-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wardrobe-visual .wardrobe-choice>svg{height:80px}}.leaf-game-dialog .material-workshop .wardrobe-choice>strong,.leaf-game-dialog .material-workshop .wardrobe-choice>small{color:#30442d!important;text-shadow:none!important;opacity:1!important}.wardrobe-visual .workshop-controls:has(.wardrobe-choice-grid){overflow:hidden;gap:5px}.wardrobe-visual .wardrobe-choice-grid{order:2;flex:1;min-height:80px;overflow-y:auto;align-content:start;overscroll-behavior:contain}.wardrobe-visual .wardrobe-selected{order:3;margin:0;padding:7px 10px;max-height:42%;overflow-y:auto}.wardrobe-visual .wardrobe-selected h3{margin:0!important}.wardrobe-visual .wardrobe-selected-state{margin:3px 0!important}.wardrobe-visual .material-recipe-cost{margin:3px 0!important;font-size:12px!important}.wardrobe-visual .wardrobe-selected-actions{margin:4px 0 0}.wardrobe-visual .wardrobe-recipe-details{margin:0}.wardrobe-visual .wardrobe-recipe-details summary,.wardrobe-visual .workshop-more summary{padding:4px 0;min-height:20px;font-size:11px}@media(max-width:600px)and (orientation:portrait){.wardrobe-visual .workshop-preview{min-height:112px;max-height:125px;grid-template-columns:100px minmax(0,1fr)}.wardrobe-visual .workshop-preview>svg{width:100px;height:125px}.wardrobe-visual .workshop-preview-caption>p{margin:2px 0!important}.wardrobe-visual .workshop-controls>nav{margin:0 0 3px}.wardrobe-visual .wardrobe-selected{max-height:40%;padding:6px 8px}.wardrobe-visual .wardrobe-choice>svg{height:88px}.wardrobe-visual .wardrobe-selected h3{font-size:15px!important}.wardrobe-visual .workshop-more summary{min-height:16px;padding:1px 0}}@media(max-height:450px)and (orientation:landscape){.wardrobe-visual .wardrobe-selected{max-height:45%;padding:5px 8px}.wardrobe-visual .wardrobe-selected-state{display:none}.wardrobe-visual .wardrobe-selected h3{font-size:13px!important}.wardrobe-visual .wardrobe-selected-actions button{min-height:36px!important}.wardrobe-visual .wardrobe-choice>svg{height:65px}.wardrobe-visual .workshop-controls:has(.wardrobe-choice-grid){overflow-y:auto}.wardrobe-visual .wardrobe-choice-grid{flex:none;height:130px}.wardrobe-visual .wardrobe-selected{max-height:none}}.wardrobe-visual .wardrobe-choice-grid{grid-auto-rows:154px}.wardrobe-visual .wardrobe-choice{height:154px;box-sizing:border-box;overflow:hidden}.wardrobe-visual .wardrobe-choice>svg{flex:none;min-height:88px;height:100px}.wardrobe-visual .wardrobe-choice>strong,.wardrobe-visual .wardrobe-choice>small{flex:none}@media(max-width:600px)and (orientation:portrait){.wardrobe-visual .wardrobe-choice-grid{grid-auto-rows:130px}.wardrobe-visual .wardrobe-choice{height:130px}.wardrobe-visual .wardrobe-choice>svg{height:82px;min-height:82px}.wardrobe-visual .wardrobe-choice>small{font-size:10px!important}}@media(max-height:450px)and (orientation:landscape){.wardrobe-visual .wardrobe-choice-grid{grid-auto-rows:122px}.wardrobe-visual .wardrobe-choice{height:122px}.wardrobe-visual .wardrobe-choice>svg{height:72px;min-height:72px}.wardrobe-visual .wardrobe-selected{flex:none}}.wardrobe-visual .wardrobe-selected-state{display:none}.wardrobe-visual .wardrobe-choice>small{font-size:10px!important}.wardrobe-visual .wardrobe-choice{display:grid!important;grid-template-rows:minmax(0,1fr) auto auto;align-content:stretch;justify-items:center;gap:2px!important}.wardrobe-visual .wardrobe-choice>svg{height:100%!important;min-height:0!important;max-height:100%;align-self:stretch}.wardrobe-visual .wardrobe-choice>strong,.wardrobe-visual .wardrobe-choice>small{margin:0!important;padding:0!important;line-height:1.35!important}.wardrobe-visual .wardrobe-choice-grid{min-height:140px}@media(max-height:450px)and (orientation:landscape){.wardrobe-visual .wardrobe-choice-grid{min-height:130px}}.outfit-effects{display:grid;gap:3px;text-align:left;margin:6px 0;width:100%;box-sizing:border-box}.material-workshop .outfit-effect{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:4px;background:#e8ebd7;border-radius:5px;padding:4px 6px;min-height:22px;box-sizing:border-box;color:#344a36;font-size:12px!important;line-height:1.4!important}.outfit-effect svg{width:17px!important;height:17px!important;min-height:0!important;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.material-workshop .outfit-effect strong{font-size:14px!important;white-space:nowrap}.outfit-effect.cost strong{color:#a32f32}.outfit-effect.gain strong{color:#22683e}.material-workshop .outfit-effect small{font-size:10px!important;white-space:nowrap;margin-left:3px}.wardrobe-visual .workshop-preview-caption{max-width:320px}.material-workshop .outfit-help{text-align:left;font-size:11px;line-height:1.4}.outfit-help summary{min-height:24px;cursor:pointer}.material-workshop .outfit-help p{font-size:11px!important;margin:3px 0!important}.wardrobe-selected>.outfit-effects{grid-template-columns:1fr 1fr;margin:4px 0}.wardrobe-selected>.outfit-effects .outfit-effect{font-size:11px!important;padding:2px 4px}.wardrobe-selected>.outfit-effects .outfit-effect strong{font-size:12px!important}.wardrobe-visual .workshop-main-tabs{flex-wrap:nowrap;gap:4px}.wardrobe-visual .workshop-main-tabs button{flex:1;min-width:0;font-size:13px!important;padding:6px!important}.material-workshop .outfit-plans{order:2;display:grid;gap:10px}.material-workshop .outfit-plan-note{font-size:12px!important;margin:1px 0!important;line-height:1.5!important}.material-workshop .outfit-plan{border:1px solid #a5af85;border-radius:9px;background:#efeed9;padding:8px;min-width:0}.material-workshop .outfit-plan>header{display:flex;align-items:center;margin-bottom:4px;gap:6px}.outfit-plan header span{font-size:12px;white-space:nowrap}.material-workshop .outfit-plan-preview{width:100%;display:grid;grid-template-columns:75px minmax(0,1fr);align-items:center;gap:8px;padding:4px!important;min-height:102px;background:#e2e7c7!important}.outfit-plan-preview>svg{width:75px;height:95px}.outfit-plan-preview .outfit-effects{pointer-events:none}.outfit-plan-actions{display:flex;gap:5px;margin-top:6px}.material-workshop .outfit-plan-actions button{flex:1;min-width:0;font-size:12px!important;padding:5px!important;white-space:normal}.outfit-plan-parts summary{padding:5px 0;font-size:12px;cursor:pointer;min-height:24px}.outfit-plan-parts>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}.outfit-plan-parts>div>div{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;font-size:11px;gap:3px}.outfit-plan-parts svg{width:40px;height:44px}.outfit-plan-parts small{grid-column:2;font-size:10px!important;color:#875130}.outfit-empty-piece{text-align:center}.outfit-plan-parts .unowned{opacity:.8}.outfit-empty{display:flex;align-items:center;gap:10px;min-height:58px;border:1px dashed #a8b58b;border-radius:6px;padding:7px;box-sizing:border-box}.outfit-empty>span{font-size:30px}.outfit-empty>p{font-size:12px!important}@media(max-width:600px)and (orientation:portrait){.wardrobe-visual .workshop-preview{max-height:160px;min-height:138px;grid-template-columns:100px minmax(0,1fr)}.wardrobe-visual .workshop-preview-caption>.outfit-effects{margin:3px 0}.wardrobe-visual .workshop-preview-caption>strong{font-size:12px!important}.wardrobe-visual .workshop-preview-caption>button{min-height:32px!important;font-size:11px!important;padding:3px!important}.material-workshop .outfit-effect{font-size:10px!important;grid-template-columns:14px minmax(0,1fr) auto;padding:2px 3px}.outfit-effect svg{width:14px!important;height:14px!important}.material-workshop .outfit-effect strong{font-size:12px!important}.material-workshop .outfit-effect small{grid-column:2/4;text-align:right;font-size:9px!important;line-height:1}.wardrobe-visual .workshop-main-tabs button{font-size:11px!important}.wardrobe-selected>.outfit-effects{gap:3px}.wardrobe-selected>.outfit-effects .outfit-effect{grid-template-columns:minmax(0,1fr) auto;font-size:10px!important}.wardrobe-selected>.outfit-effects svg{display:none}.wardrobe-visual .wardrobe-selected{max-height:46%}.outfit-help summary{font-size:10px;min-height:20px}.material-workshop .outfit-plan-preview{grid-template-columns:65px minmax(0,1fr)}.outfit-plan-preview>svg{width:65px;height:84px}}@media(max-height:450px)and (orientation:landscape){.material-workshop .outfit-effects{margin:2px 0;gap:1px}.material-workshop .outfit-effect{font-size:10px!important;min-height:18px;padding:1px 4px}.material-workshop .outfit-effect strong{font-size:11px!important}.wardrobe-visual .workshop-preview-caption{padding-bottom:4px}}.wardrobe-selected-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.material-workshop .wardrobe-selected-heading>button{flex:none;font-size:10px!important;min-height:28px!important;padding:3px 6px!important}.wardrobe-selected-heading h3{min-width:0}.wardrobe-visual .workshop-controls:not(:has(.wardrobe-choice-grid))>.workshop-main-tabs{position:sticky;top:0;z-index:3;background:#e7e5cb;padding-bottom:5px;flex:none}@media(max-width:600px)and (orientation:portrait){.first-wardrobe-guide{grid-template-columns:1fr;grid-template-rows:minmax(140px,35%) minmax(0,1fr);gap:10px;height:calc(100% - 45px)}.guide-look svg{height:calc(100% - 20px);min-height:90px}.guide-look>small{font-size:11px}.guide-steps{align-self:stretch;gap:7px;padding:0 2px 6px;min-height:0}.guide-steps h3{font-size:21px;margin:0}.guide-steps p{font-size:14px;line-height:1.45}.guide-steps button{min-height:42px!important}.guide-steps button.guide-primary{font-size:16px}}.material-workshop .outfit-effect .outfit-delta.gain{color:#22683e!important;font-weight:700}.material-workshop .outfit-effect .outfit-delta.cost{color:#a32f32!important;font-weight:700}.workshop-bag-tabs{display:flex;gap:6px;flex:none;margin:3px 0 5px}.material-workshop .workshop-bag-tabs button{flex:1;min-height:36px;font-size:12px!important}.workshop-empty-category{border:1px dashed #9eaa7e;background:#e9ebd4;border-radius:10px;padding:15px;line-height:1.6}.material-workshop .workshop-empty-category p{font-size:13px!important}.workshop-empty-category button{width:100%}.workshop-look-actions{display:flex;gap:6px;flex:none}.workshop-look-actions button{flex:1;font-size:12px!important;min-height:38px}.wardrobe-visual .workshop-bag-tabs button[aria-pressed=true]{filter:brightness(1.18);box-shadow:inset 0 -3px #99ae6b!important}.wardrobe-visual .workshop-bag-tabs{order:1}.wardrobe-visual .workshop-slot-tabs{order:2}.wardrobe-visual .wardrobe-choice-grid{order:3}.wardrobe-visual .wardrobe-selected{order:4}.wardrobe-visual .workshop-empty-category{order:3}.wardrobe-visual .workshop-look-actions{order:5}.wardrobe-visual .workshop-more{order:6}.wardrobe-visual .workshop-status{order:7}.wardrobe-visual .wardrobe-choice-grid:empty{display:none}.wardrobe-visual .workshop-empty-category{margin-top:4px;flex:none}.light-home{box-sizing:border-box;min-height:100%;width:100%;background-size:cover;background-position:center;display:flex;gap:32px;align-items:center;padding:clamp(24px,5vw,70px);color:#f4efd9;font-family:inherit;position:relative;overflow:auto}.light-home-copy{max-width:580px;flex:1}.light-kicker{font-size:12px;letter-spacing:.16em;color:#d3d9b3}.light-home h1{font-size:clamp(30px,4.3vw,58px);line-height:1.2;margin:18px 0 22px;color:#f5edd3}.light-home-story{font-size:clamp(15px,1.4vw,20px);line-height:1.9}.light-home-facts{font-size:14px;letter-spacing:.03em;color:#e5d997}.light-home-actions{display:flex;flex-wrap:wrap;gap:10px;max-width:540px;margin:24px 0 18px}.light-home button{font:inherit;font-size:14px;min-height:44px;border:1px solid #9ba580;border-radius:9px;background:#233e2add;color:#f6efd9;padding:10px 16px;cursor:pointer}.light-home button:hover,.light-home button[aria-pressed=true]{background:#63774c}.light-home button:focus-visible{outline:3px solid #f2d77d;outline-offset:3px}.light-home .light-primary{background:#d9c574;color:#243521;border-color:#ebdda0;font-weight:700}.light-sample-boundary{font-size:12px;line-height:1.9;color:#e1dfcd;max-width:490px}.light-save{font-size:11px;color:#cbd9bf;line-height:1.7}.light-guide{max-width:620px;width:49%;max-height:82vh;overflow:auto;padding:24px;background:#182c20ed;border:1px solid #849674;border-radius:16px;box-sizing:border-box}.light-guide h2{font-size:22px;margin:0 0 18px;color:#f5edd3}.light-guide-roster{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.light-guide-roster button{padding:5px 3px;font-size:11px;display:flex;align-items:center;flex-direction:column;gap:4px;min-width:0}.light-guide-roster img{width:45px;height:45px;object-fit:contain}.light-guide-detail{display:flex;align-items:center;gap:12px;font-size:13px;line-height:1.7;margin:18px 0}.light-guide-detail>img{width:110px;height:135px;object-fit:contain}.light-guide small{display:block;line-height:1.8;margin-bottom:15px}.light-credits{position:absolute;bottom:8px;right:18px;text-align:right;font-size:9px;color:#d6dfc5;line-height:1.6;pointer-events:none}.light-result-story{margin:12px 0;padding:12px 16px;background:#e2e7c8;border-radius:8px;color:#29402c}.light-result-story p{font-size:14px;margin:0 0 7px;line-height:1.7}.light-result-story small{display:block;font-size:12px;line-height:1.65}.light-intel{position:absolute;top:48px;left:16px;z-index:90;max-width:min(500px,calc(100% - 32px));background:#eff0dbef;border:1px solid #7b8d68;border-radius:12px;color:#243722;padding:16px;font-size:13px;box-shadow:0 8px 24px #14271255}.light-intel h2{font-size:18px;margin:0 0 10px}.light-intel p{line-height:1.7;margin:6px 0}.light-intel button{min-height:38px}.light-intel-open{position:absolute;top:12px;left:162px;z-index:45;min-height:32px;font-size:12px;background:#e5dfbc;border:1px solid #7f8c60;border-radius:8px;padding:4px 12px;color:#263e29}.light-intel img{width:30px;height:30px;object-fit:contain;vertical-align:middle;margin-right:4px}.light-intel-enemies{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}.light-intel-enemies span{white-space:nowrap;font-size:11px}.light-intel small{display:block;line-height:1.6}.light-test-label{font-size:10px;opacity:.85}@media(max-width:750px){.light-home{display:block;padding:30px 22px 72px}.light-home-copy{max-width:100%}.light-guide{width:100%;max-width:none;margin-top:22px;max-height:none}.light-home h1{font-size:34px}.light-credits{position:static;margin-top:32px;text-align:left}.light-guide-detail>img{width:85px}.light-guide-roster{grid-template-columns:repeat(5,1fr)}}@media(orientation:landscape)and (max-height:470px){.light-home{padding:24px 32px 50px;align-items:flex-start}.light-home h1{font-size:30px;margin:7px 0 10px}.light-home-story{font-size:13px;line-height:1.6}.light-home-actions{margin:12px 0;gap:7px}.light-home button{font-size:12px;min-height:38px;padding:7px 12px}.light-home-facts{font-size:12px}.light-guide{padding:16px;max-height:84vh}.light-sample-boundary{font-size:10px}.light-guide-detail{font-size:11px}.light-guide-detail>img{width:70px}.light-guide-roster img{width:33px;height:33px}.light-credits{font-size:8px}}.leaf-game-dialog .new-wave-overlay .light-result-story{background:#edf0d7!important;color:#263e29!important;text-shadow:none;opacity:1}.leaf-game-dialog .new-wave-overlay .light-result-story p,.leaf-game-dialog .new-wave-overlay .light-result-story small{color:#263e29!important;opacity:1!important;text-shadow:none!important}.leaf-game-dialog .new-wave-overlay .light-result-story small{font-size:12px!important;line-height:1.7!important}.light-learn ol{padding-left:22px;font-size:14px;line-height:1.85}.light-learn li{margin-bottom:12px}.light-learn p{font-size:14px;line-height:1.8}.leaf-game-dialog .leaf-landscape .new-wave-overlay .light-result-story p{font-size:14px!important}.light-loading{min-height:100dvh;background:#203b2a;color:#f3ecd3;display:grid;place-items:center;padding:30px;box-sizing:border-box;font-family:system-ui,sans-serif}.light-loading section{width:100%;max-width:480px}.light-loading h1{font-size:27px;line-height:1.4}.light-loading p{font-size:14px;line-height:1.9}.light-loading span{font-size:12px;letter-spacing:.2em;color:#d2d8b3}.light-loading progress{display:block;width:100%;height:10px;accent-color:#b7c991;margin:25px 0 12px}.light-loading small{display:block;font-size:12px;line-height:1.8;color:#d2dac5;margin-top:24px}.light-loading button{padding:12px 18px;background:#ddd29a;border:0;border-radius:7px;color:#203b2a;min-height:44px;cursor:pointer}.light-scene-ready{position:absolute;inset:0;z-index:99999;background:#203b2a;color:#f3ecd3;display:grid;place-items:center;font-size:18px;pointer-events:all}@media(max-width:400px){.light-guide{padding:18px 16px}.light-guide-detail{display:block}.light-guide-detail>img{display:block;width:80px;height:100px;margin:0 auto 12px}.light-guide-detail p{line-height:1.85}}.light-scene-ready section{text-align:center}.light-scene-ready button{font:inherit;min-height:44px;border:1px solid #b2be90;background:#314c37;color:#f3ecd3;border-radius:8px;padding:8px 15px;font-size:13px}.leaf-journey-dialog{background:#243c30;overflow:hidden;color:#f1eedb;font-family:PingFang SC,Noto Sans SC,Microsoft YaHei,sans-serif}.journey-shell{height:100%;position:relative;overflow:hidden;isolation:isolate;box-sizing:border-box;background:#263e30;color:#f3eedc}.journey-shell *{box-sizing:border-box}.journey-shell button{font:inherit;cursor:pointer;transition:background .16s,transform .16s,box-shadow .16s}.journey-shell button:disabled{cursor:default}.journey-shell button:focus-visible{outline:3px solid #eac97b;outline-offset:3px}.journey-land,.journey-shade{position:absolute;inset:0;z-index:-2}.journey-land svg{width:100%;height:100%;object-fit:cover;opacity:.83}.journey-shade{z-index:-1;background:linear-gradient(90deg,#18392cd9,#193b2cb0 52%,#18372ee8),linear-gradient(0deg,#102a2ce0,transparent 70%)}.journey-kicker{font-size:10px;letter-spacing:.21em;color:#d3c495;font-weight:600;margin:0 0 10px}.journey-welcome{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;position:relative}.journey-welcome h1{font-size:clamp(40px,8vw,78px);font-weight:650;letter-spacing:.16em;margin:0;text-shadow:0 3px 22px #122a21a0;line-height:1.22}.journey-tagline{font-size:13px;letter-spacing:.12em;color:#d9e0c4;margin:14px 0 25px}.journey-welcome .journey-primary{min-width:220px;justify-content:center;gap:35px}.journey-facts{font-size:11px;color:#d0d8b7;letter-spacing:.09em;margin:17px 0}.journey-facts b{padding:0 12px;color:#c5b77b}.journey-local{font-size:9px;color:#adc2a8;position:absolute;bottom:14px}.journey-motes{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.journey-motes i{position:absolute;bottom:-20px;width:5px;height:9px;border-radius:100% 0;background:#d4d599;opacity:0;animation:journey-leaf 16s linear infinite}@keyframes journey-leaf{0%{opacity:0;transform:translate(0) rotate(0)}15%,75%{opacity:.28}to{opacity:0;transform:translate(80px,-500px) rotate(220deg)}}.journey-header{height:65px;margin:0 26px;display:flex;align-items:center;gap:24px;border-bottom:1px solid #bdcb9630}.journey-header>span{font-size:11px;color:#bacab2;letter-spacing:.12em;flex:1}.journey-wordmark{background:none;border:0;color:#f6edcd;font-size:21px!important;font-weight:600!important;letter-spacing:.1em;padding:0;display:flex;align-items:center;gap:12px}.journey-wordmark small{font-size:8px;letter-spacing:.15em;max-width:70px;line-height:1.5;color:#b8c5a6;text-align:left}.journey-sound{width:44px;height:44px;border:1px solid #bfd0a84a;border-radius:50%;background:#64836830;color:#e3e7c9;display:grid;place-items:center}.journey-sound svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.journey-hub{height:calc(100% - 65px);display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:35px;max-width:1000px;padding:24px 48px;margin:auto}.journey-story{height:100%;position:relative;padding-top:8px;overflow:hidden}.journey-story h1{font-size:clamp(28px,4vw,44px);line-height:1.25;letter-spacing:.08em;font-weight:600;margin:0 0 15px}.journey-story>p:not(.journey-kicker){font-size:11px;line-height:1.9;color:#cad9bd;margin:0}.journey-cast{display:flex;align-items:flex-end;justify-content:flex-end;position:absolute;right:0;bottom:-12px;pointer-events:none}.journey-cast img{width:110px;height:125px;object-fit:contain;filter:drop-shadow(0 5px 5px #122c2940)}.journey-cast img:nth-child(2){width:140px;height:158px;margin:0 -32px;z-index:1}.journey-nav{display:flex;flex-direction:column;gap:9px}.journey-nav>button:not(.journey-text-button),.journey-primary{display:flex;justify-content:space-between;align-items:center;border:1px solid #bac9984a;border-radius:16px;background:linear-gradient(115deg,#5b775463,#405c4740);padding:12px 18px;color:#f0eed9;min-height:60px;text-align:left;font-size:16px;letter-spacing:.04em;box-shadow:0 4px 16px #0c281c1a}.journey-nav button small{display:block;font-size:9px;letter-spacing:.06em;color:#bfd0b3;margin-top:4px;line-height:1.5}.journey-nav button b{font-size:22px;font-weight:400;color:#cad7af}.journey-nav .journey-primary,.journey-primary{background:linear-gradient(120deg,#d4c58a,#b6bb79);border-color:#e5d6a3;color:#263d2f;box-shadow:0 6px 22px #102a2140;font-weight:600}.journey-nav .journey-primary small{color:#4e6445}.journey-nav .journey-primary b{color:#36513b}.journey-nav>button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 18px #102a2140}.journey-text-button{background:none;border:0;color:#bdcdb2;font-size:10px!important;min-height:32px;text-align:left;padding:4px 2px}.journey-save-note{font-size:8px;line-height:1.7;color:#9fb699;margin:0;max-width:330px}.journey-select,.journey-guide{height:calc(100% - 65px);padding:18px 26px 12px;display:flex;flex-direction:column;gap:14px;max-width:1300px;margin:auto}.journey-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-shrink:0}.journey-section-head h1{font-size:21px;letter-spacing:.06em;font-weight:550;margin:0}.journey-section-head .journey-kicker{font-size:8px;margin-bottom:5px}.journey-back{min-height:44px;background:#536f4f50;border:1px solid #baca9b4f;border-radius:12px;color:#e4e7cf;padding:8px 14px;font-size:10px!important;white-space:nowrap}.journey-maps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;flex:1;min-height:0}.journey-map{display:flex;flex-direction:column;background:#385640b8;border:1px solid #b6c18c55;border-radius:18px;overflow:hidden;min-height:0;box-shadow:0 6px 18px #152d2333}.journey-map-cover{height:clamp(65px,15vh,125px);position:relative;overflow:hidden;flex:1;min-height:55px;background:#9ab877}.journey-map-cover svg{width:100%;height:100%;object-fit:cover}.journey-map-number{position:absolute;left:10px;top:8px;font-size:10px;color:#fff3c5;background:#294934b3;padding:3px 7px;border-radius:6px;letter-spacing:.1em}.journey-map-state{position:absolute;right:8px;top:8px;font-size:8px;color:#ebedcf;background:#294934b3;padding:4px 6px;border-radius:6px}.journey-map-heading{display:flex;justify-content:space-between;align-items:center;padding:9px 12px 5px;gap:8px}.journey-map-heading h2{font-size:14px;font-weight:600;margin:0;white-space:nowrap}.journey-map-heading>span{font-size:8px;color:#bfccaa;white-space:nowrap}.journey-wave-nodes{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:4px 9px 10px}.journey-wave-nodes button{min-height:45px;border:1px solid #aabb8540;border-radius:10px;background:#abc18c20;color:#eef0d8;padding:3px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.journey-wave-nodes button span{font-size:15px;font-weight:600}.journey-wave-nodes button small{font-size:8px;color:#c3d5af;line-height:1}.journey-wave-nodes button:disabled{opacity:.37;background:#273f32;border-color:transparent}.journey-wave-nodes button.is-current{background:#c5c789;color:#264832;border-color:#e1d49e}.journey-wave-nodes button.is-current small{color:#36563c}.journey-wave-nodes button.is-cleared{border-color:#aabd7b80}.journey-map.is-locked .journey-map-cover{filter:saturate(.55);opacity:.7}.journey-selection-note{font-size:9px;color:#b5c8aa;margin:0;line-height:1.7;flex-shrink:0}.journey-guide-body{display:grid;grid-template-columns:210px 1fr;gap:20px;flex:1;min-height:0}.journey-guard-roster{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(5,minmax(44px,1fr));gap:5px;overflow:auto}.journey-guard-roster button{border:1px solid #bacc9733;border-radius:10px;background:#486a4744;color:#dce4c7;display:flex;align-items:center;padding:3px 6px;gap:4px;font-size:10px}.journey-guard-roster button[aria-pressed=true]{background:#bfca9140;border-color:#d8cb8e}.journey-guard-roster img{height:38px;width:35px;object-fit:contain}.journey-guard-detail{display:grid;grid-template-columns:130px 1fr;gap:16px;align-items:center;padding:16px 20px;background:#34553ec9;border:1px solid #b6c79344;border-radius:19px;overflow:auto}.journey-guard-portrait{width:130px;height:170px;object-fit:contain;filter:drop-shadow(0 8px 10px #19352977)}.journey-guard-copy h2{font-size:27px;font-weight:550;letter-spacing:.08em;margin:0 0 8px}.journey-guard-copy>p:not(.journey-kicker){font-size:11px;color:#d0ddc0;line-height:1.7;margin:0 0 10px}.journey-guard-copy .journey-kicker{font-size:8px;margin-bottom:7px}.journey-stat-row{display:flex;gap:14px;flex-wrap:wrap;padding:9px 0;border-top:1px solid #bbcd9d26;border-bottom:1px solid #bbcd9d26;color:#b7caab;font-size:9px}.journey-stat-row b{font-weight:500;color:#e4dfb9;margin-left:3px}.journey-branches{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:13px}.journey-branches small{font-size:8px;color:#c7c48f}.journey-branches h3{font-size:12px;font-weight:550;margin:4px 0}.journey-branches p{font-size:9px;line-height:1.7;color:#c7d3b7;margin:0}.journey-confirm{position:absolute;z-index:80;left:50%;top:50%;transform:translate(-50%,-50%);width:min(450px,calc(100% - 40px));padding:27px;border-radius:21px;background:#314f3b;color:#eee9d1;border:1px solid #bdc28e88;box-shadow:0 0 0 100vmax #10261fbc,0 12px 50px #0d261b80}.journey-confirm h2{font-size:23px;margin:8px 0 13px}.journey-confirm p{font-size:12px;line-height:1.8;color:#c5d2b5}.journey-confirm>div{display:flex;gap:8px;margin-top:22px}.journey-confirm button{min-height:44px;font:inherit;font-size:11px;border:1px solid #bac68b66;border-radius:12px;padding:8px 13px;background:#526c4660;color:#e7e6cb;cursor:pointer}.journey-confirm .journey-primary{background:#c5c38b;color:#2a4934;box-shadow:none}@media(max-height:340px)and (min-width:600px){.journey-header{height:48px;margin:0 18px}.journey-wordmark{font-size:17px!important}.journey-header>span{font-size:10px}.journey-hub{height:calc(100% - 48px);padding:12px 35px;gap:35px}.journey-story h1{font-size:28px;margin-bottom:8px}.journey-story .journey-kicker{font-size:8px;margin-bottom:7px}.journey-story>p:not(.journey-kicker){font-size:9px}.journey-cast{right:0;bottom:-20px;opacity:.9}.journey-cast img{width:80px;height:90px}.journey-cast img:nth-child(2){width:95px;height:108px}.journey-nav{gap:5px}.journey-nav>button:not(.journey-text-button){min-height:43px;padding:7px 13px;font-size:13px;border-radius:12px}.journey-nav button small{font-size:8px;margin-top:1px}.journey-text-button{min-height:25px}.journey-save-note{display:none}.journey-select,.journey-guide{height:calc(100% - 48px);padding:8px 18px;gap:7px}.journey-section-head h1{font-size:16px}.journey-section-head .journey-kicker{display:none}.journey-back{min-height:35px;padding:5px 12px}.journey-maps{gap:10px}.journey-map-cover{min-height:30px}.journey-map-heading{padding:5px 9px 1px}.journey-map-heading h2{font-size:12px}.journey-wave-nodes{padding:3px 7px 6px}.journey-wave-nodes button{min-height:40px}.journey-selection-note{font-size:8px}.journey-guide-body{grid-template-columns:180px 1fr;gap:12px}.journey-guard-roster{grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,1fr)}.journey-guard-roster button{display:flex;flex-direction:column;justify-content:center;font-size:8px;padding:2px;gap:0}.journey-guard-roster img{width:27px;height:30px}.journey-guard-detail{grid-template-columns:90px 1fr;padding:9px 14px;gap:8px}.journey-guard-portrait{width:90px;height:120px}.journey-guard-copy h2{font-size:20px;margin-bottom:4px}.journey-guard-copy>.journey-kicker{display:none}.journey-guard-copy>p:not(.journey-kicker){font-size:9px;margin-bottom:5px}.journey-stat-row{padding:5px 0;gap:8px;font-size:8px}.journey-branches{margin-top:5px;gap:10px}.journey-branches h3{font-size:10px}.journey-branches p{font-size:8px}.journey-welcome h1{font-size:43px}.journey-tagline{margin:9px 0 17px;font-size:11px}.journey-welcome .journey-primary{min-height:45px;padding:9px 15px;font-size:13px}.journey-facts{margin:12px 0;font-size:9px}.journey-local{bottom:8px;font-size:8px}}@media(max-width:600px){.journey-header{margin:0 16px;height:62px;gap:12px}.journey-header>span{display:none}.journey-wordmark{flex:1;font-size:20px!important}.journey-hub{height:calc(100% - 62px);display:flex;flex-direction:column;gap:18px;padding:26px 24px;overflow:auto;align-items:stretch}.journey-story{height:240px;flex-shrink:0}.journey-story h1{font-size:36px}.journey-cast{right:0}.journey-nav{padding-bottom:15px}.journey-select,.journey-guide{height:calc(100% - 62px);padding:18px 16px;overflow:auto}.journey-section-head{align-items:flex-start}.journey-section-head h1{font-size:19px;line-height:1.5}.journey-section-head .journey-kicker{font-size:7px}.journey-back{font-size:9px!important;padding:6px 10px;min-height:38px}.journey-maps{display:flex;flex-direction:column;flex:0;gap:14px}.journey-map{min-height:210px;flex-shrink:0}.journey-map-cover{min-height:100px}.journey-map-heading{padding:9px 12px 4px}.journey-wave-nodes button{min-height:48px}.journey-selection-note{font-size:9px;margin-top:4px}.journey-guide-body{display:flex;flex-direction:column;flex:none;gap:14px}.journey-guard-roster{display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,65px);overflow:visible;flex-shrink:0}.journey-guard-roster button{display:flex;flex-direction:column;font-size:9px;justify-content:center;gap:0}.journey-guard-roster img{height:39px;width:38px}.journey-guard-detail{grid-template-columns:90px 1fr;padding:15px 12px;gap:9px;overflow:visible}.journey-guard-portrait{width:90px;height:150px}.journey-guard-copy h2{font-size:23px}.journey-stat-row{gap:6px;font-size:8px}.journey-branches{display:block;margin-top:10px}.journey-branches section+section{margin-top:10px}.journey-guard-copy>p:not(.journey-kicker){font-size:10px}.journey-confirm{padding:22px}.journey-confirm h2{font-size:21px}.journey-confirm>div{flex-direction:column}}@media(prefers-reduced-motion:reduce){.journey-motes{display:none}.journey-shell button{transition:none}}.journey-land .native-cover,.journey-map-cover .native-cover{height:100%;top:0}.journey-nav>button.journey-primary{background:linear-gradient(120deg,#d4c58a,#b6bb79);border-color:#e5d6a3;color:#263d2f}.journey-nav>button.journey-primary small{color:#4e6445}.journey-nav>button.journey-primary b{color:#36513b}@media(min-width:601px)and (max-height:450px){.journey-guide-body{grid-template-columns:230px 1fr;gap:14px}.journey-guard-roster{grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,minmax(44px,1fr));gap:4px}.journey-guard-roster button{flex-direction:column;justify-content:center;font-size:8px;padding:3px;gap:1px}.journey-guard-roster img{width:36px;height:43px}.journey-guard-detail{grid-template-columns:95px 1fr;padding:12px;gap:10px}.journey-guard-portrait{width:95px;height:125px}.journey-guard-copy h2{font-size:23px;margin-bottom:5px}.journey-guard-copy .journey-kicker{display:none}.journey-guard-copy>p:not(.journey-kicker){font-size:10px;margin-bottom:7px}.journey-stat-row{font-size:8px;padding:7px 0;gap:8px}.journey-branches{gap:10px;margin-top:8px}.journey-branches h3{font-size:11px;margin:3px 0}.journey-branches p{font-size:8px;line-height:1.55}}@media(min-width:601px)and (max-height:280px){.journey-guide-body{grid-template-columns:180px 1fr;gap:12px}.journey-guard-detail{grid-template-columns:80px 1fr;padding:8px 12px;gap:10px}.journey-guard-portrait{width:80px;height:100px}.journey-guard-copy h2{font-size:18px;margin-bottom:3px}.journey-guard-copy>p:not(.journey-kicker){font-size:8px;margin-bottom:4px}.journey-stat-row{font-size:7px;padding:4px 0}.journey-branches{margin-top:4px}.journey-branches small{font-size:7px}.journey-branches h3{font-size:9px;margin:2px 0}.journey-branches p{font-size:7px;line-height:1.4}.journey-guard-roster img{width:27px;height:30px}}.journey-guard-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.journey-detail-tabs{display:none}@media(min-width:601px)and (max-height:280px){.journey-detail-tabs{display:flex;gap:3px}.journey-detail-tabs button{min-height:30px;padding:4px 9px;border:1px solid #b8c89644;border-radius:8px;background:#66835533;color:#c8d7b9;font-size:10px}.journey-detail-tabs button[aria-pressed=true]{background:#bbc68d;color:#2c4833}.journey-guard-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:center}.journey-guard-title h2{font-size:19px;margin:0}.journey-guard-copy.guard-tab-about .journey-branches,.journey-guard-copy.guard-tab-branches .journey-guard-role,.journey-guard-copy.guard-tab-branches .journey-stat-row{display:none}.journey-guard-copy>.journey-guard-role{font-size:11px!important;margin:8px 0!important}.journey-guard-copy .journey-stat-row{font-size:9px;padding:6px 0}.journey-guard-copy .journey-branches{margin-top:8px;gap:18px}.journey-guard-copy .journey-branches small{font-size:8px}.journey-guard-copy .journey-branches h3{font-size:12px;margin:3px 0}.journey-guard-copy .journey-branches p{font-size:10px;line-height:1.5}}.journey-confirm-scrim{position:absolute;inset:0;background:#10261f9e;z-index:79}.journey-confirm{box-shadow:0 12px 50px #0d261b80}@media(min-width:601px)and (max-height:450px){.journey-guide-body{grid-template-columns:240px 1fr}.journey-guard-roster button{min-width:44px;min-height:44px}}.journey-save-note{font-size:9px;color:#b6c6ab}.journey-save-error{color:#efc795!important;padding:7px 9px;border:1px solid #d4b16c66;border-radius:9px;background:#8a633433;font-size:11px!important}@media(min-width:601px){.journey-select{justify-content:center}.journey-maps{flex:0 0 auto}.journey-map-cover{aspect-ratio:1400/680;height:auto;min-height:0;max-height:210px;flex:0 0 auto}}.journey-compact .journey-header{height:48px;margin:0 18px}.journey-compact .journey-wordmark{font-size:17px!important}.journey-compact .journey-header>span{font-size:10px}.journey-compact .journey-hub{height:calc(100% - 48px);padding:12px 35px;gap:35px}.journey-compact .journey-story h1{font-size:28px;margin-bottom:8px}.journey-compact .journey-story .journey-kicker{font-size:8px;margin-bottom:7px}.journey-compact .journey-story>p:not(.journey-kicker){font-size:9px}.journey-compact .journey-cast{right:0;bottom:-20px;opacity:.9}.journey-compact .journey-nav{gap:5px}.journey-compact .journey-nav>button:not(.journey-text-button){min-height:43px;padding:7px 13px;font-size:13px;border-radius:12px}.journey-compact .journey-nav button small{font-size:8px;margin-top:1px}.journey-compact .journey-text-button{min-height:25px}.journey-compact .journey-save-note{display:none}.journey-compact .journey-select,.journey-compact .journey-guide{height:calc(100% - 48px);padding:8px 18px;gap:7px}.journey-compact .journey-section-head h1{font-size:16px}.journey-compact .journey-section-head .journey-kicker{display:none}.journey-compact .journey-back{min-height:35px;padding:5px 12px}.journey-compact .journey-maps{gap:10px}.journey-compact .journey-map-cover{min-height:30px}.journey-compact .journey-map-heading{padding:5px 9px 1px}.journey-compact .journey-map-heading h2{font-size:12px}.journey-compact .journey-wave-nodes{padding:3px 7px 6px}.journey-compact .journey-wave-nodes button{min-height:40px}.journey-compact .journey-selection-note{font-size:8px}.journey-compact .journey-guide-body{grid-template-columns:180px 1fr;gap:12px}.journey-compact .journey-guard-roster{grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(2,1fr)}.journey-compact .journey-guard-roster button{display:flex;flex-direction:column;justify-content:center;font-size:8px;padding:2px;gap:0}.journey-compact .journey-guard-roster img{width:27px;height:30px}.journey-compact .journey-guard-detail{grid-template-columns:90px 1fr;padding:9px 14px;gap:8px}.journey-compact .journey-guard-portrait{width:90px;height:120px}.journey-compact .journey-guard-copy h2{font-size:20px;margin-bottom:4px}.journey-compact .journey-guard-copy>.journey-kicker{display:none}.journey-compact .journey-guard-copy>p:not(.journey-kicker){font-size:9px;margin-bottom:5px}.journey-compact .journey-stat-row{padding:5px 0;gap:8px;font-size:8px}.journey-compact .journey-branches{margin-top:5px;gap:10px}.journey-compact .journey-branches h3{font-size:10px}.journey-compact .journey-branches p{font-size:8px}.journey-compact .journey-welcome h1{font-size:43px}.journey-compact .journey-tagline{margin:9px 0 17px;font-size:11px}.journey-compact .journey-welcome .journey-primary{min-height:45px;padding:9px 15px;font-size:13px}.journey-compact .journey-facts{margin:12px 0;font-size:9px}.journey-compact .journey-local{bottom:8px;font-size:8px}@media(min-width:601px){.journey-compact .journey-maps{flex:1;min-height:0}.journey-compact .journey-map-cover{height:auto;min-height:35px;aspect-ratio:auto;flex:1}.journey-compact .journey-map-heading{padding:6px 10px 3px}.journey-compact .journey-wave-nodes{padding:3px 8px 7px}.journey-compact .journey-wave-nodes button{min-height:40px}}.journey-compact .journey-guide-body{grid-template-columns:240px 1fr}.journey-tiny .journey-guide-body{grid-template-columns:180px 1fr;gap:12px}.journey-tiny .journey-guard-detail{grid-template-columns:80px 1fr;padding:8px 12px;gap:10px}.journey-tiny .journey-guard-portrait{width:80px;height:100px}.journey-tiny .journey-guard-copy h2{font-size:18px;margin-bottom:3px}.journey-tiny .journey-guard-copy>p:not(.journey-kicker){font-size:8px;margin-bottom:4px}.journey-tiny .journey-stat-row{font-size:7px;padding:4px 0}.journey-tiny .journey-branches{margin-top:4px}.journey-tiny .journey-branches small{font-size:7px}.journey-tiny .journey-branches h3{font-size:9px;margin:2px 0}.journey-tiny .journey-branches p{font-size:7px;line-height:1.4}.journey-tiny .journey-guard-roster img{width:27px;height:30px}.journey-tiny .journey-detail-tabs{display:flex;gap:3px}.journey-tiny .journey-detail-tabs button{min-height:30px;padding:4px 9px;border:1px solid #b8c89644;border-radius:8px;background:#66835533;color:#c8d7b9;font-size:10px}.journey-tiny .journey-detail-tabs button[aria-pressed=true]{background:#bbc68d;color:#2c4833}.journey-tiny .journey-guard-copy{align-self:stretch;display:flex;flex-direction:column;justify-content:center}.journey-tiny .journey-guard-title h2{font-size:19px;margin:0}.journey-tiny .journey-guard-copy.guard-tab-about .journey-branches,.journey-tiny .journey-guard-copy.guard-tab-branches .journey-guard-role,.journey-tiny .journey-guard-copy.guard-tab-branches .journey-stat-row{display:none}.journey-tiny .journey-guard-copy>.journey-guard-role{font-size:11px!important;margin:8px 0!important}.journey-tiny .journey-guard-copy .journey-stat-row{font-size:9px;padding:6px 0}.journey-tiny .journey-guard-copy .journey-branches{margin-top:8px;gap:18px}.journey-tiny .journey-guard-copy .journey-branches small{font-size:8px}.journey-tiny .journey-guard-copy .journey-branches h3{font-size:12px;margin:3px 0}.journey-tiny .journey-guard-copy .journey-branches p{font-size:10px;line-height:1.5}.journey-tiny .journey-guide-body{grid-template-columns:240px 1fr}.journey-tiny .journey-guard-roster button{min-width:44px;min-height:44px}@media(min-width:601px)and (min-height:451px){.journey-story{height:auto;align-self:center;overflow:visible}.journey-cast{position:relative;right:auto;bottom:auto;justify-content:flex-start;margin-top:28px}}@media(max-width:600px){.journey-story{height:auto;overflow:visible}.journey-cast{position:relative;right:auto;bottom:auto;justify-content:center;height:130px;margin-top:12px}.journey-cast img{width:90px;height:110px}.journey-cast img:nth-child(2){width:110px;height:130px;margin:0 -20px}.journey-maps{flex:0 0 auto}}.journey-local{left:18px;right:18px;line-height:1.6;max-width:560px;margin:auto}.journey-save-note,.journey-compact .journey-save-note{display:block}.journey-nav{max-height:100%;overflow-y:auto;padding:6px}@media(min-width:601px){.journey-story{display:flex;flex-direction:column;justify-content:center;overflow:visible;padding-top:0}.journey-cast{position:relative;right:auto;bottom:auto;justify-content:flex-start;flex:none;margin-top:20px}.journey-story>p,.journey-story>h1{flex:none}}@media(min-width:601px)and (max-height:450px){.journey-story h1{font-size:28px;margin-bottom:8px}.journey-story .journey-kicker{font-size:8px;margin-bottom:7px}.journey-story>p:not(.journey-kicker){font-size:9px}.journey-cast{margin-top:10px}.journey-cast img{width:80px;height:90px}.journey-cast img:nth-child(2){width:95px;height:108px}}.journey-compact .journey-story{height:100%;justify-content:center;overflow:visible;padding-top:0}.journey-compact .journey-cast{position:relative;right:auto;bottom:auto;margin-top:8px;justify-content:flex-start}.journey-compact .journey-cast img{width:80px;height:90px}.journey-compact .journey-cast img:nth-child(2){width:95px;height:108px}.journey-tiny .journey-story h1{font-size:21px;line-height:1.2;margin-bottom:4px}.journey-tiny .journey-story .journey-kicker{font-size:7px;margin-bottom:4px}.journey-tiny .journey-story>p:not(.journey-kicker){font-size:8.5px;line-height:1.7}.journey-tiny .journey-cast{margin-top:5px}.journey-tiny .journey-cast img{width:54px;height:56px}.journey-tiny .journey-cast img:nth-child(2){width:64px;height:68px;margin:0 -20px}.journey-music-credit{font-size:11px;color:#516344;margin:12px 20px;line-height:1.6}.journey-music-credit summary{cursor:pointer}.journey-music-credit a{color:#3f693b}.journey-music-credit{position:fixed;left:24px;bottom:7px;z-index:45;margin:0;color:#dce3c8;font-size:10px;max-width:min(300px,80vw)}.journey-music-credit summary{width:max-content;padding:3px 8px;background:#233f30e8;border:1px solid #beca9a44;border-radius:5px}.journey-music-credit[open]{padding:12px;background:#1f392bf5;border:1px solid #c6cf9b88;border-radius:9px;box-shadow:0 4px 18px #10271c55}.journey-music-credit[open] p{margin:8px 0;line-height:1.5}.journey-music-credit a{color:#e5d891}@media(min-width:601px){.journey-mode-select .journey-select,.journey-mode-select.journey-compact .journey-select{height:calc(100% - 65px);padding:12px 26px 30px;justify-content:flex-start;gap:8px;overflow:auto}.journey-mode-select .journey-section-head h1{font-size:17px}.journey-mode-select .journey-section-head .journey-kicker{display:none}.journey-mode-select .journey-maps{display:block;flex:1;min-height:0;width:100%}.journey-mode-select .journey-map{width:min(740px,100%);display:grid;grid-template-columns:36% 64%;grid-template-rows:40px 1fr;min-height:165px;max-height:220px;margin:auto}.journey-mode-select .journey-map-cover{grid-row:1/3;grid-column:1;height:100%;aspect-ratio:auto;max-height:none}.journey-mode-select .journey-map-heading{grid-column:2;grid-row:1;padding:8px 14px}.journey-mode-select .journey-wave-nodes{grid-column:2;grid-row:2;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,1fr);padding:0 12px 10px;gap:5px}.journey-mode-select .journey-wave-nodes button{min-height:44px}.journey-mode-select .journey-selection-note{max-width:740px;margin:auto;font-size:9px}.journey-mode-select .journey-header{height:65px}.journey-mode-select .journey-header .journey-wordmark{font-size:19px!important}}@media(max-width:600px){.journey-mode-select .journey-wave-nodes{grid-template-columns:repeat(6,1fr)}.journey-mode-select .journey-map{min-height:285px}}.journey-wave-nodes button span em{font-size:9px;font-style:normal;font-weight:400;margin-left:2px}.journey-map-heading>span{font-size:9px}.journey-mode-select .journey-maps{flex:0 0 auto}.journey-mode-select .journey-map+.journey-map{margin-top:14px}.journey-mode-select .journey-selection-note{margin:10px auto 20px}.journey-welcome .forest-title{position:relative;isolation:isolate;padding:10px 28px 14px;margin:0 -20px;font-family:STKaiti,Kaiti SC,KaiTi,Songti SC,serif;font-weight:600;letter-spacing:.12em;color:#e5e5ba;text-shadow:0 2px 0 #496044,0 4px 13px #102c23,1px 0 0 #e8e7c2}.forest-title>span{position:relative;z-index:1}.forest-title-vine{position:absolute;inset:-8% -4%;width:108%;height:116%;z-index:0;overflow:visible;pointer-events:none}.journey-welcome .forest-stone-button{position:relative;isolation:isolate;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;width:258px;min-width:0;height:76px;min-height:56px;padding:0!important;margin:0;color:#293e31;transition:filter .15s,transform .15s}.forest-stone-art{position:absolute;inset:0;width:100%;height:100%;z-index:-1;overflow:visible;pointer-events:none;filter:drop-shadow(0 5px 5px #10291e66)}.forest-stone-label{position:relative;display:flex;align-items:center;justify-content:center;gap:28px;font-family:STKaiti,Kaiti SC,KaiTi,Songti SC,serif;font-size:19px;font-weight:700;letter-spacing:.1em;text-shadow:0 1px 0 #e1e3c6}.forest-stone-label>span{font-family:system-ui,sans-serif;font-size:16px;opacity:.8}.journey-welcome .forest-stone-button:hover{filter:brightness(1.08)}.journey-welcome .forest-stone-button:active{transform:translateY(2px)}.journey-welcome .forest-stone-button:focus-visible{outline:2px solid #dfd9a2;outline-offset:4px;border-radius:9px}.journey-welcome .journey-tagline{margin-top:4px}@media(max-width:420px){.journey-welcome .forest-title{font-size:42px;padding-left:22px;padding-right:22px}.journey-welcome .forest-stone-button{width:240px;height:70px}.forest-stone-label{font-size:18px}}@media(max-height:340px)and (min-width:600px){.journey-welcome .forest-title{font-size:40px;padding:5px 24px 8px}.journey-welcome .forest-stone-button{width:220px;height:58px;min-height:48px}.forest-stone-label{font-size:16px}.journey-welcome .journey-tagline{margin:3px 0 10px}.journey-welcome .journey-facts{margin:9px 0}}.journey-welcome .forest-stone-button{width:220px;height:60px;min-height:48px}.forest-stone-label{font-size:17px;letter-spacing:.14em}@media(max-width:420px){.journey-welcome .forest-stone-button{width:206px;height:56px}.forest-stone-label{font-size:16px}}@media(max-height:340px)and (min-width:600px){.journey-welcome .forest-stone-button{width:202px;height:52px;min-height:48px}.forest-stone-label{font-size:15px}}@font-face{font-family:Leaf Ruins Display;src:url("./assets/leaf-ruins-display-NR3LDCNZ.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}.journey-welcome .forest-title,.journey-welcome .forest-stone-label{font-family:Leaf Ruins Display,serif;font-weight:400;font-synthesis:none}.journey-welcome .forest-stone-button{width:180px;height:58px;min-height:48px}.forest-stone-label{font-size:21px;letter-spacing:.07em}@media(max-width:420px){.journey-welcome .forest-stone-button{width:160px;height:54px}.forest-stone-label{font-size:19px}}@media(max-height:340px)and (min-width:600px){.journey-welcome .forest-stone-button{width:152px;height:50px;min-height:48px}.forest-stone-label{font-size:18px}}.journey-wordmark,.journey-story h1,.journey-section-head h1,.journey-map-heading h2,.journey-guard-title h2{font-family:Leaf Ruins Display,serif!important;font-weight:400;font-synthesis:none}.journey-nav>button:not(.journey-text-button){font-family:Leaf Ruins Display,serif;font-size:21px}.journey-nav>button small,.journey-nav>button b{font-family:system-ui,sans-serif}@media(max-width:600px){.journey-music-credit{bottom:29px}.journey-local{bottom:8px}}.journey-welcome .journey-tagline{font-family:Leaf Ruins Display,serif;font-weight:400;font-synthesis:none;font-size:17px;letter-spacing:.07em;color:#c3cdaa;text-shadow:0 1px 3px #203d2d}@media(max-width:420px){.journey-welcome .journey-tagline{font-size:15px}}@media(max-height:340px)and (min-width:600px){.journey-welcome .journey-tagline{font-size:14px}}@font-face{font-family:Leaf Canopy Caps;src:url("./assets/leaf-canopy-caps-3ECNEO2N.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}.journey-welcome>.journey-kicker{font-family:Leaf Canopy Caps,serif;font-size:15px;letter-spacing:.15em;font-weight:400;color:#d7d09d;text-shadow:0 2px 3px #173727;position:relative;padding:0 18px}.journey-welcome>.journey-kicker:before,.journey-welcome>.journey-kicker:after{content:"";position:absolute;width:11px;height:5px;top:calc(50% - 2px);background:#a5ad71;border-radius:0 80%;opacity:.7}.journey-welcome>.journey-kicker:before{left:0;transform:rotate(-20deg)}.journey-welcome>.journey-kicker:after{right:0;transform:rotate(160deg)}.journey-wordmark small{font-family:Leaf Canopy Caps,serif;font-weight:400;letter-spacing:.1em}@media(max-width:420px){.journey-welcome>.journey-kicker{font-size:12px;letter-spacing:.12em}}@media(max-height:340px)and (min-width:600px){.journey-welcome>.journey-kicker{font-size:11px}}.journey-music-credit[open]{max-height:65vh;overflow:auto}.font-license pre{white-space:pre-wrap;font:10px/1.5 system-ui,sans-serif}.journey-nav>button:not(.journey-text-button){flex-shrink:0;line-height:1.2}@media(max-width:600px){.journey-nav{overflow:visible;max-height:none;padding-bottom:48px}.journey-nav>button:not(.journey-text-button){min-height:72px;padding:14px 20px}}.journey-mode-entry .journey-land svg{opacity:1}.journey-mode-entry .journey-shade{background:linear-gradient(180deg,#102f25a6,#173b2a60 24%,#15342870 50%,#102d24a8 78%,#102c25cc),linear-gradient(90deg,#12372650,transparent 35%,#12372630)}.forest-english-title{width:265px;height:30px;flex:none;margin:0 0 8px;overflow:visible;filter:drop-shadow(0 2px 2px #122f25)}@media(max-width:420px){.forest-english-title{width:244px;height:28px;margin-bottom:10px}}@media(max-height:340px)and (min-width:600px){.forest-english-title{width:220px;height:23px;margin-bottom:4px}}.forest-entry-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 57%}.journey-mode-entry .journey-shade{background:radial-gradient(ellipse 62% 35% at 50% 43%,#10271f6b 0%,#10271f30 64%,transparent 100%),linear-gradient(180deg,#17332420,transparent 35%,transparent 72%,#10261f55)}.journey-mode-entry .journey-land{opacity:1}.journey-mode-entry .journey-motes{opacity:.45}.journey-mode-entry .journey-tagline,.journey-mode-entry .journey-facts{position:relative;isolation:isolate}.journey-mode-entry .journey-tagline{color:#e1e6cb;text-shadow:0 1px 2px #10261f,0 0 5px #10261f,0 0 12px #10261fcc}.journey-mode-entry .journey-facts{color:#d2d9bd;text-shadow:0 1px 2px #10261f,0 0 5px #10261f,0 0 10px #10261f}.journey-mode-entry .journey-tagline:before,.journey-mode-entry .journey-facts:before{content:"";position:absolute;z-index:-1;inset:-8px -24px;background:radial-gradient(ellipse at center,#10271fb0,#10271f65 50%,transparent 74%);filter:blur(5px);pointer-events:none}.journey-mode-entry .journey-facts:before{inset:-9px -30px}.living-logo-candidate.journey-mode-entry .forest-title,.living-logo-candidate.journey-mode-entry .forest-english-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}.living-logo-candidate.journey-mode-entry .journey-welcome{position:absolute;inset:49% 0 auto;height:auto;min-height:0;padding:0 18px;transform:none;justify-content:flex-start}.living-logo-candidate.journey-mode-entry .journey-tagline{margin:0 0 24px}.living-logo-candidate.journey-mode-entry .journey-facts{margin-top:18px}.living-logo-candidate.journey-mode-entry .journey-land .forest-entry-scene{object-position:50% 50%}.living-logo-candidate.journey-mode-entry .journey-shade{background:radial-gradient(ellipse 50% 10% at 50% 52%,#10271f30,transparent),linear-gradient(0deg,#10261f44,transparent 22%)}.living-logo-candidate.journey-mode-entry .journey-local{position:fixed}.entry-language{position:absolute;right:18px;top:16px;z-index:4;display:flex;gap:3px;padding:3px;border-radius:9px;background:#153026aa;border:1px solid #a4b18a66;backdrop-filter:blur(4px)}.entry-language button{min-height:38px;padding:5px 12px;border:0;border-radius:6px;background:transparent;color:#d3dcc1;font:12px system-ui,sans-serif}.entry-language button[aria-pressed=true]{background:#cad1a7;color:#273f2c}.entry-living-logo{position:absolute;top:25%;left:6%;width:88%;height:auto;max-height:27%;object-fit:contain;filter:drop-shadow(0 5px 7px #10241980);pointer-events:none}.layered-logo-candidate.journey-mode-entry .journey-welcome{position:absolute;inset:51% 0 auto;height:auto;min-height:0;padding:0 14px;transform:none;justify-content:flex-start}.entry-sr-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}.layered-logo-candidate.journey-mode-entry .journey-tagline{margin:0 0 22px;line-height:1.45}.layered-logo-candidate.journey-mode-entry .journey-facts{margin-top:18px;font-size:10px;letter-spacing:.01em}.layered-logo-candidate.journey-mode-entry .journey-facts b{padding:0 6px}.layered-logo-candidate.journey-mode-entry .journey-local{position:fixed}.layered-logo-candidate.journey-mode-entry .journey-shade{background:radial-gradient(ellipse 55% 22% at 50% 43%,#10271f35,transparent),linear-gradient(0deg,#10261f44,transparent 22%)}.layered-logo-candidate .entry-label-en{font-family:Leaf Canopy Caps,serif!important;font-size:13px;letter-spacing:.01em}.layered-logo-candidate:has(.logo-en) .journey-tagline{font-family:Georgia,serif!important;font-size:16px;letter-spacing:.02em}@media(min-width:601px){.entry-living-logo{left:calc(50% - 230px);width:460px;top:20%;max-height:30%}}.layered-logo-candidate.journey-mode-entry>.journey-local{position:absolute;bottom:8px}.layered-logo-candidate.journey-mode-entry>.journey-music-credit{position:absolute;bottom:29px;left:24px}.entry-language button{min-height:44px}.layered-logo-candidate.journey-mode-entry .journey-welcome{top:45%}.layered-logo-candidate.journey-mode-entry .journey-tagline{font-size:12px;margin:0 0 64px;letter-spacing:.05em}.layered-logo-candidate:has(.logo-en) .journey-tagline{font-size:12px!important;line-height:1.35}.layered-logo-candidate.journey-mode-entry .journey-facts{display:none}@media(max-width:350px){.layered-logo-candidate.journey-mode-entry .journey-welcome{top:43%}.layered-logo-candidate.journey-mode-entry .journey-tagline{margin-bottom:64px}}.entry-language{background:transparent;border:0;padding:0;backdrop-filter:none;gap:7px}.entry-language button{position:relative;padding:0;width:66px;height:44px;background:transparent!important;border-radius:0;filter:brightness(.72);opacity:.95}.entry-language button img{display:block;width:100%;height:100%;object-fit:contain}.entry-language button[aria-pressed=true]{filter:brightness(1.08) drop-shadow(0 2px 3px #132a20);opacity:1}.entry-button-art{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 4px #13291e88)}.layered-logo-candidate.journey-mode-entry .forest-stone-button{width:168px;height:62px}.global-language-choice{display:flex;gap:4px;align-items:center;flex:none}.global-language-choice button{min-height:36px;padding:5px 9px;border:1px solid #a8b58a66;border-radius:6px;background:#254335cc;color:#e6e8ce;font:11px system-ui,sans-serif;white-space:nowrap}.global-language-choice button[aria-pressed=true]{background:#c4cda2;color:#27402c}[data-game-language=en] .journey-story h1,[data-game-language=en] .journey-section-head h1,[data-game-language=en] .journey-map-heading h2,[data-game-language=en] .journey-guard-title h2,[data-game-language=en] .journey-nav>button:not(.journey-text-button),[data-game-language=en] .journey-wordmark{font-family:Georgia,serif!important;letter-spacing:.01em}[data-game-language=en] .journey-nav>button:not(.journey-text-button){font-size:18px}[data-game-language=en] .journey-wordmark{font-size:15px!important}[data-game-language=en] .journey-header>span{display:none}[data-game-language=en] .new-shop strong{font-size:11px}[data-game-language=en] .leaf-roster-stats{font-size:9px;letter-spacing:0}[data-game-language=en] .journey-map-heading{flex-wrap:wrap}[data-game-language=en] .journey-map-heading h2{white-space:normal;font-size:16px}[data-game-language=en] .journey-facts{display:none}@media(max-width:600px){.journey-header{gap:7px;margin:0 12px}.global-language-choice button{padding:4px 7px}.journey-wordmark{max-width:calc(100% - 150px)}[data-game-language=en] .journey-section-head h1{font-size:19px}.journey-back{max-width:90px;white-space:normal;line-height:1.25}}.layered-logo-candidate:has(.logo-zh).journey-mode-entry .journey-welcome{top:41%}.layered-logo-candidate:has(.logo-zh).journey-mode-entry .journey-tagline{margin-bottom:calc(64px + 4vh)}@media(max-width:350px){.layered-logo-candidate:has(.logo-zh).journey-mode-entry .journey-welcome{top:39%}}.version-switch{display:flex;gap:8px;max-width:760px;margin:12px auto;padding:0 12px}.version-switch button{min-height:44px;flex:1;border:1px solid #b7c7a4;border-radius:10px;background:#f7f8ef;color:#3c5037;padding:8px 12px;font:inherit;font-weight:600}.version-switch button[aria-pressed=true]{background:#405b3e;color:#fff;border-color:#405b3e}.new-map-game{position:relative;max-width:760px;margin:0 auto;padding:8px 12px 28px;color:#314534;font-family:inherit}.new-map-head{position:relative}.new-map-head h1{font-size:26px;line-height:1.2;margin:8px 0;display:inline-block}.test-tag{font-size:12px;margin-left:10px;color:#657557}.new-map-head p{font-size:13px;line-height:1.6;color:#6a765e;margin:6px 0 12px}.new-hud{display:flex;justify-content:space-between;background:#eaf0dd;border-radius:12px;padding:10px 14px;gap:10px;font-size:13px}.new-hud strong{font-size:19px;color:#30482f;margin-left:4px;font-variant-numeric:tabular-nums}.new-controls{display:flex;gap:6px;margin:8px 0;flex-wrap:wrap}.new-map-game button{min-height:44px;padding:8px 12px;border:1px solid #b8c4a6;border-radius:9px;color:#3a5238;background:#f7f8f1;font:inherit;font-size:13px;cursor:pointer;line-height:1.4}.new-map-game button:disabled{opacity:.48;cursor:default}.new-map-game button:focus-visible,.map-pad:focus-visible{outline:3px solid #658d74;outline-offset:3px}.new-map-game .new-primary{background:#426441;border-color:#426441;color:#fff}.new-controls{justify-content:flex-end}.new-shop{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.new-shop button{display:flex;align-items:center;flex-direction:column;padding:3px 2px 5px;min-width:0;background:#eff2e4}.new-shop button[aria-pressed=true]{background:#dde7c8;border:2px solid #6e8e57;padding:2px 1px 4px}.new-shop img{width:48px;height:44px;object-fit:contain}.new-shop strong{font-size:12px;white-space:nowrap}.new-shop span{font-size:11px;line-height:1.5;color:#6f7e61}.new-build-hint{font-size:12px;color:#71805f;margin:7px 0}.new-map-canvas{width:100%;border-radius:16px;overflow:hidden;background:#a2b97b;line-height:0}.new-map-canvas>svg{display:block;width:100%;height:auto;isolation:isolate}.map-pad{cursor:pointer}.new-map-canvas.inspect-map{overflow:auto;max-height:700px}.new-map-canvas.inspect-map>svg{width:160%;max-width:none}.new-map-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0}.new-map-tools span{font-size:11px;color:#778367}.new-pad-panel{position:absolute;left:12px;right:12px;bottom:auto;background:#fffef6;border:1px solid #a4b58d;border-radius:14px;box-shadow:0 4px 20px #34452d24;padding:12px;z-index:8;margin:8px 0}.new-pad-panel>div:first-child{display:flex;align-items:center;justify-content:space-between}.new-pad-panel .new-close{min-height:36px;min-width:36px;padding:0;font-size:22px}.new-pad-panel p{font-size:12px;line-height:1.6;margin:4px 0 10px;color:#6a775d}.new-pad-actions{display:flex;gap:7px;flex-wrap:wrap}.new-pad-actions button{flex:1;min-width:110px}.new-pad-actions button small{display:block;font-size:10px;line-height:1.5}.new-status{font-size:12px;line-height:1.7;color:#68765a;padding:6px 0}.new-result,.new-confirm{border:1px solid #9daf86;border-radius:14px;background:#f0f3e5;padding:16px;margin:10px 0}.new-result h2{font-size:22px;margin:0 0 7px}.new-result p,.new-confirm p{font-size:13px;line-height:1.7}.new-confirm{position:fixed;top:35%;left:50%;transform:translate(-50%);width:calc(100% - 40px);max-width:420px;box-shadow:0 0 0 100vmax #17231366;z-index:100}.new-confirm button{margin-right:8px}.new-notes{border-top:1px solid #d5ddca;padding-top:10px}.new-notes summary{cursor:pointer;min-height:44px;font-size:13px;line-height:44px}.new-notes p,.new-save-status{font-size:12px;line-height:1.7;color:#6e7b61}.new-monster-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.new-monster-list figure{margin:0;text-align:center;min-width:0}.new-monster-list img{width:100%;height:70px;object-fit:contain}.new-monster-list figcaption{font-size:11px;color:#728164}.new-save-status{margin:6px 0}@media(min-width:768px){.new-map-game{padding:12px 24px 40px}.new-map-head h1{font-size:30px}.new-shop img{width:70px;height:60px}.new-shop strong{font-size:14px}.new-shop span{font-size:12px}.new-map-head p{font-size:14px}.new-map-tools span{font-size:12px}}.new-motion-note{font-size:11px;line-height:1.6;color:#7e856e;margin:5px 0}@media(min-width:768px){.new-pad-panel{left:24px;right:24px}}.new-preview-drag{touch-action:none;cursor:grab}.new-preview-drag:active{cursor:grabbing}.new-map-frame{border:1px solid #9daf86;border-radius:16px;overflow:hidden;background:#edf2e2}.new-map-frame .new-map-canvas{border-radius:14px 14px 0 0}.new-battle-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:60px;padding:8px 10px;background:#edf2e2;border-top:1px solid #b8c4a6;line-height:1.4}.new-battle-controls>span{font-size:12px;color:#536b48}.new-battle-controls>button{min-width:112px;min-height:44px;flex-shrink:0;font-weight:600}.new-battle-info{min-width:0;display:flex;flex-direction:column;gap:3px;line-height:1.3}.new-battle-resources{display:flex;gap:12px;font-size:12px;color:#405a38;white-space:nowrap}.new-battle-resources strong{font-size:16px;color:#30482f;font-variant-numeric:tabular-nums}.new-wave-status{font-size:11px;color:#617452}.new-wave-brief{padding:12px 14px;margin:10px 0 12px;border:1px solid #c9d4b8;border-radius:14px;background:#f0f4e8;color:#3d5637}.new-wave-brief>div{display:flex;gap:12px;justify-content:space-between;align-items:baseline;flex-wrap:wrap}.new-wave-brief span,.new-wave-brief small{font-size:12px;color:#687d59}.new-wave-brief strong{font-size:16px}.new-wave-brief p{font-size:13px;line-height:1.6;margin:6px 0}.new-wave-brief small{display:block;line-height:1.5}.new-map-transition{background:#edf3e6;border:1px solid #a7bd92;padding:12px 14px;border-radius:14px;margin:10px 0;color:#3b5830}.new-map-transition p{font-size:13px;line-height:1.6;margin:5px 0}.new-map-frame{position:relative}.new-wave-overlay{position:absolute;z-index:25;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% - 32px);max-width:360px;box-sizing:border-box;text-align:center;background:#fcfbedfa;border:2px solid #7c9b61;box-shadow:0 10px 36px #273c3455;border-radius:22px;padding:22px 17px;color:#36542e}.new-result-kicker{font-size:12px;font-weight:700;letter-spacing:.1em;color:#6d8a4c}.new-wave-overlay h2{font-size:25px;margin:8px 0}.new-wave-overlay p{font-size:13px;line-height:1.6;margin:9px 0}.new-wave-overlay button{display:block;min-height:44px;width:100%;margin:8px 0}.new-wave-overlay small{display:block;line-height:1.5;font-size:12px;color:#718163}.new-win-leaves{position:absolute;inset:0;overflow:hidden;pointer-events:none;border-radius:20px}.new-win-leaves i{position:absolute;top:-12px;width:8px;height:14px;border-radius:70% 0;opacity:0;animation:win-leaf 1.4s ease-out 1 forwards}.new-wave-overlay>*:not(.new-win-leaves){position:relative}.new-wave-overlay{animation:win-pop .25s ease-out}@keyframes win-leaf{0%{opacity:0;transform:translateY(0) rotate(0)}15%{opacity:.9}to{opacity:0;transform:translateY(250px) rotate(220deg)}}@keyframes win-pop{0%{opacity:0;scale:.94}to{opacity:1;scale:1}}@media(prefers-reduced-motion:reduce){.new-win-leaves i,.new-wave-overlay{animation:none}}.leaf-home{max-width:720px;margin:0 auto;padding:18px 16px 36px;color:#365030}.leaf-cover{height:360px;border-radius:24px;overflow:hidden;position:relative;background:#758e59}.leaf-cover>img{width:100%;height:100%;object-fit:cover;object-position:50% 28%}.leaf-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 10%,#213f27d9)}.leaf-cover-copy{position:absolute;left:24px;right:24px;bottom:24px;z-index:1;color:#fffbea}.leaf-cover-copy span{font-size:11px;letter-spacing:.16em}.leaf-cover-copy h1{font-size:30px;line-height:1.3;margin:12px 0}.leaf-cover-copy p{font-size:15px;line-height:1.8;margin:0;color:#e5edcf}.leaf-home-panel{padding:22px 8px}.leaf-home-panel>button{display:block;width:100%;min-height:52px;margin:12px 0}.leaf-home-panel>p{font-size:13px;color:#718063}.leaf-home-panel details{margin:18px 0;border-top:1px solid #d5dec7;padding-top:14px;font-size:13px;line-height:1.8}.leaf-eyebrow{font-size:12px;letter-spacing:.05em;color:#72845f}.leaf-clean .new-map-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:5px 0 10px}.leaf-clean .new-map-head h1{font-size:24px;margin:2px 0}.leaf-clean .new-controls{margin:6px 0 12px}.leaf-clean .new-wave-brief{padding:10px 12px}.leaf-clean .new-wave-brief small{display:none}.leaf-rules{border:1px solid #c9d4b8;border-radius:14px;padding:8px 14px;font-size:13px;line-height:1.7;background:#f2f5eb}.leaf-home .new-confirm{position:fixed;z-index:100;top:50%;left:50%;transform:translate(-50%,-50%);width:min(360px,calc(100% - 32px));box-sizing:border-box;background:#fffdf0;border:2px solid #89a46e;padding:22px;border-radius:20px;box-shadow:0 0 0 100vmax #18301d66}.leaf-home .new-confirm button{min-height:44px;display:block;width:100%;margin:10px 0}.leaf-home button{border:1px solid #b2c29a;border-radius:12px;background:#f8faef;color:#3a5632;padding:10px 16px;font:inherit}.leaf-home button.new-primary{background:#405f39;color:#fff;border-color:#405f39}.leaf-clean .new-shop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.leaf-clean .new-shop button{display:grid;grid-template-columns:44px 1fr;grid-template-rows:1fr 1fr;align-items:center;text-align:left;padding:5px;min-width:0}.leaf-clean .new-shop img{width:44px;height:50px;grid-row:1/3;object-fit:contain}.leaf-clean .new-shop strong{font-size:13px;align-self:end}.leaf-clean .new-shop span{font-size:11px;align-self:start}.leaf-clean .new-controls{justify-content:flex-start}.leaf-clean .new-controls button:last-child{margin-left:auto}@media(min-width:700px){.leaf-clean .new-shop{grid-template-columns:repeat(6,minmax(0,1fr))}.leaf-clean .new-shop button{display:flex;flex-direction:column;text-align:center}.leaf-clean .new-shop img{width:56px;height:58px}.leaf-clean .new-shop strong,.leaf-clean .new-shop span{align-self:center}}.leaf-clean .new-shop{grid-template-columns:repeat(5,minmax(0,1fr))}.leaf-clean .new-shop button{display:flex;flex-direction:column;text-align:center;padding:4px 2px}.leaf-clean .new-shop img{width:44px;height:45px}.leaf-clean .new-shop strong,.leaf-clean .new-shop span{align-self:center}.leaf-clean .new-shop strong{font-size:12px}@media(min-width:700px){.leaf-clean .new-shop{grid-template-columns:repeat(5,minmax(0,1fr))}.leaf-clean .new-shop img{height:55px;width:55px}}.leaf-clean .new-map-head .leaf-eyebrow{display:block;margin-bottom:3px}.review-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.review-tabs button,.review-back{min-height:44px;padding:9px 14px;border:1px solid #aab99b;background:#f8faf5;border-radius:10px;color:#334e38;font:inherit;cursor:pointer}.review-tabs button[aria-pressed=true]{background:#3e6244;color:#fff}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.review-grid figure,.review-wind figure,.review-fx-pair figure{margin:0;min-width:0}.review-grid img{width:100%;height:155px;object-fit:contain;background:#f2f5eb;border-radius:14px}.review-grid figcaption,.review-wind figcaption,.review-fx-pair figcaption{margin-top:9px;font-size:14px;line-height:1.5}.review-grid small,.review-wind small,.review-fx-pair small{display:block;font-size:12px;color:#68765e}.review-wind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.review-wind img{width:100%;height:220px;object-fit:contain;background:#eef3e8;border-radius:14px}.review-fx-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.review-fx-pair svg{width:100%;background:#a6bd78;border-radius:14px}@media(min-width:768px){.review-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.review-grid img{height:170px}.review-fx-pair{max-width:520px}.review-wind{max-width:600px}}@media(max-width:350px){.leaf-clean .new-map-tools{display:flex;flex-wrap:wrap;gap:8px}.leaf-clean .new-map-tools button{white-space:nowrap;min-width:92px}.leaf-clean .new-map-tools span{flex-basis:100%}}.review-photo{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.new-pad-panel .new-branch-warning{padding:9px 11px;background:#f3efdf;border:1px solid #c8b991;border-radius:8px;color:#64542d;font-size:13px;line-height:1.55;margin:9px 0}.leaf-story-scrim{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;background:#0e1a12b8;backdrop-filter:blur(2px)}.leaf-story-card{max-width:420px;width:86%;max-height:92vh;overflow-y:auto;background:linear-gradient(180deg,#f3ead2,#e4d6b4);border:3px solid #6d5a35;border-radius:18px;box-shadow:0 18px 50px #00000073;padding:18px 20px 16px;text-align:center;color:#3d3220}.leaf-story-art{width:min(240px,60%);max-height:220px;object-fit:contain;border-radius:12px;margin:0 auto 10px;display:block;background:#ffffff59}.leaf-story-name{display:inline-block;font-size:12px;letter-spacing:.12em;color:#6d5a35;border:1px solid #a68c56;border-radius:999px;padding:2px 10px;margin-bottom:6px}.leaf-story-card h2{font-size:19px;margin:2px 0 8px}.leaf-story-card p{font-size:15px;line-height:1.7;margin:0 0 14px}.leaf-story-nav{display:flex;align-items:center;justify-content:space-between;gap:10px}.leaf-story-dots{display:flex;gap:6px}.leaf-story-dots i{width:8px;height:8px;border-radius:50%;background:#c3b184}.leaf-story-dots i.on{background:#6d5a35}.leaf-story-skip{background:none;border:none;color:#6d5a35;text-decoration:underline;font-size:13px;cursor:pointer}.leaf-transition-story{display:flex;gap:10px;justify-content:center;margin:6px 0 2px}.leaf-transition-story figure{margin:0;max-width:280px;display:flex;flex-direction:column;gap:6px}.leaf-transition-story img{width:100%;border-radius:10px;object-fit:cover;max-height:140px}.leaf-transition-story figcaption{display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:1.5;background:#f3ead2;color:#3d3220;padding:8px 10px;border-radius:10px}.leaf-reveal-scrim{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;background:#0e1a12c7;backdrop-filter:blur(3px)}.leaf-reveal-card{animation:leaf-reveal-pop .45s ease-out}.leaf-reveal-card .leaf-reveal-art{filter:grayscale(1) brightness(.4) contrast(.9);animation:leaf-reveal-color 1.8s ease-in-out .5s forwards}.leaf-reveal-ability{font-weight:700;color:#4c5b2f;margin-top:-8px}@keyframes leaf-reveal-pop{0%{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}@keyframes leaf-reveal-color{0%{filter:grayscale(1) brightness(.4) contrast(.9)}to{filter:none}}html[data-game-language=en] .leaf-game-dialog,html[data-game-language=en] .leaf-game-dialog button,html[data-game-language=en] .leaf-game-dialog p,html[data-game-language=en] .leaf-game-dialog small,html[data-game-language=en] .leaf-game-dialog span,html[data-game-language=en] .leaf-game-dialog strong,html[data-game-language=en] .leaf-game-dialog h2,html[data-game-language=en] .leaf-game-dialog h3{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:normal!important}html[data-game-language=en] .light-intel{background:#f0efd9!important;background-image:none!important;border:1px solid #84916d!important;border-image:none!important;border-radius:14px!important;padding:16px!important;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 100px)!important;overflow-y:auto!important;box-shadow:0 6px 22px #152a2855;color:#263e2b!important;box-sizing:border-box;z-index:95}html[data-game-language=en] .light-intel h2{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;line-height:1.4!important}html[data-game-language=en] .light-intel p,html[data-game-language=en] .light-intel small,html[data-game-language=en] .leaf-enemy-insight{font-family:Arial,Helvetica,sans-serif!important;font-size:13px!important;line-height:1.5!important}html[data-game-language=en] .cover-actions .global-language-choice{justify-content:center;margin-top:6px}html[data-game-language=en] .cover-actions .global-language-choice button{font:12px Arial,Helvetica,sans-serif!important;min-height:36px!important;padding:5px 12px!important}html[data-game-language=en] .cover-actions .cover-stone span{font-family:Arial,Helvetica,sans-serif!important;line-height:1.25!important;font-size:15px!important}html[data-game-language=en] .cover-actions .cover-secondary .cover-stone span{font-size:12px!important}html[data-game-language=en] .leaf-file-status{font-family:Arial,Helvetica,sans-serif!important}html[data-game-language=en] body .leaf-game-dialog .leaf-landscape .light-intel,html[data-game-language=en] body .leaf-game-dialog[data-compact-panels=true] .leaf-landscape .light-intel{background:#f3f0da!important;background-image:none!important;border:1px solid #8c9775!important;border-image:none!important;border-image-width:0!important;border-radius:14px!important;padding:14px 17px!important;top:64px!important;left:16px!important;width:min(540px,calc(100% - 32px))!important;max-height:calc(var(--leaf-panel-height,100dvh) - 80px)!important;overflow:hidden!important;box-sizing:border-box!important;display:flex!important;gap:7px!important;flex-direction:column!important;color:#263e2b!important}html[data-game-language=en] body .leaf-game-dialog .leaf-landscape .light-intel *,html[data-game-language=en] body .leaf-game-dialog[data-compact-panels=true] .leaf-landscape .light-intel *{font-family:Arial,Helvetica,sans-serif!important;letter-spacing:normal!important;text-shadow:none!important}html[data-game-language=en] body .leaf-game-dialog[data-compact-panels=true] .leaf-landscape .light-intel h2,html[data-game-language=en] body .leaf-game-dialog .leaf-landscape .light-intel h2{font-size:18px!important;line-height:1.35!important;margin:0 0 8px!important;color:#263e2b!important}html[data-game-language=en] body .leaf-game-dialog[data-compact-panels=true] .leaf-landscape .light-intel p,html[data-game-language=en] body .leaf-game-dialog[data-compact-panels=true] .leaf-landscape .light-intel small,html[data-game-language=en] body .leaf-game-dialog .leaf-landscape .light-intel .leaf-enemy-insight{font-size:13px!important;line-height:1.5!important;color:#263e2b!important}html[data-game-language=en] body .leaf-game-dialog .leaf-landscape .light-intel .leaf-intel-copy{overflow:auto!important;min-height:0!important;flex:1 1 auto!important}html[data-game-language=en] body .leaf-game-dialog .leaf-landscape .light-intel>button:last-child{flex:none!important;min-height:40px!important;font-size:14px!important;padding:6px 15px!important}
