:root{color:#fff;background:#a5c96f;font-family:Arial,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}canvas{touch-action:none;outline:none;width:100%;height:100%;display:block;position:fixed;inset:0}button{font:inherit;cursor:pointer}button:focus-visible,.top-tools a:focus-visible{outline-offset:3px;outline:3px solid #c8ddff}.top-tools{align-items:center;gap:12px;display:flex;position:fixed;top:22px;right:22px}.frame{letter-spacing:1px;text-shadow:0 1px 3px #27412588;opacity:.85;font-size:10px}.frame b{font-variant-numeric:tabular-nums;font-size:13px;font-weight:400}.top-tools button,.top-tools a{color:#56666c;background:#f4f9f0d9;border:1px solid #fff9;border-radius:50%;place-items:center;width:35px;height:35px;font-size:16px;text-decoration:none;display:grid;box-shadow:0 2px 4px #24401618}.top-tools svg{fill:none;stroke:currentColor;stroke-width:1.7px;width:21px}.top-tools .github-link svg{fill:currentColor;stroke:none;width:20px}.top-tools button:hover,.top-tools a:hover{background:#fff}.pokemon-list{align-items:center;gap:9px;display:flex;position:fixed;bottom:24px;left:24px}.resident{background:linear-gradient(#fdfefdce,#e4ebe7c4);border:2px solid #ffffffce;border-radius:50%;place-items:center;width:49px;height:49px;padding:0;transition:transform .2s;display:grid;box-shadow:0 3px 7px #2b47342a}.resident img{object-fit:contain;filter:drop-shadow(0 2px 1px #52633e20);width:43px;height:38px}.resident.selected{background:#f6f9f8;border:3px solid #93b5ff;transform:translateY(-6px)}.resident:hover{transform:translateY(-5px)}.selected-pokemon{pointer-events:none;background:radial-gradient(at 48% 24%,#fff 0%,#fffffff2 48%,#e7e9eafa 80%);border-radius:50%;flex-direction:column;align-items:center;width:187px;height:187px;display:flex;position:fixed;bottom:-28px;right:-17px;box-shadow:0 -3px 14px #fff4}.selected-pokemon .arc{fill:none;stroke:#95b6ff;stroke-width:6px;stroke-linecap:round;filter:drop-shadow(0 1px 5px #84a3e85c);width:100%;height:100%;position:absolute;inset:0}.selected-pokemon img{object-fit:contain;filter:drop-shadow(0 3px 2px #737c7830);width:109px;height:81px;margin-top:49px}.selected-pokemon span{letter-spacing:1px;color:#394442;text-shadow:0 1px #fff;margin-top:0;font-size:15px}.back{color:#fff;text-shadow:1px 1px 2px #1c292b,-1px -1px 1px #576751;background:0 0;border:0;align-items:center;gap:6px;padding:5px 7px;font-size:12px;display:flex;position:fixed;bottom:21px;left:50%;transform:translate(-50%)}.back kbd{color:#5b675a;width:20px;height:20px;text-shadow:none;background:#ffffef;border:1px solid #717f5e;border-radius:50%;place-items:center;font-size:12px;display:grid;box-shadow:0 1px 2px #33452944}#toast{color:#fff;text-shadow:0 1px 3px #243f26;opacity:0;pointer-events:none;font-size:12px;transition:opacity .3s;position:fixed;bottom:100px;left:50%;transform:translate(-50%)}#toast.show{opacity:1}#loading{z-index:10;color:#607950;background:#d9e9b9;flex-direction:column;justify-content:center;align-items:center;font-size:15px;transition:opacity .4s;display:flex;position:fixed;inset:0}#loading>div{background:#bdd09a;border-radius:5px;width:150px;height:3px;margin-top:15px;overflow:hidden}#load-bar{background:#72915d;width:0;height:100%;transition:width .3s;display:block}#load-message{max-width:80%;margin-top:12px;font-size:12px}body.clean .top-tools,body.clean .pokemon-list,body.clean .selected-pokemon,body.clean .back{display:none}@media (width<=650px){.top-tools{gap:7px;top:16px;right:13px}.top-tools button,.top-tools a{width:31px;height:31px}.pokemon-list{gap:5px;bottom:15px;left:12px}.resident{width:35px;height:35px}.resident img{width:30px;height:29px}.selected-pokemon{width:139px;height:139px;bottom:-23px;right:-15px}.selected-pokemon img{width:81px;height:60px;margin-top:34px}.selected-pokemon span{font-size:12px}.back{font-size:10px;bottom:66px;left:20px;transform:none}.back kbd{width:17px;height:17px}.frame{display:none}}#player-focus{font:inherit;color:inherit;cursor:pointer;border:0}.pokemon-list{touch-action:pan-x;scrollbar-width:none;-ms-overflow-style:none;max-width:calc(100vw - 230px);padding:9px 2px;overflow:auto hidden}.pokemon-list::-webkit-scrollbar{display:none}.pokemon-list .resident{flex:none}@media (width<=650px){.pokemon-list{max-width:calc(100vw - 155px)}}.dpad{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:radial-gradient(circle,#f4f9f066 0 30%,#f4f9f040 31%);border:1px solid #fff8;border-radius:50%;width:156px;height:156px;position:fixed;bottom:24px;left:24px;box-shadow:0 3px 10px #2b47342a}.dpad button{pointer-events:none;background:linear-gradient(#fdfefdea,#e4ebe7e0);border:2px solid #ffffffce;border-radius:14px;width:52px;height:52px;padding:0;transition:transform 80ms,background 80ms;position:absolute;box-shadow:0 3px 6px #2b473430}.dpad button:after{content:"";border:9px solid #0000;border-bottom:13px solid #56666c;position:absolute;top:50%;left:50%;transform:translate(-50%,-72%)}.dpad [data-dir=up]{margin-left:-26px;top:1px;left:50%}.dpad [data-dir=down]{margin-left:-26px;bottom:1px;left:50%;rotate:180deg}.dpad [data-dir=left]{margin-top:-26px;top:50%;left:1px;rotate:-90deg}.dpad [data-dir=right]{margin-top:-26px;top:50%;right:1px;rotate:90deg}.dpad button.on{background:#dfe9ff;border-color:#93b5ff;transform:scale(.92)}body.clean .dpad{display:none}@media (width<=650px){.dpad{bottom:16px;left:16px}}.actions{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:156px;height:156px;position:fixed;bottom:24px;right:24px}.actions button{color:#56666c;letter-spacing:1px;text-transform:uppercase;touch-action:none;-webkit-tap-highlight-color:transparent;background:linear-gradient(#fdfefdea,#e4ebe7e0);border:2px solid #ffffffce;border-radius:50%;padding:0;font-weight:700;transition:transform 80ms,background 80ms;position:absolute;box-shadow:0 3px 6px #2b473430}#jump,#team-btn{width:84px;height:84px;font-size:14px;bottom:0;right:0}#run{letter-spacing:.5px;width:64px;height:64px;font-size:11px;top:10px;left:0}.actions button.on{background:#dfe9ff;border-color:#93b5ff;transform:scale(.92)}body.clean .actions{display:none}@media (width<=650px){.actions{bottom:16px;right:16px}.back{inset:18px 16px auto auto}}.capture{color:#3f4b4f;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:linear-gradient(#fdfefdf2,#e9efebf0);border:2px solid #ffffffe0;border-radius:26px;align-items:center;gap:8px;padding:9px 16px 9px 10px;font-size:14px;font-weight:700;animation:.18s ease-out capture-in;display:flex;position:fixed;bottom:196px;right:24px;box-shadow:0 3px 8px #2b473438}.capture:before{content:"";background:radial-gradient(circle,#fafafa 0 3.5px,#2a2a2a 4px 6px,#0000 6.5px),linear-gradient(#e8353b 0 45%,#2a2a2a 45% 55%,#f7f7f2 55%);border:2px solid #2a2a2a;border-radius:50%;flex:none;width:26px;height:26px}.capture:active{transform:scale(.95)}.capture[hidden],.party[hidden]{display:none}@keyframes capture-in{0%{opacity:0;transform:translateY(8px)}}.party{color:#fff;letter-spacing:.3px;background:#2b4734a8;border-radius:14px;padding:5px 11px;font-size:12px;font-weight:700;position:fixed;top:20px;left:20px}body.clean .capture,body.clean .party{display:none}@media (width<=650px){.capture{bottom:186px;right:16px}.party{top:16px;left:14px}}.minimap{cursor:pointer;z-index:2;background:#4fb6cc;border:3px solid #fffffff0;border-radius:50%;width:104px;height:104px;transition:width .2s,height .2s,border-radius .2s;position:fixed;inset:62px 18px auto auto;box-shadow:0 3px 10px #1c3a4a40}.minimap.big{border-radius:18px;width:min(80vw,360px);height:min(80vw,360px)}.biome-banner{letter-spacing:.3px;color:#fff;text-shadow:0 2px #2b4734,0 3px 12px #1c2e2280;white-space:nowrap;pointer-events:none;opacity:0;font-family:"Baloo 2",ui-rounded,system-ui,sans-serif;font-size:26px;font-weight:800;transition:opacity .45s,transform .45s;position:fixed;top:17%;left:50%;transform:translate(-50%,6px)}.biome-banner.show{opacity:1;transform:translate(-50%)}body.clean .minimap,body.clean .biome-banner{display:none}@media (width<=650px){.minimap{width:92px;height:92px;top:14px;right:14px}.minimap.big{width:min(86vw,360px);height:min(86vw,360px)}body.has-minimap .back{top:118px}.biome-banner{font-size:21px;top:15%}}.dex-button{color:#3f4b4f;z-index:3;background:#fdfefdf0;border:2px solid #fffffff0;border-radius:20px;align-items:center;gap:7px;padding:6px 13px 6px 7px;font-size:13px;font-weight:700;display:flex;position:fixed;top:18px;left:18px;box-shadow:0 3px 8px #1c3a4a30}.dex-button b{font-variant-numeric:tabular-nums;color:#c8413a}.dex-ball{background:radial-gradient(circle,#fafafa 0 2.5px,#2a2a2a 3px 4.5px,#0000 5px),linear-gradient(#e8353b 0 45%,#2a2a2a 45% 55%,#f7f7f2 55%);border:2px solid #2a2a2a;border-radius:50%;width:18px;height:18px}.dex{color:#23313a;z-index:20;background:#f6f9f6;border-radius:20px;flex-direction:column;max-width:560px;margin:0 auto;display:flex;position:fixed;inset:12px;overflow:hidden;box-shadow:0 10px 40px #0c1a2266}.dex header{color:#fff;background:#e8403a;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.dex h2{margin:0;font:800 22px "Baloo 2",ui-rounded,system-ui,sans-serif}.dex header button{color:#a02c26;background:#ffffffe6;border:0;border-radius:14px;padding:6px 14px;font-weight:700}#dex-list{-webkit-overflow-scrolling:touch;padding:6px 14px 18px;overflow-y:auto}.dex section h3{letter-spacing:.08em;text-transform:uppercase;color:#6a7a82;margin:16px 2px 6px;font-size:12px}.dex ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}.dex li{background:#fff;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:44px 1fr auto;align-items:center;gap:0 10px;padding:7px 12px;display:grid}.dex li .no{color:#8a979e;grid-row:span 2;font:600 12px ui-monospace,Menlo,monospace}.dex li .nm{font-weight:700}.dex li .ty{color:#6a7a82;grid-column:2;font-size:12px}.dex li .state{border:2px solid #c9d2d6;border-radius:50%;grid-area:1/3/span 2;width:16px;height:16px}.dex li.seen .state{border-color:#8a979e}.dex li.caught .state{background:linear-gradient(#e8353b 0 45%,#2a2a2a 45% 55%,#f7f7f2 55%);border-color:#2a2a2a}.dex li.unknown .nm{color:#9aa6ac}.clock{color:#3f4b4f;z-index:2;background:#fdfefde6;border-radius:14px;align-items:center;gap:6px;padding:3px 10px 3px 5px;font:700 12px ui-monospace,Menlo,monospace;display:flex;position:fixed;top:174px;right:18px;box-shadow:0 2px 6px #1c3a4a30}.clock i{background:#ffc93d;border-radius:50%;width:14px;height:14px;box-shadow:0 0 0 3px #ffc93d44}.clock.night i{background:#e9ecff;box-shadow:inset -4px -2px #9aa6d8}.dex[hidden],.dex-button[hidden],.clock[hidden],.minimap[hidden],body.clean .dex-button,body.clean .clock{display:none}@media (width<=650px){.dex-button{top:16px;left:14px}.clock{top:112px;right:14px}body.has-minimap .back{top:146px}}.dex li .pick{color:#fff;background:#e8403a;border:0;border-radius:12px;grid-area:1/3/span 2;padding:5px 11px;font-size:12px;font-weight:700}.dex li .pick.on{background:#2f9e55}.dex li .pick:disabled{opacity:.6}.farm-action:before{display:none}.farm-action{padding:10px 16px}.farm-action.waiting{color:#7b878c;background:linear-gradient(#f4f6f4f0,#e6ebe8f0)}.berries{color:#3f4b4f;z-index:3;background:#fdfefde6;border-radius:14px;align-items:center;gap:6px;padding:4px 11px 4px 6px;font-size:12px;font-weight:700;display:flex;position:fixed;top:62px;left:18px;box-shadow:0 2px 6px #1c3a4a30}.berries i{background:radial-gradient(circle at 35% 35%,#8fb8ff,#3a6fd8 60%,#274f9e);border-radius:50%;width:13px;height:13px}.feed{color:#fff;touch-action:none;z-index:3;background:#3a6fd8;border:2px solid #fffffff0;border-radius:20px;padding:8px 14px;font-size:13px;font-weight:700;position:fixed;bottom:250px;right:24px;box-shadow:0 3px 8px #1c3a4a38}.build-menu #build-list{gap:8px;padding:12px 14px 18px;display:grid;overflow-y:auto}.build{text-align:left;color:#23313a;background:#fff;border:0;border-radius:14px;grid-template-columns:1fr auto;gap:2px 12px;padding:12px 14px;display:grid;box-shadow:0 1px 3px #0c1a2218}.build b{font-size:15px}.build span{color:#6a7a82;grid-column:1;font-size:12px}.build i{color:#3a6fd8;white-space:nowrap;grid-area:1/2/span 2;align-self:center;font-style:normal;font-weight:700}.build:disabled{opacity:.5}.build-menu{max-height:min(420px,80vh);top:auto;bottom:12px}.farm-action[hidden],.feed[hidden],.berries[hidden],.build-menu[hidden],body.clean .farm-action,body.clean .berries,body.clean .feed{display:none}@media (width<=650px){.berries{top:58px;left:14px}.feed{bottom:240px;right:16px}}.battle{z-index:20;pointer-events:none;color:#26343a;font-family:inherit;position:fixed;inset:0}.battle>*{pointer-events:auto}.battle [hidden],.battle[hidden],.starter[hidden],.team-strip[hidden]{display:none!important}.bt-card{background:#fdfefcf2;border:2px solid #fff;border-radius:14px;width:236px;padding:8px 12px 10px;animation:.35s ease-out bt-in;position:fixed;box-shadow:0 4px 14px #1c2f3a40}.bt-card header{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.bt-card .nm{font-size:17px}.bt-card .lv{color:#5b6a70;font-size:13px;font-weight:700}.bt-card .ty{gap:4px;margin:3px 0 5px;display:flex}.bt-card .ty i,.bt-moves small i{color:#fff;text-shadow:0 1px 1px #0005;border-radius:6px;padding:1px 6px;font-size:10px;font-style:normal;font-weight:700}.bt-card .hp,.team-strip em,.bt-team .hp{background:#d5dcd9;border-radius:5px;height:8px;display:block;overflow:hidden}.bt-card .hp i,.team-strip em i,.bt-team .hp i{background:#43c46a;border-radius:5px;height:100%;transition:background .3s;display:block}.bt-card .hp i.mid,.team-strip em i.mid,.bt-team .hp i.mid{background:#f2bf2c}.bt-card .hp i.low,.team-strip em i.low,.bt-team .hp i.low{background:#ec4f45}.bt-card .hpn{text-align:right;font-variant-numeric:tabular-nums;margin-top:3px;font-size:12px;font-weight:700;display:block}.bt-card .xp{background:#d5dcd9;border-radius:3px;height:4px;margin-top:3px;overflow:hidden}.bt-card .xp i{background:#4a9df0;height:100%;display:block}.bt-card.foe{left:max(14px,env(safe-area-inset-left));top:14px}.bt-card.ally{right:max(14px,env(safe-area-inset-right));width:250px;bottom:160px}@keyframes bt-in{0%{opacity:0;transform:translateY(-8px)}}.bt-msg{left:max(14px,env(safe-area-inset-left));color:#fff;-webkit-user-select:none;user-select:none;background:#263840e8;border:2px solid #fff5;border-radius:14px;min-height:62px;padding:12px 16px;font-size:17px;font-weight:700;line-height:1.3;position:fixed;bottom:14px;right:310px;box-shadow:0 4px 14px #0003}.bt-menu{right:max(14px,env(safe-area-inset-right));grid-template-columns:1fr 1fr;gap:8px;width:282px;display:grid;position:fixed;bottom:14px}.bt-menu button,.bt-moves button,.bt-team button,.starter button{font:inherit;cursor:pointer;touch-action:manipulation;border:2px solid #fff;border-radius:14px;font-weight:800;box-shadow:0 3px 8px #1c2f3a38}.bt-menu button{color:#fff;text-shadow:0 1px 2px #0005;height:62px;font-size:17px}.bt-menu .fight{background:linear-gradient(#f0664f,#d8452f)}.bt-menu .ball{background:linear-gradient(#f2bf2c,#dc9f13)}.bt-menu .team{background:linear-gradient(#56c26f,#39a052)}.bt-menu .run{background:linear-gradient(#5d9cf0,#3c7bd6)}.bt-menu button:active,.bt-moves button:active,.bt-team button:active{transform:scale(.96)}.bt-moves{left:max(14px,env(safe-area-inset-left));right:max(14px,env(safe-area-inset-right));grid-template-columns:repeat(4,1fr) 88px;gap:8px;display:grid;position:fixed;bottom:14px}.bt-moves button{color:#26343a;border-left:8px solid var(--tc,#ccc);text-align:left;background:#fdfefcf5;flex-direction:column;justify-content:center;gap:4px;min-width:0;height:66px;padding:6px 10px;display:flex}.bt-moves button b{white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.bt-moves small{color:#5b6a70;align-items:center;gap:6px;font-size:12px;display:flex}.bt-moves button:disabled{opacity:.45}.bt-moves .bk{text-align:center;background:#e7ecea;border-left-width:2px;align-items:center;font-size:15px}.bt-team{right:max(14px,env(safe-area-inset-right));background:#fdfefcf5;border-radius:16px;flex-direction:column;width:min(420px,60vw);padding:10px 12px;display:flex;position:fixed;top:14px;bottom:14px;box-shadow:0 4px 14px #1c2f3a40}.bt-team header{justify-content:space-between;align-items:center;display:flex}.bt-team h3{margin:0 0 6px;font-size:18px}.bt-team header button{color:#26343a;background:#e7ecea;padding:6px 14px}#bt-team-list{gap:6px;display:grid;overflow:auto}#bt-team-list button{text-align:left;color:#26343a;background:#fff;border-color:#dfe7e3;grid-template-columns:1fr auto;gap:2px 10px;padding:8px 12px;display:grid}#bt-team-list button span{color:#5b6a70;text-align:right;font-size:12px}#bt-team-list button .hp{grid-column:1/-1}#bt-team-list button small{text-align:right;color:#5b6a70;grid-column:1/-1;font-size:11px}#bt-team-list button:disabled{opacity:.55;cursor:default}#battle-flash{pointer-events:none;opacity:0;z-index:19;position:fixed;inset:0}#battle-flash.go{animation:.35s ease-out bt-flash}@keyframes bt-flash{0%{opacity:.75}to{opacity:0}}body.in-battle .dpad,body.in-battle .actions,body.in-battle .back,body.in-battle .dex-button,body.in-battle .dex,body.in-battle .minimap,body.in-battle .clock,body.in-battle .biome-banner,body.in-battle .farm-action,body.in-battle .berries,body.in-battle .top-tools,body.in-battle .team-strip,body.in-battle .build-menu{display:none!important}body.in-battle .capture{z-index:25}.team-strip{left:max(18px,env(safe-area-inset-left));z-index:2;pointer-events:none;flex-direction:column;gap:4px;display:flex;position:fixed;top:98px}.team-strip span{color:#26343a;background:#fdfefce6;border-radius:10px;grid-template-columns:auto auto;justify-content:space-between;gap:0 8px;width:128px;padding:4px 8px 5px;display:grid;box-shadow:0 2px 6px #1c2f3a30}.team-strip b{font-size:12px}.team-strip small{color:#5b6a70;font-size:11px;font-weight:700}.team-strip em{grid-column:1/-1;height:5px;margin-top:2px}.team-strip span.out{opacity:.6}.team-strip span:nth-child(n+4),body.clean .team-strip{display:none}.starter{z-index:30;color:#fff;text-align:center;background:#1c3a4acc;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:16px;display:flex;position:fixed;inset:0}.starter h2{margin:0;font-size:26px}.starter p{opacity:.85;margin:0 0 12px}.starter div{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.starter button{color:#26343a;border-bottom:6px solid var(--tc);background:#fdfefc;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:150px;height:auto;padding:6px 6px 10px;font-size:18px;display:flex}.starter button small{color:#5b6a70;font-size:12px}.rotate{z-index:40;color:#fff;text-align:center;background:#1c3a4a;flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:24px;font-size:19px;font-weight:700;display:none;position:fixed;inset:0}.rotate i{border:4px solid #fff;border-radius:10px;width:46px;height:78px;animation:1.8s ease-in-out infinite rotate-hint}@keyframes rotate-hint{0%,25%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}@media (orientation:portrait) and (pointer:coarse){.rotate{display:flex}}@media (height<=460px){.dpad{width:132px;height:132px;left:max(16px,env(safe-area-inset-left));bottom:14px}.dpad button{width:44px;height:44px}.dpad [data-dir=up],.dpad [data-dir=down]{margin-left:-22px}.dpad [data-dir=left],.dpad [data-dir=right]{margin-top:-22px}.actions{right:max(16px,env(safe-area-inset-right));bottom:14px}.minimap{width:86px;height:86px;top:12px}.clock{top:104px}.bt-card{width:210px;padding:6px 10px 8px}.bt-card .nm{font-size:15px}.bt-card.ally{width:220px;bottom:132px}.bt-menu{gap:6px;width:250px}.bt-menu button{height:52px;font-size:16px}.bt-msg{min-height:52px;padding:9px 13px;font-size:15px;right:278px}.bt-moves button{height:58px}}.bt-learn{gap:6px}.bt-learn h3{margin:0 0 4px;font-size:16px;line-height:1.3}.bt-learn h3 span{color:#26343a;border-bottom:3px solid var(--tc)}#bt-learn-list{gap:6px;display:grid;overflow:auto}#bt-learn-list button,#bt-learn-list .new{text-align:left;color:#26343a;border:2px solid #dfe7e3;border-left:8px solid var(--tc);font:inherit;background:#fff;border-radius:12px;flex-direction:column;gap:3px;padding:7px 12px;display:flex}#bt-learn-list button b,#bt-learn-list .new b{font-size:15px}#bt-learn-list small{color:#5b6a70;align-items:center;gap:6px;font-size:12px;display:flex}#bt-learn-list small i{color:#fff;text-shadow:0 1px 1px #0005;border-radius:6px;padding:1px 6px;font-size:10px;font-style:normal;font-weight:700}#bt-learn-list .new{border-color:#f2d27a;border-left-color:var(--tc);background:#fff8e1}#bt-learn-list .new em{color:#c07a00;text-transform:uppercase;font-size:11px;font-style:normal;font-weight:800}#bt-learn-skip{color:#26343a;background:#e7ecea;margin-top:4px;padding:10px}.bt-stop{right:max(14px,env(safe-area-inset-right));width:120px;height:52px;font:inherit;color:#fff;background:linear-gradient(#8a98a0,#66747c);border:2px solid #fff;border-radius:14px;font-size:16px;font-weight:800;position:fixed;bottom:14px;box-shadow:0 3px 8px #1c2f3a38}#bt-learn-list{grid-template-columns:1fr 1fr}#bt-learn-list .new{grid-column:1/-1}.dex-reset{text-align:center;border-top:1px dashed #c9d4cf;margin-top:26px;padding-top:14px}.dex-reset .new-game{color:#8a979c;font:inherit;cursor:pointer;background:0 0;border:0;padding:6px 10px;font-size:12px;text-decoration:underline}.new-game-dialog{z-index:35;background:#1c2a30b3;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.new-game-dialog[hidden]{display:none}.new-game-dialog>div{color:#23313a;text-align:center;background:#f6f9f6;border-radius:18px;width:min(420px,100%);padding:18px 20px;box-shadow:0 10px 40px #0c1a2266}.new-game-dialog h2{margin:0 0 6px;font-size:20px}.new-game-dialog p{margin:0 0 14px;font-size:14px;line-height:1.4}#new-game-hold{color:#c9332d;width:100%;height:52px;font:inherit;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#fff;border:2px solid #c9332d;border-radius:14px;font-size:15px;font-weight:800;position:relative;overflow:hidden}#new-game-hold i{background:#ffc9c4;width:0;position:absolute;top:0;bottom:0;left:0}#new-game-hold span{position:relative}#new-game-cancel{color:#fff;width:100%;height:46px;font:inherit;background:#4a9df0;border:0;border-radius:14px;margin-top:10px;font-size:15px;font-weight:800}.starter button img{object-fit:contain;background:radial-gradient(circle at 50% 60%,color-mix(in srgb,var(--tc) 22%,#fff) 0 55%,#fff 56%);opacity:.35;border-radius:12px;width:130px;height:93px;transition:opacity .3s}.starter button.ready img{opacity:1}@media (height<=460px){.starter h2{font-size:22px}.starter p{margin-bottom:8px}.starter button img{width:112px;height:80px}.starter button{width:132px}}.sound{z-index:3;cursor:pointer;background:#fdfefde6;border:2px solid #fffffff0;border-radius:50%;width:38px;height:38px;padding:0;font-size:17px;line-height:1;position:fixed;top:18px;right:132px;box-shadow:0 2px 6px #1c3a4a30}@media (height<=460px){.sound{width:34px;height:34px;font-size:15px;top:14px;right:110px}}body.clean .sound,body.in-battle .sound{display:none}#crouch{letter-spacing:.3px;width:64px;height:64px;font-size:10px;bottom:0;left:0}#crouch.on{color:#8a5a00;background:#ffe9b8;border-color:#e0a93a}@media (height<=460px){#crouch{width:56px;height:56px}}.sneak{background:linear-gradient(#fff6d8f2,#f5e2a8f0);border-color:#f0c65ae0;bottom:62px;left:50%;right:auto;transform:translate(-50%)}.sneak:active{transform:translate(-50%)scale(.95)}.sneak[hidden]{display:none}.team-panel{max-width:780px}#team-list{-webkit-overflow-scrolling:touch;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;padding:10px 12px 14px;display:grid;overflow-y:auto}#team-list article{color:#26343a;background:#fff;border-radius:14px;grid-template-columns:78px 1fr;grid-template-areas:"img who""img ty""img hp""img hpn""xp xp""mv mv""act act";gap:2px 10px;padding:8px 10px 10px;display:grid;box-shadow:0 1px 4px #1c3a4a22}#team-list article.out{opacity:.6}#team-list img{object-fit:contain;background:radial-gradient(circle at 50% 60%,#e9f1ec 0 55%,#fff 56%);border-radius:10px;grid-area:img;width:78px;height:62px}#team-list .who{grid-area:who;justify-content:space-between;align-items:baseline;display:flex}#team-list .who b{font-size:15px}#team-list .who span{color:#5b6a70;font-size:12px;font-weight:700}#team-list .ty{grid-area:ty;gap:4px;display:flex}#team-list .ty i{color:#fff;border-radius:6px;padding:1px 6px;font-size:10px;font-style:normal;font-weight:700}#team-list .hp{background:#d5dcd9;border-radius:5px;grid-area:hp;align-self:center;height:7px;display:block;overflow:hidden}#team-list .hp i{background:#43c46a;height:100%;display:block}#team-list .hp i.mid{background:#f2bf2c}#team-list .hp i.low{background:#ec4f45}#team-list small{color:#5b6a70;text-align:right;grid-area:hpn;font-size:11px}#team-list .xp{background:#d5dcd9;border-radius:2px;grid-area:xp;height:3px;margin:3px 0 4px;display:block;overflow:hidden}#team-list .xp i{background:#4a9df0;height:100%;display:block}#team-list ul{grid-area:mv;grid-template-columns:1fr 1fr;gap:3px 6px;margin:0;padding:0;list-style:none;display:grid}#team-list li{border-left:4px solid var(--tc);white-space:nowrap;text-overflow:ellipsis;background:#f3f6f4;border-radius:5px;padding:2px 6px;font-size:11px;font-weight:700;overflow:hidden}#team-list button,#team-list .lead{height:32px;font:inherit;border-radius:10px;grid-area:act;justify-content:center;align-items:center;margin-top:6px;font-size:13px;font-weight:800;display:flex}#team-list button{color:#fff;background:#4a9df0;border:0}#team-list .lead{color:#2f8a4a;background:#e8f6ec}#team-list .empty{color:#5b6a70;text-align:center}.team-panel[hidden]{display:none}body.in-battle .team-panel{display:none!important}#bt-team-list button{grid-template-columns:54px 1fr auto;align-items:center}#bt-team-list button img{object-fit:contain;background:#eef3f0;border-radius:8px;grid-row:1/4;width:54px;height:44px}#bt-team-list button .hp,#bt-team-list button small{grid-column:2/-1}#bt-team-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.bt-team{width:min(560px,78vw)}@media (height<=460px){.dex-button{left:max(10px,env(safe-area-inset-left));padding:4px 10px 4px 5px;font-size:12px;top:10px}.berries{left:max(10px,env(safe-area-inset-left));padding:3px 9px 3px 5px;font-size:11px;top:44px}.minimap{right:max(10px,env(safe-area-inset-right));border-width:2px;width:70px;height:70px;top:10px}.clock{right:max(10px,env(safe-area-inset-right));padding:2px 8px 2px 4px;font-size:11px;top:86px}.sound{width:30px;height:30px;font-size:14px;top:10px;right:88px}.dpad{width:120px;height:120px;left:max(12px,env(safe-area-inset-left));bottom:10px}.dpad button{width:40px;height:40px}.dpad [data-dir=up],.dpad [data-dir=down]{margin-left:-20px}.dpad [data-dir=left],.dpad [data-dir=right]{margin-top:-20px}.actions{width:132px;height:132px;right:max(12px,env(safe-area-inset-right));bottom:10px}#team-btn{width:68px;height:68px;font-size:13px}#run{width:50px;height:50px;font-size:9px;top:4px}#crouch{width:50px;height:50px;font-size:8px}.capture{right:max(12px,env(safe-area-inset-right));padding:6px 12px 6px 7px;font-size:13px;bottom:150px}.capture:before{width:22px;height:22px}.sneak{bottom:14px}.dex{inset:8px}.biome-banner{font-size:18px;top:12%}}@media (height<=330px){.minimap{width:58px;height:58px}.clock{top:72px}.sound{width:28px;height:28px;right:76px}.dpad{width:104px;height:104px}.dpad button{width:34px;height:34px}.dpad [data-dir=up],.dpad [data-dir=down]{margin-left:-17px}.dpad [data-dir=left],.dpad [data-dir=right]{margin-top:-17px}.actions{width:116px;height:116px}#team-btn{width:60px;height:60px;font-size:12px}#run,#crouch{width:44px;height:44px}.capture{bottom:128px}.sneak{bottom:10px}.bt-card{width:190px;padding:4px 9px 6px}.bt-card .ty{margin:1px 0 3px}.bt-card.ally{width:200px;bottom:118px}.bt-menu{width:230px}.bt-menu button{height:46px;font-size:15px}.bt-msg{min-height:46px;padding:7px 11px;font-size:14px;right:252px}.bt-moves button{height:50px}#team-list{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}.look{z-index:60}.look[hidden]{display:none}.look button img{height:120px}@media (height<=460px){.look button img{height:96px}}@media (height<=330px){.look button img{height:78px}.look h2{font-size:19px}.look p{display:none}}.dex li{grid-template-columns:52px 44px 1fr auto}.dex li .pic{object-fit:contain;color:#b6c1c6;background:#eef3f0;border-radius:9px;grid-area:1/1/span 2;justify-content:center;align-items:center;width:52px;height:40px;font-size:18px;font-style:normal;font-weight:800;display:flex}.dex li img.pic{opacity:.4;transition:opacity .25s}.dex li img.pic.ready{opacity:1}.dex li.seen:not(.caught) img.pic.ready{filter:saturate(.35)brightness(1.05)}.dex li .no{grid-column:2}.dex li .nm,.dex li .ty{grid-column:3}.dex li .state,.dex li .pick{grid-column:4}.fs{justify-content:center;align-items:center;display:flex;right:176px}.fs[hidden],.fs .out,.fs.on .in{display:none}.fs.on .out{display:inline}@media (height<=460px){.fs{right:124px}}@media (height<=330px){.fs{right:108px}}#team-list{display:block}#team-list h3{color:#26343a;align-items:center;gap:8px;margin:4px 2px 8px;font-size:15px;display:flex}#team-list h3 small{color:#8a979e;font-size:12px}#team-list .cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;margin-bottom:12px;display:grid}#team-list .acts{grid-area:act;gap:6px;display:flex}#team-list .acts>*{flex:1}#team-list .acts .store{color:#3f4b4f;background:#e7ecea}#team-list .acts .swap{background:#f2a33a}#team-list h3 .cancel{color:#3f4b4f;background:#e7ecea;border:0;border-radius:8px;flex:none;height:26px;margin:0;padding:0 10px;font-size:12px;font-weight:800}#team-list .hint{color:#8a5a00;margin:-4px 2px 8px;font-size:13px;font-weight:700}#team-list .farm{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;display:grid}#team-list .stored{color:#26343a;background:#fff;border-radius:12px;grid-template-columns:44px 1fr;grid-template-areas:"img nm""img lv""bt bt";gap:0 8px;padding:6px 8px 8px;display:grid;box-shadow:0 1px 4px #1c3a4a22}#team-list .stored img{object-fit:contain;background:#eef3f0;border-radius:8px;grid-area:img;width:44px;height:38px}#team-list .stored b{grid-area:nm;align-self:end;font-size:13px}#team-list .stored span{color:#5b6a70;grid-area:lv;font-size:11px;font-weight:700}#team-list .stored button{color:#fff;height:28px;font:inherit;background:#4a9df0;border:0;border-radius:9px;grid-area:bt;margin-top:6px;font-size:12px;font-weight:800}.dex li .nm .lv{color:#2f8a4a;background:#e8f6ec;border-radius:6px;margin-left:4px;padding:1px 6px;font-size:11px;font-style:normal;font-weight:800}#team-list .acts .moves{background:#8a6fd8;flex:.8}#team-list .slots{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px;margin-bottom:12px;display:grid}#team-list .slots button{color:#26343a;border:2px solid #dfe7e3;border-left:7px solid var(--tc);text-align:left;background:#fff;border-radius:11px;flex-direction:column;grid-area:auto;align-items:flex-start;gap:3px;height:auto;margin:0;padding:7px 11px;display:flex}#team-list .slots button b{font-size:14px}#team-list .slots button small{color:#5b6a70;align-items:center;gap:6px;font-size:11px;display:flex}#team-list .slots button small i{color:#fff;border-radius:6px;padding:1px 6px;font-size:10px;font-style:normal;font-weight:700}#team-list .slots button.on{background:#fff6e5;border-color:#f2a33a;box-shadow:0 0 0 2px #f2a33a55}#team-list .slots.known button{background:#f7faf8}#team-list h3 [data-done]{color:#fff;background:#4a9df0;border:0;border-radius:9px;flex:none;height:28px;margin:0 0 0 auto;padding:0 14px;font-size:13px;font-weight:800}
