.pactling-moves{--move-ink:#173f38;--move-muted:#506d64;--move-paper:#fff;--move-edge:#cedfd5;color:var(--move-ink);font-size:1rem}.move-heading{justify-content:space-between;align-items:center;gap:12px;margin:18px 0 10px;display:flex}.move-heading h3{margin:0;font-size:1.05rem}.move-heading>span{color:var(--move-muted);font-size:.875rem}.move-slots{grid-template-columns:1fr 1fr;gap:10px;display:grid}.pactling-moves .move-slot{--move-accent:#8a7baa;text-align:left;border:1px solid var(--move-edge);border-top:4px solid var(--move-accent);background:var(--move-paper);min-height:100px;color:var(--move-ink);font:inherit;white-space:normal;border-radius:13px;flex-direction:column;align-items:flex-start;gap:5px;padding:12px;line-height:1.4;display:flex}.pactling-moves .leaf{--move-accent:#5d9a48}.pactling-moves .water{--move-accent:#4299ce}.pactling-moves .ember{--move-accent:#e18040}.pactling-moves .electric{--move-accent:#c0a323}.pactling-moves .rock{--move-accent:#9b8061}.pactling-moves .bug{--move-accent:#86983e}.pactling-moves .move-slot[aria-pressed=true]{outline-offset:1px;background:#eff8f1;outline:3px solid #38977a}.pactling-moves .move-slot:disabled{opacity:1;cursor:default}.move-slot small,.move-slot>span{color:var(--move-muted);font-size:.875rem}.move-slot strong{font-size:1rem}.move-instruction{color:var(--move-muted);margin:12px 0;font-size:.875rem}.learned-move-list{gap:10px;display:grid}.learned-move{border:1px solid var(--move-edge);background:var(--move-paper);border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.learned-move>div{min-width:0}.move-name{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.move-type{color:var(--move-muted);font-size:.8125rem;font-weight:650}.learned-move p{color:var(--move-ink);margin:6px 0;font-size:.9375rem;line-height:1.5}.learned-move small{color:var(--move-muted);font-size:.8125rem}.learned-move small svg{vertical-align:middle;display:inline}.pactling-moves .move-equip{color:#205e46;min-height:42px;font:inherit;background:#e2f2e7;border:1px solid #327b60;border-radius:9px;flex-shrink:0;align-items:center;gap:5px;padding:8px 11px;font-size:.875rem;font-weight:700;display:flex}.pactling-moves .move-equip:disabled{color:var(--move-muted);opacity:1;background:0 0;border-color:#0000}.move-equipped{align-items:center;gap:5px;font-size:.875rem;display:flex}.move-save-note{min-height:1.4em;color:var(--move-muted);margin:10px 0;font-size:.875rem}.future-moves{border-top:1px solid var(--move-edge);padding-top:12px}.future-moves summary{cursor:pointer;align-items:center;gap:8px;font-size:.9375rem;font-weight:650;display:flex}.future-moves>div{border-bottom:1px solid var(--move-edge);flex-wrap:wrap;align-items:center;gap:7px;padding:14px 0;display:flex}.future-moves>div>span{color:var(--move-muted);margin-left:auto;font-size:.8125rem}.future-moves p{color:var(--move-muted);flex-basis:100%;margin:0;font-size:.875rem}.learned-move-celebration{color:#285336;background:#e6f4e7;border:1px solid #b3d8b7;border-radius:14px;margin:16px 0;padding:16px}.learned-move-celebration h3{margin:0 0 10px;font-size:1.1rem}.learned-move-celebration p{margin:5px 0}.learned-move-celebration small{margin-top:10px;font-size:.875rem;display:block}:is(.pactling-moves button:focus-visible,.pactling-moves summary:focus-visible){outline-offset:3px;outline:3px solid #3aa484}@media (max-width:480px){.learned-move{flex-direction:column;align-items:flex-start;gap:10px}.pactling-moves .move-equip{align-self:flex-end}.move-slots{gap:7px}.pactling-moves .move-slot{min-height:110px;padding:10px}.future-moves>div>span{flex-basis:100%;margin-left:0}}.pactling-type-profile{color:#214c39;text-align:left;background:#fff;border:1px solid #b0cdbb;border-radius:12px;margin:14px 0;padding:14px;font-size:.875rem}.pactling-type-profile>strong{font-size:1rem}.pactling-type-profile dl{gap:12px;margin:10px 0 0;display:grid}.pactling-type-profile dl>div{gap:3px;display:grid}.pactling-type-profile dt{color:#436653;font-weight:650}.pactling-type-profile dd{color:#193e33;margin:0}.pactling-type-chart{color:#193e33;background:#f1f7f2;border:1px solid #9cbab0;border-radius:12px;min-width:0;padding:16px;font-size:.9375rem;line-height:1.5}.pactling-type-chart p,.battle-lab .pactling-type-chart p{color:#345645;margin:0 0 12px;font-size:.9375rem}.pactling-type-chart p:last-child{margin:12px 0 0}.type-chart-scroll{border-radius:8px;max-width:100%;overflow:auto}.type-chart-scroll:focus-visible{outline-offset:3px;outline:3px solid #267950}.pactling-type-chart table{border-collapse:separate;border-spacing:3px;white-space:nowrap;width:100%;min-width:620px;font-size:.875rem}.pactling-type-chart caption{text-align:left;margin-bottom:8px;font-weight:700}.pactling-type-chart th,.pactling-type-chart td{text-align:center;border-radius:5px;padding:10px 7px}.pactling-type-chart th{color:#254d38;background:#e0ece3}.pactling-type-chart th[data-selected=true]{color:#fff;background:#296c4b}.pactling-type-chart th[scope=row]{text-align:left;position:sticky;left:0;box-shadow:2px 0 #f1f7f2}.pactling-type-chart [data-matchup=strong]{color:#16552d;background:#c2ebca;font-weight:750}.pactling-type-chart [data-matchup=resisted]{color:#754210;background:#f7dfc3;font-weight:750}.pactling-type-chart [data-matchup=neutral]{color:#52645a;background:#fff}.workshop-type-chart{border-top:1px solid #c3d9cc;margin-top:22px;padding-top:18px}.workshop-type-chart summary{margin-bottom:12px}.bl-type-dialog{color:#193e33;background:#f1f7f2;width:calc(100vw - 32px);max-height:90dvh;overflow:auto;max-width:850px!important}.bl-moves .move-matchup{font-size:.875rem;font-style:normal}.bl-moves .move-matchup.strong{color:#c3f195}.bl-moves .move-matchup.resisted{color:#ffd09b}@media (max-width:480px){.pactling-type-chart{padding:12px}.bl-type-dialog{padding:16px}}.bl-workshop{color:#193e33;background:#f1f7f2;border:1px solid #9cbab0;border-radius:22px;margin:28px 0;padding:clamp(18px,3vw,32px);font-size:1rem}.bl-workshop header{justify-content:space-between;align-items:center;gap:20px;display:flex}.workshop-kicker{color:#317359;letter-spacing:.04em;align-items:center;gap:8px;font-size:.875rem;font-weight:750;display:flex}.bl-workshop h2{margin:8px 0;font-size:clamp(24px,3vw,32px)}.bl-workshop p{color:#45685a;font-size:1rem;line-height:1.5}.workshop-level{white-space:nowrap;background:#d9eedb;border-radius:15px;padding:12px 20px;font-size:26px;font-weight:800}.workshop-level-control{grid-template-columns:180px 1fr;align-items:center;gap:10px 20px;margin:25px 0;display:grid}.workshop-level-control label{justify-content:space-between;font-weight:650;display:flex}.workshop-level-control input{accent-color:#267950;width:100%;min-height:32px}.workshop-level-control>div{grid-column:2;justify-content:space-between;gap:8px;display:flex}.bl-workshop button{font:inherit}.workshop-level-control button{color:#315d45;background:#fff;border:1px solid #c3d9ce;border-radius:8px;padding:7px 12px}.workshop-level-control button[aria-pressed=true]{color:#fff;background:#296c4b}.workshop-starters{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.workshop-starters button{color:#214c39;text-align:left;background:#fff;border:1px solid #bdd5c5;border-radius:13px;align-items:center;gap:12px;padding:10px 15px;display:flex}.workshop-starters img{object-fit:contain;width:64px;height:64px}.workshop-starters button[aria-pressed=true]{background:#ddf0de;border:2px solid #338457}.workshop-layout{grid-template-columns:minmax(180px,.7fr) minmax(0,1.65fr);gap:30px;margin-top:22px;display:grid}.workshop-layout>aside{text-align:center;align-self:start;position:sticky;top:20px}.workshop-portrait{object-fit:contain;width:100%;max-width:280px;height:260px}.workshop-layout aside h3{margin:4px 0;font-size:24px}.workshop-layout aside p{font-size:.9375rem}.workshop-layout aside svg{vertical-align:middle;display:inline}.workshop-layout aside small{color:#526d60;margin:14px 0;font-size:.875rem;display:block}.workshop-layout aside a{color:#245e42;margin-top:18px;font-weight:700;display:block}.workshop-schedules,.workshop-catalog{border-top:1px solid #c3d9cc;margin-top:22px;padding-top:18px}.bl-workshop summary{cursor:pointer;font-weight:700}.workshop-schedules>div{overflow:auto}.workshop-schedules table{border-collapse:collapse;width:100%;min-width:640px;margin-top:14px;font-size:.9375rem}.workshop-schedules th,.workshop-schedules td{text-align:left;border-bottom:1px solid #d3e1d8;padding:12px}.workshop-schedules thead{background:#dcecdf}.workshop-catalog>div{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;display:grid}.workshop-catalog article{background:#fff;border:1px solid #d0e0d5;border-radius:10px;padding:14px}.workshop-catalog article>span{color:#557565;margin:5px 0;font-size:.8125rem;display:block}.workshop-catalog article p{margin:6px 0;font-size:.875rem}:is(.bl-workshop button:focus-visible,.bl-workshop summary:focus-visible){outline-offset:3px;outline:3px solid #5aaa84}.bl-utility{align-items:stretch;gap:8px;margin-top:8px;display:flex}.bl-utility .bl-capture{flex:1;width:auto;margin:0}.bl-utility>button{min-height:42px;padding:8px 12px}.battle-lab .bl-creature[data-stage="1"]{transform-origin:bottom;scale:1.22}.battle-lab .bl-creature[data-stage="2"]:not(.guardian){transform-origin:bottom;scale:1.45}.bl-status .bl-temporary{flex-wrap:wrap;gap:5px;font-size:12px;display:flex}.bl-temporary span{border:1px solid #537969;border-radius:6px;padding:1px 5px}@media (max-width:760px){.workshop-layout{grid-template-columns:1fr;gap:8px}.workshop-layout>aside{position:static}.workshop-portrait{height:180px}.workshop-starters button{flex-direction:column;gap:5px;padding:8px;font-size:.875rem}.workshop-starters img{width:54px;height:54px}.workshop-level-control{grid-template-columns:1fr}.workshop-level-control>div{grid-column:1}.workshop-catalog>div{grid-template-columns:1fr 1fr}.workshop-level{padding:10px;font-size:20px}.bl-workshop header{align-items:flex-start}.bl-utility{flex-wrap:wrap}}@media (max-width:450px){.workshop-catalog>div{grid-template-columns:1fr}.workshop-level-control button{padding:7px}.workshop-starters{gap:6px}.bl-workshop header{flex-direction:column;gap:8px}}.battle-lab .workshop-starters button{color:#214c39;background:#fff;border-color:#bdd5c5}.battle-lab .workshop-starters button[aria-pressed=true]{background:#ddf0de;border:2px solid #338457}.battle-lab .workshop-level-control button{color:#315d45;background:#fff;border-color:#c3d9ce;padding:7px 12px}.battle-lab .workshop-level-control button[aria-pressed=true]{color:#fff;background:#296c4b}.battle-lab .bl-workshop button:hover:not(:disabled){color:#214c39;background:#d5ecd9;border-color:#338457}.battle-lab .bl-workshop .move-slot:hover:not(:disabled){background:#eff8f1}.battle-lab .bl-workshop button:focus-visible{outline-color:#267950}.battle-lab .bl-workshop h2{margin:8px 0;font-size:clamp(24px,3vw,32px)}.battle-lab .bl-workshop .move-heading h3{font-size:1.05rem}.battle-lab .bl-workshop p{margin:6px 0}.bl-hud .bl-utility .bl-capture{width:auto;margin:0}.bl-vfx.electric{--fx:#ffe97b}.bl-vfx.rock{--fx:#cbb18c}.bl-vfx.bug{--fx:#d2ed6b}.bl-arena[data-player-stage="1"]{--player-hit-y:42%}.bl-arena[data-player-stage="2"]{--player-hit-y:38%}.bl-arena[data-enemy-stage="1"]:not([data-guardian=true]){--enemy-hit-y:37%}.bl-arena[data-enemy-stage="2"]:not([data-guardian=true]){--enemy-hit-y:34%}.workshop-filters{grid-template-columns:minmax(0,2fr) minmax(150px,1fr);gap:16px;margin:16px 0 10px;display:grid}.workshop-filters label{gap:8px;font-size:.9375rem;font-weight:650;display:grid}.workshop-filters label>span{align-items:center;gap:7px;display:flex}.battle-lab .workshop-filters input,.battle-lab .workshop-filters select{color:#214c39;width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #9cbcab;border-radius:10px;padding:12px}.workshop-result-count{font-size:.875rem!important}.workshop-roster{scrollbar-color:#7ba78b #e1eee3;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;max-height:315px;margin:12px -5px 22px;padding:5px;display:grid;overflow:auto}.battle-lab .workshop-roster button{text-align:left;color:#214c39;background:#fff;border:1px solid #b0cdbb;align-items:center;gap:10px;min-height:80px;padding:10px;display:flex}.workshop-roster img{object-fit:contain;flex-shrink:0;width:56px;height:56px}.workshop-roster span{gap:4px;min-width:0;display:grid}.workshop-roster strong{overflow-wrap:anywhere;font-size:.9375rem}.workshop-roster small{color:#526d60;font-size:.8125rem}.battle-lab .workshop-roster button[aria-pressed=true]{background:#dcf0dc;border-color:#338457;box-shadow:inset 0 0 0 2px #338457}.workshop-empty{background:#fff;border-radius:10px;padding:16px}.workshop-comparison table{min-width:1300px}.workshop-comparison th:first-child{background:#e3eee5;min-width:180px;position:sticky;left:0}.workshop-comparison td{vertical-align:top;min-width:125px}.workshop-comparison:focus-visible{outline-offset:3px;outline:3px solid #267950}@media (max-width:520px){.workshop-filters{grid-template-columns:1fr}.workshop-roster{grid-template-columns:1fr 1fr;max-height:290px}.battle-lab .workshop-roster button{flex-direction:column;align-items:flex-start;padding:10px}.workshop-roster img{width:50px;height:50px}}.battle-lab{--ink:#e9f5f1;--panel:#132b2c;--accent:#adea87;min-height:100vh;color:var(--ink);font-family:var(--font-geist-sans),sans-serif;background:#091c20;padding:20px max(18px,50vw - 610px)}.battle-lab *{box-sizing:border-box}.battle-lab button,.battle-lab select{font:inherit;color:inherit;cursor:pointer;background:#1c3839;border:1px solid #416061;border-radius:12px;padding:12px 16px}.battle-lab button:hover:not(:disabled){background:#2b5050;border-color:#adea87}:is(.battle-lab button:focus-visible,.battle-lab select:focus-visible,.battle-lab summary:focus-visible){outline-offset:3px;outline:3px solid #c3fb99}.battle-lab button:disabled{opacity:.45;cursor:not-allowed}.battle-lab h1,.battle-lab h2,.battle-lab h3,.battle-lab p{margin:0}.battle-lab h2{font-size:22px}.battle-lab small{font-size:14px;line-height:1.5}.bl-header{flex-wrap:wrap;align-items:center;gap:24px;margin-bottom:20px;display:flex}.bl-header a{color:#b7d5ce;text-decoration:none}.bl-header h1{font-size:24px}.bl-header>span{color:#aac7c2;margin-left:auto;font-size:14px}.bl-setup{border:1px solid #375555;border-radius:22px;grid-template-columns:1.1fr 1fr;display:grid;overflow:hidden}.bl-setup-art{text-shadow:0 2px 7px #000;background-position:50%;background-size:cover;flex-direction:column;justify-content:flex-end;min-height:500px;padding:32px;display:flex}.bl-setup-art h2{font-size:32px}.bl-config{background:var(--panel);gap:18px;padding:30px;display:grid}.bl-config label{gap:8px;font-size:14px;display:grid}.bl-config select{width:100%;min-width:0}.bl-config-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.bl-config p,.bl-config small{color:#bed3cf}.battle-lab .bl-primary{background:var(--accent);color:#102724;font-weight:750}.bl-round{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.bl-round>span{color:#bed3cf;font-size:14px}.bl-round button{padding:7px 12px;font-size:14px}.bl-arena{aspect-ratio:16/9;isolation:isolate;background-size:100% 100%;border-radius:20px 20px 0 0;position:relative;overflow:hidden}.bl-creature{object-fit:contain;pointer-events:none;filter:drop-shadow(0 10px 5px #15231850);animation:.35s ease-out bl-arrive;position:absolute}.bl-creature.player{z-index:3;width:34%;height:57%;bottom:16%;left:10%}.bl-creature.enemy{z-index:2;width:24%;height:43%;bottom:39%;left:60%}.bl-creature.enemy.guardian{width:34%;height:57%;bottom:36%;left:55%}.bl-creature.fainted{opacity:.25;filter:grayscale();animation:none}.bl-status{z-index:5;background:#10272bef;border:1px solid #75938d;border-radius:14px;width:29%;padding:12px 16px;font-size:14px;position:absolute;box-shadow:0 4px 18px #0003}.bl-status.foe{top:4%;left:3%}.bl-status.ally{bottom:5%;right:3%}.bl-status>div:not([data-slot]){flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.bl-status strong{font-size:18px}.bl-status [data-slot=progress]{margin:8px 0}.bl-status [data-slot=progress-track]{background:#364c4c;height:9px}.bl-status [data-slot=progress-indicator]{background:#a5e37f;transition:transform .4s,width .4s}.bl-status .low [data-slot=progress-indicator]{background:#ffa783}.bl-energy{color:#a5d8fc}.bl-phase{color:#ffe5b0;z-index:5;background:#552b21;border-radius:8px;padding:8px 12px;font-size:14px;position:absolute;top:4%;right:3%}.bl-message{background:#183336;border-bottom:1px solid #3b5555;min-height:80px;padding:16px 22px;font-size:16px;line-height:1.55}.bl-controls{background:#102729;border-radius:0 0 20px 20px;grid-template-columns:1.5fr 1fr;gap:24px;padding:24px;display:grid}.bl-controls h2,.bl-controls h3{margin-bottom:12px}.bl-moves{grid-template-columns:1fr 1fr;gap:10px;display:grid}.bl-moves button{text-align:left;gap:7px;padding:14px;display:grid}.bl-moves strong{justify-content:space-between;gap:8px;display:flex}.bl-moves strong span{color:#b1d9ee;white-space:nowrap;font-size:13px}.bl-moves small{color:#b9d1cc}.bl-moves em{color:#c3f195;font-size:13px;font-style:normal}.bl-capture{width:100%;margin-top:12px;color:#d0f6ae!important;border-color:#94b969!important}.battle-lab .bl-team{text-align:left;align-items:center;gap:10px;width:100%;margin-bottom:8px;padding:6px 10px;display:flex}.bl-team img{object-fit:contain;width:52px;height:52px}.bl-team span:nth-child(2){flex:1;display:grid}.bl-team span:last-child{font-size:13px}.bl-team.active{border-color:#abdc88;opacity:1!important}.bl-question,.bl-result{background:#173335;border-radius:0 0 20px 20px;gap:16px;padding:26px;display:grid}.bl-question>span{color:#b6de99;font-size:14px}.bl-answers{grid-template-columns:1fr 1fr;gap:10px;display:grid}.bl-answers button{text-align:left}.bl-question>p{color:#d2e4df}.bl-guide{color:#b8d2cc;margin:20px 0;font-size:14px;line-height:1.65}.bl-guide summary{cursor:pointer;font-size:16px}.bl-guide p{margin-top:12px}.bl-guide ol{max-height:250px;padding-left:25px;overflow:auto}.bl-result{text-align:center}.bl-result h2{color:#c2f199;font-size:30px}@keyframes bl-arrive{0%{opacity:.6;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.bl-creature{animation:none}.bl-status [data-slot=progress-indicator]{transition:none}}@media (max-width:760px){.battle-lab{padding:14px}.bl-header{gap:10px}.bl-header>span{width:100%;margin:0}.bl-setup{grid-template-columns:1fr}.bl-setup-art{min-height:210px;padding:22px}.bl-config{padding:20px}.bl-controls{grid-template-columns:1fr;gap:18px;padding:16px}.bl-status{width:38%;padding:7px 9px;font-size:12px}.bl-status strong{font-size:14px}.bl-status>div>span{font-size:12px}.bl-status [data-slot=progress]{margin:4px 0}.bl-phase{font-size:12px;top:2%}.bl-message{padding:12px 16px;font-size:14px}.bl-question{padding:18px}.bl-moves{grid-template-columns:1fr 1fr}.bl-moves strong{display:grid}.bl-round{font-size:14px}}@media (max-width:420px){.bl-config-pair,.bl-answers{grid-template-columns:1fr}.bl-status{width:43%}.bl-status.foe{top:2%;left:2%}.bl-status.ally{bottom:2%;right:2%}.bl-status small{font-size:12px}.bl-moves{grid-template-columns:1fr}}.battle-lab .bl-arena{aspect-ratio:auto;background-size:100% 100%;border-radius:20px;height:calc(100dvh - 140px);min-height:650px;max-height:860px}.bl-hud{z-index:10;scrollbar-color:#779a87 #142f30;background:#10272bf2;border:2px solid #78938a;border-radius:17px;max-height:46%;position:absolute;bottom:14px;left:14px;right:14px;overflow:auto;box-shadow:0 6px 24px #07151980}.bl-hud .bl-controls{background:0 0;border-radius:0;grid-template-columns:1.6fr 1fr;gap:18px;padding:14px 18px}.bl-hud .bl-controls h3{margin-bottom:8px;font-size:16px}.bl-hud .bl-moves{gap:7px}.bl-hud .bl-moves button{gap:3px;padding:9px 12px}.bl-hud .bl-moves small{font-size:13px;line-height:1.35}.bl-hud .bl-team{padding:3px 8px}.bl-hud .bl-team img{width:40px;height:40px}.bl-hud .bl-team small{font-size:12px}.bl-hud .bl-capture{margin-top:8px;padding:9px}.bl-hud .bl-question{background:0 0;gap:10px;padding:16px 22px}.bl-hud .bl-question h2{font-size:21px}.bl-hud .bl-question>button{justify-self:start;padding:7px 12px;font-size:14px}.bl-hud .bl-answers button{padding:10px 14px}.bl-hud .bl-result{background:0 0;gap:10px;padding:18px}.bl-hud .bl-result button{padding:9px}.bl-narration{align-content:center;gap:14px;min-height:155px;padding:28px 30px;display:grid}.bl-narration>span:first-child{color:#b6e393;font-size:14px}.bl-narration h2{font-size:25px;line-height:1.4}.bl-reading{color:#b6e393;letter-spacing:5px;font-size:12px}.battle-lab .bl-status.foe{width:30%;top:3%;left:auto;right:3%}.battle-lab .bl-status.ally{width:30%;inset:3% auto auto 3%}.battle-lab .bl-creature.enemy{width:25%;height:33%;bottom:49%;left:59%}.battle-lab .bl-creature.enemy.guardian{width:34%;height:44%;bottom:46%;left:54%}.battle-lab .bl-phase{top:19%;right:3%}.battle-lab .bl-creature.bl-hit{animation:.6s ease-in-out bl-impact}.battle-lab .bl-creature.bl-act{animation:.55s ease-in-out bl-action}@keyframes bl-impact{0%,to{opacity:1;transform:translate(0)}20%{opacity:.4;transform:translate(-9px)}40%{opacity:1;transform:translate(9px)}60%{opacity:.4;transform:translate(-6px)}80%{opacity:1;transform:translate(5px)}}@keyframes bl-action{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}@media (max-width:760px){.battle-lab .bl-arena{background-position:50%;background-size:auto 100%;height:calc(100dvh - 160px);min-height:700px}.bl-hud{max-height:49%;bottom:8px;left:8px;right:8px}.bl-hud .bl-controls{grid-template-columns:1fr;gap:10px;padding:12px}.bl-hud .bl-controls aside{flex-wrap:wrap;gap:5px;display:flex}.bl-hud .bl-controls aside h3{width:100%;margin:0}.bl-hud .bl-team{flex:1;min-width:135px}.bl-hud .bl-team img{width:30px;height:30px}.bl-hud .bl-team>span:last-child{display:none}.bl-hud .bl-moves{grid-template-columns:1fr 1fr}.bl-hud .bl-moves strong{flex-wrap:wrap;font-size:14px;display:flex}.bl-hud .bl-moves small{font-size:12px}.battle-lab .bl-status.ally,.battle-lab .bl-status.foe{width:44%}.battle-lab .bl-creature.player{width:44%;height:34%;bottom:44%;left:2%}.battle-lab .bl-creature.enemy{width:34%;height:26%;bottom:53%;left:59%}.battle-lab .bl-creature.enemy.guardian{width:44%;height:34%;bottom:51%;left:52%}.bl-hud .bl-question h2{font-size:18px}.bl-hud .bl-answers{grid-template-columns:1fr 1fr}.bl-narration h2{font-size:20px}}@media (prefers-reduced-motion:reduce){.battle-lab .bl-creature.bl-hit,.battle-lab .bl-creature.bl-act{animation:none}.battle-lab .bl-creature.bl-hit{filter:brightness(1.2)drop-shadow(0 0 8px #fff)}}.bl-pact-progress{color:#ffe3a0;align-items:center;gap:22px;display:flex}.bl-scroll-icon{filter:drop-shadow(0 0 10px #e9c76160);flex-shrink:0;position:relative}.bl-scroll-mark{position:absolute;top:22px;left:22px}.bl-pact-progress.forming .bl-scroll-icon{animation:.95s ease-in-out infinite bl-scroll-pulse}.bl-pact-seals{gap:12px;margin-bottom:8px;display:flex}.bl-pact-seals span{color:#728580;border:1px solid #728580;border-radius:50%;place-items:center;width:36px;height:36px;font-size:22px;transition:background .3s,color .3s,box-shadow .3s;display:grid}.bl-pact-seals .lit{color:#fff0bb;background:#725830;border-color:#efd887;box-shadow:0 0 14px #efd88766}.bl-pact-progress p{font-size:14px}.bl-pact-progress.success{color:#c0f39b}.bl-pact-progress.success .lit{color:#d9ffc0;background:#3f6945;border-color:#b0e784}.bl-pact-progress.escaped{color:#e6b9a8}.bl-pact-progress.escaped .lit{color:#b5a39c;box-shadow:none;background:#483c3a;border-color:#826e65}@keyframes bl-scroll-pulse{50%{filter:drop-shadow(0 0 17px #ffe3a0a0);transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.bl-pact-progress.forming .bl-scroll-icon{animation:none}.bl-pact-seals span{transition:none}}.bl-vfx{z-index:6;pointer-events:none;--from-x:27%;--from-y:39%;--to-x:71%;--to-y:34%;--fx:#eff8ff;color:var(--fx);position:absolute;inset:0}.bl-vfx.toward-player{--from-x:71%;--from-y:34%;--to-x:27%;--to-y:39%}.bl-vfx.water{--fx:#72dfff}.bl-vfx.ember{--fx:#ffb457}.bl-vfx.leaf{--fx:#b3f77d}.bl-projectile{left:var(--from-x);top:var(--from-y);opacity:0;width:52px;height:52px;filter:drop-shadow(0 0 10px var(--fx));animation:.48s ease-in forwards bl-travel;position:absolute}.bl-projectile svg{width:100%;height:100%}.bl-projectile.trail-1{width:37px;height:37px;animation-delay:70ms}.bl-projectile.trail-2{width:25px;height:25px;animation-delay:.14s}.bl-impact-effect{left:var(--to-x);top:var(--to-y);width:110px;height:110px;filter:drop-shadow(0 0 8px var(--fx));position:absolute;transform:translate(-50%,-50%)}.bl-impact-ring{border:4px solid var(--fx);opacity:0;border-radius:50%;animation:.42s ease-out .39s both bl-ring;position:absolute;inset:10%}.bl-burst{opacity:0;width:100%;height:100%;animation:.48s ease-out .4s both bl-ring}.bl-slash{background:linear-gradient(90deg,transparent,#fff,var(--fx),transparent);opacity:0;border-radius:50%;width:85%;height:7px;animation:.45s ease-out both bl-cut;position:absolute;top:45%;left:8%;transform:rotate(-40deg)}.bl-slash.second{animation-delay:80ms;top:60%;left:20%}.bl-slash.third{animation-delay:.14s;top:30%;left:-3%}.bl-vfx.neutral .bl-impact-effect{width:130px;height:110px}@keyframes bl-travel{0%{left:var(--from-x);top:var(--from-y);opacity:0;transform:translate(-50%,-50%)scale(.6)}15%{opacity:1}85%{opacity:1}to{left:var(--to-x);top:var(--to-y);opacity:0;transform:translate(-50%,-50%)scale(1.15)}}@keyframes bl-ring{0%{opacity:0;transform:scale(.3)}25%{opacity:1}to{opacity:0;transform:scale(1.5)}}@keyframes bl-cut{0%{opacity:0;transform:rotate(-40deg)scaleX(.1)}30%{opacity:1}70%{opacity:1;transform:rotate(-40deg)scaleX(1)}to{opacity:0;transform:rotate(-40deg)scaleX(1.2)}}.bl-arena:has(.bl-vfx:not(.neutral)) .bl-creature.bl-hit{animation-delay:.4s}@media (max-width:760px){.bl-vfx{--from-x:24%;--from-y:39%;--to-x:76%;--to-y:34%}.bl-vfx.toward-player{--from-x:76%;--from-y:34%;--to-x:24%;--to-y:39%}.bl-projectile{width:38px;height:38px}.bl-impact-effect{width:80px;height:80px}}@media (prefers-reduced-motion:reduce){.bl-projectile{display:none}.bl-impact-ring,.bl-burst,.bl-slash{opacity:.75;animation:none}.bl-impact-ring{transform:scale(.8)}.bl-burst{display:none}}.bl-switch-menu{flex-direction:column;justify-content:center;gap:12px;display:flex}.battle-lab .bl-switch-button{border-color:#a9cb8c;width:100%;padding:18px;font-size:18px;font-weight:700}.bl-switch-button span{color:#c1d5ce;margin-top:6px;font-size:14px;font-weight:400;display:block}.bl-switch-menu p{color:#c1d5ce;text-align:center;font-size:14px}.bl-team-dialog[data-slot=dialog-content]{color:#edf7f0;width:min(740px,100vw - 28px);max-width:740px;max-height:calc(100dvh - 32px);font-family:var(--font-geist-sans),sans-serif;background:#10292c;border:2px solid #78968a;border-radius:22px;padding:26px;overflow:auto;box-shadow:0 20px 80px #0009}.bl-team-dialog [data-slot=dialog-title]{padding-right:24px;font-size:24px;font-weight:700;line-height:1.3}.bl-team-dialog [data-slot=dialog-description]{color:#bed3cb;font-size:15px;line-height:1.55}.bl-party-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.bl-party-card{text-align:center;color:#edf7f0;cursor:pointer;font:inherit;background:#1d3a3c;border:1px solid #607f74;border-radius:16px;flex-direction:column;align-items:stretch;gap:7px;padding:16px 12px;display:flex}.bl-party-card strong{font-size:18px}.bl-party-element,.bl-party-card small{color:#bdd4ca;font-size:13px}.bl-party-card img{object-fit:contain;width:100%;height:132px}.bl-party-card [data-slot=progress-track]{background:#3f5352;height:9px}.bl-party-card [data-slot=progress-indicator]{background:#a8e081}.bl-party-card .low [data-slot=progress-indicator]{background:#ffb18b}.bl-party-card>span:not(.bl-party-element){font-size:14px}.bl-party-state{color:#cdf6a9;background:#2c5050;border-radius:8px;margin-top:4px;padding:7px;font-weight:700}.bl-party-card:hover:not(:disabled){background:#294b48;border-color:#c0ef93}.bl-party-card:disabled{opacity:.55;cursor:not-allowed}.bl-party-card.resting img{filter:grayscale()}.bl-party-back{font:inherit;color:#eaf4ee;cursor:pointer;background:#234344;border:1px solid #68877c;border-radius:10px;padding:11px 16px}:is(.bl-party-card:focus-visible,.bl-party-back:focus-visible){outline-offset:3px;outline:3px solid #c3fb99}@media (max-width:600px){.bl-team-dialog[data-slot=dialog-content]{padding:20px}.bl-party-grid{grid-template-columns:1fr}.bl-party-card{grid-template-columns:75px 1fr 85px;align-items:center;gap:5px 12px;padding:10px;display:grid}.bl-party-card img{grid-area:1/1/5;height:76px}.bl-party-card strong,.bl-party-element,.bl-party-card [data-slot=progress],.bl-party-card>span:not(.bl-party-state){grid-column:2}.bl-party-card strong{font-size:16px}.bl-party-card small{grid-area:2/3}.bl-party-card .bl-party-state{grid-area:3/3/5}.bl-hud .bl-controls .bl-switch-menu{display:block}.bl-switch-menu p{display:none}.battle-lab .bl-switch-button{padding:10px;font-size:16px}.bl-switch-button span{margin-left:12px;display:inline}}.bl-config input[type=number]{font:inherit;color:inherit;background:#1c3839;border:1px solid #416061;border-radius:12px;width:100%;padding:12px 16px}.bl-config input[type=number]:focus-visible{outline-offset:3px;outline:3px solid #c3fb99}.battle-lab .bl-creature{object-position:center bottom}.battle-lab .bl-creature.player{width:23.8%;height:30.8%;bottom:40%;left:14.1%}.battle-lab .bl-creature.enemy:not(.guardian){width:17.5%;height:23.1%;bottom:49%;left:62.75%}.bl-arena{--player-hit-y:46%;--enemy-hit-y:40%}.bl-arena[data-guardian=true]{--enemy-hit-y:33%}.bl-vfx{--from-y:var(--player-hit-y);--to-y:var(--enemy-hit-y)}.bl-vfx.toward-player{--from-y:var(--enemy-hit-y);--to-y:var(--player-hit-y)}.battle-lab .bl-hud{max-height:36%}.bl-hud .bl-moves button{gap:3px;min-height:44px;padding:8px 12px}.bl-hud .bl-controls{gap:14px;padding:12px 16px}.bl-hud .bl-controls h2{margin-bottom:8px;font-size:16px}.bl-hud .bl-moves em{font-size:12px}@media (max-width:760px){.bl-hud .bl-controls{gap:8px;padding:10px}.bl-hud .bl-moves strong{font-size:14px}.bl-hud .bl-switch-button{min-height:44px;padding:8px 12px}.bl-hud .bl-capture{font-size:14px}}.bl-answers form{flex-wrap:wrap;grid-column:1/-1;align-items:end;gap:12px;display:flex}.bl-answers form label{flex:1;gap:6px;display:grid}.bl-answers input{color:#172d37;background:#fff;border:2px solid #65cdb3;border-radius:10px;width:100%;padding:10px}.bl-save-error{color:#632b0b;background:#fff1d1;border-radius:10px;padding:12px}.bl-capture-level{color:#ffe0a2;border:1px solid #d3ad68;border-radius:6px;margin-left:8px;padding:2px 7px;font-size:.875rem;line-height:1.3;display:inline-block}
