.encounter-cutin{--cloth:#315c49;--edge:#e7c67c;z-index:2;color:#fff6d8;pointer-events:none;isolation:isolate;align-items:center;gap:7px;width:96%;height:clamp(40px,16%,62px);padding:0 7% 0 4%;animation:1.6s both cutin-cross;display:flex;position:absolute;top:2%;left:2%}.encounter-cutin.boss-present{top:24px}.cutin-boss{--cloth:#873d29;--edge:#f1bc62}.cutin-recruit{--cloth:#305c69}.cutin-paper,.cutin-paper:after{clip-path:polygon(0 16%,6% 10%,3% 6%,24% 6%,21% 3%,70% 3%,89% 0,100% 9%,94% 18%,99% 17%,96% 29%,100% 28%,95% 51%,99% 50%,95% 71%,100% 75%,93% 85%,97% 88%,72% 97%,17% 100%,19% 95%,0 96%,3% 76%,0 78%,4% 53%,1% 55%,4% 32%);position:absolute;inset:8% 0 5%}.cutin-paper{z-index:-1;background:var(--edge);transform:rotate(-1deg)}.cutin-paper:after{content:"";background:repeating-linear-gradient(159deg,transparent 0 13px,#ffffff09 14px 15px,transparent 16px 38px),var(--cloth);inset:2px 0 3px}.encounter-cutin img{object-fit:contain;flex:none;width:auto;max-width:20%;height:100%;transform:rotate(-7deg)}.cutin-copy{text-align:left;white-space:nowrap;gap:1px;line-height:1.15;display:grid}.cutin-copy small{color:#ffdaa1;letter-spacing:.12em;font-size:9px;font-weight:700}.cutin-copy strong{font:900 clamp(14px,4.4vw,22px)/1.1 Hiragino Mincho ProN,Yu Mincho,serif}.cutin-skill{border-left:1px solid #edcd8c99;margin-left:auto;padding-left:8px;font:700 10px/1.35 Hiragino Mincho ProN,Yu Mincho,serif}.field-ink:has(.encounter-cutin) .field-call{visibility:hidden}@keyframes cutin-cross{0%{opacity:0;transform:translate(-48px)rotate(-2deg)}13%{opacity:1;transform:translate(0)rotate(0)}82%{opacity:1;transform:translate(2px)}to{opacity:0;transform:translate(35px)}}@media (prefers-reduced-motion:reduce){.encounter-cutin{animation:none}}.war-header,.war-hud,.command-deck,.field-ink{--ink:#203b36;--deep:#173d39;--red:#b7442f;--gold:#efb653;--paper:#fbefd5}.war-header,.war-hud,.command-deck{flex:none}.war-header{color:#fff1d4;background:#163e3c;border-bottom:3px solid #c89755;align-items:center;gap:9px;padding:6px 13px;display:flex}.mountain-crest{outline-offset:-4px;color:#f2c273;border:1px solid #e6b15f;outline:1px solid #e6b15f;place-items:center;width:30px;height:33px;font:700 21px/1 serif;display:grid;transform:rotate(-5deg)}.war-name small,.war-name h1{white-space:nowrap;margin:0;display:block}.war-name small{letter-spacing:.16em;color:#dfc996;font-size:9px}.war-name h1{letter-spacing:.03em;font:900 clamp(15px,4.2vw,19px)/1.35 Hiragino Mincho ProN,Yu Mincho,serif}.war-header nav{align-items:center;margin-left:auto;display:flex}.war-header nav button{color:#fff2d6;background:0 0;border:0;border-radius:0;align-content:center;justify-items:center;gap:1px;min-width:42px;height:42px;padding:2px;display:grid}.war-header nav button svg{width:18px;height:18px}.war-header nav button span{white-space:nowrap;font-size:9px}.war-header .pause-button{width:42px}.war-hud{color:#39382b;z-index:1;background:#faf0d7;border-bottom:2px solid #936d40;align-items:center;gap:13px;padding:7px 13px 9px 11px;display:flex;position:relative;box-shadow:0 2px #ffecc05e}.wave-flag{color:#fff1d0;clip-path:polygon(0 0,100% 0,100% 100%,50% 93%,0 100%);background:#a94430;flex-direction:column;justify-content:center;align-self:stretch;align-items:center;min-width:56px;padding:3px 7px 6px;display:flex}.wave-flag small{letter-spacing:.17em;font:700 8px/1.1 Arial,sans-serif}.wave-flag strong{font-variant-numeric:tabular-nums;font:italic 900 30px/.97 Georgia,serif}.wave-flag span{font-size:8px}.war-vitals{flex:1;min-width:0}.hp-line,.xp-line{font-variant-numeric:tabular-nums;align-items:center;gap:7px;display:flex}.hp-line{justify-content:space-between;margin-bottom:3px}.hp-line b{font-size:12px}.hp-line span{color:#71664f;white-space:nowrap;font-size:9px}.hp-line strong{color:#2a4033;font-size:15px}.ink-gauge{background:#d7c9ab;border-radius:2px;height:8px;overflow:hidden}.ink-gauge i{height:100%;transition:width .15s linear;display:block}.ink-gauge.pine i{background:linear-gradient(#809448 50%,#657d41 50%)}.ink-gauge.danger i{background:#b84131}.ink-gauge.gold i{background:#af7b29}.shield-count{color:#366a81;font-weight:700}.xp-line{margin-top:5px}.xp-line b{color:#735328;font-size:10px}.xp-line small{color:#79674e;font-size:9px}.xp-line .ink-gauge{flex:1;height:4px}.enemy-count{box-sizing:border-box;border-left:1px solid #cbbd99;flex:0 0 78px;align-self:center;place-items:center;width:78px;padding-left:9px;line-height:1.05;display:grid}.enemy-count img{object-fit:contain;width:34px;height:28px}.enemy-count span{white-space:nowrap;font-size:9px;font-weight:700}.enemy-count b{text-align:right;font-variant-numeric:tabular-nums;min-width:3ch;font:700 13px/1.05 system-ui,sans-serif;display:inline-block}.field-ink{pointer-events:none;position:absolute;inset:0;overflow:hidden}.field-call{text-align:center;color:#fff6d9;clip-path:polygon(0 12%,31% 4%,87% 0,100% 8%,97% 32%,100% 88%,73% 93%,10% 100%,2% 88%,4% 66%);letter-spacing:.05em;background:#23463df0;width:max-content;max-width:90%;padding:6px 18px 7px;font:900 14px/1.5 Hiragino Mincho ProN,Yu Mincho,serif;animation:.28s ease-out ink-call;position:absolute;top:4%;left:50%;transform:translate(-50%)rotate(-2deg)}@keyframes ink-call{0%{opacity:0;scale:1.09}}.field-call.with-boss{font-size:12px;top:12%}.boss-strip{color:#702f25;background:#fff1d6e8;border-left:4px solid #a34735;flex-wrap:wrap;align-items:center;gap:3px 8px;margin:4px 13px 0;padding:3px 8px;font-size:10px;display:flex}.boss-strip .ink-gauge{flex:1;min-width:20%;height:4px}.field-status{flex-wrap:wrap;justify-content:center;gap:4px;display:flex;position:absolute;bottom:4px;left:5px;right:5px}.field-status span{color:#654527;background:#fff1dced;border:1px solid #ac8051;padding:2px 6px;font-size:10px}.command-deck{color:#fff2d6;padding:0 12px max(9px,env(safe-area-inset-bottom));background:#183f3b;border-top:3px solid #926c42}.army-counts{color:#514836;background:#f4e7c9;border-bottom:1px solid #bda579;justify-content:space-between;align-items:center;gap:5px;margin:0 -12px;padding:4px 13px;display:flex}.army-counts strong{align-items:center;gap:3px;font-size:11px;display:flex}.army-counts strong img{object-fit:contain;width:21px;height:21px}.army-counts span{font-size:10px}.army-counts b{font-variant-numeric:tabular-nums;font-size:13px;font-weight:800}.festival-gauge{align-items:center;gap:10px;padding:7px 0 8px;display:flex}.festival-seal{color:#f7cf81;border:1px solid #c6a466;border-radius:50%;flex:none;place-items:center;width:27px;height:27px;font:900 19px/1 serif;display:grid;transform:rotate(-6deg);box-shadow:inset 0 0 0 2px #183f3b,inset 0 0 0 3px #b18d55}.festival-info{flex:1}.festival-info>div:first-child{justify-content:space-between;align-items:center;gap:7px;margin-bottom:3px;display:flex}.festival-info b{letter-spacing:.06em;font:900 13px/1.25 Hiragino Mincho ProN,serif}.festival-info span{color:#e5d8b0;font-size:10px}.festival-fill{background:#092c2b;height:6px;position:relative;box-shadow:inset 0 0 0 1px #65715b}.festival-fill:after{content:"";background:repeating-linear-gradient(90deg,#0000 0 calc(10% - 1.5px),#28443d calc(10% - 1.5px) 10%);position:absolute;inset:0}.festival-fill i{background:#e5b454}.lit .festival-seal{color:#9b3021;background:#efd38a;box-shadow:0 0 8px #fbce5e55}.lit .festival-info b,.lit .festival-info span{color:#ffe197}.command-leaders{gap:5px;display:flex}.leader-command{isolation:isolate;text-align:left;color:#e7e3d1;background:#47605b;border:1px solid #b19f76;border-radius:4px 12px;flex:1;grid-template-columns:48px 1fr auto;align-items:center;gap:9px;min-width:0;padding:5px 10px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #284941,0 2px #092624}.leader-command:before{content:"";z-index:-1;pointer-events:none;border:1px solid #cdbb882e;border-radius:2px 7px;position:absolute;inset:4px}.leader-command.ready{color:#fff3cd;background:linear-gradient(105deg,#ae412f,#a83d2b 63%,#8a3026);border-color:#f0c883;box-shadow:inset 0 0 0 2px #893827,0 3px #0f302c}.leader-command.casting,.leader-command.festival-ready{color:#fff4cb;background:#875220;border-color:#ffdd80}.leader-command.ready:active{transform:translateY(2px)}.command-face{background:#f3e5b8;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;display:grid;position:relative}.command-face img{object-fit:contain;width:43px;height:43px}.command-face svg{fill:none;stroke:#e7b74c;stroke-width:3px;width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.command-face .rec-track{stroke:#867e64}.command-name{gap:1px;min-width:0;display:grid}.command-name small{letter-spacing:.075em;font-size:9px}.command-name strong{font:900 19px/1.22 Hiragino Mincho ProN,Yu Mincho,serif}.command-name em{font-size:10px;font-style:normal}.command-stamp{color:inherit;border:2px solid;padding:4px 3px;font:700 14px/1.1 serif;transform:rotate(-6deg);box-shadow:inset 0 0 0 1px #0000}.command-leaders:has(>:nth-child(2)) .leader-command{grid-template-columns:38px 1fr;gap:4px;padding:5px}.command-leaders:has(>:nth-child(2)) .command-face{width:38px;height:38px}.command-leaders:has(>:nth-child(2)) .command-face img{width:34px;height:34px}.command-leaders:has(>:nth-child(2)) .command-stamp{border:0;grid-column:1/-1;justify-self:center;padding:0;font:700 10px/1.1 sans-serif;transform:none}.command-leaders:has(>:nth-child(2)) .command-name strong{font-size:12px}:is(.command-leaders:has(>:nth-child(2)) .command-name small,.command-leaders:has(>:nth-child(2)) .command-name em){display:none}.supply-rack{gap:7px;margin-top:8px;display:flex}.supply-select{flex:1;gap:6px;display:flex}.supply-select button,.use-supply{color:#f4e5bf;background:#244d46;border:1px solid #657d64;border-radius:5px;flex:1;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:42px;display:flex}.supply-select button.selected{background:#36594a;border-color:#dfc487;box-shadow:inset 0 -2px #cfaa61}.supply-select img{object-fit:contain;width:35px;height:35px}.supply-select span{text-align:left;font-size:11px;font-weight:750;display:grid}.supply-select b{color:#dacba7;font-size:10px}.use-supply{color:#364437;background:#efe0ae;border-color:#e4c98a;flex-direction:column;flex:none;gap:0;width:27%;font-size:14px;font-weight:850}.use-supply span{font-size:9px;font-weight:600}.use-supply:disabled{color:#d3ceaf;background:#34504a;border-color:#687566}@media (height<=660px){.command-deck{padding-bottom:max(4px,env(safe-area-inset-bottom))}.war-header{padding-block:1px}.war-hud{padding-block:4px}.festival-gauge{padding-block:3px}.supply-rack{margin-top:5px}.army-counts{padding-block:1px}.command-face{width:40px;height:40px}.command-face img{width:35px;height:35px}}@media (width<=355px){.war-header{gap:6px;padding-inline:8px}.war-header nav button,.war-header .pause-button{width:36px;min-width:36px}.war-hud{gap:7px;padding-inline:7px}.command-name strong{font-size:16px}.command-deck{padding-inline:9px}.army-counts{margin-inline:-9px}}.guide-entry{color:#fff2d6;white-space:nowrap;background:#254a43;border:1px solid #92a28a;border-radius:4px;align-items:center;gap:4px;min-height:35px;padding:3px 7px;font-size:11px;font-weight:700;display:flex}.guide-entry svg{width:17px;height:17px}.action-receipt{text-align:center;border-left:4px solid var(--cue,#83ae72);color:#344137;pointer-events:none;background:#fff7e7f5;gap:2px;width:max-content;max-width:96%;padding:5px 12px;display:grid;position:absolute;top:3%;left:50%;transform:translate(-50%);box-shadow:0 2px 4px #22362836}.action-receipt strong{font:900 13px/1.25 Hiragino Mincho ProN,serif}.action-receipt span{font-size:11px;line-height:1.4}.receipt-attack{--cue:#bb4936}.receipt-tea{--cue:#9c75ad}.receipt-guard{--cue:#538fa8}.receipt-drum{--cue:#c98630}.boss-strip~.action-receipt{top:28px}.field-ink:has(.encounter-cutin) .action-receipt{top:auto;bottom:4px}.guide-panel{padding:7px 12px max(8px,env(safe-area-inset-bottom));color:#304439;background:#f9efd9;border-top:3px solid #8d6f40;flex:none;gap:6px;display:grid}.guide-panel>header,.guide-description>header{justify-content:space-between;align-items:center;gap:5px;display:flex}.guide-panel h2,.guide-panel h3,.guide-panel p{margin:0}.guide-panel h2,.guide-panel h3{font:900 16px/1.35 Hiragino Mincho ProN,Yu Mincho,serif}.guide-panel h2 small,.guide-description small{color:#685d46;white-space:nowrap;font:600 10px/1.3 sans-serif}.guide-panel>header>button{color:#fff2d0;background:#244a40;border:1px solid #9c875b;border-radius:3px;min-height:34px;padding:6px 10px;font-size:12px;font-weight:700}.guide-tabs{gap:4px;display:flex}.guide-tabs button{color:#534d39;background:#efe1c3;border:1px solid #c9b488;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:39px;font-size:11px;font-weight:700;display:flex}.guide-tabs button[aria-pressed=true]{color:#fff2d1;background:#2d5347;border-color:#224135}.guide-tabs:has(>:nth-child(5)) button{white-space:nowrap;gap:2px;padding:2px}.guide-tabs img{object-fit:contain;flex:none;width:28px;height:28px}.guide-description{border-top:1px solid #cbb88d;padding-top:4px}.guide-description b{color:#704e28;font-size:12px;line-height:1.5;display:block}.guide-description p{font-size:12px;line-height:1.5}.guide-description .guide-passive{color:#5f5b49;margin-top:3px;font-size:11px}.guide-passive strong{color:#5b552d;background:#e6daba;padding:0 4px;display:inline-block}.command-leaders:has(>:nth-child(2)) .command-name small{font-size:8px;display:block}@media (width<=355px){.festival-gauge{gap:5px}.festival-info span{font-size:9px}.guide-panel{padding-inline:8px}.guide-tabs button{gap:1px;padding:1px 2px}.guide-tabs img{width:22px;height:22px}.guide-tabs:has(>:nth-child(5)) button{flex-direction:column;font-size:9px}}.game-content{--deck-height:clamp(194px,28svh,252px)}.game-content .command-deck,.game-content .guide-panel{box-sizing:border-box;height:var(--deck-height);overscroll-behavior:contain;overflow-y:auto}.command-deck{flex-direction:column;justify-content:space-evenly;display:flex}.guide-panel{align-content:start}.game-content .battlefield{background:#28483b;place-items:center;display:grid;container-type:size}.battle-space{width:min(100cqw,114cqh);height:min(100cqh,106.482cqw);position:relative;overflow:hidden;box-shadow:0 0 0 1px #9a9d72}.at-title .battle-space{aspect-ratio:auto;width:100%;height:100%}.battlefield:has(.distance-ruler){grid-template-rows:minmax(0,1fr) 24px}.battlefield:has(.distance-ruler) .battle-space{grid-row:1;width:min(100cqw,114cqh - 27.36px);height:100%}.distance-ruler{color:#f6e7c5;pointer-events:none;font-variant-numeric:tabular-nums;background:#28483b;grid-row:2;align-self:stretch;width:min(100cqw,114cqh - 27.36px);position:relative}.distance-ruler span{border-left:1px solid #b2b39a;height:4px;position:absolute;top:0}.distance-ruler span:has(b){border-color:#dccda7;height:7px}.distance-ruler b{white-space:nowrap;font:600 11px/1.3 system-ui,sans-serif;position:absolute;top:6px;left:-.5px;transform:translate(-50%)}.distance-ruler span:last-child b{left:auto;right:5px;transform:none}.reward-hand{margin-top:16px}.reward-hand .reward-card{text-align:left;background:linear-gradient(108deg,#f4e5bf,#fff7e6 38%);gap:10px;min-height:82px;padding:8px}.reward-hand .reward-leaf{--accent:#537446;background:linear-gradient(108deg,#dce5c3,#f7f7e6 38%)}.reward-hand :is(.card-drum,.card-repair){--accent:#836634;background:linear-gradient(108deg,#edd5a9,#fff2d9 38%)}.reward-hand .card-body small{font-size:11px}.reward-hand .leaf-name{white-space:nowrap}.reward-hand .card-body .card-description{font-size:12px}.reward-hand .illustrated-icon{width:48px;height:50px;position:relative}.stump-reward.card-hop{--accent:#964b39}.stump-reward.card-drill{--accent:#286964}.stump-reward.card-surf{--accent:#506e36}.stump-reward .card-body{gap:4px}.stump-heading{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.stump-heading strong{font:900 16px/1.3 Hiragino Mincho ProN,serif}.stump-heading b{color:#fffaf0;background:var(--accent);white-space:nowrap;border-radius:2px;padding:2px 6px;font-size:13px;line-height:1.4}.stump-numbers{color:#685f4c;font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:0 8px;font-size:11px;display:flex}.stump-numbers span{white-space:nowrap}.leaf-portrait{isolation:isolate;place-items:center;width:100%;height:100%;display:grid;position:relative}.leaf-portrait:before{content:"";z-index:-1;background:linear-gradient(143deg,#93ae65 46%,#e1e9ad 48%,#6c924e 52%);border:1.5px solid #4b693f;border-radius:85% 7%;position:absolute;inset:7% 0;box-shadow:1px 2px #566d3644}.leaf-portrait .stump-face{width:68%;height:68%}.leaf-portrait svg{color:#fff3c9;filter:drop-shadow(0 1px 1px #465d36);width:26px;height:26px}.at-title .battlefield:before{display:none}.game-content .guide-tabs button{min-height:38px;font-size:12px}.guide-tabs button{white-space:nowrap}.guide-tabs:has(>:nth-child(5)) button{flex-direction:column}.war-header nav button span,.army-counts span,.command-name small,.supply-select button span,.guide-description small,.field-status span{font-size:12px}.guide-description p,.guide-description b,.action-receipt span{font-size:13px}:is(.game-content .festival-info span,.game-content .festival-info b,.command-leaders:has(>:nth-child(2)) .command-name small){font-size:11px}.festival-seal{cursor:pointer;background:#274c42}@media (height<=650px){.game-content{--deck-height:191px}.command-deck{justify-content:flex-start}.game-content .guide-tabs button{min-height:33px}}.battle-space>.impact-target,.battle-space>.pixi-host,.battle-space>.effect-map>svg{width:100%;height:100%;position:absolute;inset:0}.at-title .battle-space>.pixi-host{display:none}.battlefield:before{content:"";pointer-events:none;background:repeating-linear-gradient(135deg,#0000 0 8px,#acbe8f16 8px 9px);position:absolute;inset:0}.game-content .festival-info b{font-size:13px}.army-counts span,.guide-description .guide-passive{font-size:12px}.game-content .guide-tabs:has(>:nth-child(5)) button{font-size:12px}.festival-help{color:inherit;white-space:nowrap;background:0 0;border:0;padding:0;font:700 13px/1.35 serif}.lit .festival-help{color:#ffe197}.festival-gauge .festival-help{align-items:center;gap:5px;min-height:26px;padding:0;display:inline-flex}.festival-help .festival-seal{box-sizing:border-box;place-items:center;width:24px;height:24px;padding:0;font-size:16px;line-height:1;display:inline-grid;transform:none}.command-name small,.command-name em{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.festival-gauge.lit .festival-help .festival-seal{color:#883c21}.save-warning{color:#743823;text-align:center;background:#fff1d9;padding:4px 7px;font-size:12px;position:absolute;bottom:3px;left:5px;right:5px}.reward-slip{z-index:3;color:#4c3420;pointer-events:none;background:linear-gradient(115deg,#fff9e7,#f8e3ad);border:1.5px solid #a57737;border-left:4px solid #ae7032;border-radius:6px 12px 12px 6px;align-items:center;gap:7px;max-width:calc(100% - 16px);padding:4px 10px 4px 4px;animation:.3s cubic-bezier(.18,.8,.28,1.15) both reward-arrive;display:flex;position:absolute;top:4%;left:8px;box-shadow:1px 3px #5239183d}.field-ink:has(.field-call,.action-receipt,.boss-strip) .reward-slip{top:clamp(40px,13%,65px)}.field-ink:has(.encounter-cutin,.boss-strip~.action-receipt,.field-call.with-boss) .reward-slip{top:auto;bottom:clamp(48px,13%,65px)}.slip-drill,.slip-surf{color:#314633;background:linear-gradient(115deg,#fffbe9,#e3edcb);border-color:#6e8753 #6e8753 #6e8753 #4e744d}.reward-slip small,.reward-slip strong{display:block}.reward-slip small{font-size:11px;font-weight:750;line-height:1.2}.reward-slip strong{margin-top:2px;font:900 17px/1.18 Hiragino Mincho ProN,Yu Mincho,serif}.reward-slip b{white-space:nowrap;align-self:center;font-size:13px}.slip-portrait{flex:none;place-items:center;width:40px;height:40px;display:grid;position:relative}.slip-portrait img{object-fit:contain;width:100%;height:100%}.slip-surf .slip-portrait:after{content:"";background:linear-gradient(170deg,#96bb58 48%,#dce699 52%,#62924e 60%);border:1px solid #46633c;border-radius:90% 3% 85% 5%;width:36px;height:7px;position:absolute;bottom:1px;transform:rotate(-7deg)}.slip-drill .slip-portrait:after{content:"";border:2px solid #0000;border-color:#4e9995 #0000 #6eae9f;border-radius:50%;position:absolute;inset:0 -1px;transform:rotate(-22deg)}@keyframes reward-arrive{0%{opacity:0;transform:translate(-16px)rotate(-3deg)}to{opacity:1;transform:translate(0)}}@media (prefers-reduced-motion:reduce){.reward-slip{animation:none}}.trial-wave-progress{color:#695c42;align-items:center;gap:4px;margin-top:7px;display:flex}.trial-wave-progress i{background:#d7c8aa;border-radius:2px;flex:0 9px;min-width:2px;height:4px}.trial-wave-progress .filled{background:#ad6730}.trial-wave-progress small{white-space:nowrap;margin-left:4px;font-size:12px}.trial-deck{padding:10px 12px max(10px,env(safe-area-inset-bottom));background:#193e38;border-top:3px solid #b89652;flex:none;align-items:stretch;gap:9px;display:flex}.trial-deck button,.trial-impact{color:#ffefd2;font:inherit;cursor:pointer;border:1px solid #c79e65;border-radius:10px;justify-content:center;align-items:center;display:flex}.trial-deck button:disabled{cursor:default}.trial-impact{cursor:default;background:#584730;flex:1;gap:10px;min-height:78px}.trial-impact.charged{background:#a54529;box-shadow:inset 0 0 0 2px #f3cb75}.trial-deck .trial-impact.playing{color:#fff3d4;opacity:1;background:#8b4027;box-shadow:inset 0 0 0 2px #f4cd74}@media (prefers-reduced-motion:no-preference){.trial-impact.playing img{animation:.58s ease-out infinite impact-land}@keyframes impact-land{0%{transform:scale(1.09,.93)rotate(-5deg)}45%,to{transform:none}}}.trial-impact img{object-fit:contain;width:52px;height:52px}.trial-impact span{text-align:left}.trial-deck small,.trial-deck strong{display:block}.trial-impact strong{font-size:19px}.trial-impact small{margin:2px 0 5px;font-size:12px}.trial-repair{background:#38614a;flex-direction:column;flex:0 0 84px;padding:4px 12px}.trial-repair:disabled img{filter:grayscale(.8);opacity:.68}.trial-repair:disabled{color:#dbd5c2;background:#334940}.trial-repair img{width:29px;height:29px}.trial-repair small{font-size:12px}.result-friends{color:#664721;font-weight:700}.upgrade-card:is(.card-drill,.card-surf,.card-hop) .illustrated-icon{position:relative}.card-drill .illustrated-icon:after,.card-surf .illustrated-icon:after,.card-hop .illustrated-icon:after{content:"";pointer-events:none;position:absolute}.card-drill .illustrated-icon:after{border:2px solid #79bdb6;border-top-color:#0000;border-radius:50%;width:96%;height:37%;top:32%;left:-2%;transform:rotate(-18deg)}.card-surf .illustrated-icon:after{background:#8fb95d;border:1.5px solid #45623e;border-radius:95% 8%;width:84%;height:13%;bottom:9%;left:6%;transform:rotate(-8deg)}.card-hop .illustrated-icon:after{background:repeating-linear-gradient(35deg,#e79982 0 3px,#feecba 3px 5px);border:1px solid #87584f;border-radius:50%;width:11px;height:11px;bottom:12%;right:17%}.stump-field{pointer-events:none;position:absolute;inset:0}.field-stump{aspect-ratio:1;transform-origin:50% 85%;width:9.7%;animation:.45s ease-out stump-sprout;position:absolute;transform:translate(-50%,-75%)}@keyframes stump-sprout{0%{opacity:.4;scale:.45}65%{scale:1.12}to{scale:1}}.stump-face{vertical-align:middle;width:100%;height:100%;display:inline-block;position:relative}.stump-face i{background:repeating-linear-gradient(82deg,#966039 0 14%,#855134 15% 22%,#ae7748 24% 42%);border:2px solid #65442c;border-radius:32% 32% 27% 22%;position:absolute;inset:54% 4% 0;box-shadow:1px 3px #71583c4a}.stump-face i:before{content:"";background:repeating-radial-gradient(#e8bc7d 0 16%,#c79761 18% 24%,#e6b779 27% 40%);border:2px solid #735036;border-radius:50%;position:absolute;inset:-24% -3% 48%}.stump-face img{object-fit:contain;width:70%;height:73%;position:absolute;top:-2%;left:15%}.stump-face b{background:#593d29;border-radius:50% 50% 15% 15%;width:22%;height:21%;position:absolute;bottom:9%;left:40%}.stump-drill b{background:repeating-radial-gradient(#366e6a 0 2px,#b8ece2 2.5px 4px);border-radius:50%}.stump-surf b,.plant-site>i{background:linear-gradient(-35deg,#79a047 44%,#dfefa7 48%,#709843 52%);border-radius:90% 8%}.stump-hop b{background:repeating-linear-gradient(38deg,#b65351 0 3px,#f9cc97 3px 5px);border-radius:50%}.stump-field:has(.stump-placement){z-index:9;pointer-events:auto}.stump-field .modal-backdrop,.stump-field .stump-placement{width:100%;max-width:none;height:100%;max-height:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;margin:0;padding:0;position:absolute;inset:0;overflow:visible}.stump-field .modal-backdrop{background:#293f252b}.plant-instruction{text-align:left;color:#493623;background:#fff2d9;border:2px solid #967046;border-radius:8px;padding:9px 14px;position:absolute;top:7%;right:4%;box-shadow:1px 3px #72532a48}.plant-instruction strong,.plant-instruction span{display:block}.plant-instruction span,.plant-instruction button{font-size:13px}.plant-instruction button{color:#64452d;background:0 0;border:0;margin-top:6px;text-decoration:underline}.plant-site{color:#304629;white-space:nowrap;background:#fff3cfef;border:1px solid #795f36;border-radius:24px;align-items:center;gap:6px;height:min(44px,13%);padding:0 9px 0 4px;font-weight:700;display:flex;position:absolute;transform:translate(-20px,-60%)}.plant-site>i{border:1px solid #466831;width:27px;height:17px;display:block;transform:rotate(-13deg)}.plant-site.occupied{background:#f2d3a6}.plant-site .stump-face{width:33px;height:33px}.plant-site:disabled{opacity:1;color:#695f50;box-shadow:none;background:#e4ddc9}.plant-label{text-align:left;gap:3px;min-width:4.5em;line-height:1.05;display:grid}.plant-label small{font-size:11px}.plant-label strong{font-size:15px}.plant-action{border-left:1px solid #ab9777;padding-left:7px;font-size:12px}.stump-placement .plant-instruction{padding:4px 9px;top:1%;right:2%}.plant-instruction button{margin-top:0}.stump-record{justify-content:center;gap:10px;margin:8px auto;display:flex}.stump-record>div{justify-items:center;min-width:58px;display:grid}.stump-record .stump-face{width:40px;height:40px}.stump-record strong{font-size:14px}.stump-record small{color:#775e44;font-size:11px}.impact-target{appearance:none;touch-action:manipulation;cursor:crosshair;-webkit-tap-highlight-color:transparent;background:0 0;border:0;margin:0;padding:0;display:block}.impact-target:focus-visible{outline-offset:-4px;outline:3px solid #ffcf73}.effect-map{z-index:3;pointer-events:none;position:absolute;inset:0}.effect-map>svg{width:100%;height:100%;display:block}.effect-map svg path,.effect-map svg circle,.effect-map svg ellipse,.effect-map svg polygon{vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.effect-map-key{color:#fff5d7;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 8px;font:700 clamp(10px,2.7vw,12px)/1.45 Hiragino Kaku Gothic ProN,sans-serif;display:flex;position:absolute;top:5px;left:5px;right:5px}.effect-map-key b,.effect-map-key span{background:#253f37f2;border-radius:3px;padding:3px 7px}.effect-map-key span{color:#ffd58c}.effect-map .preview-reach{fill:#db9b3616;stroke:#56452b;stroke-width:2px;stroke-dasharray:5 4}.effect-map .preview-blast-rim{fill:none;stroke:#fec;stroke-width:4.5px}.effect-map .preview-blast{fill:#c7502420;stroke:#a54b2d;stroke-width:2px}.effect-map .preview-bullseye{stroke:#9d3329;stroke-width:2px;fill:#ffe4b355}.effect-map .preview-caster{stroke:#53361b;stroke-width:1.8px;fill:#ffd978}.effect-map .effect-pins{fill:none;stroke-width:2.4px;filter:drop-shadow(0 1px 1px #fffae6)}.effect-map .pins-support{stroke:#226546}.effect-map .pins-hit,.effect-map .pins-fox{stroke:#a33227}.effect-map .pins-heal{stroke:#176b67}.preview-deployment{fill:none;stroke:#335f54;stroke-width:2px;stroke-dasharray:5 4;stroke-width:3px}.preview-gate .gate-disc{fill:#294c45;stroke:#fff0c2;stroke-width:1.5px}.preview-gate .gate-sign{fill:none;stroke:#fff0c2;stroke-width:2.2px}.preview-gate text{fill:#25473d;stroke:#fff1cf;stroke-width:3px;paint-order:stroke;font:700 13px sans-serif}.festival-cover{isolation:isolate;color:#202f2c;text-align:center;background:#e9d6aa;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;position:absolute;inset:0;overflow:hidden;container-type:size}.festival-panorama,.festival-parade{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.festival-panorama{object-fit:fill;z-index:-2}.festival-heading{top:max(5.6%,calc(env(safe-area-inset-top) + 16px));flex-direction:column;align-items:center;display:flex;position:absolute;left:2%;right:2%}.festival-subtitle{color:#513323;letter-spacing:.19em;text-shadow:0 1px #fff0cc;align-items:center;gap:8px;font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:clamp(12px,3.6cqw,17px);font-weight:900;line-height:1.3;display:inline-flex}.festival-subtitle:before,.festival-subtitle:after{content:"";border-block:1px solid #8f6340;width:19px;height:4px;transform:skew(-24deg)}.festival-heading h2{width:min(89cqw,47cqh);margin:1.4cqh 0 0;line-height:0}.festival-heading h2 img{width:100%;display:block}.festival-actor{width:var(--width);left:var(--x);bottom:var(--y);aspect-ratio:1;position:absolute;transform:translate(-50%)}.festival-actor:before{content:"";opacity:.34;filter:blur(1px);background:#885021;border-radius:50%;width:70%;height:8%;position:absolute;bottom:4%;left:15%;transform:rotate(-3deg)}.festival-actor img{object-fit:contain;transform-origin:50% 90%;width:100%;height:100%;transform:rotate(var(--lean));animation:3.2s ease-in-out infinite festival-prance;animation-delay:var(--delay)}.actor-scout{--x:13%;--y:42.5%;--width:min(13cqw,7.8cqh);--lean:-12deg;--delay:-1.1s}.actor-fox{--x:83%;--y:43.5%;--width:min(16cqw,9.5cqh);--lean:6deg;--delay:-1.7s}.actor-captain{--x:22%;--y:32.5%;--width:min(30cqw,18cqh);--lean:-10deg;--delay:-.7s}.actor-hero{--x:51.5%;--y:29.5%;--width:min(56cqw,32.5cqh);--lean:4deg;--delay:0s}.actor-runner{--x:79.5%;--y:25.4%;--width:min(28cqw,16cqh);--lean:13deg;--delay:-.38s}@keyframes festival-prance{0%,64%,to{transform:translateY(0) rotate(var(--lean))}71%{transform:translateY(0) rotate(var(--lean)) scale(1.024,.975)}81%{transform:translateY(-5%) rotate(calc(var(--lean) + 3deg))}89%{transform:translateY(0) rotate(var(--lean)) scale(1.018,.982)}}.festival-entry{inset:auto 4% max(16px,env(safe-area-inset-bottom));justify-items:center;gap:8px;display:grid;position:absolute}.festival-credit{color:#f2e5c6;text-underline-offset:3px;padding:5px 10px;font-size:13px;line-height:1.4;text-decoration:underline}.festival-credit:focus-visible{outline-offset:1px;outline:2px solid}.festival-start{--cut:polygon(5% 0,95% 0,100% 50%,95% 100%,5% 100%,0 50%);color:#fff0c0;filter:drop-shadow(0 4px #472a1b)drop-shadow(0 6px 6px #19261980);background:0 0;border:0;width:min(85cqw,360px);height:clamp(55px,8.5cqh,77px);padding:0;position:relative}.festival-start-panel,.festival-start-panel:before,.festival-start-panel:after{clip-path:var(--cut);position:absolute;inset:0}.festival-start-panel{isolation:isolate;background:#452b23;justify-content:center;align-items:center;display:flex}.festival-start-panel:before{content:"";z-index:-2;background:#efc774;inset:2px}.festival-start-panel:after{content:"";z-index:-1;background-color:#a83520;background-image:repeating-linear-gradient(168deg,#0000 0 15px,#87261645 16px,#0000 18px 49px),linear-gradient(105deg,#a8311a,#c64623 44%,#a6341e);inset:5px;box-shadow:inset 0 2px #eb9a57,inset 0 -3px #8e301b}.festival-start-type{color:#ffefca;letter-spacing:.16em;text-indent:.16em;text-shadow:1px 2px #692f21;font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:clamp(23px,6.9cqw,34px);font-weight:900}.festival-arrow{border-top:3px solid #f7d791;border-right:3px solid #f7d791;width:10px;height:10px;position:absolute;right:12%;transform:rotate(45deg)}.festival-start:active:not(:disabled){filter:drop-shadow(0 1px #472a1b);transform:translateY(3px)}.festival-start:focus-visible{outline-offset:4px;outline:3px solid #fff7cd}.festival-start:disabled{filter:saturate(.55)drop-shadow(0 3px #472a1b)}.festival-entry small{color:#fff4d3;letter-spacing:.12em;background:#173b32de;align-items:center;gap:10px;padding:3px 11px;font-size:clamp(10px,2.65cqw,12px);font-weight:700;display:flex}.festival-entry small span{color:#e5b765;font-size:.64em}@media (prefers-reduced-motion:reduce){.festival-actor img{animation:none}}.festival-cover{background-color:#f6e6c0;background-image:repeating-linear-gradient(2deg,#0000 0 3px,#b5a27c12 3px 4px)}.print-frame{z-index:-1;border:1px solid #9b8462;position:absolute;inset:12px;overflow:hidden}.print-frame:before{content:"";border:1px solid #af9a75;position:absolute;inset:4px}.print-sun{aspect-ratio:1;background:#c85439;border-radius:50%;width:64%;position:absolute;top:33%;right:-7%}.print-ridge{clip-path:polygon(0 19%,10% 15%,19% 18%,39% 1%,43% 0,55% 12%,68% 23%,78% 15%,100% 28%,100% 100%,0 100%);background:#87987a;position:absolute;inset:48% -2% 0}.ridge-front{clip-path:polygon(0 12%,17% 24%,32% 21%,48% 32%,61% 25%,79% 6%,84% 3%,100% 13%,100% 100%,0 100%);background-color:#24483e;background-image:repeating-linear-gradient(169deg,#0000 0 10px,#ecd7aa0e 10px 11px);top:58%}.print-seal{color:#ae4834;outline-offset:2px;writing-mode:vertical-rl;border:2px solid;outline:1px solid;padding:5px 2px;font:700 clamp(12px,3.4cqw,17px)/1.1 serif;position:absolute;top:28%;right:6%;transform:rotate(5deg)}.festival-heading{text-align:left;align-items:flex-start;top:6%;left:9%;right:8%}.festival-heading h2{color:#203b33;letter-spacing:-.07em;width:auto;margin:2cqh 0;font:900 clamp(54px,min(17cqw,9.3cqh),86px)/.98 Hiragino Mincho ProN,Yu Mincho,serif;transform:rotate(-4deg)}.festival-heading h2 span{display:block}.festival-heading h2 span+span{margin-left:.28em;font-size:.9em}.festival-subtitle{font-size:14px}.festival-subtitle:before{display:none}.festival-entry small{font-size:13px}.festival-entry .festival-guide{text-align:center;letter-spacing:.02em;line-height:1.55;display:block}.cover-restart{color:#fff0c8;background:#193e33;border:1px solid #afad86;border-radius:2px;padding:6px 14px;font-size:13px}:root{color:#274337;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#193c35;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif;font-size:14px;font-weight:500}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible{outline-offset:3px;outline:3px solid #df9c3e}button{border:0}h1,h2,p{margin:0}button,svg{flex-shrink:0}.page{background:radial-gradient(at 15% 20%,#325346 0,#0000 45%),radial-gradient(at 85% 85%,#405c43 0,#0000 45%),#183b34;flex-direction:column;justify-content:center;align-items:center;min-height:100svh;padding:22px 16px;display:flex;position:relative}.page:before{content:"";pointer-events:none;opacity:.12;background-image:radial-gradient(#d2c996 .7px,#0000 .7px);background-size:12px 12px;position:fixed;inset:0}.desktop-note,.desktop-footer{color:#b3c2a9;letter-spacing:.1em;justify-content:space-between;width:440px;max-width:100%;font-size:10px;display:flex;position:relative}.desktop-note{margin-bottom:13px}.desktop-footer{letter-spacing:.18em;margin-top:14px;font-size:9px}.game-shell{background:#f7f3df;border-radius:20px;width:440px;max-width:100%;height:min(818px,100svh - 100px);min-height:660px;position:relative;overflow:hidden;box-shadow:0 24px 80px #09231e66,0 0 0 1px #a6b39133}.game-content{flex-direction:column;height:100%;display:flex}.brand-bar{border-bottom:1px solid #dbdec8;flex-shrink:0;justify-content:space-between;align-items:center;height:69px;padding:12px 20px;display:flex}.brand{align-items:center;gap:10px;display:flex}.brand-seal{color:#b76046;border:1.5px solid #b76046;border-radius:8px 3px;place-items:center;width:35px;height:39px;font-family:serif;font-size:24px;display:grid;transform:rotate(-4deg)}.brand-kicker{letter-spacing:.2em;color:#7c8066;margin-bottom:1px;font-size:8px;display:block}h1{letter-spacing:.04em;font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:21px;line-height:1.2}h1>span{color:#8e947c;vertical-align:middle;border:1px solid #c1c5af;border-radius:3px;margin-left:5px;padding:1px 2px;font-family:sans-serif;font-size:8px}.sound-button{color:#5c735d;background:0 0;border:1px solid #daddc6;border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.sound-button svg{width:17px;height:17px}.hud{background:#f7f3df;flex-shrink:0;padding:12px 20px 10px}.wave-row{align-items:center;gap:16px;margin-bottom:11px;display:flex}.wave-title{flex-direction:column;display:flex}.eyebrow{letter-spacing:.18em;color:#7b896e;font-size:8px}.wave-title>strong{letter-spacing:.025em;font-variant-numeric:tabular-nums;font-size:20px;font-weight:800}.wave-title small{color:#92977d;font-size:11px;font-weight:500}.wave-dots{gap:5px;margin-top:8px;display:flex}.wave-dots span{background:#d9ddc5;width:6px;height:6px;transform:rotate(45deg)}.wave-dots .active{background:#618765}.timer{grid-template-columns:auto;align-items:center;column-gap:6px;margin-left:auto;display:grid}.timer svg{color:#7a8a6d;grid-row:1/3;width:17px;height:19px}.timer strong{font-variant-numeric:tabular-nums;letter-spacing:.035em;font-size:21px;font-weight:700;line-height:1}.timer>span{color:#7c896c;text-align:right;letter-spacing:.1em;margin-top:4px;font-size:8px}.mountain-row{justify-content:space-between;margin-bottom:5px;font-size:10px;display:flex}.mountain-row>span{font-weight:700}.mountain-row strong{font-variant-numeric:tabular-nums;font-size:11px}.mountain-row small{color:#8b947a;font-size:9px;font-weight:500}.meter{background:#dfdfc9;border-radius:5px;overflow:hidden}.meter i{border-radius:inherit;height:100%;transition:width .15s linear;display:block}.mountain-meter{height:7px}.mountain-meter i{background:#668966}.mountain-meter.danger i{background:#bd664b}.experience-row{color:#8b8669;align-items:center;gap:9px;margin-top:8px;font-size:9px;display:flex}.experience-row>span{color:#8e783e;min-width:31px}.experience-row b{margin-left:2px;font-size:12px}.experience-meter{background:#e5dec0;flex:1;height:4px}.experience-meter i{background:#c6a55e}.experience-row small{text-align:right;font-variant-numeric:tabular-nums;min-width:41px;font-size:8px}.population-row{background:#eeeeda;border-block:1px solid #d8dfc4;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:10px 17px;font-size:9px;display:flex}.population-row>div{align-items:center;gap:5px;display:flex}.population-row strong{font-variant-numeric:tabular-nums;font-size:15px;line-height:1}.population-dot{background:#648463;border-radius:50%;width:5px;height:5px}.population-dot.reserve{background:#b19b61}.population-dot.rest{background:#8aa7a1}.population-total{color:#868d75;white-space:nowrap;border-left:1px solid #ced4bd;padding-left:8px;font-size:8px}.battlefield{background:#e5eac5;flex:1;min-height:230px;position:relative;overflow:hidden}.pixi-host{position:absolute;inset:0}.pixi-host canvas{display:block;width:100%!important;height:100%!important}.field-caption{color:#4d6a53;letter-spacing:.04em;pointer-events:none;justify-content:space-between;font-size:8px;display:flex;position:absolute;top:12px;left:15px;right:15px}.field-caption>span{background:#f5f4dfb5;border-radius:10px;align-items:center;gap:5px;padding:4px 7px;display:flex}.field-caption i{background:#618562;border-radius:50%;width:4px;height:4px}.wave-banner{text-align:center;color:#456749;pointer-events:none;background:#f9f3dcf0;border-block:1px solid #c0bc92;padding:11px 6px;font-size:12px;font-weight:700;animation:.35s ease-out arrive;position:absolute;top:21%;left:10%;right:10%;box-shadow:0 8px 16px #3f583814}.boss-meter{color:#995940;text-align:right;font-size:9px;position:absolute;top:40px;left:90px;right:18px}.boss-meter>.meter{background:#e5d5b5;height:4px;margin-top:4px}.boss-meter i{background:#b86b49}.drum-toast{color:#78542c;white-space:nowrap;background:#f6de99ed;border:1px solid #d6b265;border-radius:30px;padding:8px 15px;font-size:12px;position:absolute;bottom:13px;left:50%;transform:translate(-50%);box-shadow:0 3px 8px #67573116}.drum-toast strong{margin-left:6px;font-size:10px}.leader-bar{background:#edf0db;border-block:1px solid #d7ddc2;flex-shrink:0;align-items:center;gap:9px;padding:9px 18px;display:flex}.leader-icon{color:#796a3b;background:#dfd5ad;border-radius:50%;place-items:center;width:29px;height:29px;font-family:serif;font-size:17px;display:grid}.leader-bar>div:nth-child(2){flex-direction:column;gap:3px;display:flex}.leader-bar strong{font-size:10px}.leader-bar div>span{color:#7e8970;font-size:8px}.evolution-dots{gap:4px;margin-left:auto;display:flex}.evolution-dots i{border:1px solid #c5c8a5;border-radius:50%;width:7px;height:7px}.evolution-dots .active{background:#bfa56d;border-color:#bfa56d}.controls{background:#f7f3df;flex-shrink:0;padding:12px 16px 11px}.scroll-controls{gap:9px;display:flex}.item-picker{gap:6px;margin-bottom:7px;display:flex}.item-picker button{color:#607450;background:#f4f1df;border:1px solid #ccd0ad;border-radius:7px;flex:1;justify-content:space-between;gap:4px;min-width:0;padding:7px 8px;font-size:10px;display:flex}.item-picker button.selected{color:#304f35;background:#dce5c4;border-color:#6d8b59}.scroll-button{color:#36533c;text-align:left;background:#e8e9cf;border:1px solid #b8bc93;border-radius:11px;flex:1;align-items:center;gap:9px;min-width:0;padding:9px 12px;transition:background .15s;display:flex;position:relative;box-shadow:0 2px #c8ccad}.scroll-button:hover:not(:disabled){background:#dce2bd}.scroll-button:disabled{opacity:.58}.scroll-button.is-active{opacity:1;background:#f0dfad;border-color:#c4aa69}.scroll-icon{color:#736438;background:#f7f0d6;border-block:4px solid #9f8a52;border-radius:4px;place-items:center;width:32px;height:36px;font-family:serif;font-size:21px;display:grid}.scroll-button>span:nth-child(2){flex-direction:column;gap:5px;display:flex}.scroll-button strong{letter-spacing:.02em;font-size:12px}.scroll-button small{white-space:nowrap;color:#7c8568;font-size:8px}.inventory{margin-left:auto;font-size:15px}.pause-button{color:#6c785d;background:#eeecdb;border:1px solid #d6d8bf;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:59px;display:flex}.pause-button>span{font-size:22px;line-height:1}.pause-button small{font-size:8px}.pause-button:disabled{opacity:.45}.footer-tip{text-align:center;color:#96977c;letter-spacing:.025em;margin-top:9px;font-size:8px}.tree-button{color:#536e48;border:1px solid #c9cba7;border-radius:8px;flex-shrink:0;margin-left:auto;padding:7px 9px;font-size:10px}.army-buttons{flex-shrink:0;gap:5px;display:flex}.header-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:3px;display:flex}.header-actions .tree-button{padding:5px 7px;font-size:9px}.header-actions .sound-button{width:24px;height:24px;padding:4px}.leader-skills{background:#edf0db;border-block:1px solid #d7ddc2;flex-shrink:0;padding:5px 14px 7px}.skill-bar-heading{color:#6d8058;justify-content:space-between;align-items:center;margin-bottom:3px;font-size:9px;display:flex}.skill-bar-heading span{font-size:8px}.leader-skill-row{justify-content:center;gap:16px;display:flex}.leader-skill-button{color:#48613e;background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;width:94px;padding:0;display:flex}.leader-skill-button:disabled{opacity:1;cursor:default}.portrait-frame{width:62px;height:62px;display:block;position:relative}.leader-portrait{border-radius:50%;width:52px;height:52px;position:absolute;inset:5px}.cooldown-ring{fill:none;width:62px;height:62px;position:absolute;inset:0;transform:rotate(-90deg)}.cooldown-ring circle{stroke-width:4px;stroke-linecap:round;transition:stroke-dashoffset .1s linear}.cooldown-ring .ring-track{stroke:#d0d8bf}.leader-skill-button:disabled .leader-portrait{filter:saturate(.55)}.portrait-status{color:#fffbea;white-space:nowrap;background:#66735c;border-radius:8px;min-width:30px;padding:1px 4px;font-size:9px;font-weight:700;position:absolute;bottom:1px;left:50%;transform:translate(-50%)}.portrait-stage{color:#748259;background:#fff8da;border-radius:5px;padding:1px 3px;font-size:8px;position:absolute;top:0;right:-4px}.leader-skill-button.is-ready .portrait-frame{filter:drop-shadow(0 0 3px #c8a85980)}.leader-skill-button.is-casting .portrait-status{background:#bb8b37}.leader-skill-button strong{white-space:nowrap;max-width:100%;font-size:10px}.leader-skill-button small{color:#7b876d;font-size:8px}.skill-detail{background:#edf0db;border-radius:6px;padding:7px}@media (width<=360px){.brand{gap:6px}.brand-seal{width:27px;height:33px;font-size:21px}.header-actions .tree-button{padding:5px}.leader-skill-row{gap:8px}}.stats-modal{text-align:left;padding:18px}.stats-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.stats-heading h2{margin:4px 0 0}.stats-modal h3{margin:16px 0 8px;font-size:13px}.stats-modal h3 small{color:#7c896c;margin-left:6px;font-weight:400}.stats-grid{grid-template-columns:1fr 1fr;gap:7px;margin:0;display:grid}.stats-grid>div,.pursuit-stats,.active-effects,.stats-leaders>section{background:#fffbe9;border:1px solid #d8ddbf;border-radius:9px;padding:10px}.stats-grid dt{color:#7c896c;font-size:10px}.stats-grid dd{margin:3px 0 0;font-size:21px;font-weight:700}.stats-grid small{font-size:9px;font-weight:400;line-height:1.5;display:block}.pursuit-stats,.active-effects{gap:5px;margin-top:8px;font-size:11px;line-height:1.6;display:grid}.pursuit-stats span,.active-effects span{font-size:10px}.stats-note{color:#7c896c;margin:8px 0;font-size:9px;line-height:1.7}.stats-leaders{gap:7px;display:grid}.stats-leaders p{margin:5px 0 0;font-size:10px;line-height:1.7}.roster-bar{padding-top:8px;padding-bottom:8px}.roster-summary{flex:1;gap:4px;min-width:0;display:grid}.roster-line{flex-wrap:wrap;align-items:baseline;gap:2px 7px;display:flex}.roster-line strong{font-size:10px}.roster-line span{color:#7c896c;font-size:8px}.wave-progress{background:#e0dfc3;border-radius:2px;height:3px;margin:8px 0 5px;overflow:hidden}.wave-progress i{background:#73985f;height:100%;display:block}.enemy-generation{color:#7c896c;justify-content:space-between;gap:8px;margin-bottom:7px;font-size:8px;display:flex}.branch-cards{gap:9px;display:grid}.branch-card{text-align:left;border:1px solid #cbd0ac;background:#fffbe9;border-left:4px solid #c06c43;border-radius:10px;flex-direction:column;gap:6px;width:100%;padding:12px;display:flex}.branch-card.branch-B{border-left-color:#739b55}.branch-card.branch-C{border-left-color:#5f86a3}.branch-card.branch-D{border-left-color:#9b78ac}.branch-card.branch-E{border-left-color:#c5839b}.branch-card:disabled{cursor:default;opacity:1}.branch-card:not(:disabled):hover,.branch-card.selected{background:#e7edcf}.branch-heading{color:#35563e;justify-content:space-between;font-size:13px;display:flex}.branch-heading small{font-size:9px}.branch-path{color:#776044;font-size:11px;line-height:1.6}.branch-path .current{font-weight:700;text-decoration:underline}.branch-description{color:#788166;font-size:10px;line-height:1.6}.tree-note{color:#8b8e72;margin:12px 0;font-size:9px;line-height:1.7}.evolution-modal{padding:20px 16px}.evolution-modal .modal-description{margin-bottom:12px}.tea-toast{color:#72547e;text-align:center;pointer-events:none;background:#f8efdfef;border:1px solid #aa84b3;border-radius:10px;padding:9px;font-size:11px;position:absolute;bottom:10px;left:12px;right:12px}.tea-toast span{margin-top:4px;font-size:10px;display:block}.title-screen{text-align:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#f1efd9dc;flex-direction:column;justify-content:center;align-items:center;padding:13px 24px;display:flex;position:absolute;inset:0}.intro-tag{letter-spacing:.18em;color:#57724f;background:#e3e7c9;border:1px solid #c9d3ac;border-radius:20px;padding:5px 13px;font-size:10px}.hero-art{margin:3px 0 0;position:relative}.tanuki-hero{width:145px;height:125px;margin:auto;display:block}.hero-art .tanuki-hero{animation:3s ease-in-out infinite breathe}.orbit-leaf{color:#9caa66;font-size:26px;position:absolute}.leaf-one{top:25px;left:-22px;transform:rotate(20deg)}.leaf-two{font-size:17px;bottom:25px;right:-28px}.hero-stamp{color:#ae674a;border:1px solid #c18b68;border-radius:50%;padding:7px 3px;font-family:serif;font-size:12px;position:absolute;top:6px;right:-25px;transform:rotate(12deg)}.title-screen h2{letter-spacing:.08em;margin-top:1px;font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:24px}.title-screen p{color:#738066;margin-top:7px;font-size:10px;line-height:1.9}.primary-button{color:#fff9e7;letter-spacing:.08em;background:#355e43;border-radius:10px;justify-content:center;align-items:center;gap:30px;width:100%;min-height:48px;padding:13px 24px;font-size:14px;font-weight:700;transition:background .15s,transform .15s;display:flex;box-shadow:0 3px #23442e}.primary-button:hover{background:#416e4c}.primary-button:active{transform:translateY(2px);box-shadow:0 1px #23442e}.primary-button:disabled{opacity:.6}.primary-button>span{font-size:18px;font-weight:400}.start-button{max-width:252px;margin-top:16px}.intro-meta{color:#8c9476;align-items:center;gap:9px;margin-top:12px;font-size:8px;display:flex}.intro-meta>i{background:#bec4a4;border-radius:50%;width:3px;height:3px}.render-error{z-index:10;color:#8b4638;background:#fff2dd;padding:20px;font-size:12px;line-height:1.8;position:absolute;inset:20px}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#193c35a6;justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0}.modal{text-align:center;background:#f7f3df;border:1px solid #fffae6;border-radius:18px;width:100%;max-height:100%;padding:28px 22px 21px;animation:.22s ease-out arrive;overflow-y:auto;box-shadow:0 15px 50px #102c2c55}.modal-kicker{letter-spacing:.12em;color:#8b926b;margin-bottom:8px;font-size:9px;display:block}.modal h2{letter-spacing:.025em;font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-size:25px}.modal-description{color:#8a8f72;margin:9px 0 20px;font-size:11px;line-height:1.8}.modal .tanuki-hero{width:139px;height:120px;margin:8px auto 12px}.text-button{color:#7b866a;text-underline-offset:4px;background:0 0;margin:16px auto 0;padding:6px 12px;font-size:11px;text-decoration:underline;display:block}.upgrade-modal{padding:26px 18px 20px}.upgrade-modal h2{justify-content:center;align-items:center;gap:9px;font-size:23px;display:flex}.upgrade-modal h2>span{color:#87723c;white-space:nowrap;background:#e8dfb7;border-radius:5px;padding:5px 7px;font-family:sans-serif;font-size:11px}.upgrade-modal .modal-description{margin:8px 0 18px;font-size:10px}.upgrade-cards{flex-direction:column;gap:10px;display:flex}.upgrade-card{text-align:left;color:#36563d;background:#fffdf0;border:1px solid #d8dcc1;border-radius:11px;align-items:center;gap:11px;width:100%;padding:13px 12px;transition:background .15s,transform .15s;display:flex;box-shadow:0 2px #dfe0c9}.upgrade-card:hover{background:#edf0d8;transform:translateY(-1px)}.card-icon{color:#71915c;background:#e7ecd3;border-radius:10px 4px;place-items:center;width:43px;height:48px;font-family:serif;font-size:26px;display:grid}.card-body{flex-direction:column;flex:1;gap:4px;display:flex}.card-tag{letter-spacing:.06em;color:#8b9677;font-size:8px}.card-description{color:#7a846c;font-size:10px;line-height:1.65}.card-arrow{color:#a7b18c;font-size:24px}.card-evolution .card-icon{color:#9b7741;background:#f0e3b9}.card-drum .card-icon{color:#ae6c45;background:#f5e1bd}.paused-note{color:#a0a58b;letter-spacing:.04em;margin-top:18px;font-size:9px;display:block}.result-stats{border-block:1px solid #dbdec4;justify-content:space-around;margin:0 0 23px;padding:16px 0;display:flex}.result-stats>div{flex-direction:column;gap:7px;display:flex}.result-stats strong{font-variant-numeric:tabular-nums;font-size:22px}.result-stats small{margin-left:3px;font-size:10px;font-weight:500}.tanuki-icon{width:32px;height:29px}@keyframes arrive{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes breathe{0%,to{transform:translateY(0)rotate(-1deg)}50%{transform:translateY(-3px)rotate(1deg)}}@media (width<=520px){.page{justify-content:flex-start;padding:0}.desktop-note,.desktop-footer{display:none}.game-shell{width:100%;max-width:460px;height:100svh;min-height:640px;box-shadow:none;border-radius:0}.brand-bar{padding-top:max(12px,env(safe-area-inset-top));height:calc(66px + env(safe-area-inset-top))}.controls{padding-bottom:max(12px,env(safe-area-inset-bottom))}}@media (height<=740px){.game-shell{min-height:620px}.brand-bar{height:58px}.hud{padding-top:8px;padding-bottom:8px}.wave-row{margin-bottom:7px}.population-row{padding-block:8px}.leader-bar{padding-block:7px}.controls{padding-top:9px;padding-bottom:9px}.title-screen .tanuki-hero{width:104px;height:90px}.title-screen h2{font-size:21px}.title-screen p{margin-top:4px;font-size:9px}.intro-tag{padding:4px 10px;font-size:9px}.start-button{min-height:42px;margin-top:11px;padding:10px 20px}.intro-meta{margin-top:9px}.title-screen{padding-block:9px}.modal{padding-top:20px}.modal .tanuki-hero{width:110px;height:95px}}@media (width<=360px){.brand-bar{padding-inline:14px}h1{font-size:19px}.hud{padding-inline:15px}.population-row{gap:5px;padding-inline:12px}.population-row>div{gap:3px}.population-total{padding-left:4px}.controls{padding-inline:12px}.scroll-button{gap:7px;padding-inline:8px}.scroll-button small{font-size:7px}.modal-backdrop{padding:13px}.card-description{font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.mountain-shield-panel{color:#397a98;margin-top:5px}.mountain-shield-panel>div:first-child{justify-content:space-between;margin-bottom:3px;font-size:9px;display:flex}.shield-meter{background:#dcebf0;height:4px}.shield-meter i{background:#68b6d4}.at-title :is(.hud,.population-row,.leader-skills,.controls,.army-buttons,.brand){display:none}.at-title .brand-bar{z-index:3;background:0 0;border:0;height:auto;padding:16px;position:absolute;top:0;right:0}.at-title .title-screen{isolation:isolate;-webkit-backdrop-filter:none;backdrop-filter:none;background-color:#fbf0d6;background-image:radial-gradient(#c6a16b30 .75px,#0000 .9px);background-size:5px 5px;justify-content:space-evenly;gap:0;padding:0}.at-title .title-screen:before{content:"";z-index:-1;pointer-events:none;border:1px solid #ba936855;border-radius:12px;position:absolute;inset:9px}.cover-heading{color:#3b4938;text-align:center;padding-top:clamp(16px,4vh,42px)}.cover-heading>span{letter-spacing:.32em;color:#9a4d36;border-block:1px solid #b97451;padding:4px 7px 4px 10px;font-size:13px;font-weight:800;display:inline-block;transform:rotate(-3deg)}.at-title .cover-heading h2{letter-spacing:-.07em;color:#3f4e39;text-shadow:2px 3px #f8edce,3px 4px #b7ae8d;margin:12px 0 0;font-family:Hiragino Maru Gothic ProN,Yu Gothic,sans-serif;font-size:clamp(45px,8vh,76px);font-weight:1000;line-height:.99;transform:rotate(-4deg)}.cover-heading h2 span{color:#ac5038;letter-spacing:.015em;font-size:.82em;display:block}.mountain-parade{flex:0 auto;width:100%;height:auto;min-height:0;max-height:42%;display:block;overflow:visible}.cover-start{text-align:center;width:100%;padding:0 24px clamp(12px,2.8vh,30px)}.at-title .cover-start p{color:#524938;margin:0;font-size:clamp(12px,1.7vh,15px);font-weight:650;line-height:1.75}.at-title .start-button{color:#fff7df;letter-spacing:.12em;background:#ac4c34;border:2px solid #733e30;border-radius:17px;width:100%;max-width:300px;min-height:54px;margin:16px auto 12px;font-size:19px;box-shadow:0 4px #733e30}.at-title .start-button:active{transform:translateY(3px);box-shadow:0 1px #733e30}.cover-start small{color:#706953;letter-spacing:.1em;font-size:10px}.parade-lead{transform-origin:48% 70%;animation:2.6s ease-in-out infinite parade-bob}@keyframes parade-bob{50%{transform:translateY(-5px)rotate(2deg)}}@media (prefers-reduced-motion:reduce){.parade-lead{animation:none}}.leader-portrait{object-fit:contain;background:#f9edcf;border-radius:50%}.leader-skill-button.is-ready .portrait-frame{border-radius:50%;box-shadow:0 0 0 2px #f3cc68}.game-shell{height:min(850px,100svh - 44px)}.game-content{background:#fff5de}.brand-bar{background:#fff5de;border-color:#dfcea9;height:58px;padding:6px 14px}.brand{gap:7px}.brand-seal{color:#fff2ce;background:#ab5038;border-color:#8b442e}.brand-kicker{color:#78674e}.header-actions{flex-direction:row;align-items:center;gap:2px}.header-actions .tree-button{color:#52654c;background:0 0;border:0;min-height:40px;padding:6px;font-size:11px}.header-actions .sound-button{border:0;width:40px;height:40px}.at-title .header-actions .sound-button{background:#fff6dc;border:1px solid #cdba94}.parade-friend{transform-box:fill-box;transform-origin:50% 90%;animation:2.6s ease-in-out infinite little-hop}.parade-friend.second{animation-delay:.28s}@keyframes little-hop{0%,54%,82%,to{transform:none}66%{transform:translateY(-8px)rotate(-4deg)}77%{transform:scale(1.035,.975)}}.leader-skills{background:#f3e8cd;border-color:#d7c49d;padding:7px 14px}.skill-bar-heading{color:#60523c;margin:0 0 5px;font-size:10px}.skill-bar-heading span{color:#77694c;font-size:10px}.leader-skill-row{gap:6px}.leader-skill-button{color:#514734;background:#f9f2df;border:1px solid #d5c7ab;border-radius:13px;flex:1;justify-content:center;width:auto;min-width:0;padding:4px}.leader-skill-button.is-ready{background:#fff6d7;border-color:#b75b3c;box-shadow:0 2px #ad593e}.leader-skill-button.is-ready:active{box-shadow:none;transform:translateY(2px)}.leader-skill-button.is-casting{background:#fae5ac;border-color:#c99a4a}.leader-skill-button.is-ready .portrait-status{background:#a6432d}.leader-skill-button.is-ready .portrait-frame{box-shadow:0 0 0 2px #ffda81}.leader-skill-button:only-child{text-align:left;flex-direction:row;justify-content:flex-start;gap:14px;padding:5px 13px}.skill-copy{gap:3px;display:grid}.skill-copy strong{font-size:12px}.skill-copy small{color:#665b46;font-size:10px;line-height:1.3}.leader-skill-button:only-child strong{font-size:16px}.leader-skill-button:only-child small{font-size:11px}.portrait-frame,.cooldown-ring{width:49px;height:49px}.leader-portrait{width:39px;height:39px}.portrait-frame{flex-shrink:0}.leader-skill-button.is-casting .leader-portrait{filter:none}.rally-beats{justify-items:center;gap:4px;padding:3px 4px;display:grid}.rally-beats>span{gap:4px;display:flex}.rally-beats small{font-weight:700}.leader-skill-button:only-child .rally-beats{margin-left:auto}.rally-beats i{background:#fff3ce;border:1px solid #927d53;border-radius:80% 10% 80% 15%;width:10px;height:13px;transform:rotate(35deg)}.rally-beats .struck{background:#658640;border-color:#587644}.controls{background:#fff5de}.item-picker button{justify-content:center;align-items:center;min-height:34px;font-size:11px}.scroll-button{min-height:48px}.card-icon img{object-fit:contain;width:100%;height:100%}.upgrade-modal h2{color:#70472e}.upgrade-card{background:#fffaed;border-color:#dacbae}.card-body>strong{font-size:16px}.card-description{color:#5f614e;font-size:12px}.card-growth .card-icon{background:#e9eccb}.card-evolution .card-icon,.card-recruit .card-icon{background:#f6e2bd}@media (width<=520px){.game-shell{height:100svh;min-height:0}.battlefield{min-height:120px}.brand-bar{height:calc(54px + env(safe-area-inset-top));padding-top:calc(5px + env(safe-area-inset-top))}.controls{padding-bottom:max(8px,env(safe-area-inset-bottom))}}@media (height<=740px){.hud{padding-block:6px}.leader-skills{padding-block:4px}.controls{padding-top:6px}.footer-tip{display:none}}@media (width<=360px){.brand-bar{padding-inline:9px}.header-actions .tree-button{padding-inline:4px;font-size:10px}.leader-skill-button:not(:only-child) .skill-copy strong{font-size:10px}}:root{color:#263d34;background:#132f30}.page{background-color:#183433;background-image:repeating-radial-gradient(at 50% 100%,#0000 0 5px,#b3b2940c 5.5px 6.5px,#0000 7px 12px),radial-gradient(#36524a 0%,#16302f 72%);background-size:52px 27px,100% 100%;padding:14px 12px}.page:before{opacity:1;background:0 0;border:1px solid #c4b07944;inset:12px}.game-shell{border-radius:9px;width:448px;height:min(900px,100svh - 28px);min-height:0;box-shadow:0 0 0 1px #2d3529,0 0 0 3px #a18d63,0 0 0 5px #1b3530,0 14px 55px #04201dcc}.game-content{min-height:0}.battlefield{min-height:100px}.cover-sound{top:max(12px,env(safe-area-inset-top));z-index:3;color:#284539;background:#fcf2d8ea;border:1px solid #b29c6f;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;right:13px}.cover-sound svg{width:18px;height:18px}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#102e29b8;padding:17px}.modal{isolation:isolate;color:#343b2e;scrollbar-width:thin;scrollbar-color:#ac9569 #f4e5c5;overscroll-behavior:contain;background-color:#fbf1d9;background-image:radial-gradient(#ab87571b .7px,#0000 .9px);background-size:5px 5px;border:1px solid #d6ad73;border-radius:5px 16px;padding:23px 18px 17px;position:relative;box-shadow:inset 0 0 0 4px #f8eacb,inset 0 0 0 5px #ae875877,0 12px 48px #09251daa}.modal h2{color:#283e32;font-family:Hiragino Mincho ProN,Yu Mincho,serif;font-weight:900;line-height:1.3}.modal-kicker{color:#846948;font-size:11px}.modal-description,.modal .tree-note,.modal .stats-note,.modal .branch-description{color:#635d4c;font-size:12px;line-height:1.65}.modal .primary-button{color:#fff0cd;background:#ad452c;border:1px solid #753321;border-radius:3px 9px;font:800 17px/1.4 Hiragino Mincho ProN,serif;box-shadow:inset 0 0 0 3px #b75338,inset 0 0 0 4px #e6ad65,0 2px #753321}.modal .tree-button,.modal .text-button{color:#36594c;min-height:40px;font-size:12px}.modal .tree-button{background:#f5ead1;border:1px solid #bea779}.modal .text-button{margin-top:7px}.music-credit{color:#36594c;margin-top:8px;font-size:12px;display:block}.music-credit a{color:inherit}.modal .paused-note{color:#736c55;font-size:10px}.modal .tanuki-hero{object-fit:contain}.reward-heading{justify-content:center;align-items:center;gap:11px;display:flex}.reward-heading img{object-fit:contain;filter:drop-shadow(0 2px #bc925c60);width:62px;height:62px;transform:rotate(-7deg)}.reward-heading>div{text-align:left}.reward-heading span,.record-banner{color:#964731;letter-spacing:.09em;font-size:11px;font-weight:800;display:inline-block}.reward-heading h2{font-size:clamp(21px,5.3vw,28px)}.upgrade-modal .reward-heading h2{word-break:keep-all;display:block}.reward-invite{color:#635d4c;text-align:center;margin:10px 0 15px;font-size:12px;line-height:1.5}.upgrade-cards{gap:9px}.upgrade-card{--accent:#5d7959;border:1px solid #cbb58d;border-left:4px solid var(--accent);color:#373c2c;background:#fff8e8;border-radius:2px 9px;align-items:center;gap:9px;min-height:74px;padding:8px 7px 8px 5px;position:relative;box-shadow:0 2px #ccb88e}.upgrade-card:not(:disabled):hover,.branch-card:not(:disabled):hover{background-color:#fff1ce}.card-attack{--accent:#a94a36}.card-speed{--accent:#a77b2a}.card-intellect{--accent:#34776a}.card-evolution,.card-recruit{--accent:#815879}.card-drum{--accent:#ba6036}.card-repair{--accent:#597381}.illustrated-icon{background:radial-gradient(#e5d29f70,#0000 72%);flex:none;place-items:center;width:50px;height:56px;display:grid}.illustrated-icon img{object-fit:contain;width:100%;height:100%}.card-body{justify-content:center;align-self:stretch;gap:2px;min-width:0}.card-body small{color:var(--accent);font-size:9px;font-weight:800}.card-body>strong{font:900 16px/1.3 Hiragino Mincho ProN,serif}.card-body .card-description{color:#635c4a;font-size:11px;line-height:1.4}.reward-amount{color:var(--accent);border:1px solid;flex:none;align-self:flex-start;margin-top:2px;padding:4px 3px;font:700 12px/1.1 serif;transform:rotate(-3deg)}.evolution-modal .branch-cards{gap:7px}.branch-card{color:#354638;background:#fff7e3;border-color:#c8b891;border-radius:3px 8px;min-width:0}button.branch-card{flex-direction:row;align-items:center;gap:9px;padding:8px;display:flex}.branch-text{flex:1;gap:2px;min-width:0;display:grid}.branch-text b{font:900 15px/1.3 Hiragino Mincho ProN,serif}.branch-text span{color:#675e49;font-size:11px;line-height:1.4}.branch-text small{color:#63573e;font-size:10px;font-weight:700}.branch-seal{color:#715137;background:#f5e6bf;border:1px solid #b49a6b;flex:none;place-items:center;width:32px;height:34px;font:700 21px/1 serif;display:grid;transform:rotate(-4deg)}.branch-heading{justify-content:flex-start;align-items:center;gap:7px}.branch-heading b{min-width:0}.branch-heading small{flex:none;margin-left:auto}.record-face{object-fit:contain;flex:none;width:42px;height:42px}.branch-path{color:#6c543c;line-height:1.8}.stats-heading{border-bottom:1px solid #cbb78e;padding-bottom:8px}.stats-heading button{position:sticky;top:0}.stats-grid>div,.pursuit-stats,.active-effects,.stats-leaders>section{background:#fff7e5;border-color:#d4bf98;border-radius:3px 8px}.stats-grid dt,.stats-grid small,.stats-leaders p{color:#5d5847}.stats-grid dt,.stats-leaders p{font-size:11px}.stats-grid dd{color:#3b4936}.stats-leaders strong{font-size:15px}.skill-detail{background:#ebe8cf}.record-banner{border-block:1px solid #ba8b55;padding:4px 12px;transform:rotate(-2deg)}.return-party{justify-content:center;align-items:flex-end;gap:0;height:110px;margin:12px auto 4px;display:flex}.return-party img{object-fit:contain;width:auto;max-width:32%;height:88%;margin:0 -2%}.return-party img:first-child{height:100%}.return-party img:last-child{height:66%;transform:rotate(9deg)}.result-stats{border-color:#c6b288;margin:0;padding:12px 0}.result-stats span{color:#786747;font-size:11px}.result-stats strong{color:#734629}.record-time{color:#78694e;margin:9px 0 17px;font-size:11px}@media (width<=520px){.page{height:100svh;padding:0}.page:before{display:none}.game-shell{width:100%;max-width:none;height:100svh;min-height:0;box-shadow:none;border-radius:0}.war-header{padding-top:max(5px,env(safe-area-inset-top))}.modal-backdrop{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))}}@media (width<=355px){.modal{padding:17px 12px 12px}.illustrated-icon{width:39px;height:45px}.upgrade-card{gap:6px}.card-body>strong{font-size:14px}.reward-amount{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.rest-modal .return-party,.result-modal .return-party{isolation:isolate;margin:12px -8px 8px;padding:7px 12px 3px;position:relative}.return-party:before{content:"";z-index:-1;clip-path:polygon(1% 12%,30% 6%,66% 9%,98% 0,96% 15%,100% 14%,98% 79%,100% 91%,74% 94%,30% 89%,0 100%,3% 84%,0 85%);background:url(/assets/ponpoko-pass-DInbsBxB.webp) 50% 24%/100%;position:absolute;inset:8px 0 0}.rest-modal .return-party .tanuki-hero{max-width:48%;height:100%;margin:auto;transform:rotate(-5deg)}
