:root{font-family:Segoe UI,system-ui,sans-serif;color:#e9f1f8;background:#091b29;font-synthesis:none;--muted:#95afc1;--line:#345467;--mint:#99e0c3;--surface:#0c2232;--yellow:#ffdb55;--orange:#ffa074;color-scheme:dark}:root{--scroll-track:#091b29;--scroll-thumb:#6da995;--scroll-thumb-hover:var(--mint);--scroll-thumb-active:#c4f3df}*{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) var(--scroll-track)}@supports selector(::-webkit-scrollbar){*{scrollbar-width:auto;scrollbar-color:auto}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:var(--scroll-track);border-radius:8px;box-shadow:inset 0 0 0 1px var(--line)}::-webkit-scrollbar-thumb{min-height:32px;min-width:32px;border:3px solid var(--scroll-track);border-radius:8px;background:linear-gradient(135deg,#99e0c3,var(--scroll-thumb));background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover);background-clip:padding-box}::-webkit-scrollbar-thumb:active{background:var(--scroll-thumb-active);background-clip:padding-box}::-webkit-scrollbar-button{display:none;width:0;height:0}::-webkit-scrollbar-corner{background:var(--scroll-track)}}@media(forced-colors:active){*{scrollbar-color:auto}}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 20%,#132f3e 0,transparent 70%);min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid var(--mint);outline-offset:4px}button:hover{background:#1a3a4d}button:active{transform:translateY(1px)}button{transition:background .15s,transform .15s}.app{max-width:1260px;margin:auto;padding:24px 32px 20px}.masthead,.brand,.arena-heading,.battle-meta,.toolbar,.controls,footer{display:flex;align-items:center;justify-content:space-between}.masthead{margin-block-end:22px}.brand{gap:14px;justify-content:start}h1{font-size:23px;letter-spacing:-.4px;font-weight:650;margin:0}.prototype{color:var(--muted);font-size:13px}.version{color:#5f879c;margin-inline-start:9px}.battle-player{border:1px solid #7fc9b1;border-radius:8px;overflow:hidden;background:#0a1c2b;box-shadow:0 14px 50px #0003}.arena-heading{height:45px;padding-inline:18px;border-block-end:1px solid #507b78}.arena-heading h2{font-family:ui-monospace,Consolas,monospace;font-size:16px;letter-spacing:.5px;color:#b3ebd7;margin:0}.battle-meta{gap:20px;font:11px ui-monospace,Consolas,monospace;letter-spacing:1.2px;color:#bbd1e0}.status{color:#9af4bc;display:flex;gap:8px;align-items:center}.status:after{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}#timer{font-variant-numeric:tabular-nums;color:var(--muted)}.stage{position:relative;aspect-ratio:16/9;isolation:isolate;background:#355c47}#game{position:absolute;inset:0}#game canvas{display:block;width:100%!important;height:100%!important;image-rendering:pixelated}.fighters{position:absolute;inset:14px 14px auto;display:flex;justify-content:space-between;pointer-events:none;gap:24%}.fighter{flex:1;min-width:0;background:#091c2af2;border:1px solid #76ac9b;border-radius:5px;padding:9px 12px;display:flex;gap:10px;box-shadow:0 3px #091c2a50}.portrait{width:40px;height:40px;image-rendering:pixelated;flex:none;align-self:center}.fighter-body{flex:1;min-width:0}.fighter-heading{display:flex;align-items:baseline;gap:9px;margin-block-end:5px}.fighter-name{font-size:15px;font-weight:650}.level{font-size:10px;color:#aec5d3}.type-label{margin-inline-start:auto;text-transform:uppercase;letter-spacing:1px;font-size:8px;color:var(--yellow)}.fighter.charmander .type-label{color:var(--orange)}.hp-row{display:flex;align-items:center;gap:8px;font:10px ui-monospace,Consolas,monospace}.hp-tag{color:#9ab6c9}.hp-track{flex:1;background:#253c47;height:7px;overflow:hidden;border-radius:2px}.hp-fill{height:100%;background:#6be6a6;transform-origin:left;transition:transform .18s linear}.hp-numbers{font-size:10px;min-width:54px;text-align:end}.current-move{font-size:9px;height:12px;color:#bad0dc;margin-block-start:5px;letter-spacing:.3px}.announcement{pointer-events:none;position:absolute;inset-block-start:43%;inset-inline:0;margin:auto;width:max-content;max-width:90%;padding:18px 34px;display:grid;text-align:center;background:#081d2aed;border:1px solid #bce7d1;border-radius:6px;box-shadow:0 6px #07152050;gap:6px}.announcement[hidden]{display:none}.announcement small{font-size:9px;letter-spacing:2px;color:var(--mint)}.announcement strong{font-size:26px;letter-spacing:-.5px}.announcement span{font-size:12px;color:#c4d7e3}.arena-caption{position:absolute;inset:auto 14px 12px;display:flex;justify-content:space-between;font:8px ui-monospace,Consolas,monospace;letter-spacing:1.4px;color:#eef5db;text-shadow:0 1px 2px #000;background:#102c205c;padding:6px 9px;width:max-content;max-width:calc(100% - 28px);gap:24px;border-radius:2px}.arena-caption i{display:inline-block;width:4px;height:4px;background:#a2edab;margin-inline-end:5px;vertical-align:middle}.toolbar{margin-block:15px 20px;gap:15px}.controls{gap:10px}.controls>button,.speeds{height:36px;border:1px solid #55778d;border-radius:5px;background:#0c2232}.controls>button{padding-inline:14px;display:flex;align-items:center;gap:9px;font-size:12px;white-space:nowrap}.control-icon{font-size:20px;line-height:1;color:var(--mint)}.speeds{display:flex;overflow:hidden}.speeds button{border:0;background:transparent;padding-inline:17px;min-width:48px;color:var(--muted);font-size:13px}.speeds button[aria-pressed=true]{background:#173c3d;color:#adf3ce;box-shadow:inset 0 0 0 1px #90ddbe;border-radius:4px}.replay-note{margin:0;font-size:11px;color:var(--muted)}.replay-note span{font-size:18px;margin-inline-end:8px}.details{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:14px}.move-panel,.feed-panel{border:1px solid var(--line);border-radius:6px;min-width:0;background:#0b2030}.move-panel{padding:12px}.move-panel h2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;margin:0 0 10px}.move-panel h2 img{width:25px;height:25px;image-rendering:pixelated}.move-panel h2 small{font-size:10px;color:#a7bed0;font-weight:400}.move-row{position:relative;display:flex;align-items:center;gap:10px;padding:10px 9px;background:#102b3b;border:1px solid #345566;border-radius:4px;overflow:hidden}.move-row+.move-row{margin-block-start:8px}.move-icon{display:grid;place-items:center;width:33px;height:34px;background:#ffda55;color:#473b20;font-size:23px;border-radius:3px;flex-shrink:0}.move-row.fire .move-icon{background:#f98e63;color:#592c27}.move-row.normal .move-icon{background:#a3b5b8;color:#20343e}.move-copy{flex:1;min-width:0}.move-top{display:flex;align-items:baseline;gap:6px;justify-content:space-between}.move-top strong{font-size:12px;font-weight:600}.move-top span{color:#a9c0cb;font-size:8px;letter-spacing:.8px}.move-copy p{font-size:10px;color:#a9c0d0;line-height:1.4;margin:4px 0 1px}.cooldown{height:2px;position:absolute;inset:auto 0 0;background:#88cfbc;transform-origin:left;opacity:.65}.move-row.active{border-color:var(--mint);background:#193d47}.feed-panel h2{margin:0;padding:12px 14px 10px;font-size:13px;color:#c4eddf;border-block-end:1px solid var(--line);font-weight:550;display:flex;justify-content:space-between}.feed-panel h2 span{font:8px ui-monospace,Consolas,monospace;color:#91b6a4;letter-spacing:1px;align-self:center}#feed{height:127px;padding:9px 13px;margin:0;list-style:none;overflow:hidden;display:flex;flex-direction:column;gap:6px}#feed li{font:10px/1.35 ui-monospace,Consolas,monospace;color:#c5d7e3}#feed time{color:#7fa0b4;margin-inline-end:9px}#feed .hit{color:#ffe38e}#feed .victory{color:#9ce8c6}footer{font-size:10px;color:#8eacbf;margin-block-start:20px;gap:18px;line-height:1.5}footer a{color:#b3cddd;text-decoration:none;margin-inline-start:10px}footer a:hover{text-decoration:underline}.footer-dot{margin-inline:7px}#game-error{padding:20px;position:absolute;inset:100px 10%;background:#172e3f;color:#ffe4bf;border:1px solid #ffad78;z-index:5}@media(min-width:1500px){.app{padding-block-start:32px}}@media(max-width:900px){.app{padding:18px}.fighters{gap:10%;inset:10px 10px auto}.fighter{padding:7px 9px;gap:6px}.portrait{width:30px;height:30px}.type-label{display:none}.details{gap:9px}.move-panel{padding:10px}.move-top{flex-wrap:wrap;gap:2px}.move-top span{display:none}.replay-note{font-size:10px}.prototype{font-size:11px}.brand{gap:10px}h1{font-size:20px}.controls{gap:6px}.controls>button{padding-inline:10px}.move-copy p{font-size:9px}.move-icon{width:26px;font-size:19px}}@media(max-width:640px){.app{padding:14px 10px}.masthead{margin-block-end:14px}.brand{gap:8px}.brand>img{width:26px;height:26px}h1{font-size:16px}.prototype{display:none}.arena-heading{height:38px;padding-inline:10px}.arena-heading h2{font-size:12px}.battle-meta{font-size:8px;gap:9px}#timer{display:none}.fighters{inset:6px 6px auto;gap:8%}.fighter{padding:5px;gap:4px}.portrait{width:23px;height:23px}.fighter-name{font-size:11px}.fighter-heading{gap:5px;margin-block-end:4px}.level{font-size:7px}.hp-numbers{font-size:7px;min-width:35px}.hp-row{gap:4px}.hp-tag{display:none}.hp-track{height:5px}.current-move{font-size:7px;margin-block-start:3px;height:9px}.arena-caption{display:none}.announcement{padding:9px 18px;gap:3px;inset-block-start:46%}.announcement small{font-size:7px}.announcement strong{font-size:17px}.announcement span{font-size:9px}.toolbar{display:block;margin-block:12px 15px}.controls{justify-content:space-between;gap:6px}.controls>button{padding-inline:9px;gap:5px;height:34px;font-size:11px}.control-icon{font-size:16px}.speeds{height:34px}.speeds button{padding-inline:11px;min-width:33px;font-size:11px}.replay-note{text-align:center;font-size:10px;margin-block-start:10px}.replay-note span{font-size:13px}.details{grid-template-columns:1fr 1fr;gap:9px}.feed-panel{grid-column:1/-1}#feed{height:110px}.move-panel{padding:8px}.move-panel h2{font-size:11px;gap:6px;margin-block-end:8px}.move-panel h2 small{font-size:8px}.move-panel h2 img{width:20px;height:20px}.move-row{padding:8px 6px;gap:6px}.move-top strong{font-size:10px}.move-copy p{font-size:8px}.move-icon{width:24px;height:29px}.move-row+.move-row{margin-block-start:6px}footer{font-size:9px;display:block;margin-block-start:14px}footer>span{display:block;margin-block-end:5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}[hidden]{display:none!important}button{border:1px solid #55778d;background:#102b3b;border-radius:5px;padding:8px 12px;font-size:13px;min-height:36px}button:disabled{cursor:default}a{color:var(--mint)}h2,h3,p{overflow-wrap:anywhere}.primary,#explore{background:#9ce1c5;color:#102d2e;border-color:#b7ecd8;font-weight:650}.primary:hover,#explore:hover{background:#b9f0d8}.danger{color:#ffbaaa;border-color:#a77673}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.starter-panel{border:1px solid var(--line);border-radius:8px;padding:40px 32px;background:linear-gradient(130deg,#132e3d,#0a1f2f);min-height:540px}.starter-intro{max-width:620px;margin:0 auto 32px;text-align:center}.starter-intro small{letter-spacing:3px;color:var(--mint);font-size:11px}.starter-intro h2{font-size:32px;margin:12px 0}.starter-intro p{font-size:16px;line-height:1.6;color:#b5cbd9}.starter-options{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.starter-choice{width:260px;border:1px solid #527383;border-radius:6px;padding:24px 20px;text-align:center;background:#0b2232;display:flex;align-items:center;flex-direction:column;gap:12px}.starter-choice .portrait{width:72px;height:72px;margin:0}.starter-ball{image-rendering:pixelated;margin:8px 0}.starter-choice h3{margin:0;font-size:18px}.starter-choice p{font-size:13px;line-height:1.5;margin:0;color:#b6cbd9;min-height:20px}.starter-choice button{width:100%}.starter-choice small{font-size:11px;color:var(--muted)}.starter-gift{text-align:center;color:var(--muted);font-size:13px;margin:32px 0 0}.journey-summary{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:16px}.journey-summary p{font-size:13px;max-width:55%;line-height:1.5;color:#aec8d5;margin:0}#wallet{display:flex;gap:24px;font-size:17px;white-space:nowrap}#wallet small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}.coins{color:#ffe28a}.stage-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:16px}.stage-nav button{padding:12px;text-align:start;display:flex;flex-direction:column;gap:8px;background:#0c2333;border-color:#345467}.stage-nav small{font-size:9px;letter-spacing:1px;color:#aac8d3}.stage-nav strong{font-size:13px}.stage-nav span{font-size:10px;color:#a5becd}.stage-nav em{font-size:9px;font-style:normal;color:#8ed2b6}.stage-nav button[aria-current=step]{border-color:var(--mint);background:#173b40}.stage-nav button:disabled{opacity:.5}.fighters{gap:30%;inset:12px 12px auto}.party-hud,.enemy-hud{width:35%;display:grid;gap:6px}.fighter{width:100%;padding:7px 10px}.fighter-name{font-size:13px}.fighter .portrait{width:28px;height:28px}.current-move{font-size:9px}.toolbar{margin-bottom:8px}.controls{flex-wrap:wrap;justify-content:start}.controls>button{font-size:12px}#save-state{font-size:10px;color:var(--muted)}#message{font-size:13px;line-height:1.6;min-height:40px;color:#bdd5e0;padding:8px 0;margin:0 0 16px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.section-heading h2{font-size:16px;color:#d8ede5;margin:0;font-weight:600}.section-heading>span,.section-heading h2 span{font-size:11px;font-weight:400;color:var(--muted)}.capture-panel{border-block:1px solid var(--line);padding:20px 0;margin-bottom:24px}.empty-state{font-size:13px;color:var(--muted);margin:8px 0;line-height:1.6}#captures{display:flex;gap:12px;flex-wrap:wrap}.capture-card{display:flex;align-items:center;gap:12px;padding:12px;background:#113342;border:1px solid #507c7e;border-radius:5px;flex:1;min-width:280px}.capture-card .portrait{width:32px;height:32px}.capture-card strong{font-size:13px}.capture-card small{font-size:10px;font-weight:400;color:#abc8d6}.capture-card p{font-size:10px;color:#b1cbd7;margin:6px 0 0}.capture-card button{font-size:11px;margin-left:auto;white-space:nowrap}.management{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(260px,1fr);gap:24px}.section-note{font-size:12px;color:#a8c2d0;line-height:1.6;margin:8px 0 16px}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.companion{padding:16px;border:1px solid #355b6b;border-radius:6px;background:#0c2333;min-width:0}.companion.deployed{border-color:#7cbaa6;background:#102d39}.companion-title{display:flex;align-items:center;gap:8px;margin-bottom:16px}.companion-title .portrait{width:32px;height:32px}.companion h3{font-size:14px;margin:0 0 4px}.companion h3 small{font-size:10px;color:#a8c2cf;font-weight:400}.companion-title p{font-size:10px;color:var(--muted);margin:0}.party-tag{font-size:8px;color:var(--mint);margin-left:auto;letter-spacing:1px}.companion .hp-row{font-size:10px}.hp-fill{transition:width .18s linear}.xp-row{display:flex;align-items:center;gap:8px;margin:8px 0;font:9px ui-monospace,monospace;color:#95b4cd}.xp-track{flex:1;height:3px;background:#233e52}.xp-track i{height:100%;display:block;background:#7dafe4}.recovery-note{font-size:10px;line-height:1.5;color:#a6c0c9;min-height:30px;margin:12px 0}.companion-actions{display:flex;gap:8px}.companion-actions button{font-size:11px;flex:1;padding:8px 4px}.shop-panel{border:1px solid var(--line);border-radius:6px;padding:16px;background:#0c2333;margin-bottom:16px}.shop-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #29495a}.shop-row strong{font-size:13px}.shop-row p,.shop-row small{font-size:10px;color:#a5c0ce;margin:4px 0}.shop-row button{font-size:11px;white-space:nowrap}.shop-panel .section-note{margin-bottom:0;font-size:11px}#feed{height:210px;overflow:auto;font-size:11px}.feed-panel #feed li{font-size:11px}.learn-notice{display:flex;align-items:center;gap:12px;background:#193e40;border:1px solid #6baa94;border-radius:5px;padding:12px 16px;margin-bottom:16px;font-size:12px}.learn-notice span{flex:1}.learn-notice button{font-size:11px}.guide{margin-top:24px;border-block:1px solid var(--line);padding:16px 0}.guide summary{cursor:pointer;color:#bedbd3;font-size:13px;padding:8px 0}.guide-body{font-size:13px;line-height:1.8;color:#b1c8d6;max-width:85ch}.save-controls{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}dialog{background:#0d2737;color:#e1edf3;border:1px solid #96d2ba;border-radius:8px;width:min(740px,94vw);max-height:90vh;padding:24px}dialog::backdrop{background:#03111bd9}.dialog-heading{display:flex;gap:12px;align-items:center;margin-bottom:24px}.dialog-heading h2{margin:0 0 6px;font-size:22px}.dialog-heading h2 small{font-size:13px;color:var(--muted)}.dialog-heading p{font-size:12px;color:var(--muted);margin:0}#close-detail{margin-left:auto}.stats-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.stats-grid div{background:#153747;padding:12px 8px;border-radius:4px;text-align:center}.stats-grid small{display:block;font-size:9px;color:#adc8d4;min-height:25px}.stats-grid strong{font:20px ui-monospace,monospace}.ability{font-size:13px;line-height:1.7;margin:20px 0;color:#b9d3db}.ability strong{color:var(--mint)}.matchups{border-block:1px solid var(--line);padding:8px 0}.matchups p{font-size:11px;line-height:1.7;color:#b4ccd9}.matchups strong{color:#e2ecef;display:inline-block;min-width:75px}dialog h3{font-size:16px;margin:24px 0 8px}dialog h3 small{font-size:11px;color:var(--mint);font-weight:400;margin-left:12px}.move-library{display:grid;gap:8px}.library-move{display:flex;gap:12px;padding:12px;background:#112f40;border:1px solid #355b6a;border-radius:4px;cursor:pointer}.library-move:has(input:checked){border-color:#8ac8ad}.library-move input{align-self:start;margin-top:4px;accent-color:#8ee0b9;width:16px;height:16px;flex:none}.library-move strong{font-size:14px}.library-move span{display:block;font-size:10px;color:#abd0d9;margin-top:5px}.library-move p{font-size:12px;color:#b5cbd9;line-height:1.6;margin:6px 0 0}.library-move.new-move{background:#1b4144}.dialog-actions{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:12px}.healing{border-top:1px solid var(--line);margin-top:24px}.healing h3 span{font-size:12px;color:var(--mint)}.healing button{margin:8px 8px 0 0;font-size:12px}dialog summary{cursor:pointer;font-size:13px}dialog ul{font-size:12px;line-height:1.8;color:#b5cbd9}#move-error{color:#ffb399;font-size:12px}#storage-warning{padding:16px;border:1px solid #dc9e77;background:#402d28;margin-bottom:20px;font-size:13px;line-height:1.7}#storage-warning button{margin:8px}#game-error{inset:25% 5% auto;font-size:14px;line-height:1.7}@media(max-width:1000px){.management{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:16px}.collection-grid{grid-template-columns:1fr}.stage-nav strong{font-size:11px}.stage-nav span{font-size:9px}#wallet{gap:16px}.stage-nav button{padding:10px}.fighters{gap:24%}.party-hud,.enemy-hud{width:38%}}@media(max-width:640px){.starter-panel{padding:24px 16px}.starter-intro h2{font-size:27px}.starter-intro p{font-size:14px}.starter-options{gap:12px}.starter-choice{width:100%;max-width:400px;padding:20px}.starter-gift{font-size:12px;line-height:1.6}.journey-summary{display:block}.journey-summary p{max-width:none;margin-bottom:12px;font-size:12px}#wallet{justify-content:space-between}.stage-nav{grid-template-columns:repeat(2,1fr);gap:6px}.stage-nav button{gap:5px;padding:10px}.stage-nav button:last-child{grid-column:1/-1}.stage-nav strong{font-size:12px}.stage-nav span{font-size:9px}.stage-nav em{display:none}.stage-nav small{font-size:8px}.fighters{inset:6px;gap:22%}.party-hud,.enemy-hud{width:39%;gap:3px}.fighter{padding:4px;gap:4px}.fighter .portrait{width:20px;height:20px}.fighter-name{font-size:9px}.fighter-heading{gap:4px}.level{font-size:7px}.current-move{font-size:7px;height:9px;margin-top:3px}.hp-numbers{font-size:7px;min-width:24px}.controls{gap:6px}.controls>button{font-size:10px;min-height:32px;padding:6px 8px}.toolbar{display:flex;align-items:start;flex-direction:column;gap:8px}.speeds{height:32px}.speeds button{min-height:30px}#message{font-size:12px}.management{display:block}.collection-panel{margin-bottom:24px}.collection-grid{grid-template-columns:1fr}.section-heading{gap:8px}.section-heading h2{font-size:14px}.section-heading>span{font-size:9px}.capture-card{min-width:0;width:100%;flex-basis:100%;gap:8px;padding:10px}.capture-card .portrait{width:26px;height:26px}.capture-card button{padding:6px;font-size:9px;white-space:normal;width:82px;flex:none}.capture-card p{font-size:9px}.capture-card strong{font-size:12px}.learn-notice{flex-wrap:wrap;padding:12px}.learn-notice span{flex-basis:100%;line-height:1.6}.stats-grid{grid-template-columns:repeat(3,1fr)}dialog{padding:16px}.library-move span{font-size:9px}.dialog-actions{flex-wrap:wrap}.announcement{max-width:65%;inset-block-start:60%}.announcement strong{font-size:15px}.announcement span{font-size:8px}.announcement small{font-size:6px}.arena-heading h2{font-size:11px}.guide-body{font-size:12px}}.party-hud,.enemy-hud{align-self:flex-start;align-content:start}.starter-generations{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px 0}.starter-generations button{min-height:44px}.starter-generations [aria-pressed=true]{background:#b6f2cf;color:#102b38}.combat-passive .passive-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-caption{position:absolute;inset-inline-start:50%;bottom:18px;transform:translate(-50%);padding:7px 13px;border:1px solid #8cb890;border-radius:12px;background:#102c2dee;color:#e3f2d9;font-size:14px;font-weight:600;pointer-events:none;z-index:4;white-space:nowrap}.search-caption[hidden]{display:none}.search-opponent{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:180px;padding:16px;color:#a9c1bc;text-align:center;grid-row:span 5}.search-opponent p{max-width:22ch;margin:8px 0;font-size:14px;line-height:1.5}.search-grass{font-size:28px;color:#99c57b}:root{--text: #e9f1f8;--muted: #b0c8d6;--surface: #0d2636;--surface-raised: #143345;--line: #436577;--mint: #a4e6cc}body{font-size:16px;line-height:1.5}button{min-height:44px;font-size:14px;padding:8px 16px}button:disabled{opacity:.58}button:focus-visible,summary:focus-visible,#combat-skills:focus-visible{outline:3px solid var(--mint);outline-offset:3px}.app{padding-block:24px}@media(min-width:901px){.app{width:100%;max-width:1920px;padding-inline:clamp(16px,2vw,32px)}}.masthead{gap:16px;margin-block-end:24px}h1{font-size:24px}.save-menu{position:relative;flex:none;z-index:10}.save-menu summary{cursor:pointer;font-size:14px;color:#c9dedf;padding:8px 0}.save-menu .save-controls{position:absolute;inset-inline-end:0;inset-block-start:100%;display:grid;width:208px;padding:12px;margin:8px 0 0;border:1px solid var(--line);border-radius:6px;background:#0d2737;box-shadow:0 8px 24px #03131b80}.journey-summary{gap:24px;margin-block-end:16px}.journey-summary p{font-size:14px;color:var(--muted);max-width:80%}#wallet{gap:12px;align-items:baseline;font-size:16px}#wallet strong{color:#ffe39a;font-size:28px;font-variant-numeric:tabular-nums}#wallet span{color:var(--muted)}.stage-nav{gap:8px;margin-block-end:24px}.stage-nav button{padding:12px;gap:4px;min-height:108px}.stage-nav strong{font-size:15px;line-height:1.35}.stage-nav small,.stage-nav span,.stage-nav em{font-size:12px;letter-spacing:0}.stage-nav button:disabled{opacity:1;color:#b4c8d1;background:#0c202e}.stage-nav button:disabled em{color:#b0c0ca}.stage-nav button[aria-current=step] em{color:var(--mint)}.battle-layout{display:grid;grid-template-columns:minmax(0,1fr) 65%;gap:24px;align-items:stretch;position:relative}.battle-player{min-width:0;align-self:start;box-shadow:none;grid-column:2}.arena-heading{padding-inline:16px;height:48px;gap:12px}.arena-heading h2{font-size:15px;letter-spacing:0}.battle-meta{font:12px Segoe UI,sans-serif;letter-spacing:0;gap:12px}#round{display:none}#timer{display:inline}.announcement{padding:12px 24px;gap:4px;inset-block-start:58%}.announcement strong{font-size:22px}.announcement span{font-size:13px}#game canvas,#game{touch-action:pan-y pinch-zoom!important}.combat-panel{display:flex;flex-direction:column;min-width:0;min-height:0;padding:16px;border:1px solid var(--line);border-radius:6px;background:var(--surface);position:absolute;inset-block:0;inset-inline-start:0;width:calc(35% - 24px)}.combat-panel .section-heading{flex:none;margin-block-end:12px}.section-heading h2{font-size:18px;color:var(--text)}.section-heading>span,.section-heading h2 span{font-size:13px}#combat-skills{min-height:0;height:0;flex:1;overflow:auto;padding-inline-end:4px}.combatant-skills+.combatant-skills{margin-block-start:12px;padding-block-start:12px;border-block-start:1px solid var(--line)}.combatant-heading{display:flex;align-items:center;gap:12px;margin-block-end:8px}.combatant-heading img{image-rendering:pixelated;flex:none}.combatant-heading h3{font-size:16px;line-height:1.4;margin:0}.combatant-heading h3 small{font-size:13px;color:var(--muted);font-weight:400}.combatant-heading span{font-size:12px;color:var(--muted)}.combat-hp-track{height:4px;background:#294452;margin-block-end:12px;overflow:hidden}.combat-hp-track i{display:block;height:100%;background:#8ee2b5;transform-origin:left}.battle-skill{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;padding:6px 10px 8px;margin-block-end:6px;background:#102d3e;border-radius:4px;border:1px solid #35576a;overflow:hidden}.battle-skill strong{display:block;font-size:14px;line-height:1.3}.battle-skill div>span{display:block;font-size:11px;color:var(--muted);margin-block-start:3px}.skill-state{font-size:12px;color:#c1d5df;white-space:nowrap;flex:none}.skill-progress{position:absolute;inset:auto 0 0;height:2px;background:#77a5a7;transform-origin:left}.battle-skill.is-using{background:#1d4647;border-color:var(--mint)}.battle-skill.is-using .skill-state{color:#b4f0d4;font-weight:650}.battle-skill.is-cooling .skill-state{color:#f1d28b}.combat-passive{font-size:12px;margin:8px 0 0;color:#a5c6c7}.toolbar{margin-block:16px 12px;gap:16px}.controls{gap:8px}.controls>button{min-height:44px;height:auto;padding-inline:16px;font-size:14px}.speeds{height:44px}.speeds button{min-height:42px;font-size:14px}#save-state{font-size:12px;color:var(--muted)}#message{font-size:14px;min-height:0;padding:12px 16px;margin-block-end:16px;background:#153343;border-radius:4px}.capture-panel{margin-block-end:24px;padding-block:16px}.capture-panel .section-heading{margin-block-end:12px}.capture-panel.is-empty{display:flex;align-items:center;gap:24px;padding-block:12px}.capture-panel.is-empty .section-heading{margin:0}.capture-panel.is-empty .section-heading>span{display:none}.capture-panel.is-empty .empty-state{margin:0;font-size:14px}.capture-card{min-width:300px}.capture-card strong{font-size:15px}.capture-card small,.capture-card p{font-size:12px}.capture-card button{font-size:13px;min-height:44px}.supplies-panel{padding:20px;margin-block-end:24px}#shop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.supply{min-width:0}.supply+.supply{border-inline-start:1px solid var(--line);padding-inline-start:24px}.supply-heading{display:flex;align-items:center;gap:12px}.supply-heading h3{margin:0;font-size:16px;font-weight:600}.item-icon{display:flex;flex:none;color:#a5e6ce}.item-icon.super{color:#c8b6f7}.supply-quantity{display:flex;align-items:baseline;gap:8px;margin-block:12px 0}.supply-quantity strong{font-size:32px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.supply-quantity span{font-size:13px;color:var(--muted)}.supply p{color:var(--muted);font-size:14px;margin:8px 0 16px}.supply-actions{display:flex;gap:8px}.supply-actions button{font-size:14px;padding-inline:12px}.supply-actions [data-buy]{flex:1}.supply-availability{display:block;font-size:12px;color:#b6c8d4;min-height:20px;margin-block-start:8px}.management{grid-template-columns:minmax(0,2.1fr) minmax(260px,1fr)}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-note{font-size:14px;color:var(--muted);line-height:1.5}.companion{padding:16px}.companion-title{gap:12px}.companion h3{font-size:16px}.companion h3 small,.companion-title p,.companion .hp-row,.companion .hp-numbers{font-size:12px}.xp-row{font-size:11px}.party-tag{font-size:10px;letter-spacing:0}.recovery-note{font-size:12px;min-height:20px}.companion-actions button{font-size:13px;min-height:44px}.feed-panel h2{font-size:16px;padding:16px}.feed-panel h2 span{font-size:11px}#feed{height:240px;padding:12px 16px;gap:8px}.feed-panel #feed li{font:13px/1.5 Segoe UI,sans-serif}.learn-notice{font-size:14px;line-height:1.5}.learn-notice button{font-size:13px}.guide summary{font-size:15px}.guide-body{font-size:16px;line-height:1.6}footer{font-size:12px}dialog{padding:24px}.dialog-heading h2{font-size:24px}.dialog-heading p,.dialog-heading h2 small{font-size:14px}.stats-grid small{font-size:12px}.ability,.matchups p{font-size:14px}dialog h3{font-size:18px}.library-move strong{font-size:16px}.library-move span{font-size:12px}.library-move p,.healing button{font-size:14px}dialog summary,dialog ul{font-size:14px}#bag-title{margin:0}#close-bag{margin-inline-start:auto}#bag-description{color:var(--muted);font-size:14px}#bag-targets{display:grid;gap:8px;margin-block:20px}.bag-target{display:flex;align-items:center;gap:12px;text-align:start;padding:12px 16px}.bag-target img{image-rendering:pixelated}.bag-target strong{display:block;font-size:16px}.bag-target small{display:block;color:var(--muted);font-size:13px}.target-hp{margin-inline-start:auto;font-variant-numeric:tabular-nums}#bag-feedback{color:var(--mint);font-size:14px}@media(max-width:1000px){.battle-layout{grid-template-columns:minmax(0,1fr) 65%;gap:16px}.combat-panel{padding:12px;width:calc(35% - 16px)}.battle-skill{padding-inline:8px}.battle-skill div>span{font-size:10px}.skill-state{font-size:11px}.battle-meta{gap:8px;font-size:11px}.arena-heading h2,.stage-nav strong{font-size:13px}.stage-nav small,.stage-nav span,.stage-nav em{font-size:11px}}@media(max-width:800px){.battle-layout{display:flex;flex-direction:column;gap:16px}.battle-player{width:100%;order:0;grid-column:auto}.combat-panel{order:1;padding:16px;position:static;width:auto}#combat-skills{height:auto;min-height:0;max-height:400px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.combatant-skills+.combatant-skills{margin:0;padding:0;border:0}.battle-skill div>span{font-size:11px}.management{grid-template-columns:1fr}.management aside{margin-block-start:24px}#shop{gap:16px}.supply+.supply{padding-inline-start:16px}.supply-actions{flex-wrap:wrap}.supply-actions button{padding-inline:8px}}@media(max-width:540px){.app{padding:16px 12px}h1{font-size:18px;line-height:1.3}.brand{gap:8px}.brand>img{width:24px;height:24px}.masthead{align-items:flex-start;gap:16px}.save-menu summary{font-size:12px;white-space:nowrap;padding-block:0}.journey-summary{display:flex;gap:16px}.journey-summary p{font-size:12px;max-width:75%;margin:0}#wallet{gap:4px;flex-direction:column-reverse;align-items:center;line-height:1.2}#wallet strong{font-size:24px}#wallet span{font-size:12px}.stage-nav{grid-template-columns:repeat(2,minmax(0,1fr));margin-block-end:16px}.stage-nav button{padding:12px;min-height:88px}.stage-nav strong{font-size:14px}.stage-nav small,.stage-nav span{font-size:11px}.stage-nav em{display:block;font-size:11px}.stage-nav button:last-child{grid-column:1 / -1;min-height:76px}.arena-heading{padding-inline:12px;height:44px}.arena-heading h2{font-size:13px}.battle-meta{gap:8px;font-size:10px}#timer{display:none}.announcement{inset-block-start:58%;max-width:75%;padding:8px 16px}.announcement strong{font-size:17px}.announcement span{font-size:11px}#combat-skills{grid-template-columns:1fr;max-height:400px}.combatant-skills+.combatant-skills{padding-block-start:16px;border-block-start:1px solid var(--line)}.battle-skill strong{font-size:15px}.battle-skill div>span,.skill-state{font-size:12px}.controls{justify-content:flex-start}.controls>button{padding-inline:12px;font-size:13px}.speeds{height:44px}.speeds button{font-size:13px;padding-inline:12px}.toolbar{gap:12px}.section-heading h2{font-size:18px}.section-heading>span{font-size:12px}.capture-panel.is-empty{align-items:baseline;gap:16px}.capture-panel.is-empty .empty-state{font-size:13px}.capture-card{min-width:0}.capture-card strong{font-size:14px}.capture-card p{font-size:11px}.capture-card button{font-size:12px;width:96px}.supplies-panel{padding:16px}#shop{grid-template-columns:1fr;gap:16px}.supply+.supply{border-inline-start:0;padding-inline-start:0;border-block-start:1px solid var(--line);padding-block-start:16px}.supply{display:grid;grid-template-columns:1fr auto;gap:8px 16px}.supply-heading{gap:8px}.supply-quantity{grid-column:2;grid-row:1;margin:0;align-self:center}.supply-quantity strong{font-size:28px}.supply p{grid-column:1 / -1;margin:0}.supply-actions{grid-column:1 / -1;flex-wrap:nowrap}.supply-actions button{font-size:14px}.supply-availability{grid-column:1 / -1;min-height:0;margin:0}.supply-availability:empty{display:none}.collection-grid{grid-template-columns:1fr}.companion .hp-numbers{min-width:56px}.dialog-heading h2{font-size:22px}dialog{padding:16px}footer{font-size:11px}}.combat-health-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:20px 0 8px}.combat-hp{font-size:12px;color:var(--muted)}.combat-hp{display:flex;align-items:center;gap:3px 8px;flex-wrap:wrap;min-width:0}.combat-regen-caption{font-size:11px;line-height:1.4;color:var(--mint);white-space:nowrap}.combat-regen-caption[hidden],.combat-regen-preview[hidden]{display:none}.combat-hp-track{position:relative}.combat-regen-preview{position:absolute;inset-block:0;background:repeating-linear-gradient(135deg,#b0f5d9 0 3px,#4ca99b 3px 6px)}.quick-potions{display:flex;justify-content:flex-end;gap:8px;margin:0}.quick-potion-wrap{position:relative;display:inline-flex}.quick-potion.item-icon{width:36px;height:36px;min-height:36px;padding:4px;margin:0}.quick-potion svg{width:26px;height:26px}.quick-potion[aria-disabled=true]{opacity:.45;cursor:default}.quick-potion:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.potion-tooltip{display:none;position:absolute;bottom:calc(100% + 6px);right:0;width:max-content;max-width:65vw;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#091b29;color:#e6f1f6;box-shadow:0 6px 20px #0008;font-size:12px;line-height:1.5;z-index:30;pointer-events:none}.potion-tooltip small{display:block;font-size:11px;line-height:1.4;color:var(--muted)}.potion-tooltip strong{display:block;font-size:16px;line-height:1.4;font-weight:600}@media(hover:hover){.quick-potion-wrap:hover .potion-tooltip{display:block}}.replacement-targets{display:grid;gap:8px;margin-block:20px}.combat-panel{position:static;grid-column:1;grid-row:1;width:auto;align-self:start}.battle-player{grid-row:1}#combat-skills{height:auto;max-height:none;overflow:visible;flex:initial;padding:0;display:grid;grid-template-columns:1fr;gap:12px}.combat-panel .section-heading{margin-bottom:8px}.combatant-skills{min-width:0}.combatant-skills+.combatant-skills{margin:0;padding-top:10px}.combatant-heading{gap:8px;margin-bottom:0}.combatant-heading h3{font-size:15px}.combat-health-row{margin:4px 0 5px;align-items:center}.quick-potions{gap:5px}.quick-potion.item-icon{width:30px;height:30px;min-height:30px;padding:3px}.quick-potion svg{width:22px;height:22px}.combat-hp-track{margin-bottom:7px}.battle-skill-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.battle-skill{display:block;min-width:0;padding:7px 8px 8px;margin:0}.battle-skill-heading{display:flex;align-items:baseline;justify-content:space-between;gap:4px}.battle-skill strong{font-size:13px;overflow-wrap:anywhere}.battle-skill .skill-state{font-size:10px;margin:0;color:#c1d5df}.battle-skill-meta{display:block;margin-top:3px;font-size:10px;line-height:1.4;color:var(--muted)}.battle-skill-effect{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:#d4e4ec}.combat-passive{margin:6px 0 0;font-size:11px;line-height:1.4}.potion-tooltip{display:none!important}.combat-tooltip{position:fixed;z-index:10000;width:max-content;max-width:min(360px,calc(100vw - 16px));max-height:calc(100vh - 16px);padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#091b29;color:#e6f1f6;box-shadow:0 6px 20px #0008;font-size:13px;line-height:1.5;pointer-events:none}.combat-tooltip small{display:block;font-size:11px;color:var(--muted)}.combat-tooltip strong{display:block;font-size:16px}.combat-tooltip[hidden]{display:none}.many-combatants .combat-panel{grid-column:1 / -1;grid-row:2}.many-combatants .battle-player{grid-column:1 / -1;justify-self:center;width:65%}.many-combatants #combat-skills{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}.many-combatants .combatant-skills+.combatant-skills{border:0;padding:0}@media(max-width:800px){.combat-panel{width:auto}#combat-skills{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));max-height:none}.many-combatants .battle-player{width:100%}}.supplies-panel>.section-heading{align-items:center}.supplies-panel #wallet{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:8px;line-height:1}.supplies-panel #wallet strong{font-size:28px}.item-icon img,.currency-icon,#wallet img{image-rendering:pixelated;object-fit:contain;flex:none}.quick-potion img{width:24px;height:24px}.supply-heading .item-icon img{width:40px;height:40px}.supply-actions [data-buy]{display:flex;align-items:center;justify-content:center;gap:6px}@media(max-width:540px){.supplies-panel>.section-heading h2{font-size:17px}.supplies-panel #wallet strong{font-size:24px}}.collection-health-tools{display:flex;justify-content:flex-end;margin:-8px 0 6px}.companion .hp-track{position:relative;height:18px;border-radius:3px}.companion .hp-fill{position:absolute;inset:0 auto 0 0}.companion .hp-regen{position:absolute;inset-block:0;background:repeating-linear-gradient(135deg,#b0f5d9 0 3px,#4ca99b 3px 6px)}.companion .regen-caption{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;line-height:18px;color:#fff;text-shadow:0 1px 2px #071b29,1px 0 2px #071b29,-1px 0 2px #071b29;white-space:nowrap}.companion .regen-caption[hidden],.companion .hp-regen[hidden]{display:none}.companion .recovery-note:empty{min-height:0;margin:0}.supplies-panel{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 12px;margin-bottom:16px}.supplies-panel>.section-heading{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0}.supplies-panel>.section-heading h2{font-size:14px;margin:0}.supplies-panel #wallet{gap:4px}.supplies-panel #wallet strong{font-size:20px}.supplies-panel #wallet img{width:22px;height:22px}.supplies-panel #shop{display:contents}.supplies-panel .supply{display:flex;align-items:center;gap:4px;min-width:0;padding:0;border:0}.supplies-panel .supply+.supply{padding:0 0 0 12px;border:0;border-left:1px solid var(--line)}.supplies-panel .item-icon img{width:26px;height:26px}.supplies-panel .supply-quantity{display:block;margin:0 4px 0 0}.supplies-panel .supply-quantity strong{font-size:15px;line-height:1}.supplies-panel .supply-actions{display:flex;flex-wrap:nowrap;gap:4px}.supplies-panel .supply-actions button{font-size:12px;line-height:1.2;min-height:30px;padding:5px 6px}.supplies-panel .supply-actions [data-buy]{flex:none;gap:4px}@media(max-width:540px){.supplies-panel{gap:8px;padding:8px}.supplies-panel .supply+.supply{border:0;padding:0}.supplies-panel>.section-heading h2{font-size:13px}.supplies-panel>.section-heading{gap:8px}}.catch-heading,.catch-ball-store{display:flex;align-items:center;gap:8px}.catch-heading{gap:16px}.catch-heading h2{margin:0}.catch-ball-store{font-size:14px}.catch-ball-store img{image-rendering:pixelated;flex:none}.catch-ball-store button{display:flex;align-items:center;gap:5px;min-height:30px;padding:5px 8px;font-size:12px}.capture-panel .section-heading{flex-wrap:wrap;gap:8px}.capture-panel.is-empty{flex-wrap:wrap}.battle-lineup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.battle-lineup[hidden]{display:none}.battle-lineup .lineup-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px minmax(44px,auto);align-items:stretch;min-width:0;gap:4px 8px;padding:8px;border:1px solid var(--line);border-radius:6px;background:#102c3b}.battle-lineup [data-switch-pokemon]{display:grid;grid-template-rows:subgrid;grid-column:1 / -1;grid-row:1 / 3;align-items:center;gap:4px;min-width:0;min-height:44px;padding:0;border:0;background:transparent;text-align:start}.battle-lineup [data-switch-pokemon]>span{min-width:0;padding-inline-end:48px}.battle-lineup strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.battle-lineup .quick-potions{grid-column:2;grid-row:1;align-self:center;justify-content:flex-end;gap:4px;position:relative;z-index:1}.battle-lineup .quick-potion.item-icon{width:28px;height:28px;min-height:28px;padding:3px}.battle-lineup .quick-potion img{width:20px;height:20px}.battle-lineup img{width:32px;height:32px;image-rendering:pixelated;flex:none}.battle-lineup strong{display:block;font-size:13px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}.battle-lineup small{display:block;font-size:11px;color:var(--muted);white-space:normal;font-variant-numeric:tabular-nums}.battle-lineup .lineup-entry.is-active{border-color:var(--mint);background:#20453f}.battle-lineup [data-switch-pokemon][aria-pressed=true]{opacity:1}@media(min-width:1200px){.battle-lineup{grid-template-columns:repeat(6,minmax(0,1fr))}}.management{display:block}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:12px}.collection-grid .companion{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;gap:8px;padding:12px}.collection-grid .companion-title{grid-column:1/-1;gap:8px;margin:0}.collection-grid .companion-title .portrait{width:32px;height:32px}.collection-grid .companion h3{font-size:15px;margin:0 0 3px}.collection-grid .companion-title p{gap:3px}.collection-grid .companion-title .game-icon{width:19px;height:19px;padding:3px}.collection-grid .companion-title .game-icon img{width:13px;height:13px}.collection-grid .party-tag{font-size:9px}.collection-grid .collection-health-tools{grid-column:2;grid-row:2;align-self:center;margin:0}.collection-grid .hp-row{grid-column:1;grid-row:2;min-width:0;gap:6px;margin:0}.collection-grid .hp-row .game-icon{width:18px;height:18px}.collection-grid .hp-row .game-icon svg{width:17px;height:17px}.collection-grid .hp-numbers{font-size:11px;white-space:nowrap}.collection-grid .hp-track{height:10px}.collection-grid .quick-potion.item-icon{width:28px;height:28px;min-height:28px;padding:2px}.collection-grid .quick-potion img{width:22px;height:22px}.collection-grid .xp-row{grid-column:1/-1;margin:0;font-size:10px;min-height:14px}.collection-grid .recovery-note{display:none}.collection-grid .companion-actions{grid-column:1/-1;gap:8px}.collection-grid .companion-actions button{font-size:12px;min-height:34px;padding:6px 8px}.battle-player>.battle-events{background:#081d2a;border-top:1px solid var(--line);padding:8px 12px}.battle-events #feed{display:block;height:auto;max-height:200px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:auto;padding:0;margin:0;list-style:none;overflow-anchor:none}.battle-events #feed li{display:block;margin:0;padding:0;font:12px/20px Segoe UI,sans-serif;color:#e2edf3;overflow-wrap:anywhere}.battle-events #feed li.hit{color:#ffe6a1}.battle-events #feed:focus-visible{outline:1px solid var(--mint);outline-offset:3px}.toolbar{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}.toolbar .controls{justify-content:flex-start;flex-wrap:wrap}#toggle-events{margin-inline-start:auto;flex:none;font-size:12px;min-height:34px;padding:6px 10px;background:transparent;color:#c6ddd8;border-color:#496a76}.app-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}.app-footer #save-state{margin-inline-start:auto;white-space:nowrap}.app-footer{position:relative}.app-footer .save-menu{position:static}.app-footer .save-menu .save-controls{inset-block-start:auto;inset-block-end:100%;inset-inline-end:0;max-width:100%;margin:0 0 8px}@media(max-width:640px){.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}}.collection-grid .companion-actions .evolve-shortcut{flex:none;color:var(--mint);border-color:var(--mint)}.arena-load-state{position:absolute;inset:0;z-index:5;display:grid;place-content:center;justify-items:center;gap:12px;padding:16px;background:#091b29df;color:#dceaf2;text-align:center;font-size:15px}.arena-load-state[hidden]{display:none}.arena-load-state button{padding:8px 20px;min-height:40px}.quick-potion.item-icon{position:relative}.quick-potion.is-cooling-down[aria-disabled=true]{opacity:1}.quick-potion.is-cooling-down>img{opacity:.3}.quick-potion .potion-cooldown{position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;background:#040d1666;color:#fff;font-size:16px;font-weight:800;line-height:1;text-shadow:0 1px 3px #000;pointer-events:none}.quick-potion .potion-cooldown[hidden]{display:none}.arena-load-state{z-index:20;background:#102d32;color:#edf5e9;gap:12px;padding:24px;font-size:clamp(18px,3vw,24px);overflow:hidden}.arena-load-state .travel-eyebrow{color:var(--mint,#9de3ba);font-size:12px;font-weight:700;letter-spacing:.16em}.arena-load-state [role=status]{max-inline-size:32ch;font-weight:700;line-height:1.3;text-wrap:balance}.travel-ball{display:grid;place-items:center;inline-size:80px;block-size:80px;margin-block-end:8px;border-radius:50%;background:#1d4143}.travel-ball img{animation:travel-hop .8s ease-in-out infinite}.travel-dots{display:flex;gap:8px;margin-block:8px}.travel-dots i{inline-size:8px;block-size:8px;border-radius:50%;background:var(--mint,#9de3ba);animation:travel-step 1s ease-in-out infinite}.travel-dots i:nth-child(2){animation-delay:.15s}.travel-dots i:nth-child(3){animation-delay:.3s}.arena-load-state .travel-caption{margin:0;color:#bcd5cc;font-size:14px;line-height:1.5}.arena-load-state.has-error .travel-dots,.arena-load-state.has-error .travel-caption,.arena-load-state.has-error .travel-eyebrow{display:none}.arena-load-state.has-error img{animation:none}@keyframes travel-hop{0%,to{transform:translateY(4px) rotate(-12deg)}50%{transform:translateY(-8px) rotate(12deg)}}@keyframes travel-step{0%,to{transform:translateY(0);opacity:.4}50%{transform:translateY(-4px);opacity:1}}.arena-load-state.reduced-motion img,.arena-load-state.reduced-motion i{animation:none}@media(prefers-reduced-motion:reduce){.travel-ball img,.travel-dots i{animation:none}}.arena-load-state{display:block;background:#102d32;padding:0;isolation:isolate}.travel-landscape{position:absolute;inset:0;overflow:hidden;z-index:0}.travel-landscape canvas{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.arena-load-state:before{content:none}.arena-heading.travel-active>:not(.travel-footer){display:none}.arena-heading .travel-footer{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;width:100%;min-width:0;background:transparent;padding:0;border:0}.travel-footer [role=status]{max-inline-size:none;min-width:0;padding:0;text-align:left;font-size:clamp(12px,1.5vw,16px);font-weight:700;line-height:1.35;overflow-wrap:anywhere}.travel-actions{display:flex;justify-content:flex-end;gap:8px;flex:none}.travel-actions button{min-height:36px;padding:6px 12px;font-size:13px}.travel-footer[hidden],.travel-actions button[hidden]{display:none}@media(max-width:420px){.arena-heading .travel-footer{gap:6px}.travel-actions{gap:5px}.travel-actions button{padding:5px 8px;font-size:12px}}.arena-load-state.defeat-loading{background:#294a3b;display:block;padding:0}.arena-load-state.defeat-loading[hidden]{display:none}.arena-load-state.defeat-loading .travel-landscape{display:block}.arena-load-state.boss-loading .travel-landscape,.arena-load-state.boss-loading .travel-dots,.arena-load-state.boss-loading .travel-caption,.arena-load-state.boss-loading .travel-eyebrow{display:none}.stage>[data-travel-cancel]{position:absolute;inset-inline-end:8px;inset-block-end:8px;z-index:21;min-height:44px;padding:8px 12px;background:#0c2934ed;border-color:var(--mint);color:var(--text);box-shadow:0 2px 8px #03131b66;font-size:13px;line-height:1.4}.stage>[data-travel-cancel]:hover{background:#20483f}.arena-load-state.defeat-loading .travel-landscape canvas{object-fit:contain}#capture-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px;overflow:auto;background:var(--surface);border:1px solid var(--mint);border-radius:12px}.capture-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block-end:16px}.capture-heading h2{font-size:24px;margin:0 0 4px;line-height:1.2}.capture-heading small{font-size:13px;color:var(--muted)}#capture-title:focus,#capture-status:focus{outline:none}#capture-dialog #close-capture{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;flex:none}.capture-stage{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#102b38}.capture-batch-label{position:absolute;top:3.333%;right:2.5%;padding:5px 8px;background:#0c2934ed;color:#e5f7ed;font-size:16px;font-weight:700;line-height:20px;pointer-events:none}#capture-dialog #capture-canvas{display:block;width:100%;height:auto;max-height:none;image-rendering:pixelated;background:#102b38}#capture-location{position:absolute;inset-block-start:12px;inset-inline-start:12px;max-width:calc(100% - 24px);padding:4px 8px;background:#0c2934e8;border:1px solid #9bd8c255;border-radius:4px;font-size:12px;color:var(--text);pointer-events:none}#capture-status{text-align:center;min-height:24px;margin:16px 0;font-size:16px;font-weight:650;line-height:1.5;text-wrap:balance}#capture-status[data-result=success]{color:var(--mint)}#capture-status[data-result=failure]{color:#ffd1aa}#capture-ball-tray{margin-block:0 16px}#capture-ball-tray h3{margin:0 0 8px;font-size:13px;font-weight:550;color:var(--muted)}#capture-ball-options{display:grid;gap:8px}#capture-dialog .capture-ball-option{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:16px;width:100%;min-height:88px;padding:12px 16px;text-align:start;border:1px solid var(--mint);border-radius:8px;background:#173b40;color:var(--text);transition:background .16s,transform .1s}.capture-ball-option>img{display:block;image-rendering:pixelated;filter:drop-shadow(0 4px 0 #071e2640)}.capture-ball-copy,.capture-ball-odds{display:flex;flex-direction:column;gap:4px}.capture-ball-copy strong{font-size:18px}.capture-ball-copy small,.capture-ball-odds small{font-size:12px;color:var(--muted)}.capture-ball-odds{text-align:end;font-variant-numeric:tabular-nums}.capture-ball-odds strong{font-size:24px;line-height:1.1;color:var(--mint)}.capture-ball-action{padding-inline-start:16px;border-inline-start:1px solid #9bd8c255;font-size:14px;font-weight:650;color:var(--mint);white-space:nowrap}#capture-dialog .capture-ball-option:hover:enabled{background:#204d4c}#capture-dialog .capture-ball-option:active:enabled{transform:scale(.99)}#capture-dialog .capture-ball-option:disabled{opacity:.65;cursor:default}#capture-dialog[data-phase=throw] .capture-ball-option{border-color:var(--line)}.capture-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-block-start:12px;border-block-start:1px solid var(--line)}#capture-dialog .capture-actions button{min-height:44px;padding:8px 12px;font-size:13px}#capture-dialog [data-capture-sound]{margin-inline-end:auto}#capture-dialog[data-phase=success] #capture-done{background:var(--mint);border-color:var(--mint);color:#102d2e;font-weight:650}@media(max-width:480px){#capture-dialog{padding:12px}.capture-heading h2{font-size:20px}#capture-dialog .capture-ball-option{grid-template-columns:36px minmax(0,1fr) auto;gap:8px;padding:12px}.capture-ball-option>img{width:36px;height:36px}.capture-ball-copy strong{font-size:16px}.capture-ball-odds strong{font-size:20px}.capture-ball-action{grid-column:2 / 4;border:0;padding:4px 0 0;color:var(--mint)}#capture-dialog .capture-actions button{flex:initial}.capture-ball-odds small{font-size:11px}#capture-location{inset-block-start:8px;inset-inline-start:8px;font-size:11px}#capture-status{margin-block:12px}}@media(prefers-reduced-motion:reduce){#capture-dialog .capture-ball-option{transition:none}#capture-dialog .capture-ball-option:active:enabled{transform:none}}#captures{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,288px),288px));max-width:1188px;justify-content:start;gap:12px}#captures .capture-card{width:288px;max-width:100%;min-width:0;min-height:116px;box-sizing:border-box;flex:none;display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px 10px;padding:12px}#captures .capture-card .portrait{width:36px;height:36px}#captures .capture-card>div{min-width:0}#captures .capture-card strong{font-size:14px}#captures .capture-card p{font-size:11px;line-height:1.5;margin:3px 0 0}#captures .capture-card button{grid-column:2;justify-self:start;min-height:32px;width:auto;font-size:12px;padding:5px 10px;margin:0}#captures>.empty-state{grid-column:1/-1}#stages.stage-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}#stages>button,#stages>button:last-child{display:flex;flex-direction:column;align-items:stretch;grid-column:auto;min-width:0;min-height:0;padding:8px;gap:10px;text-align:left;overflow:hidden}#stages .stage-preview{display:block;flex:none;width:100%;height:auto;min-height:0;aspect-ratio:16/9;align-self:stretch;border-radius:4px;background-repeat:no-repeat;background-size:200% 200%;image-rendering:pixelated;transition:filter .2s}.stage-unvisited .stage-preview{filter:blur(3px)}.stage-unvisited:disabled .stage-preview{filter:grayscale(1) blur(3px) brightness(.65)}#stages .stage-summary{display:flex;flex-direction:column;gap:4px;min-width:0;justify-content:flex-start}#stages .stage-summary strong{font-size:14px;line-height:1.35}#stages .stage-summary small,#stages .stage-summary em{font-size:11px;line-height:1.4}#stages .stage-item-unlock{display:flex;align-items:center;gap:3px;font-size:11px;color:#cad9d7}.stage-item-unlock .game-icon,.stage-item-unlock svg{width:12px;height:12px}@media(max-width:1000px){#stages.stage-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){#stages.stage-nav{grid-template-columns:minmax(0,1fr)}}@media(max-width:380px){#captures{grid-template-columns:minmax(0,1fr)}#captures .capture-card{width:100%}}#regions.region-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:2px}#regions>button,#regions>button:last-child{display:block;flex:none;width:auto;max-width:100%;min-width:0;min-height:44px;grid-column:auto;padding:8px 12px;font-size:13px;line-height:1.35;white-space:normal;text-align:center}#regions>button>span{font-weight:600;overflow-wrap:normal}#regions>button[aria-pressed=true]{border-color:var(--mint);background:#20453f;color:#e1f3ec}#regions>button:disabled{opacity:1;cursor:default;color:var(--muted);border-style:dashed;background:#0c2333}#capture-ball-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#capture-dialog .capture-ball-option{grid-template-columns:32px minmax(0,1fr);gap:8px;min-height:70px;padding:10px;border-color:var(--line);background:#102d38}#capture-dialog .capture-ball-option[aria-pressed=true]{border-color:var(--mint);background:#204d4c}#capture-dialog .capture-ball-option>img{width:32px;height:32px}#capture-dialog .capture-ball-copy{min-width:0;gap:3px}#capture-dialog .capture-ball-copy strong{font-size:14px;line-height:1.3}#capture-dialog .capture-ball-copy small{font-size:11px;line-height:1.35;overflow-wrap:anywhere}.capture-quantities{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}#capture-dialog .capture-quantities button{display:flex;flex:1 1 120px;flex-direction:column;align-items:center;gap:4px;min-height:76px;padding:10px 8px;border-color:var(--mint);background:#173b40}.capture-quantities strong{font-size:15px}.capture-quantities span{color:var(--mint);font-size:15px;font-variant-numeric:tabular-nums}.capture-quantities small{font-size:11px;color:var(--muted)}.capture-batch-note{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 0}@media(max-width:480px){#capture-ball-options{grid-template-columns:repeat(2,minmax(0,1fr))}#capture-dialog .capture-ball-option{padding:8px;min-height:66px}.capture-quantities{gap:6px}#capture-dialog .capture-quantities button{flex-basis:75px;min-width:0}.capture-quantities small{font-size:10px}}#stages .stage-item-unlock .item-icon{display:inline-flex;flex:0 0 20px;width:20px;height:20px}#stages .stage-item-unlock .item-icon img{width:20px;height:20px;object-fit:contain}#stages .stage-item-unlock{gap:5px;text-align:left}.stage-map-preview{position:relative;display:block;width:100%;flex:none}.stage-map-unlocks,#map-item-unlocks{position:absolute;top:6px;left:6px;display:flex;flex-wrap:wrap;gap:4px;max-width:calc(100% - 12px);z-index:5;pointer-events:none}.map-unlock-item{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:5px;background:#0c2934e8;box-shadow:0 1px 4px #0006;pointer-events:auto}.map-unlock-item img{display:block;width:26px;height:26px;object-fit:contain}#map-item-unlocks:empty{display:none}#capture-ball-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.capture-ball-card{display:flex;align-items:center;min-width:0;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}#capture-dialog .capture-ball-card:has([aria-pressed=true]){border-color:var(--mint);background:#173b40}#capture-dialog .capture-ball-card .capture-ball-option{flex:1;min-width:0;width:auto;border:0;border-radius:0;min-height:64px;grid-template-columns:32px minmax(0,1fr);gap:8px;padding:8px;background:transparent}#capture-dialog .capture-ball-card .capture-ball-option:hover:enabled{background:#ffffff08}#capture-dialog .capture-ball-card .capture-ball-option>img{width:32px;height:32px}#capture-dialog .capture-ball-card .capture-ball-option:disabled{opacity:1;color:var(--muted)}#capture-dialog .capture-ball-copy strong{font-size:13px}#capture-dialog .capture-stock{display:flex;align-items:baseline;gap:4px;font-variant-numeric:tabular-nums}#capture-dialog .capture-stock b{font-size:22px;line-height:1.1;color:var(--text);overflow-wrap:anywhere}.capture-stock>span{font-size:11px;color:var(--muted)}.capture-ball-purchases{display:flex;flex:none;gap:4px;padding:8px;padding-inline-start:0}.capture-ball-purchases[hidden]{display:none}#capture-dialog .capture-ball-purchases button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:44px;min-width:52px;padding:4px 8px;background:transparent;border-color:var(--line);font-size:12px;box-shadow:none}#capture-dialog .capture-ball-purchases button:hover:enabled{background:#ffffff0a;border-color:var(--mint)}.capture-ball-purchases button>span{display:flex;align-items:center;gap:4px;font-size:11px;font-variant-numeric:tabular-nums}.capture-buy-note{display:none}[data-ball-reason]:empty{display:none}#capture-ball-tray h3.capture-ball-heading{font-size:13px;line-height:1.5;margin-block-end:8px}@media(max-width:600px){#capture-ball-options{grid-template-columns:1fr}}#capture-ball-tray h3.capture-ball-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.capture-wallet{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}.capture-wallet img{flex:none;image-rendering:pixelated}.capture-budget{display:grid;gap:4px;padding:12px 16px;margin-block-end:16px;border:1px solid var(--mint);border-radius:8px;background:#173b40;color:var(--text);line-height:1.5}.capture-budget[hidden]{display:none}.capture-budget strong{font-size:20px;font-variant-numeric:tabular-nums;color:var(--mint)}.capture-budget>span{font-size:14px}.capture-budget[data-state=low],.capture-budget[data-state=exhausted]{border-color:#ffd1aa;background:#3b2e29}.capture-budget[data-state=low] strong,.capture-budget[data-state=exhausted] strong{color:#ffd1aa}#capture-dialog[data-phase=failure]:has(.capture-budget[data-state=exhausted]) #capture-status{padding:12px;border:1px solid #ffd1aa;border-radius:8px;background:#3b2e29;font-size:18px}.game-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;vertical-align:middle;width:22px;height:22px;color:#bfdae4;line-height:1}.game-icon img{display:block;object-fit:contain;width:18px;height:18px}.game-icon svg{display:block;width:18px;height:18px}.game-icon[style]{background:var(--icon-color);border-radius:50%;padding:4px;width:24px;height:24px}.game-icon[style] img{width:16px;height:16px}.icon-physical,.icon-special,.icon-status{width:28px}.icon-physical img,.icon-special img,.icon-status img{width:28px;height:20px;image-rendering:pixelated}.icon-attack,.icon-physical{color:#ffb38c}.icon-defense{color:#f3d582}.icon-special-attack,.icon-special{color:#91c7ff}.icon-special-defense{color:#a5e7ae}.icon-hp{color:#ffa6b7}.icon-speed{color:#eeb6ed}.icon-status{color:#d7b4ef}.companion-title p,.starter-choice p:has(.game-icon){display:flex;align-items:center;gap:4px}.battle-skill-meta{display:flex;flex-wrap:wrap;gap:4px;align-items:center!important}.battle-skill-meta>span:has(.game-icon){display:inline-flex;align-items:center;gap:2px}.battle-skill-meta .game-icon{width:18px;height:18px}.battle-skill-meta .game-icon img,.battle-skill-meta .game-icon svg{width:14px;height:14px}.battle-skill-meta .game-icon[style]{padding:2px}.battle-skill-meta .icon-physical,.battle-skill-meta .icon-special,.battle-skill-meta .icon-status{width:24px}.battle-skill-meta .icon-physical img,.battle-skill-meta .icon-special img,.battle-skill-meta .icon-status img{width:24px;height:17px}.effect-stat{display:inline-flex;gap:2px;align-items:center;vertical-align:middle;line-height:1;font-size:13px;font-weight:700;margin-inline-end:4px;white-space:nowrap}.effect-stat .game-icon{width:18px;height:18px}.effect-up{color:#ace7ba}.effect-down{color:#ffc095}.combat-passive .game-icon{width:16px;height:16px;margin-right:3px}.combat-passive .game-icon svg{width:13px;height:13px}#combat-tooltip[popover]{inset:auto;margin:0}#combat-tooltip::backdrop{background:transparent;pointer-events:none}#detail{width:min(1180px,96vw);max-height:94dvh;padding:16px;overflow:auto}#detail h2,#detail h3,#detail p{margin:0}#detail button{font-size:13px}#detail .portrait{width:44px;height:44px;image-rendering:pixelated}.pokemon-detail-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.pokemon-detail-heading h2{font-size:22px;line-height:1.2}.pokemon-detail-heading h2 small{font-size:14px;color:#b3d0da;font-weight:400}.detail-types{display:flex;align-items:center;gap:4px;margin-top:4px}#detail-hp{font-size:12px;color:#b7d1dc;margin-left:8px}.detail-healing{margin-left:auto}.pokemon-detail-heading>[data-close-details]{padding:6px 10px;min-height:36px}.detail-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:8px}.detail-stat{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;background:#153747;border:1px solid #345767;border-radius:5px;padding:6px}.detail-stat strong{font-size:20px;font-variant-numeric:tabular-nums}.detail-stat small{font-size:11px;color:#c0d6df}.detail-traits{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #345767;margin-bottom:12px;flex-wrap:wrap}.detail-passive{display:inline-flex;align-items:center;gap:4px;font-size:12px}.detail-passive strong{color:#b5edd4}.detail-passive small{color:#b3cdd7;font-size:11px}.detail-matchups{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-left:auto}.detail-matchup{display:flex;align-items:center;gap:4px}.detail-matchup>small{font-size:11px;color:#b9cfd9}.matchup-icon{display:inline-flex;align-items:center;gap:2px;font-size:10px}.matchup-icon .game-icon{width:20px;height:20px}.matchup-icon .game-icon img{width:13px;height:13px}.no-matchups{font-size:12px;color:#92b1c0}.new-skill-banner{display:flex;align-items:center;gap:8px;background:#244339;border:1px solid #9cba7c;border-radius:5px;padding:8px 12px;margin-bottom:12px;font-size:14px;color:#e0f5ce}.new-skill-banner small{font-size:12px;margin-left:auto;color:#c5dabb}.move-editor{display:grid;grid-template-columns:224px minmax(0,1fr);gap:16px}.editor-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}#detail .editor-section-heading h3{font-size:15px;margin:0}#detail .editor-section-heading h3 small{font-size:12px;font-weight:400;color:#b0d4c9;margin-left:4px}.editor-section-heading>small{font-size:11px;color:#b3cbd7}.clear-slot{min-height:28px;padding:2px 6px}#move-slots{display:grid;gap:8px}.move-slot{position:relative;display:flex;align-items:center;gap:8px;min-height:65px;width:100%;padding:8px!important;text-align:left;border-inline-start:3px solid var(--category-color,#486c7b);background:#102e3e}.slot-number{font-size:11px;color:#b7d1dc;flex:0 0 12px}.slot-content{display:flex;flex-direction:column;gap:4px;min-width:0}.slot-content>strong{font-size:14px}.slot-facts{display:flex;align-items:center;gap:4px}.move-slot>.icon-swap{margin-left:auto;width:16px;opacity:.6}.selected-slot{outline:2px solid #b2edcf;outline-offset:1px;background:#24443f}.empty-move-slot{border-style:dashed;color:#abc4cf}.empty-move-slot>.icon-empty{opacity:.6}#slot-prompt{font-size:12px;line-height:1.5;color:#bdd4de;margin-top:8px!important}.cancel-slot{margin-top:8px;font-size:11px!important;padding:4px 8px;min-height:28px}#learned-moves-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-content:start}.learned-move{display:flex;flex-direction:column;gap:6px;text-align:left;min-height:104px;min-width:0;padding:8px!important;border-inline-start:3px solid var(--category-color);background:#102e3e}.category-physical{--category-color:#df9b73}.category-special{--category-color:#78b6ed}.category-status{--category-color:#bb92dc}.learned-move-title{display:flex;align-items:center;justify-content:space-between;gap:4px;width:100%}.learned-move-title strong{font-size:14px}.learned-move-title small{font-size:10px;color:#a8c6d3;white-space:nowrap}.move-equipped{background:#153746}.new-move{border-color:#c0d38d}.new-move .learned-move-title small{color:#e6ec9e}.incoming-move{outline:2px solid #b2edcf;outline-offset:1px;background:#24443f}.move-facts{display:flex;align-items:center;gap:4px;flex-wrap:wrap;width:100%}.move-metric{display:inline-flex;gap:2px;align-items:center;color:#c6dde7}.move-metric b{font-size:11px;font-weight:500;font-variant-numeric:tabular-nums}.move-facts .game-icon{width:18px;height:18px}.move-facts .game-icon img,.move-facts .game-icon svg{width:14px;height:14px}.move-facts .game-icon[style]{width:20px;height:20px;padding:3px}.move-facts .icon-physical,.move-facts .icon-special,.move-facts .icon-status{width:24px}.move-facts .icon-physical img,.move-facts .icon-special img,.move-facts .icon-status img{width:24px;height:17px}.move-effect-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:1.5;color:#bad0db;width:100%}.detail-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;margin-top:12px;border-top:1px solid #345767}#editor-feedback{font-size:12px;color:#adc9d6}#editor-feedback.editor-error{color:#ffc2ac}#detail button:focus-visible,.game-icon:focus-visible,.detail-passive:focus-visible{outline:2px solid #b2edcf;outline-offset:2px}@media(max-width:1060px){#learned-moves-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-stat small{display:none}.detail-matchups{margin-left:0}.detail-traits{gap:8px}.move-editor{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:640px){#detail{padding:12px;width:96vw}.pokemon-detail-heading{gap:8px;flex-wrap:wrap}.pokemon-detail-heading h2{font-size:18px}.detail-healing{margin-left:auto}.detail-stats{gap:4px;grid-template-columns:repeat(6,minmax(0,1fr))}.detail-stat{gap:2px;padding:4px 2px;flex-direction:column}.detail-stat strong{font-size:16px}.detail-passive{flex-wrap:wrap}.detail-passive small{font-size:11px}.new-skill-banner{flex-wrap:wrap}.new-skill-banner small{margin-left:0}.move-editor{grid-template-columns:1fr;gap:12px}#move-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.move-slot{min-height:60px}.slot-content>strong{font-size:13px}.move-slot>.icon-swap{display:none}#learned-moves-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learned-move{padding:8px!important}.learned-move-title strong{font-size:13px}.move-effect-description{font-size:12px}.detail-footer{align-items:flex-start}#detail-hp{margin-left:4px}.detail-healing .quick-potion{width:32px;height:32px}.detail-types .game-icon{width:20px;height:20px}}.detail-evolution{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:6px;margin:8px 0}.evolution-option{display:flex;align-items:center;gap:7px;min-width:0;padding:6px 8px;background:#102c3b;border:1px solid var(--line);border-radius:5px}.evolution-option>img{image-rendering:pixelated;flex:none}.evolution-option>span{flex:1;min-width:0}.evolution-option strong{display:block;font-size:12px}.evolution-option small{display:block;font-size:10px;color:var(--muted)}.evolution-option button{display:flex;align-items:center;gap:3px;font-size:11px;min-height:28px;padding:4px 6px}.evolution-glow{animation:evolution-glow 1.2s ease-out}@keyframes evolution-glow{0%{filter:brightness(0) invert(1);transform:scale(.75)}50%{filter:brightness(2);transform:scale(1.15)}to{filter:none;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.evolution-glow{animation:none}}#detail .move-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:none;margin-block-end:8px;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}#detail .move-filter-search{display:flex;align-items:center;gap:8px;flex:1 1 180px;min-width:0;padding-inline:8px;border:1px solid var(--line);border-radius:5px;background:#102e3e}.move-filter-search svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--mint);stroke-width:1.8;stroke-linecap:round}#detail .move-filters input{width:100%;min-width:0;box-sizing:border-box;height:30px;min-height:30px;padding:2px 0;border:0;background:transparent;color:var(--text);font:inherit;font-size:14px}#detail .move-filters input::placeholder{color:var(--muted)}#detail .move-filters select,#detail .move-filters button{box-sizing:border-box;height:32px;min-height:32px;min-width:0;padding:4px 8px;border:1px solid var(--line);border-radius:5px;background:#102e3e;color:var(--text);font:inherit;font-size:13px}#detail .move-filters select{flex:1 1 120px;max-width:180px;cursor:pointer}#detail .move-filters button{color:var(--mint)}#detail .move-filters button:disabled{opacity:.45}#detail .move-filter-search:focus-within{border-color:var(--mint)}#detail .move-filters :is(input,select,button):focus-visible{outline:2px solid var(--mint);outline-offset:2px}#detail .move-filter-empty{grid-column:1/-1;padding:16px;color:var(--muted)}@media(max-width:640px){#detail .move-filter-search{flex-basis:100%}#detail .move-filters select{max-width:none}}.move-tone-damage{color:#ff969c}.move-tone-heal{color:#8ee3ad}.move-tone-attack{color:#ffba82}.move-tone-defense{color:#efcf83}.move-tone-special-attack{color:#bba7ff}.move-tone-special-defense{color:#8ec9ff}.move-tone-speed{color:#f2a7dd}.move-tone-evasion{color:#9edbd1}.move-tone-critical{color:#ffe28a}.move-tone-burn{color:#ffad78}.move-tone-poison{color:#d7a0f3}.move-tone-paralysis{color:#f4db78}.move-tone-sleep{color:#b6baff}.move-tone-freeze{color:#91e0f2}.move-tone-confusion{color:#f6acd4}.move-tone-flinch{color:#e9bd9a}.move-tone-trap{color:#d4c18d}.move-tone-protect{color:#8bd9d2}.move-tone-disable{color:#c3b2e9}.move-tone-curse{color:#cea6e3}.move-tone-drain{color:#8ee3ad}.move-tone-status{color:#c7b3ec}.effect-stat.effect-key-attack,.effect-stat.effect-key-attack .game-icon{color:#ffba82}.effect-stat.effect-key-defense,.effect-stat.effect-key-defense .game-icon{color:#efcf83}.effect-stat.effect-key-special-attack,.effect-stat.effect-key-special-attack .game-icon{color:#bba7ff}.effect-stat.effect-key-special-defense,.effect-stat.effect-key-special-defense .game-icon{color:#8ec9ff}.effect-stat.effect-key-speed,.effect-stat.effect-key-speed .game-icon{color:#f2a7dd}.effect-stat.effect-key-evasion,.effect-stat.effect-key-evasion .game-icon{color:#9edbd1}.move-tone-accuracy,.effect-stat.effect-key-accuracy,.effect-stat.effect-key-accuracy .game-icon{color:#7edee8}.move-metric.move-tone-damage :is(.game-icon,b),.move-metric.move-tone-accuracy :is(.game-icon,b){color:inherit}#detail.wild-details .detail-stats>.detail-stat{column-gap:6px;row-gap:4px}#detail.wild-details .detail-stat>.game-icon,#detail.wild-details .detail-stat>strong{margin-inline-end:2px}#detail.wild-details .detail-stat>.detail-iv{flex-basis:100%;text-align:center}#detail:not(.wild-details) .detail-profile-summary>.detail-health-row{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(32px,4fr) auto auto minmax(0,1fr);align-items:center;gap:8px 0;margin-block-start:4px;min-width:0}#detail:not(.wild-details) .detail-profile-summary>.detail-health-row #detail-hp{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}#detail:not(.wild-details) .detail-profile-summary>.detail-health-row .detail-healing{margin:0;padding-inline-start:12px}#detail:not(.wild-details) .detail-health-meter{display:contents}#detail:not(.wild-details) .detail-health-meter .hp-track{height:7px;min-width:0}#detail:not(.wild-details) .detail-health-meter .hp-numbers{font-size:11px;min-width:0;padding-inline-start:8px}.cosmetic-moves{grid-column:1/-1;border:1px solid #608d85;border-radius:10px;padding:12px;background:#9de3ba0a}.cosmetic-moves h3{margin:0 0 10px;font-size:15px}.cosmetic-moves h3 small{display:inline-block;margin-left:8px;font-size:12px;font-weight:400;color:#a9d6c4}.cosmetic-move-list{display:flex;flex-wrap:wrap;gap:8px}.cosmetic-move-list>span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #79bba780;border-radius:8px;background:#152c2a;color:#d5f8ed}.cosmetic-move-list .game-icon{width:22px;height:22px}.cosmetic-moves p{margin:10px 0 0;color:#b3cbd7;font-size:12px;line-height:1.5}.cosmetic-move-list>article{flex:1 1 240px;min-width:0;padding:10px 12px;border:1px solid #79bba780;border-radius:8px;background:#152c2a;color:#d5f8ed}.cosmetic-move-list>article>div{display:flex;align-items:center;gap:7px}.cosmetic-move-list>article p{margin-top:7px}.rare-candy-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.rare-candy-control[hidden]{display:none}.rare-candy-control button{display:flex;align-items:center;gap:8px;min-height:44px}.rare-candy-control button img{width:28px;height:28px}.rare-candy-control small{color:var(--muted)}.rare-candy-control [data-candy-stock]{margin-inline-start:auto;color:var(--mint);font-variant-numeric:tabular-nums}.header-tools{display:flex;align-items:center;gap:10px}#tester-open{font-size:12px;padding:5px 10px;min-height:32px;color:#badcd2;background:#102b37}#tester-dialog{width:min(690px,96vw);padding:16px;max-height:92dvh;overflow:auto}#tester-dialog h2,#tester-dialog h3,#tester-dialog p{margin:0}.tester-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.tester-heading>div{flex:1}.tester-heading h2{font-size:20px;line-height:1.3}.tester-heading small{font-size:11px;color:#adc7d3}.tester-paused{font-size:10px;color:#acd7c7;border:1px solid #456b66;border-radius:4px;padding:4px 6px}.tester-heading>button{min-height:30px;padding:3px 8px}.tester-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:12px;border-bottom:1px solid #426171;padding-bottom:8px}.tester-tabs button{min-height:32px;padding:6px 8px;font-size:13px;background:transparent;border-color:transparent}.tester-tabs button[aria-selected=true]{border-color:#8ac6af;background:#20423f;color:#d5f4e6}.tester-pane{display:grid;gap:10px}.tester-block{padding:12px;border:1px solid #365769;background:#102d3d;border-radius:5px}#tester-dialog .tester-block h3{display:flex;align-items:center;gap:6px;font-size:14px;margin:0 0 8px}.tester-block h3 img{image-rendering:pixelated}.tester-row{display:flex;align-items:flex-end;gap:8px;margin-top:8px}.tester-field{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.tester-field>span{font-size:11px;color:#abc7d6}.tester-field input,.tester-field select{width:100%;min-width:0;min-height:34px;padding:6px 8px;border:1px solid #56778b;border-radius:4px;background:#091f2c;color:#e1edf3;font:13px Segoe UI,sans-serif}.tester-field:has(input){flex:0 1 104px}.tester-grow{flex:1}.tester-row button,.tester-shortcuts button,.tester-footer button{font-size:12px;min-height:34px;padding:6px 10px;white-space:nowrap}.tester-shortcuts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.tester-shortcuts button{min-height:30px;font-size:11px;padding:5px 8px}.tester-note{font-size:11px;color:#adc7d3;line-height:1.5}.tester-overrides{display:grid;gap:8px}.tester-overrides>button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;text-align:left}.tester-overrides strong{display:block;font-size:13px}.tester-overrides small{display:block;font-size:11px;margin-top:3px;color:#b7ced7}.tester-overrides b{font-size:12px;color:#a7bdc8}.tester-overrides>button[aria-checked=true]{border-color:#a3d8bd;background:#24483e}.tester-overrides>button[aria-checked=true] b{color:#c3f3c9}#tester-dialog .tester-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #426171}#tester-feedback{font-size:12px;line-height:1.4;color:#b7e0ce;flex:1}#tester-feedback.tester-error{color:#ffc1ac}.tester-footer>div{display:flex;gap:6px}.tester-footer button{min-height:32px;padding:5px 8px}.tester-tabs button:focus-visible,.tester-field input:focus-visible,.tester-field select:focus-visible{outline:2px solid #a8e0c7;outline-offset:2px}@media(max-width:540px){.header-tools{gap:5px}#tester-open{padding:4px 7px;min-height:28px;font-size:11px}#tester-dialog{padding:12px}.tester-heading{gap:8px}.tester-paused{display:none}.tester-tabs button{font-size:12px;padding:5px 3px}.tester-block{padding:10px}.tester-row{gap:6px;flex-wrap:wrap}.tester-row .tester-grow{flex-basis:160px}.tester-field:has(input){flex-basis:80px}.tester-row button{flex:1}#tester-dialog .tester-footer{flex-wrap:wrap}#tester-feedback{flex-basis:100%}.tester-footer>div{margin-left:auto}.header-tools .save-menu summary{font-size:11px}}@media(max-width:540px){.masthead{flex-wrap:wrap;gap:8px}.header-tools{margin-inline-start:auto}}.tester-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}#tester-move-search{flex:1;width:100%}#tester-move-list{display:grid;gap:6px}.tester-move-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #365769;border-radius:5px;background:#102d3d}.tester-move-row>div{min-width:0}.tester-move-row strong{font-size:13px}.tester-move-row small{display:block;font-size:11px;color:#adc7d3;margin-top:3px}.tester-move-row button{min-height:44px;flex-shrink:0;font-size:12px}.tester-move-preview{padding:10px;background:#091f2c;border:1px solid #56778b;border-radius:5px}.tester-move-preview[hidden]{display:none}.tester-move-preview canvas{display:block;width:100%;height:auto;image-rendering:pixelated}.tester-move-preview p{font-size:13px;color:#d5f4e6}.tester-move-preview small{font-size:11px;color:#adc7d3}#tester-dialog.tester-moves-open{width:min(1160px,96vw)}#tester-pane-moves:not([hidden]){display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.4fr);gap:16px;align-items:start}.tester-move-browser{min-width:0;display:grid;gap:10px}#tester-move-list{max-height:55dvh;overflow-y:auto;overscroll-behavior:auto;padding-right:5px;scrollbar-gutter:stable}.tester-move-preview{position:sticky;top:0;min-width:0;display:grid;gap:10px;align-self:start}.tester-move-stage{width:100%;aspect-ratio:16/9;position:relative;background:#102d3d;overflow:hidden;border-radius:4px}.tester-move-stage>div{position:absolute;inset:0}.tester-move-stage canvas{display:block;image-rendering:pixelated}.tester-move-preview button{justify-self:start;min-height:44px}@media(max-width:600px){#tester-pane-moves:not([hidden]){grid-template-columns:minmax(130px,1fr) minmax(0,1fr);gap:8px}.tester-move-row{flex-wrap:wrap;padding:6px;gap:4px}.tester-move-row button{width:100%;padding:4px}.tester-move-preview{padding:6px}.tester-move-preview p{font-size:11px}.tester-move-preview small{font-size:10px}}.tester-move-actions{display:flex;gap:8px;flex-wrap:wrap}.tester-move-actions [aria-pressed=true]{border-color:#a3d8bd;background:#24483e;color:#d5f4e6}.tester-move-filters{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px;align-items:end}.tester-move-filters .tester-field{min-width:0}.tester-move-filters input,.tester-move-filters select{min-height:44px}@media(max-width:600px){.tester-move-filters{gap:4px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.tester-move-filters .tester-field>span{font-size:10px}.tester-move-filters input,.tester-move-filters select{padding:4px;font-size:11px}}.level-celebration{position:fixed;inset:0;z-index:80;pointer-events:none;isolation:isolate;contain:strict}.level-celebration-backdrop{position:fixed;inset:0;z-index:80;background:#000c;pointer-events:none}.level-celebration-backdrop[hidden],.level-celebration[hidden]{display:none}.level-celebration canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}.level-screen-aura{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0,#ffe49a24,transparent 55%),radial-gradient(ellipse at 0 65%,#9cf4d81c,transparent 50%),radial-gradient(ellipse at 100% 75%,#8dccff1c,transparent 50%);box-shadow:inset 0 0 110px #e8cf601a}.level-celebration-toast{position:absolute;inset-block-start:0;inset-inline:12px;display:grid;justify-items:center;gap:6px;text-align:center;color:#fff1b8;text-shadow:0 2px 0 #16372f,0 0 18px #ffe49a55;transform:translateY(calc(var(--level-toast-y,50vh) - 50%));opacity:0;transition:transform .24s cubic-bezier(0,0,.2,1),opacity .16s cubic-bezier(0,0,.2,1)}.level-celebration-toast[hidden]{display:none}.level-celebration-toast>small{font:700 10px/1.4 Segoe UI,sans-serif;letter-spacing:3px;color:#d4f7e9;padding:3px 10px;background:#081c2bd9;border-radius:3px}.level-celebration-toast>strong{font:900 clamp(30px,5vw,58px)/1.1 Consolas,monospace;letter-spacing:3px;-webkit-text-stroke:1px #8a662e;filter:drop-shadow(0 3px 0 #071b29)}.level-celebration-members{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.level-celebration-members>span{display:flex;align-items:center;gap:7px;padding:5px 10px;background:#0a2234ed;border:1px solid #e3d396;border-radius:5px;color:#eaf9ef;font:13px/1.4 Segoe UI,sans-serif;box-shadow:0 3px 12px #07152166}.level-celebration-members img{image-rendering:pixelated}.level-celebrating{position:relative;outline:2px solid #f4d785;outline-offset:2px;box-shadow:0 0 18px #efd16c55!important}.level-local-sparks{position:absolute;inset:0;z-index:4;overflow:visible;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,#ffe49a0c,transparent 45%,#abf4d712)}.level-local-sparks i{position:absolute;display:block;width:4px;height:4px;background:#ffebb0;box-shadow:0 0 5px #ffe49a;opacity:0;animation:level-local-spark 2.2s ease-out var(--spark-delay) both}@keyframes level-local-spark{0%{opacity:0;transform:translateY(10px) scale(.5)}18%{opacity:1}85%{opacity:.8}to{opacity:0;transform:translate(var(--spark-x),var(--spark-y)) scale(.5)}}.level-motion-reduced .level-screen-aura{background:none;box-shadow:none}.level-motion-reduced .level-celebration-toast>strong{filter:none}@media(prefers-reduced-motion:reduce){.level-local-sparks i{display:none}.level-screen-aura{background:none;box-shadow:none}.level-celebration-toast{transition:opacity .16s cubic-bezier(0,0,.2,1)}}@media(max-width:540px){.level-celebration-toast>small{letter-spacing:1.5px;font-size:9px}.level-celebration-members>span{font-size:11px;padding:4px 7px}.level-celebration-members img{width:22px;height:22px}}body.account-gated .app{display:none}body.account-gated{display:flow-root;min-height:100dvh;background:radial-gradient(ellipse at 50% 35%,#102a39,#091b29);background-attachment:fixed}.account-runners{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;image-rendering:pixelated}.account-gate{position:relative;z-index:1}.account-gate{box-sizing:border-box;width:min(100% - 32px,440px);margin:clamp(48px,12vh,128px) auto;padding:32px;background:#102a39;border:1px solid #4c7180;border-radius:8px;color:#dceaf2;line-height:1.5}.account-gate[hidden]{display:none}.account-gate img{display:block;margin-block-end:24px;image-rendering:pixelated}.account-gate h1{font-size:24px;line-height:1.25;margin:0 0 12px}.account-gate p{margin:0 0 24px;color:#b9d2df;font-size:16px}.account-gate .account-actions{display:flex;flex-direction:column;gap:12px}.account-gate button,.account-gate a{min-height:44px;font:inherit}.account-gate .account-error{color:#ffc3ad;white-space:pre-wrap;margin-block-start:16px}.account-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.account-tools small{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b9d2df}.account-tools button,.release-notice button{min-height:44px}.account-footer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;max-width:100%}.account-footer small{font-size:12px;color:#b9d2df;overflow-wrap:anywhere;min-width:0}.app-footer #account-signout{flex:none;min-height:28px;padding:4px 8px;font-size:12px;line-height:1.5;color:#fff;background:#b91c1c;border-color:#f87171}.app-footer #account-signout:hover{background:#991b1b;border-color:#fca5a5}@media(pointer:coarse){.app-footer #account-signout{min-height:44px}}.release-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid #6a9b90;border-radius:4px;background:#153b3f;padding:8px 16px;margin-block:12px;color:#dceaf2}.release-notice[hidden]{display:none}#save-state[data-cloud-state=offline],#save-state[data-cloud-state=error],#save-state[data-cloud-state=conflict]{color:#ffd0a3}.player-message{box-sizing:border-box;width:min(480px,calc(100% - 24px));padding:24px;overflow:auto;max-height:calc(100dvh - 24px)}.player-message .player-message-sender{font-size:12px;letter-spacing:.12em;color:var(--mint);margin:0 0 8px}.player-message h2{font-size:24px;line-height:1.25;margin:0 0 16px}.player-message .player-message-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.5;margin:0 0 24px}.player-gift-items{list-style:none;display:grid;gap:12px;padding:0;margin:0 0 24px}.player-gift-items li{display:flex;align-items:center;gap:16px;padding:12px 16px;background:#153747;border:1px solid var(--line);border-radius:4px;font-size:16px}.player-gift-items img,.player-gift-items svg{width:40px;height:40px;flex:none;object-fit:contain;image-rendering:pixelated}.player-gift-items strong{font-size:24px;color:var(--mint);margin-inline-end:8px}.player-message .player-message-status{font-size:14px;line-height:1.5;color:var(--mint)}.player-message .player-reset-warning{font-size:14px;line-height:1.5;color:#ffd0a3;margin:0 0 24px}.player-message .player-message-error{font-size:14px;line-height:1.5;color:#ffb9ae}.player-message-actions{display:flex;flex-direction:column;gap:12px;margin-block-start:24px}.player-message-actions button{width:100%;min-height:48px;font-size:16px;font-weight:700}.player-message .player-reset-cta{background:#b91c1c;color:#fff;border:2px solid #f87171;font-size:20px;min-height:64px;line-height:1.25;padding:16px 12px;white-space:normal}.player-message .player-reset-cta:hover{background:#991b1b;border-color:#fca5a5}.player-message button:focus-visible{outline:3px solid #fff;outline-offset:4px}.player-message .player-message-no{background:#153747;color:#e1edf3;border-color:#96d2ba}@media(max-width:600px){.account-gate{padding:24px}.account-tools{justify-content:flex-end}.account-tools small{max-width:120px}.account-tools button{padding-inline:8px}.release-notice{padding:12px}}.app-footer #reset-only{position:static;flex:none;min-height:28px;padding:4px 8px;font-size:12px;line-height:1.5}.app-footer #reset-only[hidden]{display:none}@media(pointer:coarse){.app-footer #reset-only{min-height:44px}}.starter-actions{display:flex;flex-direction:column;gap:12px;width:100%}.supply-item{display:flex;align-items:center;gap:8px;min-width:0}.supply-name{display:none}@media(max-width:800px){.app,.masthead,.brand,.header-tools,.account-tools{min-width:0}.masthead{flex-wrap:wrap;gap:12px}.brand{flex:1 1 240px}.header-tools{flex-wrap:wrap;justify-content:flex-end;margin-inline-start:auto}.save-menu .save-controls{max-width:calc(100vw - 24px)}.save-menu summary{display:flex;align-items:center;min-height:44px}#tester-open,.header-tools button{min-height:44px}.journey-summary p{max-width:none}.stage-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-nav{gap:6px;margin-block-end:12px}.stage-nav button,.stage-nav button:last-child{min-width:0;min-height:64px;padding:6px;gap:6px}.stage-nav .stage-preview{flex:0 0 40px;width:40px;min-height:40px;height:40px;align-self:center}.stage-nav .stage-summary{gap:2px}.stage-nav .stage-summary strong{overflow-wrap:normal;font-size:12px;line-height:1.3}.stage-nav .stage-summary small,.stage-nav .stage-summary em,.stage-nav .stage-item-unlock{font-size:10px;line-height:1.4}.arena-heading{height:auto;min-height:48px;padding:8px 12px}.arena-heading h2{flex:1;min-width:0;font-size:14px;line-height:1.4}.battle-meta{flex:none}.combat-panel{padding:12px;width:100%;align-self:stretch}.combat-panel .section-heading{flex-wrap:wrap}#combat-skills{grid-template-columns:1fr}.combatant-skills+.combatant-skills{padding-block-start:12px;border-block-start:1px solid var(--line)}.battle-lineup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.battle-lineup .lineup-entry{padding:8px;gap:4px}.battle-lineup [data-switch-pokemon]{min-height:48px}.battle-lineup strong{font-size:13px}.battle-lineup small{font-size:11px}.battle-lineup img{width:32px;height:32px}.quick-potion.item-icon,.collection-grid .quick-potion.item-icon,.detail-healing .quick-potion.item-icon{width:44px;height:44px;min-height:44px;padding:8px}.quick-potion img{width:26px;height:26px}.battle-lineup .quick-potion.item-icon{width:32px;height:32px;min-height:32px;padding:4px}.battle-lineup .quick-potion img{width:22px;height:22px}.quick-potions,.battle-lineup .quick-potions{gap:4px}.combatant-heading h3{font-size:16px}.combat-hp{font-size:13px}.battle-skill-heading{flex-wrap:wrap}.battle-skill{padding:10px}.battle-skill strong{font-size:14px}.battle-skill .skill-state,.battle-skill-meta{font-size:12px}.battle-skill-effect,.combat-passive{font-size:13px;line-height:1.5}.toolbar{display:grid;grid-template-columns:1fr;gap:8px;margin-block:12px 16px}.toolbar .controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}.controls>button{justify-content:center;min-width:0;min-height:44px;height:auto;padding:8px;font-size:14px;white-space:normal}.speeds{height:44px}.speeds button{flex:1;min-width:44px;min-height:44px;font-size:14px}#sound{grid-column:1 / -1}#toggle-events{min-height:44px;font-size:13px}.battle-events #feed li{font-size:13px}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}.collection-grid .companion-title>div{min-width:0}.collection-grid .companion-actions{flex-wrap:wrap}.collection-grid .companion-actions button,.collection-grid .companion-actions .evolve-shortcut{min-height:44px;font-size:14px;flex:1 1 100px}.collection-grid .hp-numbers{font-size:12px;min-width:0}.collection-grid .hp-track{height:16px}.collection-grid .xp-row{font-size:12px;min-height:20px}.section-heading{flex-wrap:wrap}.section-heading>span{font-size:13px}#captures{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));max-width:none}#captures .capture-card{width:100%}#captures .capture-card button{min-height:44px;font-size:14px}#captures .capture-card p{font-size:13px}.catch-ball-store button{min-height:44px;font-size:14px}.capture-panel.is-empty{display:block}.learn-notice{flex-wrap:wrap}.learn-notice>span{flex-basis:100%}.learn-notice button{min-height:44px}.guide summary{min-height:44px}.guide-body{font-size:16px}.app-footer{align-items:flex-start;font-size:12px}.app-footer #save-state{white-space:normal}dialog,#detail,#tester-dialog,#capture-dialog{width:calc(100% - 16px);max-width:740px;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding:16px;overflow:auto;overscroll-behavior:auto;scroll-padding-block:16px}dialog button,#detail button{min-height:44px}dialog input,dialog select,dialog textarea{font-size:16px;min-height:44px}.dialog-heading{gap:8px;margin-block-end:16px;align-items:flex-start}.dialog-heading h2{font-size:20px}#close-bag,#close-capture,[data-close-details],.tester-heading>button{min-width:44px;flex:none}.dialog-actions{flex-wrap:wrap}.dialog-actions button{flex:1 1 120px}.bag-target{min-width:0;gap:8px;padding:12px;flex-wrap:wrap}.bag-target>span:not(.target-hp){flex:1;min-width:0}.bag-target strong{font-size:16px}.target-hp{font-size:13px}.capture-heading{align-items:flex-start}#capture-canvas{max-height:50dvh}.capture-actions{flex-wrap:wrap}.capture-actions small{flex:1 1 100%;margin:0;font-size:14px}.capture-actions button{flex:1}.pokemon-detail-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.pokemon-detail-heading>div:not(.detail-healing){min-width:0}.pokemon-detail-heading h2{font-size:20px;overflow-wrap:normal}.pokemon-detail-heading>[data-close-details]{grid-column:3;grid-row:1;padding:8px;align-self:start}.detail-healing{grid-column:2 / -1;margin:0;justify-self:end}.detail-types{flex-wrap:wrap}#detail-hp{font-size:13px}.detail-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.detail-stat{flex-direction:row;flex-wrap:wrap;padding:8px;gap:4px}.detail-stat small{display:block;width:100%;text-align:center;font-size:12px}.detail-stat strong{font-size:20px}.detail-passive,.detail-passive small,.detail-matchup>small{font-size:13px}.detail-matchups,.detail-matchup{flex-wrap:wrap}.detail-matchups{margin:0}.move-editor{grid-template-columns:1fr;gap:16px}#move-slots,#learned-moves-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot-facts,.learned-move-title{flex-wrap:wrap}.learned-move-title strong,.slot-content>strong{font-size:14px}.move-effect-description{display:block;overflow:visible;-webkit-line-clamp:unset;font-size:13px}.editor-section-heading{flex-wrap:wrap}.editor-section-heading>small{font-size:12px}.detail-footer{flex-wrap:wrap;align-items:center}.detail-footer>button{margin-inline-start:auto}.evolution-option{flex-wrap:wrap;padding:8px;gap:8px}.evolution-option>span{flex:1 1 140px}.evolution-option strong{font-size:14px}.evolution-option small{font-size:13px}.evolution-option button{flex:1 1 auto;font-size:13px;justify-content:center}.tester-heading{align-items:flex-start}.tester-heading>button{min-height:44px}.tester-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tester-tabs button{min-height:44px;font-size:14px}.tester-row{flex-wrap:wrap;gap:8px}.tester-field,.tester-row .tester-grow,.tester-field:has(input){flex:1 1 120px}.tester-field>span,.tester-note,.tester-heading small{font-size:13px}.tester-field input,.tester-field select{min-height:44px;font-size:16px}.tester-row button,.tester-shortcuts button,.tester-footer button{min-height:44px;font-size:13px;white-space:normal}.tester-footer,#tester-dialog .tester-footer{flex-wrap:wrap}#tester-feedback{flex-basis:100%;font-size:14px}.account-gate{margin-block:24px;padding:24px}.account-tools small{max-width:160px}.release-notice{overflow-wrap:anywhere}.combat-tooltip{max-height:calc(100dvh - 16px);overflow-wrap:anywhere}}@media(max-width:600px){.app{padding:12px;padding-inline-start:max(12px,env(safe-area-inset-left));padding-inline-end:max(12px,env(safe-area-inset-right));padding-block-end:max(16px,env(safe-area-inset-bottom))}.masthead{margin-block-end:16px}h1{font-size:20px;line-height:1.3}.header-tools{flex-basis:100%;gap:8px 12px}.header-tools .save-menu summary,#tester-open{font-size:13px}.account-tools{flex:1;justify-content:flex-start}.account-tools small{flex:1 1 100%;max-width:100%;font-size:12px}.starter-panel{padding:20px 12px;min-height:0}.starter-intro{margin-block-end:20px}.starter-intro h2{font-size:26px;margin-block:8px}.starter-intro p{font-size:16px;margin-block:8px}.starter-options{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.starter-choice{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:8px 12px;width:100%;max-width:none;padding:12px;text-align:start}.starter-choice .portrait,.starter-choice .starter-ball{grid-column:1;grid-row:1 / 3;width:56px;height:56px;margin:0}.starter-choice h3{grid-column:2;font-size:18px}.starter-choice p{font-size:14px;min-height:0}.starter-choice .starter-types{grid-column:2;flex-wrap:wrap;line-height:1.5}.starter-choice .starter-role,.starter-choice>small,.starter-actions{grid-column:1 / -1}.starter-choice>small{font-size:12px}.starter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-block-start:4px}.starter-actions button{min-width:0;min-height:48px;padding:8px;font-size:14px;white-space:normal}.starter-actions button:only-child{grid-column:1 / -1}.starter-choice>button{grid-column:2;min-height:44px;font-size:14px;padding:8px}.starter-gift{margin-block:20px 0;font-size:13px;line-height:1.6}.supplies-panel{gap:0;padding:8px 12px}.supplies-panel>.section-heading{flex-basis:100%;justify-content:space-between;padding-block-end:8px}.supplies-panel .supply,.supplies-panel .supply+.supply{flex:1 1 100%;gap:8px;padding:8px 0;border:0;border-block-start:1px solid var(--line)}.supply-item{flex:1}.supply-name{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.supplies-panel .supply-quantity{margin:0}.supplies-panel .supply-quantity strong{font-size:14px}.supplies-panel .supply-actions button{min-height:44px;min-width:44px;font-size:13px;padding:8px}.supplies-panel .supply-actions{gap:4px}.stage-nav button{flex-direction:row;align-items:center}.stage-nav .stage-preview{flex-basis:32px;width:32px}.journey-summary{display:block}.journey-summary p,.section-note{font-size:14px;line-height:1.5}.announcement{inset-block-start:50%;max-width:90%;padding:8px 12px}.announcement strong{font-size:18px}.announcement span{font-size:12px}.catch-heading{flex-wrap:wrap;gap:8px 16px}.capture-panel .section-heading{align-items:flex-start}.battle-skill-list{gap:8px}.collection-grid .companion{column-gap:4px}.collection-grid .hp-row{flex-wrap:wrap}.collection-grid .hp-track{flex-basis:40px;min-width:40px}.collection-grid .hp-row>span:first-child{display:none}}@media(max-width:360px){.supply-item,.supplies-panel .supply{gap:4px}.supplies-panel .supply-actions button{padding-inline:6px}#learned-moves-grid{grid-template-columns:1fr}.pokemon-detail-heading h2{font-size:18px}}#map-escape{position:absolute;inset-inline-end:12px;inset-block-end:12px;z-index:6;min-height:44px;padding:8px 16px;border-color:#b7ecd8;background:#0c2934ed;color:#e9fff5;font-weight:650;box-shadow:0 2px 8px #03131b66}#map-escape:hover{background:#20483f}@media(max-width:800px){.combat-panel>.section-heading{order:0;margin-block-end:8px}#combat-skills,.many-combatants #combat-skills{order:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}#battle-lineup{margin-block:0 12px}.combatant-skills{display:flex;flex-direction:column;min-width:0}.combatant-skills+.combatant-skills{padding:0;border:0;margin:0}.combatant-heading{order:0;align-items:flex-start;gap:6px;min-height:48px}.combatant-heading>div{min-width:0}.combatant-heading img{width:28px;height:28px}.combatant-heading h3{font-size:14px;line-height:1.3;overflow-wrap:normal}.combatant-heading h3 small{display:block;font-size:11px}.combatant-heading span{font-size:11px}.combat-health-row{display:contents}.combat-hp{order:1;display:block;font-size:12px;line-height:1.5;margin-block:4px}.combat-regen-caption{display:block}.combat-hp-track{order:2;height:6px;margin-block-end:8px;flex:none}.battle-skill-list{order:3;grid-template-columns:minmax(0,1fr);gap:6px}.battle-skill{padding:8px 6px;min-height:44px;margin:0}.battle-skill-heading{gap:2px 4px;align-items:center}.battle-skill strong{font-size:12px;line-height:1.4;overflow-wrap:normal}.battle-skill .skill-state{font-size:10px}.battle-skill-meta,.battle-skill-effect{display:none}.combat-passive{order:4;font-size:11px;line-height:1.4;margin-block:6px 0}.combat-passive .passive-summary{display:none}.combat-health-row>.quick-potions{order:5;justify-content:flex-start;margin-block-start:8px}#map-escape{inset-inline-end:8px;inset-block-end:8px;padding-inline:12px;font-size:13px}}.battle-layout{margin-block-end:16px}.map-controls{position:absolute;inset-inline:8px;inset-block-end:8px;z-index:6;display:flex;flex-direction:column;align-items:flex-end;gap:6px;pointer-events:none}.map-controls button{pointer-events:auto;min-height:44px;padding:8px 12px;background:#0c2934ed;border-color:var(--mint);color:var(--text);box-shadow:0 2px 8px #03131b66;font-size:13px;white-space:nowrap}.map-controls button:hover{background:#20483f}.map-playback-controls{display:flex;gap:6px}.battle-events-toolbar #map-enemy-count{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;min-height:32px;padding:4px 8px;border:1px solid color-mix(in srgb,var(--line) 50%,var(--mint));border-radius:6px;background:color-mix(in srgb,var(--surface-raised) 84%,var(--mint));color:var(--text);font-size:12px;font-weight:400;line-height:1.4;box-shadow:none;white-space:nowrap}.enemy-count-arrow{display:grid;place-items:center;width:18px;color:inherit;background:transparent}.enemy-count-arrow svg{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.battle-events-toolbar #map-enemy-count:hover,.battle-events-toolbar #map-enemy-count[aria-expanded=true]{background:#20453f;border-color:var(--mint)}@media(max-width:800px){.battle-events-toolbar #map-enemy-count{min-height:44px}}#map-enemy-menu{position:fixed;inset:auto;margin:0;padding:6px;border:1px solid var(--mint);border-radius:8px;background:#102f38;color:var(--text);box-shadow:0 8px 24px #03131b99;overflow:auto;box-sizing:border-box}#map-enemy-menu::backdrop{background:transparent}#map-enemy-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:8px 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--text);font:inherit;font-size:13px;text-align:start;box-shadow:none}#map-enemy-menu button:hover,#map-enemy-menu button:focus-visible{background:#24584f;border-color:var(--mint);outline:none}#map-enemy-menu button[aria-checked=true]{background:var(--mint);color:#10332d;font-weight:700}.enemy-count-check{visibility:hidden}#map-enemy-menu [aria-checked=true] .enemy-count-check{visibility:visible}.map-controls #game-speed{min-width:44px;padding:8px;font-variant-numeric:tabular-nums}.map-controls #pause{display:grid;place-items:center;width:44px;padding:8px;flex:none}#pause svg{fill:currentColor}.stage:has(.search-caption:not([hidden])) #announcement{display:none}#announcement,.search-caption{inset-block-start:auto;inset-block-end:80px;inset-inline:0;margin-inline:auto;width:max-content;max-width:calc(100% - 24px);transform:none;text-align:center;white-space:normal}#announcement{inset-block-start:auto;inset-block-end:80px;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:6px 10px;max-width:calc(100% - 24px);width:max-content;pointer-events:none}#announcement[hidden]{display:none}#announcement strong{font-size:16px;line-height:1.3}#announcement .victory-rewards{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 12px}#announcement .victory-reward,#announcement .victory-xp{display:inline-flex;align-items:center;gap:3px;font-size:11px;line-height:1.4}#announcement .victory-reward{color:var(--yellow)}#announcement .victory-xp{color:var(--mint)}.map-controls #map-escape{position:static;min-height:44px;margin-inline-start:auto;padding:8px 12px;font-size:13px;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.4}.battle-player{border:0;overflow:visible;background:transparent}.battle-map-frame{border:1px solid #7fc9b1;border-radius:8px;overflow:hidden;background:#0a1c2b}.battle-events-toolbar{display:flex;justify-content:flex-end;gap:6px;margin-block:8px;padding:0;border:0;background:transparent}.battle-events-toolbar :is(#sound,#toggle-events){margin:0;min-height:32px;padding:4px 8px;font-size:12px;line-height:1.4;background:var(--surface-raised);color:var(--text);border:1px solid var(--line);box-shadow:none}.battle-events-toolbar :is(#sound,#toggle-events):hover,.battle-events-toolbar #sound[aria-pressed=true],.battle-events-toolbar #toggle-events[aria-expanded=true]{border-color:var(--mint);background:#20453f}.battle-events #feed .empty-state{margin:0;color:var(--muted)}@media(max-width:800px){.battle-events-toolbar :is(#sound,#toggle-events){min-height:44px}}#shop-toggle{min-height:44px;color:var(--mint);border-color:var(--line);background:var(--surface-raised)}#shop-toggle[aria-expanded=true]{border-color:var(--mint)}.supplies-panel:not(.shop-open) .supply-actions,.supplies-panel:not(.shop-open) .supply-name{display:none}.supplies-panel:not(.shop-open){gap:8px 16px}.supplies-panel:not(.shop-open)>.section-heading{flex-basis:auto;padding:0}.supplies-panel:not(.shop-open) .supply,.supplies-panel:not(.shop-open) .supply+.supply{flex:0 0 auto;padding:0;border:0;gap:6px}.supplies-panel:not(.shop-open) .supply-item{flex:none}@media(max-width:400px){.map-controls>button,.map-controls #map-escape{padding-inline:8px;font-size:12px}.map-controls{gap:4px}}.detail-view-tabs{display:none}.slot-actions{display:flex;align-items:center;gap:6px}.slot-actions .cancel-slot{margin:0}#detail .equipped-editor>.editor-section-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}#detail .equipped-editor>.editor-section-heading h3{white-space:nowrap}#detail .slot-actions{flex-wrap:nowrap;min-height:44px}#detail .slot-actions button{white-space:nowrap;flex:none}#detail .slot-actions .cancel-slot.is-idle{visibility:hidden;pointer-events:none}#detail #learned-moves-grid .equipped-move-preview{box-sizing:border-box;min-height:104px;overflow:visible;border:1px solid var(--line);border-inline-start:3px solid var(--category-color,var(--line));border-radius:5px}#detail .selected-slot,#detail .equipped-move-preview.selected-slot{background:#24443f}#detail .equipped-move-preview:empty{background:transparent;border-style:dashed}#detail .equipped-move-preview>*{flex:none}#detail .equipped-move-preview .move-effect-description{display:block;-webkit-line-clamp:unset;overflow:visible}#detail #slot-prompt{height:3em;min-height:3em;max-height:3em;overflow:auto}@media(max-width:800px){#detail .equipped-editor>.editor-section-heading{grid-template-columns:auto minmax(0,1fr);gap:8px}#detail .slot-actions{justify-content:flex-end}}#detail .detail-identity{min-width:0;flex:1}#detail .detail-types{flex-wrap:nowrap;gap:4px}#detail-hp{white-space:nowrap}#detail .detail-types .detail-healing{margin:0 0 0 4px;flex:none}#detail .detail-healing .quick-potions{gap:4px}#detail .detail-healing .quick-potion.item-icon{width:32px;height:32px;min-height:32px;padding:4px}#detail .detail-healing .quick-potion img{width:22px;height:22px}@media(max-width:800px){#detail{width:100%;max-width:none;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;margin:0;border-radius:0;border-inline:0;padding:12px;padding-block-start:max(12px,env(safe-area-inset-top));padding-block-end:max(12px,env(safe-area-inset-bottom));overflow:hidden}#detail-content{height:100%;min-height:0;display:flex;flex-direction:column;gap:0}#detail .pokemon-detail-heading{flex:none;margin-block-end:8px;grid-template-columns:32px minmax(0,1fr) 44px;gap:6px 8px}#detail .pokemon-detail-heading .portrait{width:32px;height:32px}#detail .pokemon-detail-heading h2{font-size:18px}#detail .pokemon-detail-heading h2 small{font-size:13px}#detail .detail-healing{grid-column:2;grid-row:2;justify-self:start}#detail .detail-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;flex:none;padding-block-end:12px}#detail .detail-view-tabs button{min-height:44px;font-size:14px;background:transparent}#detail .detail-view-tabs button[aria-pressed=true]{background:#20453f;border-color:var(--mint);color:#d5f4e6}#detail .detail-overview{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:auto;padding:2px}#detail-content[data-detail-view=moves] .detail-overview,#detail-content[data-detail-view=stats] .move-editor,#detail-content[data-detail-view=stats] .new-skill-banner{display:none}#detail .new-skill-banner{flex:none;gap:6px;padding:8px;margin-block-end:8px;font-size:13px}#detail .new-skill-banner>small{display:none}#detail .move-editor{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1}#detail .equipped-editor{flex:none;min-width:0;padding:2px}#detail .editor-section-heading{flex-wrap:nowrap;gap:8px;margin-block-end:8px}#detail .editor-section-heading h3{font-size:15px}#detail .slot-actions{gap:4px}#detail .slot-actions button{min-height:44px;padding:6px 8px;font-size:12px!important;white-space:nowrap}#detail #move-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#detail .move-slot{min-height:64px;gap:6px;padding:8px!important}#detail .slot-content>strong{font-size:14px;line-height:1.35;overflow-wrap:normal}#detail #slot-prompt{min-height:36px;margin-block:8px 0!important;font-size:13px;line-height:1.4;color:#d3e9df}#detail .learned-editor{display:flex;flex-direction:column;min-height:0;flex:1}#detail .learned-editor>.editor-section-heading{flex:none;padding-inline:2px}#detail #learned-moves-grid{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:auto;scroll-padding:8px;padding:2px 4px 12px 2px}#detail .learned-move{flex:none;min-height:104px;height:auto;padding:12px!important;gap:8px}#detail .learned-move>*{flex:none}#detail .learned-move-title{flex-wrap:nowrap;align-items:baseline}#detail .learned-move-title strong{font-size:16px;line-height:1.35}#detail .learned-move-title small{font-size:12px;flex:none}#detail .move-effect-description{font-size:14px;line-height:1.5}#detail .move-metric b{font-size:12px}#detail .selected-slot,#detail .equipped-move-preview.selected-slot{outline-offset:0;background:#295448;box-shadow:inset 0 0 0 1px var(--mint)}#detail .incoming-move{outline-offset:0}#detail .detail-footer{flex:none;margin-block:8px 0;padding-block-start:8px;gap:8px;flex-wrap:nowrap}#detail #editor-feedback{font-size:12px;line-height:1.4;min-width:0}#detail .detail-footer>button{min-height:44px;flex:none;padding-inline:16px}}@media(max-width:800px)and (max-height:640px){#detail .detail-healing{display:none}#detail .move-slot{min-height:52px}#detail #slot-prompt{min-height:20px}#detail .move-editor{gap:8px}}@media(max-width:800px){#detail-content[data-detail-view=moves] .detail-healing{display:none}#detail-content[data-detail-view=stats] .detail-healing{display:block}#detail .move-slot{min-height:56px}#detail #slot-prompt{min-height:20px}}@media(max-width:800px)and (max-height:480px){#detail{overflow-y:auto}#detail-content{height:auto;min-height:100%}#detail .detail-overview{overflow:visible;flex:none}#detail .move-editor,#detail #learned-moves-grid{flex:none;overflow:visible}}#detail #learned-moves-grid{display:block}#detail .move-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:8px;padding:2px;align-content:start}@media(max-width:1060px){#detail .move-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){#detail .move-card-grid{grid-template-columns:minmax(0,1fr)}}#detail .slot-content{flex:1;min-width:0}#detail .slot-content .move-facts{gap:4px;white-space:normal}#detail .equipped-move-effect{display:block;font-size:12px;line-height:1.5;color:#bad0db;white-space:normal}#detail .equipped-move-effect .effect-stat{font-size:12px}@media(max-width:800px){#detail #move-slots{max-height:34dvh;overflow-y:auto;grid-auto-rows:max-content;align-content:start;overscroll-behavior:auto;padding:2px}#detail .slot-content>*{flex:none}}@media(max-width:800px)and (max-height:480px){#detail #move-slots{max-height:none;overflow:visible}}#detail .move-card-shell{display:grid;position:relative;min-width:0}#detail .move-card-grid>.move-card-shell{min-height:104px}#detail .move-card-shell>:is(.move-slot,.learned-move){width:100%;height:100%;min-width:0}#detail .has-move-info>:is(.move-slot,.learned-move){padding-block-end:36px!important}#detail .move-info,.battle-skill .move-info{position:absolute;inset-inline-end:4px;inset-block-end:4px;z-index:2;display:grid;place-items:center;width:28px;height:28px;min-height:28px;padding:4px;border:0;border-radius:50%;background:transparent;color:var(--mint);line-height:1}.move-info>span{display:grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font:700 14px/1 Georgia,serif}#detail .move-info:hover,.battle-skill .move-info:hover{background:transparent}.move-info:hover>span,.move-info[aria-expanded=true]>span{background:#20453f;color:var(--text)}.battle-skill{padding-inline-end:40px}@media(max-width:800px){#detail .has-move-info>:is(.move-slot,.learned-move){padding-block-end:48px!important}#detail .move-info,.battle-skill .move-info{width:44px;height:44px;min-height:44px;inset-inline-end:0;inset-block-end:0}.battle-skill{padding-inline-end:48px;min-height:48px}}.combat-panel{padding:12px}.combat-panel .combatant-heading{gap:8px;min-height:0;align-items:center}.combat-panel .combatant-heading>div{min-width:0;flex:1}.combat-panel .combatant-heading h3{font-size:15px;line-height:20px}.combat-panel .combatant-heading h3 small{display:inline;font-size:12px}.combat-panel .combat-passive{margin:2px 0 0;font-size:11px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combat-panel .combat-passive .passive-summary{font:inherit;color:inherit}.combat-panel .combat-health-row{margin-block:4px}.combat-panel .combat-hp-track{margin-block-end:6px}.combat-panel .battle-skill{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-width:0;min-height:0;padding:4px 6px;margin:0}.combat-panel .battle-skill-heading{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:space-between;gap:4px}.combat-panel .battle-skill-heading strong{min-width:0;font-size:14px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.combat-panel .battle-skill-types{display:flex;align-items:center;flex:none;gap:2px;margin:0}.combat-panel .battle-skill-types .game-icon{width:20px;height:20px}.combat-panel .battle-skill-types .game-icon[style]{padding:3px}.combat-panel .battle-skill-types .game-icon img{width:14px;height:14px}.combat-panel .battle-skill-types :is(.icon-physical,.icon-special,.icon-status){width:24px}.combat-panel .battle-skill-types :is(.icon-physical,.icon-special,.icon-status) img{width:24px;height:17px}.combat-panel .battle-skill-meta{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:4px;margin:0;padding-inline-end:28px;font-size:11px;line-height:18px}.combat-panel .battle-skill-numbers{display:flex;align-items:center;flex-wrap:nowrap;gap:4px;min-width:0;margin:0;font:inherit}.combat-panel .battle-skill-numbers>span{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}.combat-panel .battle-skill-meta .game-icon{width:16px;height:16px}.combat-panel .battle-skill-meta .game-icon svg{width:14px;height:14px}.combat-panel .battle-skill .skill-state{flex:none;min-width:5ch;margin:0;font-size:11px;line-height:18px;text-align:end;font-variant-numeric:tabular-nums}.combat-panel .battle-skill-footer{display:block;margin-block-start:0;padding-inline-end:28px;min-height:16px}.combat-panel .battle-skill-effect{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;margin:0;font-size:12px;line-height:16px;color:#d4e4ec}.combat-panel .battle-skill-footer .move-info{position:absolute;inset-inline-end:4px;inset-block-end:2px;width:24px;height:24px;min-height:24px;padding:2px}.combat-panel .battle-skill-list{gap:6px;align-items:stretch}@media(min-width:1201px){.battle-layout:not(.many-combatants)>.combat-panel{contain:size;align-self:stretch;min-height:0}.battle-layout:not(.many-combatants) #combat-skills{flex:1;min-height:0;overflow:visible;align-content:start;padding:0;gap:8px}}@media(min-width:801px)and (max-width:1200px){.battle-layout{display:flex;flex-direction:column;gap:12px}.battle-layout>.battle-player,.many-combatants .battle-player{order:0;width:100%}.battle-layout>.combat-panel{order:1;width:100%;align-self:stretch;position:static}.combat-panel #combat-skills{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.combat-panel .combatant-skills+.combatant-skills{padding:0;border:0}}@media(max-width:800px){.combat-panel .combatant-heading{align-items:flex-start}.combat-panel .combatant-heading h3{font-size:14px;line-height:18px}.combat-panel .combatant-heading h3 small{display:block;font-size:11px}.combat-panel .battle-skill-heading strong{font-size:12px;line-height:16px}.combat-panel .battle-skill-meta,.combat-panel .battle-skill .skill-state{font-size:10px}.combat-panel .battle-skill-meta{padding-inline-end:0}.combat-panel .battle-skill-effect{font-size:11px;line-height:15px}.combat-panel .battle-skill-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;min-height:44px;padding:0}.combat-panel .battle-skill-footer .move-info{position:static;width:44px;height:44px;min-height:44px;padding:12px}}.battle-lineup:has(+.battle-layout){margin-block:0 12px}#detail .detail-footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}#detail .detail-footer>[data-release-pokemon]{grid-column:1;grid-row:2;justify-self:start;margin:0}#detail .detail-footer>[data-pokedex]{grid-column:2;grid-row:2;justify-self:center;margin:0}#detail .detail-footer>#editor-feedback{grid-column:1/-1;grid-row:3;min-width:0}#detail .detail-footer>#editor-feedback:empty{display:none}#detail .detail-footer>[data-close-details]{grid-column:3;grid-row:2;margin:0}#detail .detail-release-confirm{grid-column:1/-1;grid-row:1;padding:12px;border:1px solid #bb7c7d;border-radius:6px;background:#291f2b}#detail .detail-release-confirm[hidden]{display:none}#detail .detail-release-confirm p{font-size:13px;line-height:1.5;margin:0 0 8px}#detail .release-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}#detail .release-confirm-actions button{min-height:36px}@media(max-width:800px){#detail .detail-footer{grid-template-columns:auto minmax(0,1fr) auto}#detail .detail-footer>[data-close-details]{grid-column:3}#detail .detail-footer>#editor-feedback{grid-column:1/-1;grid-row:3}#detail .release-confirm-actions button{min-height:44px}}#detail #move-slots{max-height:none;overflow:visible;grid-auto-rows:auto}#detail #move-slots .move-slot{min-height:56px;padding:8px!important;gap:6px}#detail #move-slots .has-move-info>.move-slot{padding-inline-end:36px!important}#detail #move-slots .slot-content{gap:2px}#detail #move-slots .slot-content>strong{font-size:14px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#detail .equipped-slot-types{display:flex;align-items:center;gap:4px;height:18px}#detail .equipped-slot-types .game-icon{width:18px;height:18px}#detail .equipped-slot-types .game-icon[style]{padding:2px}#detail .equipped-slot-types .game-icon img{width:14px;height:14px}#detail .equipped-slot-types :is(.icon-physical,.icon-special,.icon-status){width:24px}#detail .equipped-slot-types :is(.icon-physical,.icon-special,.icon-status) img{width:24px;height:17px}#detail #move-slots .move-info{inset-block-start:50%;inset-block-end:auto;transform:translateY(-50%)}#detail .equipped-preview-label{display:block;flex:none;font-size:12px;line-height:1.4;color:#bad0db}#detail #learned-moves-grid .equipped-move-preview.is-empty-preview{display:grid;place-items:center;text-align:center;border-style:dashed;background:transparent;padding:12px!important}@media(max-width:800px){#detail #move-slots .has-move-info>.move-slot{padding-inline-end:48px!important}}#detail .detail-evolve-action{display:inline-flex;vertical-align:middle;margin-block-start:4px}#detail .detail-evolve-action button{min-height:36px;padding:4px 12px}#detail .move-drag-handle{position:absolute;inset-inline-start:4px;inset-block-end:2px;z-index:2;min-height:28px;min-width:28px;padding:0;background:var(--surface);color:var(--mint);border:1px solid var(--line);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;font-size:20px}#detail .move-drag-handle:active{cursor:grabbing}#detail .equipped-slot-shell .move-drag-handle{inset-inline-start:4px;inset-inline-end:auto;inset-block-end:2px}#detail #move-slots .has-move-info>.move-slot{min-height:96px;padding:8px 8px 36px!important;align-items:flex-start}#detail #move-slots .move-info{inset-block-start:auto;inset-block-end:2px;transform:none}#detail .move-drop-target{outline:3px dashed var(--mint);outline-offset:-3px}#detail [draggable=true]{cursor:grab}#detail .move-drag-ghost{position:fixed;inset:0 auto auto 0;z-index:20;pointer-events:none;padding:8px 12px;border:1px solid var(--mint);border-radius:4px;background:var(--surface);color:var(--mint);font-weight:600}#evolution-choice{width:480px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;border:1px solid var(--mint);border-radius:8px;background:var(--surface);color:inherit;overflow:auto}.evolution-choice-heading{display:flex;align-items:center;gap:12px}.evolution-choice-heading img,.evolution-choice-options img{image-rendering:pixelated;flex:none}.evolution-choice-heading h2{font-size:20px;margin:0}.evolution-choice-heading p{margin:4px 0;color:var(--muted)}#evolution-choice>p{line-height:1.5}.evolution-choice-options{display:grid;gap:8px}.evolution-choice-options button{display:flex;align-items:center;gap:12px;text-align:start;min-height:56px;white-space:normal}.evolution-choice-options small{display:block;font-weight:400;margin-block-start:4px}#evolution-choice footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block-start:12px}#evolution-choice footer small{color:var(--muted)}#evolution-choice footer button{min-height:44px;flex:none}#evolution-choice-feedback{color:var(--orange)}@media(max-width:800px){#detail .move-drag-handle{min-width:44px;min-height:44px}#detail #move-slots .has-move-info>.move-slot{min-height:88px;padding:8px 8px 48px!important}#detail #move-slots .equipped-slot-types{display:none}#detail .detail-evolve-action button{min-height:44px}}#detail .equipped-editor>.editor-section-heading{display:flex;min-height:0}#detail .empty-move-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-style:dashed;text-align:center}.map-controls #map-escape{display:flex;align-items:center;justify-content:center;gap:8px}#map-escape .stage-preview{display:block;flex:0 0 56px;width:56px;height:auto;aspect-ratio:16/9;min-height:0;border-radius:3px;background-repeat:no-repeat;background-size:200% 200%;image-rendering:pixelated;overflow:hidden}.map-destination-label{min-width:0;overflow-wrap:anywhere;text-align:start}.combat-panel .combatant-heading .combat-portrait{display:grid;place-items:center;flex:none;width:32px;height:32px;min-height:32px;padding:0;border:0;border-radius:3px;background:transparent}.combat-panel .combatant-heading .combat-name{display:inline;min-height:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:start}.combat-panel .combatant-heading .combat-name:hover{color:var(--mint);text-decoration:underline;text-underline-offset:3px}.combat-panel .combatant-heading .combat-portrait:hover{background:#20453f}@media(max-width:800px){.combat-panel .combatant-heading .combat-portrait{width:44px;height:44px;min-height:44px}.combat-panel .combatant-heading .combat-name{min-height:44px}}@media(max-width:1200px){.combat-panel #combat-skills{grid-auto-rows:auto;row-gap:0}.combat-panel .combatant-skills{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:0;align-self:stretch}.combat-panel .combatant-skills+.combatant-skills{margin:0;padding:0;border:0}.combat-panel .combatant-heading{grid-row:1}.combat-panel .combat-health-row{grid-row:2;min-height:30px}.combat-panel .combat-hp-track{grid-row:3}.combat-panel .battle-skill-list{grid-row:4;align-self:start}}@media(max-width:800px){.combat-panel .combatant-skills{grid-row:span 5}.combat-panel .combat-health-row>.combat-hp{grid-row:2}.combat-panel .combat-health-row>.quick-potions{grid-row:5}}#detail:not(.wild-details){width:880px;max-width:calc(100vw - 24px);height:fit-content;min-height:0;max-height:calc(100dvh - 24px);margin:auto;padding:12px;border:1px solid var(--mint);border-radius:8px;overflow:auto}#detail:not(.wild-details) #detail-content{display:block;height:auto;min-height:0}#detail:not(.wild-details) .pokemon-detail-heading{margin-block-end:8px;gap:8px}#detail:not(.wild-details) .pokemon-detail-heading h2{font-size:20px}#detail:not(.wild-details) .pokemon-detail-heading .portrait{width:36px;height:36px}#detail:not(.wild-details) .detail-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-block-end:8px}#detail:not(.wild-details) .detail-view-tabs button{min-height:36px;background:transparent}#detail:not(.wild-details) .detail-view-tabs button[aria-pressed=true]{background:#20453f;border-color:var(--mint);color:#d5f4e6}#detail:not(.wild-details) .detail-overview{flex:none;overflow:visible;min-height:0;padding:0}#detail:not(.wild-details) #detail-content[data-detail-view=moves] .detail-overview{display:none}#detail:not(.wild-details) #detail-content[data-detail-view=stats] :is(.move-editor,.new-skill-banner){display:none}#detail:not(.wild-details) .move-editor{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:start;gap:12px;flex:none;min-height:0}#detail:not(.wild-details) .learned-editor{display:block;flex:none;min-height:0}#detail:not(.wild-details) #learned-moves-grid{flex:none;max-height:44dvh;overflow-y:auto;overscroll-behavior:auto;padding:2px 4px 4px 2px}#detail:not(.wild-details) .move-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#detail:not(.wild-details) #slot-prompt{height:auto;min-height:0;max-height:none;overflow:visible;margin-block:4px 0!important;line-height:1.4}#detail:not(.wild-details) .detail-traits{padding-block:4px;margin-block-end:8px;gap:8px}#detail:not(.wild-details) .detail-stat{min-height:36px;padding:4px;gap:4px}#detail:not(.wild-details) .detail-stat strong{font-size:16px}#detail:not(.wild-details) .detail-footer{padding-block-start:8px;margin-block-start:8px;gap:4px 8px}@media(max-width:800px){#detail:not(.wild-details) .move-editor{grid-template-columns:minmax(0,1fr);gap:8px}#detail:not(.wild-details) .move-card-grid{grid-template-columns:minmax(0,1fr)}#detail:not(.wild-details) .detail-view-tabs button{min-height:44px}#detail:not(.wild-details) .learned-move{padding:8px!important;gap:4px}#detail:not(.wild-details) .has-move-info>.learned-move{padding-block-end:44px!important}}#detail.wild-details{width:640px;max-width:calc(100vw - 24px);height:fit-content;min-height:0;max-height:calc(100dvh - 24px);margin:auto;padding:12px;border:1px solid var(--mint);border-radius:8px;overflow:auto}#detail.wild-details #detail-content{display:block;height:auto;min-height:0}#detail.wild-details .pokemon-detail-heading{display:flex;flex-wrap:nowrap;gap:8px;margin-block-end:8px}#detail.wild-details .pokemon-detail-heading .portrait{width:36px;height:36px}#detail.wild-details .pokemon-detail-heading h2{font-size:20px}#detail.wild-details .pokemon-detail-heading h2 small{font-size:12px}#detail.wild-details .pokemon-detail-heading>[data-close-details]{align-self:center;flex:none;min-height:36px;padding:4px 8px}#detail.wild-details .detail-types{margin-block-start:2px;font-size:13px}#detail.wild-details .detail-types .game-icon{width:20px;height:20px;padding:2px}#detail.wild-details .detail-view-tabs{display:none}#detail.wild-details #detail-content .detail-overview{display:block;flex:none;overflow:visible;padding:0}#detail.wild-details .detail-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-block-end:4px}#detail.wild-details .detail-stat{flex-direction:row;flex-wrap:wrap;gap:2px;min-height:36px;padding:4px}#detail.wild-details .detail-stat .game-icon{width:16px;height:16px}#detail.wild-details .detail-stat .game-icon svg{width:16px;height:16px}#detail.wild-details .detail-stat strong{font-size:16px}#detail.wild-details .detail-stat small{display:inline;width:auto;font-size:10px}#detail.wild-details .detail-traits{gap:4px 8px;padding-block:4px;margin-block-end:4px}#detail.wild-details .detail-matchups{margin:0;gap:4px 8px}#detail.wild-details .detail-passive{font-size:12px}#detail.wild-details .wild-move-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#detail.wild-details #detail-content .wild-moves{display:block;min-height:0;flex:none;overflow:visible}#detail.wild-details .editor-section-heading{margin-block:8px 4px}#detail.wild-details .move-card-shell>.learned-move{height:auto;min-height:0;padding:8px!important;gap:4px}#detail.wild-details .learned-move-title strong{font-size:14px;line-height:1.3}#detail.wild-details .move-facts{gap:2px 4px}#detail.wild-details .move-metric b{font-size:11px}#detail.wild-details .move-effect-description{display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;padding-inline-end:28px;font-size:12px;line-height:1.4}#detail.wild-details .wild-stat-note,#detail.wild-details .wild-readonly{font-size:12px;color:var(--muted)}#detail.wild-details .detail-footer{display:flex;justify-content:space-between;align-items:center;padding-block-start:8px;margin-block-start:8px;gap:8px}#detail.wild-details .detail-footer>button{min-height:32px;padding:4px 12px}@media(max-width:480px){#detail.wild-details .detail-stats{grid-template-columns:repeat(3,minmax(0,1fr))}#detail.wild-details .wild-move-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:800px),(pointer:coarse){#detail.wild-details .pokemon-detail-heading>[data-close-details],#detail.wild-details .detail-footer>button{min-height:44px}#detail.wild-details .move-effect-description{padding-inline-end:44px}}.combat-panel .combatant-heading .combat-level-group{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:inherit;color:inherit}.combat-panel .combatant-heading .combat-xp{display:inline-grid;place-items:center;vertical-align:middle;flex:none;width:24px;height:24px;min-height:24px;padding:0;border:0;border-radius:50%;background:transparent;color:#7dafe4;cursor:help}.combat-panel .combatant-heading .combat-xp:hover{background:#233e52}.combat-xp svg{display:block;overflow:visible}.combat-xp circle{fill:none;stroke-width:3}.combat-xp .xp-ring-track{stroke:var(--line)}.combat-xp .xp-ring-fill{stroke:currentColor;stroke-linecap:butt}.battle-lineup .lineup-tools{display:contents}.battle-lineup .lineup-tools .combat-xp{grid-column:2;grid-row:2;justify-self:end;align-self:center;position:relative;z-index:1;display:inline-grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#7dafe4;cursor:help}.battle-lineup .lineup-tools .combat-xp:hover{background:#233e52}@media(min-width:801px)and (pointer:fine){.battle-lineup .lineup-entry{display:flex;flex-direction:row;align-items:center;gap:4px;padding:6px}.battle-lineup [data-switch-pokemon]{display:flex;align-items:center;flex:1;gap:4px;min-width:0;min-height:44px}.battle-lineup [data-switch-pokemon]>span{padding:0;min-width:0}.battle-lineup [data-switch-pokemon]>img{width:24px;height:24px}.battle-lineup strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-lineup small{font-size:10px;line-height:1.35}.battle-lineup .lineup-tools{display:flex;align-items:center;flex:none;gap:2px}.battle-lineup .lineup-tools .combat-xp{width:24px;height:24px;min-height:24px}.battle-lineup .quick-potions{display:flex;flex-wrap:nowrap;flex:none;justify-content:flex-start;gap:2px;max-width:50px;overflow-x:auto;overflow-y:hidden}.battle-lineup .quick-potion-wrap{flex:none}.battle-lineup .quick-potion.item-icon{width:24px;height:24px;min-height:24px;padding:2px}.battle-lineup .quick-potion img{width:18px;height:18px}}@media(max-width:400px){.battle-lineup{gap:4px}.battle-lineup .lineup-entry{padding:4px}.battle-lineup .lineup-tools,.battle-lineup .quick-potions{gap:2px}}.stage-nav .stage-xp-bonus,.combat-panel .combat-training{display:block;color:var(--muted);font-size:11px;line-height:1.4;overflow-wrap:anywhere}.stage-nav .stage-xp-bonus.has-bonus,.combat-panel .combat-training.has-bonus{color:var(--mint);font-weight:650}button.announcement .victory-xp{grid-column:1/-1;font-size:11px;line-height:1.4;color:var(--mint)}@media(max-width:800px),(pointer:coarse){.combat-panel .combatant-heading .combat-xp{width:44px;height:44px;min-height:44px}}#detail #move-slots .slot-content{flex:1;min-width:0}#detail #move-slots .move-facts{gap:4px 6px;margin-block-start:4px;white-space:normal}#detail #move-slots .move-metric{white-space:nowrap}#detail #slot-prompt:empty{display:none}#detail .detail-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}#detail .detail-title-line h2{margin:0;flex:none}#detail .detail-title-line .detail-evolve-action{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;min-width:0}#detail .detail-evolve-action[hidden]{display:none}#detail .detail-title-line .detail-evolution{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;border:0}#detail .detail-title-line .detail-evolution[hidden]{display:none}#detail .detail-title-line .evolution-option{padding:0;border:0;background:transparent;gap:6px;flex-wrap:wrap}#detail .detail-title-line .evolution-option>img{display:none}#detail .detail-title-line .evolution-option>span{display:flex;align-items:baseline;flex:0 1 auto;flex-wrap:wrap;gap:4px 6px}#detail .detail-title-line .evolution-option strong,#detail .detail-title-line .evolution-option small{font-size:12px}#detail .detail-title-line .evolution-option button{flex:none}#detail:not(.wild-details) .pokemon-detail-heading{display:grid;grid-template-columns:80px minmax(180px,.8fr) minmax(0,2fr) 44px;align-items:start;gap:8px 12px;margin-block-end:12px}#detail:not(.wild-details) .detail-portrait-stack{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}#detail:not(.wild-details) .detail-portrait-stack .portrait{width:40px;height:40px}#detail:not(.wild-details) .detail-portrait-stack .detail-passive{display:flex;justify-content:center;max-width:100%;font-size:11px;text-align:center;line-height:1.3}#detail:not(.wild-details) .detail-portrait-stack .detail-passive>.game-icon,#detail:not(.wild-details) .detail-portrait-stack .detail-passive>small{display:none}#detail:not(.wild-details) .detail-portrait-stack .detail-passive strong{overflow-wrap:anywhere}#detail:not(.wild-details) .detail-identity{grid-column:2;grid-row:1;min-width:0;align-self:center}#detail:not(.wild-details) .detail-types{flex-wrap:wrap;gap:4px}#detail:not(.wild-details) .detail-healing{margin:0}#detail:not(.wild-details) .pokemon-detail-heading>[data-close-details]{grid-column:4;grid-row:1;min-height:44px;padding:8px}#detail:not(.wild-details) .detail-header-overview{display:grid;grid-column:3;grid-row:1;grid-template-columns:120px minmax(0,1fr) auto;align-items:start;gap:8px 12px;min-width:0;overflow:visible;padding:0}#detail:not(.wild-details) .detail-header-overview .detail-stats{display:grid;grid-column:1;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;width:120px;margin:0}#detail:not(.wild-details) .detail-header-overview .detail-stat{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;min-width:0;min-height:20px;padding:0;gap:4px;border:0;background:transparent;line-height:1.3}#detail:not(.wild-details) .detail-header-overview .detail-stat>.game-icon{display:none}#detail:not(.wild-details) .detail-header-overview .detail-stat strong{font-size:13px}#detail:not(.wild-details) .detail-header-overview .detail-stat small{display:inline;order:-1;white-space:nowrap;font-size:11px}#detail:not(.wild-details) .detail-header-overview .detail-traits{display:contents}#detail:not(.wild-details) .detail-header-overview .detail-matchups{display:flex;flex-direction:column;align-items:start;grid-column:2;grid-row:1;gap:4px;margin:0;min-width:0}#detail:not(.wild-details) .detail-header-overview .detail-matchup{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:11px}#detail:not(.wild-details) .detail-header-overview .detail-matchup>small{min-width:36px;font-size:11px}#detail .matchup-group{display:inline-flex;align-items:center;gap:2px;font-size:10px}#detail .matchup-group>b{margin-inline:2px 4px;white-space:nowrap}#detail:not(.wild-details) .detail-header-overview .matchup-icon .game-icon{width:16px;height:16px;padding:2px}#detail:not(.wild-details) .detail-header-overview .matchup-icon .game-icon img{width:12px;height:12px}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action{display:flex;grid-column:3;grid-row:1;align-items:center;gap:8px;margin:0;max-width:180px}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action[hidden]{display:none}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action>button{flex:none;min-height:44px;padding:6px 8px;font-size:12px}#detail:not(.wild-details) .detail-header-overview .detail-evolution{display:flex;flex-direction:column;gap:4px;margin:0;min-width:0}#detail:not(.wild-details) .detail-header-overview .detail-evolution[hidden]{display:none}#detail:not(.wild-details) .detail-header-overview .evolution-option{display:flex;flex-wrap:wrap;gap:4px;padding:0;border:0;background:transparent}#detail:not(.wild-details) .detail-header-overview .evolution-option>img{display:none}#detail:not(.wild-details) .detail-header-overview .evolution-option>span{flex:1 1 100%;min-width:0}#detail:not(.wild-details) .detail-header-overview .evolution-option strong{display:block;font-size:12px}#detail:not(.wild-details) .detail-header-overview .evolution-option small{display:block;font-size:11px}@media(min-width:801px){#detail:not(.wild-details) #learned-moves-grid{max-height:54dvh}}@media(max-width:1000px){#detail:not(.wild-details) .pokemon-detail-heading{grid-template-columns:64px minmax(0,1fr) 44px;gap:8px}#detail:not(.wild-details) .pokemon-detail-heading>[data-close-details]{grid-column:3}#detail:not(.wild-details) .detail-header-overview{grid-column:1/-1;grid-row:2}}@media(max-width:600px){#detail:not(.wild-details) .detail-header-overview{grid-template-columns:120px minmax(0,1fr)}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action{grid-column:1/-1;grid-row:2;max-width:none}}.supplies-panel #shop{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px 18px;min-width:0;flex:1}.supplies-panel .supply-group{display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%;padding-inline-start:14px;border-inline-start:1px solid var(--line)}.supplies-panel .supply-group h3{margin:0;color:var(--muted);font-size:10px;font-weight:600;line-height:1.2;letter-spacing:.04em}.supplies-panel .supply-group-items{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0}.supplies-panel .supply-group .supply,.supplies-panel .supply-group .supply+.supply{border:0;padding:0}@media(max-width:640px){.supplies-panel #shop{flex-basis:100%;gap:12px}.supplies-panel .supply-group{padding-inline-start:10px}.supplies-panel .supply-group-items{gap:8px 10px}}#detail:not(.wild-details){container:owned-detail / inline-size}#detail:not(.wild-details) .pokemon-detail-heading{grid-template-columns:minmax(280px,.9fr) minmax(0,2fr) 44px}#detail:not(.wild-details) .detail-profile-summary{grid-column:1;grid-row:1;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:4px 8px;min-width:0}#detail:not(.wild-details) .detail-profile-summary .detail-portrait-stack{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;align-self:start}#detail:not(.wild-details) .detail-profile-summary .portrait{width:44px;height:44px;align-self:start}#detail:not(.wild-details) .detail-profile-summary .detail-identity{grid-column:2;grid-row:1;align-self:start}#detail:not(.wild-details) .detail-profile-summary .detail-title-line{gap:4px}#detail:not(.wild-details) .detail-profile-summary h2{font-size:20px;line-height:1.3;margin:0}#detail:not(.wild-details) .detail-profile-summary h2 small{display:inline;font-size:13px;white-space:nowrap}#detail:not(.wild-details) .detail-profile-summary .detail-types{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-block-start:4px}#detail:not(.wild-details) .detail-profile-summary #detail-hp{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}#detail:not(.wild-details) .detail-profile-summary .detail-healing{margin:0}#detail:not(.wild-details) .detail-profile-summary .quick-potions{gap:4px}#detail:not(.wild-details) .detail-profile-summary>.detail-passive{grid-column:1/-1;grid-row:2;display:block;max-width:100%;min-width:0;font-size:12px;line-height:1.4;text-align:start}#detail:not(.wild-details) .detail-profile-summary>.detail-passive>.game-icon{display:none}#detail:not(.wild-details) .detail-profile-summary>.detail-passive>strong{display:inline;font-size:12px}#detail:not(.wild-details) .detail-profile-summary>.detail-passive>strong:after{content:": "}#detail:not(.wild-details) .detail-profile-summary>.detail-passive>small{display:inline;font-size:12px}#detail:not(.wild-details) .detail-header-overview{grid-column:2;grid-row:1}#detail:not(.wild-details) .pokemon-detail-heading>[data-close-details]{grid-column:3;grid-row:1}@container owned-detail (max-width:760px){#detail:not(.wild-details) .pokemon-detail-heading{grid-template-columns:minmax(0,1fr) 44px}#detail:not(.wild-details) .pokemon-detail-heading>[data-close-details]{grid-column:2}#detail:not(.wild-details) .detail-header-overview{grid-column:1/-1;grid-row:2}}@container owned-detail (min-width:760.01px){#detail:not(.wild-details) .pokemon-detail-heading{grid-template-columns:240px minmax(0,1fr) 44px}}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action{max-width:none;gap:8px}#detail:not(.wild-details) .detail-header-overview .evolution-option{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:4px 6px}#detail:not(.wild-details) .detail-header-overview .evolution-option>img{display:block;width:32px;height:32px;image-rendering:pixelated;border-radius:4px;background:#193b43;flex:none}#detail:not(.wild-details) .detail-header-overview .evolution-option>span{min-width:0;overflow-wrap:anywhere}#detail:not(.wild-details) .detail-header-overview .evolution-option>button{grid-column:2}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid #e6e8a0;border-radius:8px;background:linear-gradient(135deg,#e5e9a4,#a4e6cc 65%,#72cdb9);color:#102e34;font-weight:700;box-shadow:inset 0 1px #ffffff80,0 2px 8px #a4e6cc25}#detail:not(.wild-details) .detail-evolve-action>button .evolve-spark{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action>button:not(:disabled):hover{background:linear-gradient(135deg,#f0efbd,#bdf5dc 65%,#8ce2ce);box-shadow:inset 0 1px #fff9,0 2px 12px #a4e6cc45}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action>button:disabled{background:var(--surface-raised);border-color:var(--line);color:var(--muted);box-shadow:none;opacity:.65;cursor:default}@container owned-detail (min-width:760.01px){#detail:not(.wild-details) .pokemon-detail-heading{column-gap:8px}#detail:not(.wild-details) .detail-header-overview{column-gap:8px}#detail:not(.wild-details) .detail-header-overview .detail-matchup{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:4px}#detail:not(.wild-details) .detail-header-overview .detail-matchup>.matchup-group{grid-column:2}}@media(min-width:901px){#detail:not(.wild-details){width:1440px}#detail:not(.wild-details) .move-editor{grid-template-columns:200px minmax(0,1fr)}#detail:not(.wild-details) .move-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:801px){#detail:not(.wild-details) .move-card-grid{grid-auto-rows:auto}#detail:not(.wild-details) .move-card-grid>.move-card-shell{min-height:68px}#detail:not(.wild-details) #learned-moves-grid .learned-move{min-height:68px;gap:3px;padding:5px 8px!important;box-sizing:border-box}#detail:not(.wild-details) #learned-moves-grid .has-move-info>.learned-move{padding-block-end:6px!important;padding-inline-end:36px!important}#detail:not(.wild-details) #learned-moves-grid .move-effect-description{line-height:1.35}}#detail.wild-details .move-effect-description{padding-inline-end:0;display:block;overflow:visible;-webkit-line-clamp:unset}#detail:not(.wild-details) .detail-header-overview{grid-template-columns:148px minmax(0,1fr);gap:8px 14px;padding:4px 0}#detail:not(.wild-details) .detail-header-overview .detail-stats{width:148px;gap:4px 10px}#detail:not(.wild-details) .detail-header-overview .detail-stats:before{content:"Stats";grid-column:1/-1;font-size:11px;font-weight:700;color:var(--mint);margin-block-end:4px}#detail:not(.wild-details) .detail-header-overview .detail-stat{min-height:18px;gap:5px}#detail:not(.wild-details) .detail-header-overview .detail-stat small{font-size:11px;color:var(--muted)}#detail:not(.wild-details) .detail-header-overview .detail-stat strong{font-size:13px;font-variant-numeric:tabular-nums}#detail:not(.wild-details) .detail-header-overview .detail-matchups{gap:4px;align-items:stretch;padding-inline-start:14px;border-inline-start:1px solid var(--line)}#detail:not(.wild-details) .detail-header-overview .detail-matchups:before{content:"Type matchups";font-size:11px;font-weight:700;color:var(--mint);margin-block-end:4px}#detail:not(.wild-details) .detail-header-overview .detail-matchup{display:grid;grid-template-columns:86px minmax(0,1fr);gap:6px;align-items:center;min-height:22px}#detail:not(.wild-details) .detail-header-overview .detail-matchup>small{min-width:0;font-size:11px;white-space:nowrap}#detail:not(.wild-details) .detail-header-overview .matchup-group{grid-column:2;justify-self:start;max-width:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:3px;padding:2px 6px;background:#173b4966;border-radius:4px;font-size:11px}#detail:not(.wild-details) .detail-header-overview .matchup-group>b{margin-inline:4px 0;align-self:center}#detail:not(.wild-details) .detail-header-overview .matchup-icon .game-icon{width:18px;height:18px;padding:2px}#detail:not(.wild-details) .detail-header-overview .matchup-icon .game-icon img{width:14px;height:14px}#detail:not(.wild-details) .detail-header-overview .no-matchups{grid-column:2;padding:2px 6px;color:var(--muted)}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action{grid-column:1/-1;grid-row:2;justify-self:end;align-self:center}@container owned-detail (min-width:1100px){#detail:not(.wild-details) .detail-header-overview{grid-template-columns:148px minmax(0,1fr) auto}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action{grid-column:3;grid-row:1}}@container owned-detail (max-width:560px){#detail:not(.wild-details) .detail-header-overview{grid-template-columns:minmax(0,1fr);gap:10px}#detail:not(.wild-details) .detail-header-overview .detail-matchups{grid-column:1;grid-row:2;padding-inline-start:0;padding-block-start:8px;border-inline-start:0;border-block-start:1px solid var(--line)}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action{grid-column:1;grid-row:3;justify-self:start}}@media(min-width:901px){#detail:not(.wild-details){width:1200px}#detail:not(.wild-details) .learned-editor{width:100%;max-width:965px;min-width:0}}#detail:not(.wild-details) #learned-moves-grid .move-effect-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;block-size:2.7em;min-block-size:2.7em;max-block-size:2.7em;line-height:1.35;flex:none}#detail:not(.wild-details) .move-card-grid{grid-auto-rows:1fr}#detail:not(.wild-details) .detail-header-overview .detail-evolve-action>button{min-height:36px;padding:6px 10px;font-size:11px}#detail:not(.wild-details) .detail-evolve-action>button .evolve-spark{width:15px;height:15px}#detail:not(.wild-details) .detail-header-overview .evolution-option{grid-template-columns:26px minmax(0,1fr)}#detail:not(.wild-details) .detail-header-overview .evolution-option>img{width:26px;height:26px}#detail:not(.wild-details) .detail-header-overview .evolution-option strong{font-size:11px}#detail:not(.wild-details){padding-inline:52px}#detail .detail-team-nav>button{position:absolute;top:50%;transform:translateY(-50%);width:40px;min-height:56px;padding:0;font-size:32px;line-height:1;pointer-events:auto}#detail .detail-team-nav>[data-team-step="-1"]{left:5px}#detail .detail-team-nav>[data-team-step="1"]{right:5px}#detail:not(.wild-details) #learned-moves-grid{max-height:min(44dvh,var(--three-move-rows,44dvh));overflow-y:auto;scrollbar-gutter:stable}@media(max-width:800px){#detail:not(.wild-details){padding-inline:38px}#detail .detail-team-nav>button{width:32px;min-height:48px}#detail .detail-team-nav>[data-team-step="-1"]{left:2px}#detail .detail-team-nav>[data-team-step="1"]{right:2px}}#detail:not(.wild-details){width:min(1200px,calc(100vw - 112px));max-width:none;max-height:calc(100dvh - 24px);padding:0;overflow:visible;background:transparent;border:0;box-shadow:none}#detail:not(.wild-details) #detail-content{box-sizing:border-box;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:auto;padding:20px;background:#0d2737;border:1px solid #96d2ba;border-radius:8px}#detail:not(.wild-details) .detail-team-nav{position:absolute;inset:0;pointer-events:none}#detail .detail-team-nav>button{display:grid;place-items:center;top:50%;transform:translateY(-50%);width:44px;height:64px;min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:8px;pointer-events:auto}#detail .detail-team-nav>button:hover{background:transparent}#detail .detail-team-nav>[data-team-step="-1"]{left:-50px;right:auto}#detail .detail-team-nav>[data-team-step="1"]{right:-50px;left:auto}#detail .detail-team-nav img{display:block;width:40px;height:40px;filter:drop-shadow(0 2px 8px #75cdb840);animation:team-arrow-drift 8s ease-in-out infinite alternate}#detail .detail-team-nav>[data-team-step="1"] img{rotate:180deg}#detail .detail-team-nav>button:focus-visible{outline:2px solid var(--mint);outline-offset:2px}#detail.wild-details>.detail-team-nav{display:none}#detail #move-slots .move-slot{height:auto;min-height:118px;align-items:flex-start}#detail #move-slots .slot-content>strong{white-space:normal;overflow:visible}#detail #move-slots .move-effect-description{display:block;white-space:normal;overflow:visible;line-height:1.35;margin-block-start:4px;font-size:12px;color:var(--muted)}@keyframes team-arrow-drift{0%{transform:translate(4px)}to{transform:translate(-4px)}}@media(max-width:800px){#detail:not(.wild-details){width:calc(100vw - 88px)}#detail:not(.wild-details) #detail-content{padding:12px}#detail .detail-team-nav>[data-team-step="-1"]{left:-44px}#detail .detail-team-nav>[data-team-step="1"]{right:-44px}#detail .detail-team-nav img{width:32px;height:32px}#detail #move-slots{max-height:34dvh;overflow-y:auto;grid-auto-rows:max-content;align-content:start}}@media(prefers-reduced-motion:reduce){#detail .detail-team-nav img{animation:none}}.map-destination-controls{display:flex;align-items:stretch;justify-content:flex-end;gap:6px;max-width:100%;pointer-events:none}.map-controls .map-destination-controls #map-escape{margin-inline-start:0;flex-shrink:0}.map-controls #map-next-stage{display:flex;align-items:center;gap:8px;max-width:min(300px,56vw);white-space:normal;text-align:start;line-height:1.3;border-color:#719a91}#map-next-stage[hidden]{display:none!important}#map-next-stage .stage-preview{display:block;flex:0 0 56px;width:56px;aspect-ratio:16/9;background-repeat:no-repeat;background-size:200% 200%;border-radius:3px;image-rendering:pixelated}.map-next-copy{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}.map-next-copy small{font-size:11px;color:#d6e8e1}.map-controls #map-next-stage:disabled{opacity:.85;cursor:default}.map-controls #map-next-stage.stage-ready{border-color:var(--stage-glow,#8bd6ae);box-shadow:0 0 10px var(--stage-glow,#8bd6ae),inset 0 0 12px color-mix(in srgb,var(--stage-glow,#8bd6ae) 22%,transparent)}@media(max-width:480px){.map-controls #map-next-stage{gap:5px;padding:6px;font-size:12px}#map-next-stage .stage-preview{flex-basis:40px;width:40px}}#detail:not(.wild-details) .detail-header-overview .detail-stat{align-items:center;justify-content:start}#detail:not(.wild-details) .detail-header-overview .detail-stat>.game-icon{display:inline-flex;order:-2;width:16px;height:16px;flex:none;padding:0;background:transparent}#detail:not(.wild-details) .detail-header-overview .detail-stat>.game-icon svg{width:16px;height:16px}#detail:not(.wild-details) .detail-header-overview .detail-stat strong{margin-inline-start:auto}#detail:not(.wild-details) .detail-header-overview{grid-template-columns:184px minmax(0,1fr)}#detail:not(.wild-details) .detail-header-overview .detail-stats{width:184px}#detail:not(.wild-details) .detail-header-overview .detail-matchups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}#detail:not(.wild-details) .detail-header-overview .detail-matchups:before{grid-column:1/-1}#detail:not(.wild-details) .detail-header-overview .detail-matchup{display:flex;flex-wrap:wrap;align-content:start;gap:3px;min-width:0}#detail:not(.wild-details) .detail-header-overview .detail-matchup>small{flex-basis:100%}@container owned-detail (min-width:1100px){#detail:not(.wild-details) .detail-header-overview{grid-template-columns:184px minmax(0,1fr) auto}}@container owned-detail (max-width:560px){#detail:not(.wild-details) .detail-header-overview{grid-template-columns:minmax(0,1fr)}}#evolution-ceremony{position:fixed;inset:0;margin:0;border:0;border-radius:0;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;background:#000;color:#fff;overflow:auto;overscroll-behavior:auto}#evolution-ceremony::backdrop{background:#000}#evolution-ceremony[open]{display:flex;align-items:center;justify-content:center}#evolution-ceremony .evolution-content{width:min(960px,100%);text-align:center;margin:auto;display:flex;flex-direction:column;align-items:center;gap:12px}#evolution-ceremony h2{font:600 clamp(18px,3vw,28px)/1.4 ui-monospace,Consolas,monospace;margin:0;max-width:38ch;min-height:2.8em;display:grid;place-content:center}#evolution-ceremony canvas{display:block;width:min(100%,800px);height:auto;max-height:calc(100dvh - 230px);object-fit:contain;image-rendering:pixelated;background:#000}#evolution-ceremony p{margin:0;color:#d4eadf;font-size:14px;line-height:1.5;min-height:1.5em}#evolution-ceremony .evolution-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;width:100%;margin:0}#evolution-ceremony button{min-height:44px;min-width:78px;font-size:14px;padding:9px 16px}@media(max-height:450px){#evolution-ceremony .evolution-content{gap:5px}#evolution-ceremony canvas{max-height:calc(100dvh - 150px)}#evolution-ceremony h2{font-size:16px;min-height:1.4em}#evolution-ceremony button{min-height:40px}}.battle-events-toolbar{align-items:center;flex-wrap:wrap}.sound-volume{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:3px 7px;border:1px solid var(--line);border-radius:5px;background:var(--surface-raised,#102b3b);color:var(--text,#dceaf2);font-size:12px;white-space:nowrap}.sound-volume input{width:clamp(72px,11vw,120px);min-width:0;min-height:24px;margin:0;accent-color:var(--mint,#9ce1c5);cursor:pointer}.sound-volume output{min-width:4ch;text-align:right;font-variant-numeric:tabular-nums}.battle-events-toolbar #toggle-events{margin-left:auto}@media(max-width:800px){.sound-volume{min-height:44px}.sound-volume input{min-height:36px}}.audio-controls{display:inline-flex;align-items:center;gap:4px;flex:none;max-width:100%;min-height:44px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--surface-raised,#102b3b);color:var(--mint);font-family:inherit;--audio-fill:var(--mint)}.audio-controls[data-muted=true]{color:#adc8d4;--audio-fill:#77949e}.audio-controls:focus-within{border-color:var(--mint)}.battle-events-toolbar .audio-controls #sound,#evolution-ceremony .audio-controls [data-evo-sound]{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;box-shadow:none;line-height:1}.audio-controls[data-muted=false] :is(#sound,[data-evo-sound]){background:#20453f}.battle-events-toolbar .audio-controls #sound:hover,#evolution-ceremony .audio-controls [data-evo-sound]:hover{background:#234351}.audio-controls svg{display:block;flex:none;fill:none}.audio-controls .sound-volume{display:flex;align-items:center;gap:8px;min-height:0;margin:0;padding:0 8px 0 4px;border:0;background:transparent;color:inherit;font-size:12px}.audio-controls .sound-volume input{appearance:none;-webkit-appearance:none;display:block;width:clamp(56px,8vw,88px);height:44px;min-height:44px;margin:0;background:transparent;cursor:pointer;touch-action:pan-y}.audio-controls .sound-volume input::-webkit-slider-runnable-track{height:4px;border-radius:99px;background:linear-gradient(to right,var(--audio-fill) 0 var(--volume,5%),#48616c var(--volume,5%) 100%)}.audio-controls .sound-volume input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4px;border:0;border-radius:50%;background:#e5f5ef;box-shadow:0 0 0 2px #112c3a}.audio-controls .sound-volume input::-moz-range-track{height:4px;border-radius:99px;background:#48616c}.audio-controls .sound-volume input::-moz-range-progress{height:4px;border-radius:99px;background:var(--audio-fill)}.audio-controls .sound-volume input::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#e5f5ef;box-shadow:0 0 0 2px #112c3a}.audio-controls .sound-volume output{display:block;width:4ch;min-width:4ch;text-align:center;font:600 12px/1 ui-monospace,Consolas,monospace;letter-spacing:0;font-variant-numeric:tabular-nums;color:inherit}.audio-controls [data-sound-studio],#evolution-ceremony .audio-controls [data-sound-studio]{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-width:0;min-height:44px;margin:0;padding:8px 12px;border:1px solid #416173;border-radius:8px;background:#1a4148;color:#d9f3e8;font:600 13px/1.2 Segoe UI,system-ui,sans-serif;letter-spacing:0;white-space:nowrap;box-shadow:none}.audio-controls [data-sound-studio]:hover,#evolution-ceremony .audio-controls [data-sound-studio]:hover{background:#20453f;border-color:var(--mint)}.audio-controls button:focus-visible{outline:2px solid var(--mint);outline-offset:2px}.audio-controls .sound-volume input:focus-visible{outline:2px solid var(--mint);outline-offset:2px;border-radius:4px}#evolution-ceremony .evolution-actions{--mint:#a8b9b3;--audio-fill:#788d85;--line:#29322f;opacity:.5}#evolution-ceremony .evolution-actions button{background:#101613;border-color:#29322f;color:#a8b9b3;box-shadow:none}#evolution-ceremony .evolution-actions button:hover{background:#1b2520;border-color:#52665b;color:#d4eadf}#evolution-ceremony .audio-controls{background:#0b100d;border-color:#29322f;color:#a8b9b3;--audio-fill:#788d85}#evolution-ceremony .audio-controls [data-evo-sound]{background:transparent}#evolution-ceremony .audio-controls [data-evo-sound]:hover{background:#1b2520}#evolution-ceremony .audio-controls [data-sound-studio]{background:#101613;border-color:#29322f;color:#a8b9b3}#evolution-ceremony .audio-controls [data-sound-studio]:hover{background:#1b2520;border-color:#52665b;color:#d4eadf}#evolution-ceremony .sound-volume input::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--audio-fill) 0 var(--volume,5%),#29322f var(--volume,5%) 100%)}#evolution-ceremony .sound-volume input::-webkit-slider-thumb{background:#a8b9b3;box-shadow:0 0 0 2px #0b100d}#evolution-ceremony .sound-volume input::-moz-range-track{background:#29322f}#evolution-ceremony .sound-volume input::-moz-range-thumb{background:#a8b9b3;box-shadow:0 0 0 2px #0b100d}@media(max-width:800px){.audio-controls{min-height:44px}.battle-events-toolbar .audio-controls #sound,#evolution-ceremony .audio-controls [data-evo-sound]{width:44px;height:44px;min-width:44px;min-height:44px}.audio-controls .sound-volume input{height:44px;min-height:44px}}body,body *{-webkit-user-select:none;user-select:none}body input,body textarea,body [contenteditable]:not([contenteditable=false]),body [contenteditable]:not([contenteditable=false]) *{-webkit-user-select:text;user-select:text}img,svg,canvas,a{-webkit-user-drag:none}html[data-input-mode=pointer] :focus-visible{outline:none!important}#sound-studio{--studio-line:#345467;--studio-muted:#adc8d4;--studio-accent:#99e0c3;width:min(1040px,calc(100vw - 32px));height:min(800px,calc(100dvh - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:hidden;border:1px solid #75ac96;border-radius:12px;background:#0c2232;color:#e9f1f8;font:14px/1.5 Segoe UI,system-ui,sans-serif;box-shadow:0 24px 80px #0008}#sound-studio *,#sound-studio *:before,#sound-studio *:after{box-sizing:border-box}#sound-studio [hidden]{display:none!important}#sound-studio .studio-shell{display:flex;flex-direction:column;height:100%;min-height:0}#sound-studio :is(.studio-header,.studio-master,.studio-monitor,.studio-footer){flex:none}#sound-studio :where(button,select,input[type=search]){min-width:0;min-height:44px;margin:0;padding:8px 12px;border:1px solid #416173;border-radius:8px;background:#102e40;color:#e9f1f8;font:600 14px/1.4 Segoe UI,system-ui,sans-serif;letter-spacing:0}#sound-studio button{cursor:pointer;white-space:nowrap}#sound-studio button:hover{background:#1c4050;border-color:var(--studio-accent)}#sound-studio button.primary{background:var(--studio-accent);color:#102c30;border-color:var(--studio-accent)}#sound-studio :is(button,select,input,summary):focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}#sound-studio select{width:100%;text-overflow:ellipsis}#sound-studio :is(select,input[type=search]){font-weight:400}#sound-studio input[type=search]{width:100%;font-weight:400}#sound-studio input{accent-color:var(--studio-accent)}#sound-studio input[type=checkbox]{flex:none;width:18px;height:18px;margin:0}#sound-studio svg{width:20px;height:20px;flex:none}#sound-studio .studio-active{color:#b6efcf;border-color:#7cbaa6}#sound-studio input[type=range]{appearance:none;-webkit-appearance:none;width:100%;min-width:0;height:44px;margin:0;padding:0;background:transparent;cursor:pointer;touch-action:pan-y}#sound-studio input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:8px;background:linear-gradient(to right,var(--studio-accent) 0 var(--studio-volume,5%),#4b6978 var(--studio-volume,5%) 100%)}#sound-studio input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:2px solid #0c2232;border-radius:50%;background:#dbf9ec;box-shadow:0 0 0 1px #99e0c3}#sound-studio input[type=range]::-moz-range-track{height:4px;border-radius:8px;background:#4b6978}#sound-studio input[type=range]::-moz-range-progress{height:4px;border-radius:8px;background:var(--studio-accent)}#sound-studio input[type=range]::-moz-range-thumb{width:14px;height:14px;border:2px solid #0c2232;border-radius:50%;background:#dbf9ec}#sound-studio output{font:12px/1.5 ui-monospace,Consolas,monospace;color:#b6e7d2;text-align:end;font-variant-numeric:tabular-nums}#sound-studio .studio-header{display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--studio-line)}#sound-studio .studio-header h2{margin:0;color:#e9f1f8;font-size:20px;line-height:1.2;letter-spacing:-.4px}#sound-studio .studio-emblem{display:grid;place-items:center;width:36px;height:36px;color:var(--studio-accent)}#sound-studio .studio-header button{margin-inline-start:auto;width:44px;padding:0;font-size:20px;background:transparent;border-color:transparent}#sound-studio .studio-master{display:flex;align-items:center;gap:20px;padding:8px 24px;background:#102d3b;border-bottom:1px solid var(--studio-line)}#sound-studio .studio-master>button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:120px}#sound-studio .studio-master label{display:grid;grid-template-columns:auto minmax(100px,240px) 4ch;align-items:center;gap:16px;flex:1;max-width:460px}#sound-studio .studio-master small{margin-inline-start:auto;color:var(--studio-muted);font-size:12px}#sound-studio .studio-body{display:flex;flex-direction:column;min-height:0;flex:1}#sound-studio nav{display:flex;gap:4px;flex:none;padding:4px 20px;overflow-x:auto;border-bottom:1px solid var(--studio-line);background:#0a202f}#sound-studio nav button{display:flex;align-items:center;gap:8px;flex:none;background:transparent;border-color:transparent;font-weight:500;color:#b7cdd8}#sound-studio nav button[aria-current=page]{color:#d9f9e9;background:#1a4148;border-color:#598b7b}#sound-studio .studio-content{flex:1;min-width:0;min-height:0;margin:0;padding:20px 24px;overflow:auto;overscroll-behavior:auto;scrollbar-gutter:stable}#sound-studio .studio-section-heading{margin:0 0 16px}#sound-studio .studio-content h3{margin:0 0 4px;font-size:20px;line-height:1.4}#sound-studio .studio-content h4{margin:20px 0 4px;font-size:16px}#sound-studio :is(.studio-section-heading p,.studio-note){margin:4px 0 12px;color:var(--studio-muted);font-size:13px;line-height:1.6}#sound-studio small{display:block;color:var(--studio-muted);font-size:12px;line-height:1.5;font-weight:400}#sound-studio .studio-switch{position:relative;display:flex;align-items:center;gap:12px;min-width:0;min-height:44px;padding:4px 0;cursor:pointer}#sound-studio .studio-switch>span{flex:1;min-width:0}#sound-studio .studio-switch>input{position:absolute;inset-inline-end:0;width:44px;height:44px;opacity:0;cursor:pointer}#sound-studio .studio-switch>i{flex:none;position:relative;width:36px;height:22px;border:1px solid #7994a3;border-radius:20px;background:#486273;pointer-events:none}#sound-studio .studio-switch>i:after{content:"";position:absolute;inset-inline-start:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#e6edf2;transition:transform .16s}#sound-studio .studio-switch>input:checked+i{background:#508d79;border-color:#a4e5c6}#sound-studio .studio-switch>input:checked+i:after{transform:translate(14px);background:#d8ffe9}#sound-studio .studio-switch>input:focus-visible+i{outline:2px solid var(--studio-accent);outline-offset:4px}#sound-studio .studio-level{display:grid;grid-template-columns:minmax(120px,1fr) minmax(80px,220px) 4ch;align-items:center;gap:16px;min-width:0;font-size:13px;margin:0}#sound-studio .studio-select{display:grid;grid-template-columns:minmax(140px,200px) minmax(0,1fr);align-items:center;gap:16px;min-width:0;margin:12px 0}#sound-studio .studio-group-grid{border-block:1px solid var(--studio-line)}#sound-studio .studio-group{padding:8px 0;border-bottom:1px solid #28495a}#sound-studio .studio-group:last-child{border:0}#sound-studio .studio-mix-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,280px) 80px;align-items:center;gap:24px}#sound-studio .studio-group-title{display:flex;align-items:center;gap:12px;min-width:0}#sound-studio .studio-group-title>svg{color:var(--studio-accent)}#sound-studio .studio-group-title .studio-switch{flex:1;font-weight:600}#sound-studio :is(.studio-mix-row,.studio-mix-child) .studio-level{grid-template-columns:minmax(0,1fr) 4ch;gap:12px}#sound-studio :is(.studio-mix-row,.studio-mix-child) .studio-level>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#sound-studio .studio-mix-children{padding-inline-start:32px;margin:4px 0}#sound-studio .studio-mix-child{display:grid;grid-template-columns:minmax(148px,1fr) minmax(120px,280px) 80px;align-items:center;gap:24px}#sound-studio .studio-mix-child .studio-switch{color:var(--studio-muted)}#sound-studio .studio-group-grid+.studio-note{margin-top:12px}#sound-studio .studio-content .studio-mix-details{padding:0;border:0}#sound-studio .studio-mix-details[open]>summary{display:none}#sound-studio .studio-track-select{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #28495a}#sound-studio .studio-track-select>.studio-select{margin:0;gap:16px}#sound-studio .studio-track-select .studio-select{grid-template-columns:minmax(140px,200px) minmax(0,1fr)}#sound-studio .studio-divider{height:1px;margin-top:20px;background:var(--studio-line)}#sound-studio .studio-content details{padding:8px 0;border-bottom:1px solid var(--studio-line)}#sound-studio .studio-content details details{padding:8px 12px;margin:8px 0;background:#102b3b;border-radius:8px}#sound-studio .studio-content summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:600;line-height:1.6}#sound-studio .studio-content summary small{display:inline;margin-inline-start:8px}#sound-studio .studio-event-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#sound-studio .studio-cue{display:grid;grid-template-columns:minmax(180px,1fr) minmax(140px,280px) 72px;align-items:center;gap:4px 20px;border-bottom:1px solid #28495a;padding:8px 0}#sound-studio .studio-cue>.studio-switch{grid-column:1;grid-row:1}#sound-studio .studio-cue>button{grid-column:3;grid-row:1}#sound-studio .studio-cue .studio-level{grid-column:2;grid-row:1;grid-template-columns:minmax(0,1fr) 4ch;gap:12px}#sound-studio .studio-cue .studio-level>span{display:none}#sound-studio .studio-inherited{display:none;grid-column:1/-1;color:#e4c68c;font-size:12px}#sound-studio .studio-muted .studio-inherited{display:block}#sound-studio .studio-species-list{max-height:360px;overflow:auto;padding-inline-end:8px}#sound-studio .studio-species-list .studio-cue{grid-template-columns:32px minmax(0,1fr) 72px}#sound-studio .studio-species-list .studio-switch{grid-column:2}#sound-studio .studio-species-list img{grid-column:1;grid-row:1;image-rendering:pixelated}#sound-studio .studio-search{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin:8px 0}#sound-studio .studio-animation-layout{display:grid;grid-template-columns:minmax(220px,288px) minmax(0,1fr);gap:24px;align-items:start}#sound-studio .studio-demo{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px;background:#102d3b;border:1px solid var(--studio-line);border-radius:8px}#sound-studio .studio-demo canvas{display:block;width:100%;max-width:288px;height:auto;aspect-ratio:12/5;background:#183c3b;image-rendering:pixelated;border-radius:4px}#sound-studio .studio-demo small{text-align:center}#sound-studio .studio-animation-settings .studio-select{grid-template-columns:1fr;gap:4px;margin:0 0 12px}#sound-studio .studio-check{display:flex;align-items:center;gap:8px;min-height:44px}#sound-studio fieldset{display:flex;flex-wrap:wrap;gap:0 16px;margin:12px 0;border:1px solid var(--studio-line);border-radius:8px}#sound-studio .studio-library-controls{display:grid;grid-template-columns:minmax(180px,2fr) minmax(0,4fr);align-items:end;gap:12px}#sound-studio .studio-library-search{display:flex;flex-direction:column;gap:4px;color:var(--studio-muted);font-size:12px;min-width:0}#sound-studio .studio-library-options[open]>summary{display:none}#sound-studio .studio-content .studio-library-options{padding:0;border:0;min-width:0}#sound-studio .studio-library-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px 12px}#sound-studio .studio-library-filters label{display:flex;flex-direction:column;gap:4px;min-width:0;color:var(--studio-muted);font-size:12px}#sound-studio .studio-library-filters label.studio-check{flex-direction:row;align-self:end}#sound-studio .studio-library-target{margin:12px 0;padding:12px;border-inline-start:3px solid #75ac96;background:#15363f}#sound-studio .studio-library-target label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px}#sound-studio .studio-track{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid #28495a}#sound-studio .studio-track strong{font-size:14px}#sound-studio .studio-track small{margin:2px 0 0}#sound-studio .studio-favorite{width:44px;padding:0;font-size:24px;border-color:transparent;background:transparent;color:#ffdb55}#sound-studio .studio-track-actions{display:flex;gap:8px}#sound-studio .studio-reset{max-width:56ch;padding:12px 0;line-height:1.7}#sound-studio .studio-reset button{margin:8px 8px 0 0}#sound-studio .studio-monitor{display:flex;align-items:center;gap:16px;padding:4px 24px;border-top:1px solid var(--studio-line);background:#102d3b}#sound-studio .studio-preview-bar{display:flex;align-items:center;gap:8px;min-width:0;min-height:44px;flex:1;font-size:12px}#sound-studio .studio-preview-bar>span:not(.studio-led){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#sound-studio .studio-preview-bar button{flex:none}#sound-studio .studio-led{width:6px;height:6px;border-radius:50%;background:var(--studio-accent);flex:none}#sound-studio .studio-preview-option{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--studio-muted);font-size:12px;cursor:pointer}#sound-studio .studio-footer{display:flex;align-items:center;gap:8px;margin:0;padding:8px 24px;border-top:1px solid var(--studio-line);background:#0a202e}#sound-studio .studio-footer>span{flex:1;min-width:0;color:var(--studio-muted);font-size:12px}#sound-studio .studio-footer .primary{padding-inline:24px}@media(max-width:760px){#sound-studio .studio-master{gap:12px}#sound-studio .studio-master small{display:none}#sound-studio .studio-master label{grid-template-columns:auto minmax(64px,1fr) 4ch;max-width:none;gap:12px}#sound-studio .studio-mix-row,#sound-studio .studio-mix-child{grid-template-columns:minmax(0,1fr) minmax(100px,200px) 72px;gap:12px}#sound-studio .studio-track-select .studio-select{grid-template-columns:1fr;gap:4px}#sound-studio .studio-animation-layout{grid-template-columns:240px minmax(0,1fr);gap:16px}#sound-studio .studio-cue{grid-template-columns:minmax(140px,1fr) minmax(100px,180px) 72px;gap:12px}#sound-studio .studio-monitor{gap:8px}#sound-studio .studio-library-controls{grid-template-columns:1fr}}@media(max-width:560px){#sound-studio{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:8px}#sound-studio .studio-header{padding:4px 12px;gap:8px}#sound-studio .studio-header h2{font-size:18px}#sound-studio .studio-emblem{width:24px}#sound-studio .studio-master{padding:4px 12px;gap:12px}#sound-studio .studio-master>button{min-width:44px;padding:8px}#sound-studio .studio-master>button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#sound-studio .studio-master label{grid-template-columns:auto minmax(40px,1fr) 4ch;gap:8px;font-size:12px}#sound-studio nav{padding:4px 12px}#sound-studio nav button{padding-inline:12px}#sound-studio nav svg{display:none}#sound-studio .studio-content{padding:16px 12px}#sound-studio .studio-content h3{font-size:18px}#sound-studio .studio-mix-row{grid-template-columns:minmax(0,1fr) 72px;gap:0 12px}#sound-studio .studio-group-title{grid-column:1;grid-row:1;gap:8px}#sound-studio .studio-mix-row>button{grid-column:2;grid-row:1}#sound-studio .studio-mix-row>.studio-level{grid-column:1/-1}#sound-studio .studio-mix-children{padding-inline-start:28px}#sound-studio .studio-mix-child{grid-template-columns:minmax(0,1fr);gap:0}#sound-studio .studio-mix-child .studio-level{margin-top:-4px}#sound-studio .studio-mix-details[open]>summary{display:list-item}#sound-studio .studio-mix-details>summary{font-size:12px;color:var(--studio-muted);margin-inline-start:28px}#sound-studio .studio-select{grid-template-columns:1fr;gap:4px}#sound-studio .studio-track-select{grid-template-columns:auto auto minmax(0,1fr);gap:8px}#sound-studio .studio-track-select>.studio-select{grid-column:1/-1}#sound-studio .studio-content summary small{display:block;margin-inline-start:16px}#sound-studio .studio-event-grid{grid-template-columns:1fr}#sound-studio .studio-cue{grid-template-columns:minmax(0,1fr) 72px;gap:0 12px}#sound-studio .studio-cue>button{grid-column:2}#sound-studio .studio-cue .studio-level{grid-column:1/-1;grid-row:2}#sound-studio .studio-species-list .studio-cue{grid-template-columns:32px minmax(0,1fr) 72px;gap:8px}#sound-studio .studio-species-list button{grid-column:3}#sound-studio .studio-search{grid-template-columns:1fr;gap:4px}#sound-studio .studio-animation-layout{grid-template-columns:1fr}#sound-studio .studio-demo{max-width:288px;width:100%}#sound-studio .studio-library-filters{grid-template-columns:1fr 1fr}#sound-studio .studio-library-filters label.studio-check{grid-column:2;grid-row:2}#sound-studio .studio-library-options[open]>summary{display:list-item}#sound-studio .studio-library-target label{grid-template-columns:80px minmax(0,1fr);gap:8px}#sound-studio .studio-track{grid-template-columns:44px minmax(0,1fr);gap:8px;padding-block:12px}#sound-studio .studio-favorite{width:44px}#sound-studio .studio-track-actions{grid-column:2;flex-wrap:wrap;gap:4px}#sound-studio .studio-track-actions button{padding-inline:8px}#sound-studio .studio-monitor{display:block;padding:4px 12px}#sound-studio .studio-preview-option{min-height:44px}#sound-studio .studio-footer{padding:8px 12px}#sound-studio .studio-footer>span{font-size:11px}#sound-studio .studio-footer .primary{padding-inline:16px}}@media(prefers-reduced-motion:reduce){#sound-studio .studio-switch>i:after{transition:none}}@media(max-height:500px){#sound-studio .studio-header,#sound-studio .studio-master{padding-block:4px}}html:has(#starter:not([hidden])){background:linear-gradient(130deg,#132e3d,#0a1f2f);background-attachment:fixed;overflow-y:auto}body:has(#starter:not([hidden])){background:transparent;display:flow-root;min-height:100dvh}.starter-panel{padding:24px;min-height:0;border:0;border-radius:0;background:transparent}.starter-intro{margin-block-end:20px}.starter-intro h2{margin-block:8px;font-size:28px}.starter-intro p{margin-block:8px;font-size:16px}.starter-lineup{display:grid;gap:16px;max-width:600px;margin-inline:auto}.starter-generation{min-width:0}.starter-generation>h3,.starter-secret>h3{margin:0 0 8px;font-size:16px;text-align:start;color:var(--mint)}.starter-generation>h3 span{font-weight:400;color:var(--muted)}.starter-generation .starter-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px}.starter-generation .starter-choice,.starter-secret .starter-choice{display:flex;flex-direction:column;justify-content:center;gap:4px;width:100%;aspect-ratio:1;max-width:none;min-width:0;min-height:0;padding:8px;text-align:center}.starter-generation .starter-choice.closed,.starter-secret .starter-choice.closed{padding:0;overflow:hidden}.starter-choice .starter-open{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:100%;height:100%;min-height:0;padding:8px;background:transparent;border:0;font-size:12px}.starter-choice .starter-open:hover{background:#153747}.starter-choice .starter-ball{width:48px;height:48px;margin:0}.starter-choice h4{margin:0;font-size:16px;line-height:20px;overflow-wrap:anywhere}.starter-choice .portrait{width:56px;height:56px;margin:0}.starter-choice .starter-types{justify-content:center;flex-wrap:wrap;min-height:0}.starter-choice .starter-actions{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:8px;margin:0;width:100%}.starter-choice .starter-actions button{width:fit-content;max-width:100%;flex:none;min-height:32px;padding:4px 8px;font-size:12px;white-space:normal;overflow-wrap:anywhere}.starter-choice.opened>small{display:none}.starter-choice.declined{border-style:dashed}.starter-secret{width:min(192px,100%);margin:0 auto 20px}.starter-secret>h3{width:max-content;max-width:none;position:relative;inset-inline-start:50%;transform:translate(-50%);white-space:nowrap;text-align:center}.starter-gift{margin-block:20px 0;line-height:1.5}@media(max-width:800px){.starter-panel{padding:16px 12px}.starter-intro{margin-block-end:16px}.starter-intro h2{font-size:24px}.starter-intro p{font-size:14px}.starter-lineup{gap:12px}.starter-generation .starter-options{gap:8px}.starter-generation>h3{font-size:14px;margin-block-end:4px}.starter-choice .starter-open{min-height:0}.starter-choice .starter-ball{width:48px;height:48px}.starter-generation .starter-choice.opened{grid-column:1 / -1;justify-self:center;max-width:192px;display:flex;text-align:center;gap:4px}.starter-choice.opened h4{font-size:16px}.starter-choice.opened .portrait{width:56px;height:56px}.starter-choice.opened .starter-types{justify-content:center}.starter-choice.opened>small,.starter-choice.opened .starter-actions{grid-column:1 / -1}.starter-gift{font-size:12px;margin-block-start:16px}}@media(pointer:coarse){.starter-choice .starter-actions button{min-height:44px}}.team-battle-layout{display:grid!important;grid-template-columns:320px minmax(0,1fr);gap:12px;align-items:start}.team-battle-layout>.combat-panel{contain:none!important;position:static;min-height:0;max-height:none!important}.team-battle-layout>.battle-player{min-width:0;order:1!important;width:100%!important}.team-battle-layout #combat-skills{display:block!important;overflow-x:hidden!important;overflow-y:auto!important;max-width:100%;max-height:540px;padding:0!important;min-width:0;min-height:0;flex:0 1 auto!important}.team-tabs{display:flex;gap:8px;padding-block-end:8px;position:sticky;inset-block-start:0;background:var(--surface,#102a35);z-index:1}.team-tabs button{flex:1;min-height:44px;font-size:14px;padding:8px}.team-tabs button[aria-pressed=true]{border-color:var(--mint);background:#23493f;color:#e5f6e5}.team-tabs small{margin-inline-start:4px;color:var(--muted)}.team-row{padding:8px;border-block-start:1px solid var(--line);min-width:0}.team-row.is-selected{background:#204039;box-shadow:inset 3px 0 var(--mint)}.team-row.is-fainted{background:#142932}.team-row-heading,.team-health{display:flex;align-items:center;gap:8px;min-width:0}.team-select{flex:1;display:flex;gap:8px;align-items:center;text-align:start;border:0;background:transparent;min-width:0;min-height:44px;padding:0}.team-select img{image-rendering:pixelated;flex:none}.team-select span{min-width:0}.team-select strong{font-size:14px;display:block;overflow:hidden;text-overflow:ellipsis}.team-select small{font-size:12px;color:var(--muted);display:block}.team-info{display:grid;place-items:center;width:44px;height:44px;padding:8px;flex:none;border:0;border-radius:6px;background:transparent;color:var(--mint)}.team-info svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.team-info:hover{background:#20453f;color:#e9f1f8}.team-info:focus-visible{outline:2px solid var(--mint);outline-offset:2px}.team-health{margin-block:4px 8px;font-size:12px;font-variant-numeric:tabular-nums}.team-health>span{flex:none;min-width:0;white-space:nowrap;text-align:end}.team-health>[data-team-hp]{flex:0 0 9ch;inline-size:9ch;text-align:center;margin-inline-end:4px}.team-hp-track{flex:1 1 0;min-width:0;height:5px;background:#364850;overflow:hidden}.team-hp-track i{display:block;width:100%;height:100%;background:var(--mint);transform-origin:left}.team-row[data-side="1"] .team-hp-track i{background:#e7b68b}.team-moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.team-move{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:start;justify-content:center;min-height:44px;min-width:0;padding:4px 8px;text-align:start;background:#122e37}.team-move>span{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-move small{font-size:11px;color:#c4d9d5}.team-move>i{height:2px;position:absolute;inset:auto 3px 2px;background:linear-gradient(#89c7a9 0 0) left center/100% 100% no-repeat;pointer-events:none}.team-move.is-using{border-color:var(--mint);background:#245343}.team-row :is(.team-select,.team-info,.team-move,.quick-potion){transform:none;transition:background-color .15s,border-color .15s}.team-row>.quick-potions{margin-block:0 4px;justify-content:flex-end}.team-row .quick-potion{width:32px;height:32px;min-width:32px;min-height:32px}.team-row .quick-potion img{width:24px;height:24px}.team-expanded{font-size:12px;line-height:1.5;color:#d5e6e0;padding-block-start:8px}.team-expanded p{margin:4px 0}.team-expanded .type-icon{width:16px;height:16px}.team-search-note{font-size:14px;line-height:1.5;padding:16px}.group-result{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 16px;margin-block:0 16px;border:1px solid var(--line);background:var(--surface);font-size:14px}.group-result>div{display:flex;flex-wrap:wrap;gap:8px 16px;flex-basis:100%}.group-result small{color:var(--muted)}.catch-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;margin-block-end:4px;border:1px solid #7fc9b155;border-radius:8px;background:#0c2934f5;color:#e9f1f8}.catch-filters label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;font-weight:600}.catch-order,.catch-owned-filter{position:relative;border:1px solid #7fc9b180;border-radius:6px;background:#142f38}.catch-order{flex:1 1 168px;max-width:220px;min-width:0}.catch-filters svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;color:var(--mint)}.catch-sort-icon{position:absolute;inset-inline-start:12px;pointer-events:none}.catch-sort-chevron{position:absolute;inset-inline-end:8px;pointer-events:none}.catch-filters select{appearance:none;width:100%;min-width:0;min-height:44px;margin:0;padding:8px 32px 8px 40px;border:0;border-radius:6px;font:inherit;font-weight:600;color:inherit;background:transparent;cursor:pointer}.catch-filters select option{background:#142f38;color:#e9f1f8}.catch-owned-filter{padding:8px 12px;cursor:pointer;-webkit-user-select:none;user-select:none}.catch-owned-filter input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.catch-filter-check{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--mint);border-radius:4px;background:#0c2232;flex:none}.catch-filter-check svg{visibility:hidden;width:16px;height:16px;color:#0c2934;stroke-width:3}.catch-owned-filter input:checked+.catch-filter-check{background:var(--mint)}.catch-owned-filter input:checked+.catch-filter-check svg{visibility:visible}.catch-order:hover,.catch-owned-filter:hover{background:#20453f;border-color:var(--mint)}.catch-order:focus-within,.catch-owned-filter:focus-within{outline:2px solid var(--mint);outline-offset:2px}.catch-filters select:focus-visible{outline:none}.team-tabs button:focus-visible,.team-select:focus-visible,.team-move:focus-visible{outline:2px solid #d7f9c8;outline-offset:2px}@media(max-width:900px){.team-battle-layout{display:flex!important;flex-direction:column;gap:12px}.team-battle-layout>.battle-player{order:0!important}.team-battle-layout>.combat-panel{order:1!important;width:100%}.team-battle-layout #combat-skills{max-height:none;overflow:visible}.team-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}@media(max-width:560px){.team-rows{grid-template-columns:minmax(0,1fr)}.team-row .quick-potion{width:44px;height:44px;min-width:44px;min-height:44px}.team-battle-layout #combat-skills{max-height:600px;overflow:auto}.team-move>span{font-size:13px}.team-move small{font-size:12px}.team-row{padding:8px}.group-result{font-size:13px}.catch-filters{gap:4px}}@media(prefers-reduced-motion:reduce){.team-row *{transition:none!important}}.roster-world-panel{margin-block:16px 24px;min-width:0}.roster-world-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:8px}.roster-world-tabs [role=tab]{min-height:44px;padding:10px 20px;color:var(--muted);background:transparent;border:1px solid transparent;border-radius:8px}.roster-world-tabs [aria-selected=true]{color:var(--mint);border-color:var(--mint);background:var(--surface)}.roster-world-tabs [role=tab]:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.roster-world-panel [role=tabpanel][hidden]{display:none!important}.collection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px;font-size:13px}.collection-toolbar label{display:flex;align-items:center;gap:8px}.collection-toolbar select{min-height:44px;max-width:100%;background:var(--surface);color:var(--mint);border:1px solid var(--line);border-radius:6px;padding:6px 10px;font:inherit}.collection-toolbar small{color:var(--muted)}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:8px}.collection-grid .companion{position:relative;padding:9px;gap:5px}.collection-grid .collection-card-tools{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;margin:-5px -4px -4px}.collection-card-tools button{display:grid;place-items:center;min-width:36px;min-height:36px;padding:0;border:0;background:transparent;color:var(--muted);font-size:23px;line-height:1}.collection-card-tools .collection-grip{cursor:grab;touch-action:none}.collection-card-tools .collection-grip:active{cursor:grabbing}.collection-card-tools .collection-favorite[aria-pressed=true]{color:#ffd56b}.collection-grid .collection-drop-target{outline:2px solid var(--mint);outline-offset:1px}.collection-grid .companion-title .portrait{width:28px;height:28px}.collection-grid .companion h3{font-size:14px}.collection-grid .companion-actions{gap:5px}.collection-grid .companion-actions button{font-size:12px;padding:5px 7px}.collection-grid .collection-health-tools,.collection-grid .hp-row{grid-row:3}@media(pointer:coarse){.collection-card-tools button{min-width:44px;min-height:44px}}.team-battle-layout #combat-skills{max-height:560px}.team-row{padding:4px 8px}.team-row-heading{gap:4px}.team-row-heading>.quick-potions{flex:none;gap:4px;margin:0;justify-content:flex-end}.team-row-heading .quick-potion{padding:4px}.team-select{overflow:hidden}.team-select>span{flex:1;overflow:hidden}.team-select strong,.team-select small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-health{margin-block:0 4px;line-height:18px;position:relative;inset-block-start:-3px}.team-move{line-height:16px}.team-move small{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-tabs button{padding-block:4px}@media(max-width:900px)and (min-width:561px){.team-battle-layout #combat-skills{max-height:none}}@media(max-width:560px){.team-rows{gap:0}.team-row{padding:4px}.team-row-heading .quick-potion{width:44px;height:44px;min-width:44px;min-height:44px}.team-select{gap:4px}}.collection-grid .collection-card-tools{grid-column:2;grid-row:4;margin:0;gap:0;align-self:end}.collection-grid .companion-title{grid-row:1}.collection-grid .collection-health-tools,.collection-grid .hp-row{grid-row:2}.collection-grid .xp-row{grid-row:3}.collection-grid .companion-actions{grid-row:4;grid-column:1;flex-wrap:wrap}.collection-grid .companion-actions button{flex:1 1 auto;min-width:0}@media(min-width:901px){.team-battle-layout>.combat-panel{width:100%;padding:12px}.team-battle-layout #combat-skills{max-height:600px}.team-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:4px}.team-row-heading{display:contents}.team-row-heading>.team-select{grid-column:1;grid-row:1}.team-row-heading>.team-row-actions{grid-column:2;grid-row:1;justify-self:end}.team-row-heading>.quick-potions{grid-column:2;grid-row:2;margin-block-end:4px;align-self:center}.team-health{grid-column:1;grid-row:2;min-height:32px}.team-moves{grid-column:1/-1;grid-row:3}.team-expanded{grid-column:1/-1;grid-row:4}}.team-select .team-identity-line{display:flex;align-items:center;gap:5px;min-width:0}.team-identity-line strong{min-width:0}.team-select .team-types{display:inline-flex;align-items:center;gap:3px;flex:none}.team-types .game-icon[style]{width:19px;height:19px;padding:3px}.team-types .game-icon img{width:13px;height:13px}.collection-grid .companion{cursor:grab}.collection-grid .companion.collection-dragging{opacity:.55;cursor:grabbing}.collection-drag-ghost{position:fixed;left:0;top:0;z-index:1000;pointer-events:none;background:var(--surface);border:1px solid var(--mint);border-radius:6px;padding:8px 12px;color:var(--mint);font-size:14px;box-shadow:0 4px 16px #0006}@media(min-width:901px){.team-battle-layout{width:100%;max-width:calc(332px + var(--battlemap-width,910px));margin-inline:auto}.team-battle-layout>.battle-player{max-width:var(--battlemap-width,910px)}}.map-size-control{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding-inline-start:12px;border:1px solid #7fc9b180;border-radius:8px;background:#142f38;color:var(--mint);font-size:13px;font-weight:600;cursor:pointer}.map-size-control:hover,.map-size-control:focus-within{border-color:var(--mint);background:#20453f}.map-size-control>span{white-space:nowrap}.map-size-control svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.map-size-control select{appearance:none;min-width:88px;min-height:44px;margin:0;padding:8px 32px 8px 8px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer}.map-size-control select option{background:var(--surface);color:var(--text)}.map-size-control .map-zoom-chevron{position:absolute;inset-inline-end:8px;width:16px;height:16px}.map-size-control select:focus-visible{outline:2px solid var(--mint);outline-offset:2px}@media(max-width:900px){.team-battle-layout>.battle-player{max-width:var(--battlemap-width,910px);align-self:center}}.collection-panel>.section-heading{flex-wrap:wrap;gap:8px 16px;align-items:center}.collection-panel>.section-heading h2{margin:0;flex:none}.collection-panel>.section-heading .collection-toolbar{flex:1 1 auto;margin:0}.collection-panel>.section-heading #team-slots{white-space:nowrap}.team-move>.team-move-detail{display:none}[data-combat-view=compact] :is(.team-moves,.team-expanded){display:none}[data-combat-view=detailed] .team-moves{grid-template-columns:minmax(0,1fr)}[data-combat-view=detailed] .team-move{gap:4px;padding:8px;align-items:stretch}[data-combat-view=detailed] .team-move>span{white-space:normal;overflow:visible;text-overflow:clip}[data-combat-view=detailed] .team-move>.team-move-detail{display:block;font-size:12px;font-weight:400;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.team-move-detail .type-icon{width:16px;height:16px;vertical-align:middle}.team-move-detail .move-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-block-end:4px}.team-move-detail .team-move-effect{display:block}.quick-potion-wrap[hidden]{display:none!important}.team-move>.team-move-title{display:flex;align-items:center;gap:4px;min-width:0;width:100%}.team-move-title>span:not(.game-icon){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-move-title>.game-icon{flex:none;width:18px;height:18px;padding:2px}.team-move-title>.game-icon img{width:14px;height:14px}.hp-track.is-regenerating,.team-hp-track.is-regenerating{position:relative;isolation:isolate;overflow:visible}.hp-track.is-regenerating:before,.team-hp-track.is-regenerating:before{content:"";position:absolute;inset-block:-1px;inset-inline-start:0;width:calc(var(--regen-progress,0)*100%);z-index:2;background:#ffd75c33;border:1px solid #fff4afcc;border-radius:2px;box-shadow:0 0 0 1px #102633;opacity:clamp(0,calc(var(--regen-progress,0)*100),1);pointer-events:none}.hp-track.is-regenerating:before,.team-hp-track.is-regenerating:before{animation:var(--regen-animation,hp-countdown-a) var(--regen-duration,1s) linear var(--regen-delay,0s) 1 both;opacity:1}@keyframes hp-countdown-a{0%{width:0}to{width:100%}}@keyframes hp-countdown-b{0%{width:0}to{width:100%}}@media(prefers-reduced-motion:reduce){.hp-track.is-regenerating:before,.team-hp-track.is-regenerating:before{animation:none;width:calc(var(--regen-progress,0)*100%)}}.team-select .combat-xp{display:inline-grid;place-items:center;flex:none;width:20px;height:20px;color:#7dafe4;cursor:help}.quick-potions[data-potion-pager]{align-items:center;flex-wrap:nowrap;gap:4px}.quick-potions .potion-arrow{flex:none;display:inline-grid;place-items:center;width:24px;min-width:24px;height:32px;min-height:32px;padding:0;margin:0;font-size:22px;line-height:1;color:var(--mint,#9de3ba)}.quick-potions .potion-arrow:disabled{opacity:.3;cursor:default}.quick-potions button.potion-arrow{align-self:center;background:none;border:0;box-shadow:none;transform:none}.quick-potions button.potion-arrow:is(:hover,:active,:disabled){background:none;border:0;box-shadow:none;transform:none}.quick-potions .potion-arrow svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.quick-potions .potion-arrow[hidden]{display:none!important}.battle-lineup .quick-potions[data-potion-pager]{max-width:none;overflow:visible}.quick-potions .quick-potion.revive{margin-inline-start:4px;border-inline-start:2px solid #e0ba52}@media(max-width:560px){.quick-potions .potion-arrow{width:24px;min-width:24px;height:44px;min-height:44px}}.team-effects{position:relative;z-index:1;min-width:0;margin:0 0 4px;grid-column:1;grid-row:2;align-self:end}.team-row:has(>.team-effects:not([hidden]))>.team-health{align-items:flex-start}.team-row:has(>.team-effects:not([hidden]))>.team-health .team-hp-track{margin-block-start:6px}.team-effects[hidden]{display:none}.team-effects>summary{display:flex;flex-wrap:nowrap;align-items:center;gap:3.4px;height:13.6px;min-height:13.6px;overflow:hidden;padding:0;cursor:pointer;list-style:none}.team-effects>summary::-webkit-details-marker{display:none}.team-effects>summary:focus-visible{outline:2px solid var(--mint);outline-offset:2px;border-radius:4px}.team-effects .team-effect-icon{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font:inherit;cursor:help;display:inline-flex;align-items:center;justify-content:center;gap:1.7px;min-width:13.6px;min-height:13.6px;flex:none}.team-effect-icon svg{width:13.6px;height:13.6px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.team-effect-icon b{font-size:10.2px;line-height:1;font-variant-numeric:tabular-nums}.team-effects>ul{position:absolute;inset-block-start:100%;inset-inline:0;z-index:3;margin:4px 0;padding:8px 8px 8px 24px;border:1px solid var(--line);border-radius:4px;background:var(--surface,#102a35);font-size:12px;color:var(--text);line-height:1.5}.team-effects[open]>summary{flex-wrap:wrap;height:auto;overflow:visible}@media(max-width:900px){.team-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:4px}.team-row-heading{display:contents}.team-row-heading>.team-select{grid-column:1;grid-row:1}.team-row-heading>.team-row-actions{grid-column:2;grid-row:1;justify-self:end}.team-row-heading>.quick-potions{grid-column:2;grid-row:2;margin-block-end:4px;align-self:center}.team-health{grid-column:1;grid-row:2;min-height:32px}.team-moves{grid-column:1/-1;grid-row:3}.team-expanded{grid-column:1/-1;grid-row:4}}.team-effects .team-effect-icon:is(:hover,:active){background:transparent;transform:none}.team-effects .team-effect-icon:focus-visible{outline:2px solid var(--mint);outline-offset:-2px}.team-battle-layout>.combat-panel:has(.team-party-limit){align-self:stretch;display:flex;flex-direction:column}.team-battle-layout #combat-skills:has(.team-party-limit){display:flex!important;flex-direction:column;flex:1 0 auto!important;max-height:none}#combat-skills:has(.team-party-limit)>.team-tabs,#combat-skills:has(.team-party-limit)>.team-rows{flex:none}.team-party-limit{display:table;align-self:center;margin:auto;padding:10.4px 15.6px;border-radius:6.5px;background:var(--surface-raised);color:var(--mint);font-size:15.6px;white-space:nowrap;cursor:help}.team-party-limit:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.team-empty-slot{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:68px;border:1px dashed var(--line);border-radius:8px;background:var(--surface);color:var(--muted);cursor:pointer}.team-empty-slot span{font-size:24px;color:var(--mint)}.team-empty-slot:focus-visible{outline:2px solid var(--mint);outline-offset:-2px}.team-row-actions{display:flex;align-items:center;gap:0;flex:none}.team-row-actions .team-info{width:32px;min-width:32px;padding:4px}.team-row-actions .team-info:disabled{opacity:.4;cursor:default}.team-add-current{display:flex;align-items:center;gap:12px;padding:12px;margin-block-end:12px;border:1px solid var(--mint);border-radius:8px;background:var(--surface)}.team-add-current>span{display:grid;gap:4px}.team-add-current small{color:var(--muted)}.team-row-actions .team-swap{color:color-mix(in srgb,var(--mint) 80%,#102a35)}.team-row-actions .team-swap svg{width:19.2px;height:19.2px}.supplies-panel #inventory{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:12px 24px;min-width:0}#shop-view{--shop-space:16px;min-width:0;color:var(--text)}.shop-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.shop-heading small{font-size:12px;font-weight:650;letter-spacing:.08em;color:var(--mint)}.shop-heading h2{font-size:24px;line-height:1.25;margin:8px 0}.shop-heading p{font-size:16px;line-height:1.5;color:var(--muted);margin:0}.shop-balance{display:grid;grid-template-columns:28px auto;gap:4px 8px;align-items:center;flex-shrink:0}.shop-balance img{image-rendering:pixelated}.shop-balance strong{font-size:24px;font-variant-numeric:tabular-nums;color:var(--text)}.shop-balance>span{grid-column:2;font-size:12px;color:var(--muted)}.shop-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-block:24px}#shop-categories{display:flex;gap:8px;flex-wrap:wrap}#shop-categories button{min-height:44px;color:var(--muted);background:var(--surface);border-color:var(--line);padding:8px 16px}#shop-categories [aria-pressed=true]{color:var(--mint);border-color:var(--mint)}.shop-search{flex:0 1 280px;min-width:0}.shop-search input{width:100%;min-width:0;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:16px}#shop-view #shop{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}.shop-section{min-width:0}.shop-section-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:12px}.shop-section-heading h3{margin:0;font-size:20px;color:var(--text)}.shop-section-heading>span{font-size:12px;color:var(--muted)}.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}.shop-card{display:flex;flex-direction:column;min-width:0;padding:20px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.shop-card-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.shop-art{display:grid;place-items:center;width:64px;height:64px;border-radius:8px;background:var(--surface-raised)}.shop-art img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.shop-owned{font-size:12px;color:var(--muted)}.shop-owned strong{color:var(--text);font-variant-numeric:tabular-nums;margin-inline-start:4px}.shop-card h4{font-size:20px;line-height:1.25;margin:0 0 8px}.shop-card p{font-size:16px;line-height:1.5;color:var(--muted);margin:0 0 24px;flex:1}.shop-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.shop-price{display:flex;align-items:center;gap:8px;font-size:16px;font-variant-numeric:tabular-nums}.shop-price img{image-rendering:pixelated}.shop-card-bottom button{min-width:80px;min-height:44px;background:var(--mint);border-color:var(--mint);color:var(--surface);font-weight:650}.shop-card-bottom button:disabled{background:var(--surface-raised);border-color:var(--line);color:var(--muted)}.shop-availability{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:8px}.shop-empty{padding:32px;text-align:center;color:var(--muted);font-size:16px;background:var(--surface);border:1px dashed var(--line);border-radius:8px}#shop-view :is(button,input):focus-visible{outline:2px solid var(--mint);outline-offset:3px}@media(max-width:640px){.supplies-panel #inventory{flex-basis:100%}.shop-heading{padding:16px;gap:16px;flex-wrap:wrap}.shop-heading h2{font-size:20px}.shop-tools{gap:12px;margin-block:16px}.shop-search{flex-basis:100%}#shop-categories{gap:4px}#shop-categories button{padding-inline:12px}.shop-card{padding:16px}.roster-world-tabs [role=tab]{padding-inline:16px}}.shop-heading{padding:16px;gap:16px}.shop-heading h2{font-size:20px;margin:4px 0}.shop-heading p{font-size:14px}.shop-tools{margin-block:16px;gap:12px}.shop-search{flex-basis:220px}.shop-quantity{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-inline-start:auto}.shop-quantity select{min-height:44px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:14px}.shop-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:12px}.shop-card{padding:12px}.shop-card-top{gap:8px;margin-bottom:8px}.shop-art{width:40px;height:40px}.shop-art img{width:32px;height:32px}.shop-card h4{font-size:16px;margin-bottom:4px}.shop-card p{font-size:14px;line-height:1.4;margin-bottom:12px}.shop-section-heading h3{font-size:16px}.shop-section-heading{margin-bottom:8px}.shop-card-bottom{gap:8px;flex-wrap:wrap}.shop-price{font-size:14px;gap:4px}.shop-price>span{font-size:11px;color:var(--muted)}.shop-card-bottom button{min-width:68px;padding:8px}.shop-availability{margin-top:4px;font-size:11px}#shop-view select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}@media(max-width:640px){.shop-card{padding:12px}.shop-quantity{margin-inline-start:0}.shop-search{flex-basis:100%}}.shop-card .shop-card-quantity{margin:0 0 8px;justify-content:space-between;gap:8px}.shop-card-quantity select{min-width:72px}.shop-card-bottom{flex-wrap:nowrap}.shop-card-bottom .shop-price{flex-wrap:wrap;min-width:0}#shop-view .shop-tools{position:sticky;top:0;z-index:20;justify-content:flex-start;gap:12px;margin:0 0 16px;padding:8px 0;background:var(--surface);border-block-end:1px solid var(--line)}.shop-tools .shop-balance{display:flex;gap:6px;align-items:center}.shop-tools .shop-balance strong{font-size:20px;color:var(--text)}.shop-tools .shop-search{flex:0 1 220px}.shop-tools #shop-categories{margin:0}.shop-grid{gap:8px;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}.shop-card{padding:10px}.shop-card-top{margin-bottom:4px}.shop-art{width:32px;height:32px}.shop-art img{width:28px;height:28px}.shop-owned{display:flex;align-items:center;gap:4px}.shop-owned strong{font-size:22px;line-height:1.2;color:var(--mint)}.shop-card h4{margin-bottom:4px}.shop-card p{font-size:13px;margin-bottom:8px;line-height:1.35}.shop-card .shop-card-bottom{display:flex;flex-wrap:nowrap;gap:6px;align-items:center}.shop-card .shop-card-quantity{display:block;flex:0 0 56px;margin:0;min-width:0}.shop-card-quantity input{width:100%;min-width:0;min-height:44px;padding:6px;border:1px solid var(--line);border-radius:5px;color:var(--text);background:var(--surface-raised);font:inherit;font-size:14px}.shop-card .shop-price{flex:1;justify-content:flex-end;gap:4px;min-width:0}.shop-card .shop-price>span{display:none}.shop-price strong{overflow-wrap:anywhere;font-size:13px}.shop-card-bottom button{flex:0 0 auto;min-width:48px;padding:6px;font-size:13px}.shop-availability{font-size:11px;margin-top:4px}@media(max-width:640px){#shop-view .shop-tools{gap:8px}.shop-tools .shop-search{flex:1;min-width:120px}.shop-tools #shop-categories{flex-basis:100%}.shop-tools #shop-categories button{padding-inline:10px}.shop-card{padding:10px}}.shop-tools .shop-search{margin-inline-start:auto}.shop-tools .shop-balance{margin-inline-end:0}@media(max-width:640px){.shop-tools #shop-categories{flex-basis:100%}.shop-tools .shop-search{margin-inline-start:0}}.shop-card .shop-card-quantity{display:flex;flex:0 0 112px;gap:0;align-items:stretch;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised)}.shop-card-quantity input{appearance:textfield;-moz-appearance:textfield;flex:1;width:0;min-width:0;padding:4px 0;border:0;border-radius:0;text-align:center;background:transparent;font-variant-numeric:tabular-nums}.shop-card-quantity input::-webkit-inner-spin-button,.shop-card-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.shop-card .shop-quantity-step{flex:0 0 28px;min-width:28px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--mint);font-size:20px;line-height:1}.shop-card .shop-quantity-step:hover:not(:disabled){background:var(--surface);color:var(--text)}.shop-card .shop-quantity-step:disabled{background:transparent;color:var(--muted);opacity:.4}@media(pointer:coarse){.shop-card .shop-card-bottom{flex-wrap:wrap}.shop-card .shop-card-quantity{flex-basis:100%}.shop-card .shop-quantity-step{flex-basis:44px;min-width:44px}}.shop-card-top{gap:8px;flex-wrap:wrap;margin-bottom:8px}.shop-item-heading{display:flex;align-items:center;gap:8px;flex:1;min-width:120px}.shop-item-heading .shop-art{flex:0 0 48px;width:48px;height:48px}.shop-item-heading .shop-art img{width:48px;height:48px}.shop-item-heading h4{min-width:0;margin:0;overflow-wrap:anywhere}.shop-card-top .shop-owned{margin-inline-start:auto;flex-shrink:0}.battle-events-toolbar{justify-content:flex-start}.battle-events-toolbar .encounter-alert-controls{display:flex;align-items:center;gap:8px;margin-inline-start:auto}.battle-events-toolbar .encounter-alert-controls #map-enemy-count{margin:0}.battle-events-toolbar #encounter-alert-button{display:flex;align-items:center;justify-content:center;min-height:32px;margin:0;padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface-raised);color:var(--text);font-size:12px;font-weight:400;line-height:1.4;box-shadow:none;white-space:nowrap}.battle-events-toolbar #encounter-alert-button:hover{border-color:var(--mint);background:#20453f}@media(max-width:800px){.battle-events-toolbar #encounter-alert-button{min-height:44px}}.battle-events-toolbar #toggle-events{margin-left:0;margin-inline-start:0}.battle-events-toolbar #map-enemy-count[hidden]~#toggle-events{margin-inline-start:auto}.battle-events-toolbar .audio-controls{min-height:34px;padding:2px;gap:2px;border-radius:8px}.battle-events-toolbar .audio-controls #sound{width:32px;height:32px;min-width:32px;min-height:32px}.battle-events-toolbar .audio-controls .sound-volume{gap:4px;padding-inline:2px 4px}.battle-events-toolbar .audio-controls .sound-volume input{width:64px;height:32px;min-height:32px}.battle-events-toolbar .audio-controls [data-sound-studio]{min-height:32px;padding:4px 8px;gap:4px;font-size:12px;border-radius:6px}.battle-events-toolbar .map-size-control{min-height:36px;padding-inline-start:8px;gap:4px;font-size:12px;border-radius:6px}.battle-events-toolbar .map-size-control>svg{width:16px;height:16px}.battle-events-toolbar .map-size-control select{min-height:36px;min-width:70px;padding:4px 24px 4px 4px}@media(pointer:coarse){.battle-events-toolbar .audio-controls #sound{width:44px;height:44px;min-width:44px;min-height:44px}.battle-events-toolbar .audio-controls .sound-volume input{height:44px;min-height:44px}.battle-events-toolbar .audio-controls [data-sound-studio],.battle-events-toolbar .map-size-control,.battle-events-toolbar .map-size-control select{min-height:44px}}.roster-world-panel{margin-block:24px;--management-radius:8px}.roster-world-navigation{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px;margin-bottom:16px}.roster-world-navigation .roster-world-tabs{margin-bottom:0}#battleground-scroll-top{display:flex;align-items:center;justify-content:center;min-height:50px;padding:12px 20px;border:1px solid var(--line);border-radius:var(--management-radius);background:var(--surface);color:var(--muted);font-weight:600;line-height:1.25}#battleground-scroll-top:hover{background:var(--surface-raised);color:var(--text)}#battleground-scroll-top:focus-visible{outline:2px solid var(--mint);outline-offset:3px}@media(max-width:640px){.roster-world-navigation{gap:8px;margin-bottom:12px}#battleground-scroll-top{min-height:44px;padding:8px 20px}}.roster-world-tabs{display:flex;width:fit-content;max-width:100%;gap:4px;margin:0 0 16px;padding:4px;border:1px solid var(--line);border-radius:var(--management-radius);background:var(--surface)}.roster-world-tabs [role=tab]{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 20px;border-radius:5px;color:var(--muted);font-weight:600;line-height:1.25;transition:background-color .15s ease,color .15s ease}.roster-world-tabs [role=tab] svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.roster-world-tabs [aria-selected=true]{background:var(--surface-raised);color:var(--mint);border-color:var(--mint)}.roster-world-tabs [role=tab]:hover{background:var(--surface-raised);color:var(--text)}.roster-world-panel>[role=tabpanel]{min-width:0;padding:16px;border:1px solid var(--line);border-radius:var(--management-radius);background:var(--surface)}#pokemon-view .collection-panel>.section-heading{gap:12px 20px;margin:0 0 16px;padding:0 0 12px;border-bottom:1px solid var(--line)}#pokemon-view .section-heading h2{font-size:18px;line-height:1.3}#pokemon-view .collection-toolbar{flex:0 1 auto;min-width:0}#pokemon-view .collection-toolbar label{gap:8px;color:var(--muted);font-size:12px}#pokemon-view .collection-toolbar select{min-height:30px;height:30px;max-width:200px;padding:3px 8px;font-size:12px;color:var(--text);background:var(--surface-raised)}#pokemon-view #team-slots{margin-inline-start:auto;padding:4px 8px;border-radius:5px;background:var(--surface-raised);color:var(--mint);font-size:12px}#stages-view #regions{padding:8px;margin:0 0 20px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);gap:6px}#stages-view #regions>button{min-height:44px;padding:10px 16px;border-radius:6px;border:1px solid #628b9e;background:linear-gradient(#244657,#193747);color:var(--text);font-size:14px;font-weight:600;box-shadow:inset 0 1px #ffffff12,0 3px #071923;cursor:pointer}#stages-view #regions>button[aria-pressed=true]{background:var(--mint);color:#092c29;border-color:#bcefdc;box-shadow:inset 0 1px #ffffff40,0 3px #4f8a76}#stages-view #regions>button:disabled{border-color:var(--line);border-style:dashed;background:var(--surface);color:var(--muted);box-shadow:none;cursor:default}#stages-view #regions>button:not(:disabled):hover{background:#2d5665;color:#fff;border-color:var(--mint)}#stages-view #regions>button[aria-pressed=true]:hover{background:#b3ecd5;color:#092c29}#stages-view #regions>button:not(:disabled):active{transform:translateY(2px);box-shadow:inset 0 1px #ffffff12,0 1px #071923}#shop-view .shop-tools{top:0;margin-bottom:20px;padding:12px;gap:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised)}#shop-view .shop-tools .shop-search{margin-inline-start:12px}#shop-categories{gap:8px}#shop-categories button{min-height:36px;padding:6px 12px;border-color:color-mix(in srgb,var(--mint) 35%,var(--line));background:var(--surface);color:var(--text);font-size:12px;font-weight:600;border-radius:5px;cursor:pointer}#shop-categories [aria-pressed=true]{border-color:var(--mint);background:color-mix(in srgb,var(--mint) 16%,var(--surface));color:var(--mint)}#shop-categories button:hover{border-color:var(--mint);background:color-mix(in srgb,var(--mint) 10%,var(--surface));color:var(--text)}@media(max-width:640px){#shop-view .shop-tools .shop-search{margin-inline-start:0}}.shop-tools .shop-search input{min-height:36px;font-size:14px;background:var(--surface)}.shop-tools .shop-balance{padding-inline:8px;white-space:nowrap}.shop-tools .shop-balance strong{font-size:20px}#shop-view #shop{gap:24px}.shop-section-heading{padding-inline:4px;margin-bottom:12px}.shop-card{background:var(--surface-raised)}.roster-world-panel :is(button,select,input):focus-visible{outline:2px solid var(--mint);outline-offset:3px}@media(max-width:640px){.roster-world-panel{margin-block:16px}.roster-world-tabs{width:100%;box-sizing:border-box;margin-bottom:12px}.roster-world-tabs [role=tab]{flex:1;padding:8px;gap:6px}.roster-world-panel>[role=tabpanel]{padding:12px}#pokemon-view .collection-panel>.section-heading{gap:8px 12px}#pokemon-view .collection-toolbar{order:3;flex-basis:100%}#pokemon-view .collection-toolbar label{justify-content:space-between;width:100%}#pokemon-view .collection-toolbar select{max-width:none;flex:1}#shop-view .shop-tools{padding:8px;margin-bottom:16px}.shop-tools .shop-balance{padding-inline:0}}@media(pointer:coarse){.roster-world-tabs [role=tab],#shop-categories button,#stages-view #regions>button,.shop-tools .shop-search input{min-height:44px}#pokemon-view .collection-toolbar select{min-height:44px;height:44px}}@media(prefers-reduced-motion:reduce){.roster-world-tabs [role=tab]{transition:none}}.arena-heading{position:relative}#stage-name .battleground-stage-xp{position:absolute;inset-inline-start:50%;top:50%;transform:translate(-50%,-50%);display:inline-block;margin:0;color:var(--mint);font-size:12px;font-weight:600;white-space:nowrap;text-align:center}@media(max-width:600px){.arena-heading:has(.battleground-stage-xp){height:auto;min-height:64px;padding-block-end:28px}#stage-name .battleground-stage-xp{top:auto;bottom:8px;transform:translate(-50%)}}#stages>button,#stages>button:last-child{padding:4px;gap:0;border-radius:8px}#stages .stage-map-preview{border-radius:5px;overflow:hidden}#stages .stage-preview{min-height:144px;aspect-ratio:16/9}#stages .stage-card-caption{position:absolute;inset:0 0 auto;display:flex;flex-direction:column;gap:4px;padding:12px 12px 24px;background:linear-gradient(#071b2aee,#071b2ab8 65%,transparent);color:#eef7fc;text-shadow:0 1px 2px #071b2a;pointer-events:none}#stages .stage-card-caption>strong{font-size:16px;line-height:1.3}#stages .stage-card-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;font-size:12px;line-height:1.4}#stages .stage-level-badge{display:inline-flex;align-items:baseline;gap:4px;color:#a8efd2;white-space:nowrap}#stages .stage-level-badge>span{font-size:11px;font-weight:600}#stages .stage-level-badge>strong{font-size:14px;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums;color:#eefcf6}#stages .stage-level-separator{margin-inline:2px;font-weight:400;color:#c5d9e4}#stages .is-boss .stage-level-badge{color:#f5dfae}#stages .is-boss .stage-level-badge>strong{color:#fff0ce}#stages .stage-card-meta .stage-xp-bonus{display:inline;font-size:12px;color:#c5d9e4}#stages .stage-card-meta .stage-xp-bonus.has-bonus{color:#a8efd2}#stages .stage-map-unlocks{inset:auto 8px 8px auto;justify-content:flex-end;max-width:calc(100% - 16px)}#stages>button[aria-current=step]{border-color:var(--mint)}@media(max-width:640px){#stages .stage-preview{width:100%;height:auto;min-height:144px;flex:none}#stages .stage-card-caption{padding:10px 10px 24px}}#stages .stage-card-meta .stage-xp-bonus.has-penalty{color:var(--yellow);font-weight:600}.combat-tooltip.stage-tooltip{width:420px;max-width:calc(100vw - 16px);padding:14px 16px;font-size:12px;line-height:1.45}.combat-tooltip.stage-tooltip>strong{font-size:16px;margin-bottom:10px;color:var(--text)}.stage-tooltip section+section{margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}.stage-tooltip section>b{display:block;color:var(--mint);font-size:12px;margin-bottom:4px}.stage-tooltip section p{margin:4px 0;color:var(--text);font-size:12px;line-height:1.45}.combat-tooltip.stage-tooltip{background:var(--surface);color:var(--text)}.stage-tooltip section p{color:var(--muted)}.stage-tooltip section>b{color:var(--mint)}.stage-tooltip section .stage-xp-reference{margin-bottom:8px;color:var(--text)}.stage-tooltip .stage-xp-reference-level{color:var(--yellow);font-weight:700;white-space:nowrap}.stage-tooltip section .stage-xp-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:4px 8px;border-radius:4px;background:var(--surface-raised);color:var(--text)}.stage-xp-row>b{color:var(--mint);font-size:13px;font-variant-numeric:tabular-nums}.stage-tooltip .stage-reward-section .stage-xp-reference{margin-block:4px 8px}.stage-tooltip section .stage-reward-rate{display:inline-block;margin-block:4px;padding:4px 8px;border-radius:4px;background:var(--surface-raised);font-variant-numeric:tabular-nums}.stage-tooltip section .stage-reward-amount{margin-block:8px 4px;color:var(--text)}.stage-tooltip .stage-reward-amount strong{display:inline;font-size:14px;font-variant-numeric:tabular-nums}.stage-tooltip .stage-coin-value{color:var(--yellow)}.stage-tooltip section .stage-xp-row{justify-content:flex-start;gap:8px}.combat-tooltip strong.xp-preview-value,.combat-tooltip strong.xp-gap-pokemon{display:inline;font-size:inherit}.combat-tooltip .xp-preview-value.has-bonus{color:#a8efd2}.combat-tooltip .xp-preview-value.has-penalty,.combat-tooltip .xp-gap-pokemon{color:var(--yellow)}.combat-tooltip .xp-preview-value.is-neutral{color:#c5d9e4}.combat-tooltip.xp-tooltip p{margin:6px 0;line-height:1.45}#stage-name .battleground-stage-xp.has-penalty{color:var(--yellow)}.stage-tooltip section .stage-encounter-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.stage-encounter-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;border:1px solid var(--line);border-radius:6px;background:var(--surface-raised);color:var(--text);font-size:12px;line-height:1.3}.stage-encounter-chip img{flex:none;object-fit:contain;image-rendering:pixelated;border-radius:4px}.stage-encounter-chip.is-unknown{color:var(--muted);border-style:dashed;background:transparent}.stage-encounter-unknown{display:grid;place-items:center;width:28px;height:28px;font-size:16px;font-weight:700;color:var(--muted)}.stage-browse-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:8px;margin-bottom:20px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised)}#stages-view .stage-browse-tools #regions{flex:1 1 auto;gap:6px;margin:0;padding:0;border:0;background:transparent}.stage-search{flex:0 1 280px;min-width:180px;margin-inline-start:auto}.stage-search input{width:100%;min-width:0;min-height:36px;padding:8px 12px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:5px;font:inherit;font-size:12px}.combat-tooltip.stage-tooltip>strong{margin-bottom:4px}.stage-tooltip-environment{font-size:12px;color:var(--muted);margin-bottom:12px}@media(max-width:640px){.stage-search{flex-basis:100%;min-width:0;margin:0}.stage-search input{min-height:44px}}@media(pointer:coarse){.stage-search input{min-height:44px}}#stages .stage-tile{position:relative;min-width:0}#stages .stage-tile.is-pinned-current{grid-column:auto;width:auto;margin:0}#stages .stage-tile>button[data-stage]{display:flex;flex-direction:column;align-items:stretch;width:100%;height:100%;min-width:0;min-height:0;padding:4px;gap:0;border-radius:8px;text-align:start;overflow:hidden}#stages .stage-tile>button[data-stage][aria-current=step]{border-color:var(--mint)}#stages .stage-info{position:absolute;top:4px;right:4px;z-index:8;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:8px;border:0;border-radius:6px;background:linear-gradient(to top right,#0c223200,#0c2232e8);color:var(--mint)}#stages .stage-info svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}#stages .stage-info:hover,#stages .stage-info[aria-expanded=true]{color:var(--text);background:linear-gradient(to top right,transparent,var(--surface-raised));box-shadow:inset 0 0 0 1px var(--mint)}#stages .stage-card-caption{padding-inline-end:48px}#stages .stage-defeat-requirement{align-self:flex-start;margin-top:4px;padding:4px 6px;border:1px solid #f1cd7670;border-radius:4px;background:#071b2aeb;color:var(--yellow);font-size:12px;line-height:1.4;text-shadow:none}#stages .stage-tile>button[data-stage]:disabled{opacity:1;cursor:default}.combat-tooltip.stage-tooltip.is-pinned{pointer-events:auto;overflow-y:auto;overscroll-behavior:auto;max-height:calc(100dvh - 16px)}#stages .stage-tile{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(auto,1fr);min-block-size:176px}#stages .stage-tile:before{content:"";grid-area:1/1/3/2;aspect-ratio:40/27;pointer-events:none}#stages .stage-tile>button[data-stage]{position:absolute;inset:0}#stages .stage-map-preview{block-size:100%}#stages .stage-preview{block-size:100%;min-block-size:0;aspect-ratio:auto}#stages .stage-tile>.stage-card-caption{grid-area:1/1;position:relative;inset:auto;min-inline-size:0;margin:5px 5px 0;padding-block-end:12px;overflow-wrap:anywhere}#stages .stage-tile>.stage-map-unlocks{grid-area:2/1;position:relative;inset:auto;align-self:end;min-inline-size:0;max-inline-size:none;margin:0 12px 12px}#stages .stage-tile>.stage-map-unlocks:empty{display:none}#stages .stage-tile.has-xp-gap .stage-card-meta .stage-xp-bonus{flex-wrap:wrap}#collection.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:8px}#collection .companion{padding:8px;gap:6px;grid-template-columns:minmax(0,1fr) auto;border-radius:8px}#collection .companion-title{grid-row:1;gap:8px}#collection .companion-title .portrait{width:28px;height:28px}#collection .companion h3{font-size:14px;margin:0 0 2px}#collection .companion-title p{margin:0;gap:3px}#collection .party-tag{font-size:8px}#collection .hp-row{grid-row:2;grid-column:1;gap:4px;flex-wrap:nowrap}#collection .collection-health-tools{grid-row:2;grid-column:2}#collection .hp-row>span:first-child{display:none}#collection .hp-track{height:8px;min-width:24px}#collection .hp-numbers{font-size:10px}#collection .xp-row{grid-row:3;min-height:10px;font-size:8px}#collection .companion-actions{grid-row:4;display:flex;align-items:center;flex-wrap:nowrap;gap:4px;margin:0;padding-top:2px}#collection .companion-actions button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;min-width:32px;min-height:32px;height:32px;margin:0;padding:5px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--mint)}#collection .companion-actions button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#collection .companion-actions .collection-info{margin-inline-start:auto}#collection .companion-actions .evolve-shortcut{flex:0 0 auto;width:auto;min-width:0;gap:4px;padding:4px 8px;background:var(--mint);border-color:var(--mint);color:var(--surface);font-size:11px;font-weight:650}#collection .evolve-shortcut svg{width:16px;height:16px}#collection .collection-team-toggle[aria-pressed=true]{background:var(--surface-raised);border-color:var(--line)}#collection .companion-actions .collection-favorite{font-size:23px;color:var(--muted)}#collection .companion-actions .collection-favorite[aria-pressed=true]{color:var(--yellow)}#collection .companion-actions button:not(:disabled):hover{border-color:var(--mint);background:var(--surface-raised);color:var(--text)}#collection .companion-actions .evolve-shortcut:not(:disabled):hover{background:#b9f0d8;color:var(--surface)}#collection .companion-actions button:disabled{opacity:.4}#collection .companion:focus-visible{outline:2px solid var(--mint);outline-offset:2px}@media(pointer:coarse){#collection .companion-actions button{flex-basis:44px;width:44px;min-width:44px;min-height:44px;height:44px}#collection .companion-actions .evolve-shortcut{flex-basis:auto;width:auto;min-width:0}#collection .quick-potion.item-icon{width:44px;height:44px;min-height:44px}#collection .hp-track{height:10px}}#collection.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:8px}#collection .companion{padding:6px;gap:4px}#collection .companion-title{gap:6px}#collection .companion-title .portrait{width:24px;height:24px}#collection .companion h3{font-size:13px;line-height:1.25;margin:0}#collection .companion-title .game-icon{width:16px;height:16px;padding:2px}#collection .companion-title .game-icon img{width:12px;height:12px}#collection .hp-row{gap:4px}#collection .hp-track{height:6px}#collection .xp-row{min-height:8px;font-size:8px;line-height:1.1}#collection .xp-track{height:2px}#collection .companion-actions{padding-top:0;gap:2px}#collection .companion-actions .collection-info{margin-inline-start:0}#collection .companion-actions .evolve-shortcut{margin-inline-end:auto;padding:3px 6px;font-size:10px;gap:3px}#collection .companion-actions button{flex-basis:28px;width:28px;min-width:28px;min-height:28px;height:28px;padding:4px}#collection .companion-actions button svg{width:19px;height:19px}#collection .companion-actions .evolve-shortcut{flex-basis:auto;width:auto;min-width:0}#collection .evolve-shortcut svg{width:14px;height:14px}#collection .companion-actions .collection-favorite{font-size:21px}#collection .collection-team-toggle .team-action-badge{fill:var(--surface);stroke-width:1.3}#collection .collection-team-toggle[aria-pressed=true]{background:transparent;border-color:transparent}@media(pointer:coarse){#collection.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}#collection .companion-actions button{flex-basis:44px;width:44px;min-width:44px;min-height:44px;height:44px}#collection .companion-actions .evolve-shortcut{flex-basis:auto;width:auto;min-width:0;padding-inline:8px;font-size:11px}#collection .hp-track{height:10px}}#collection.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),210px));justify-content:start;gap:10px}#collection .companion{position:relative;padding:8px;gap:6px;border-radius:10px;background:var(--surface-raised);align-content:start;transition:border-color .15s ease}#collection .companion-title{min-height:56px;gap:8px;align-items:center}#collection .companion-title .portrait{width:48px;height:48px;padding:4px;box-sizing:content-box;background:var(--surface);border-radius:8px;image-rendering:pixelated}#collection .companion-title>div{min-width:0;flex:1;padding-block-start:8px}#collection .companion h3{font-size:13px;line-height:1.25}#collection .companion h3 small{display:block;font-size:10px;color:var(--muted);margin:2px 0 4px}#collection .party-tag{position:absolute;inset-block-start:6px;inset-inline-end:8px;font-size:7px;line-height:1;color:var(--mint)}#collection .party-tag:empty{display:none}#collection .hp-row{grid-column:1/-1;grid-row:2;gap:6px}#collection .hp-track{height:6px;max-width:110px}#collection .hp-numbers{margin-inline-start:auto;font-size:10px}#collection .xp-row{grid-column:1;grid-row:3;align-self:center;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;font-size:8px}#collection .xp-track{width:100%;max-width:96px;flex:none}#collection .xp-row>span{font-size:8px;white-space:normal}#collection .collection-health-tools{grid-column:2;grid-row:3;justify-self:end}#collection .companion-actions{grid-row:4;grid-column:1/-1;justify-self:stretch;justify-content:flex-start;gap:4px;padding-top:2px}#collection .companion-actions .evolve-shortcut{margin-inline-start:auto;margin-inline-end:0;font-size:10px;padding-inline:5px;gap:2px}#collection .evolve-shortcut svg{width:12px;height:12px}#collection .collection-team-toggle[aria-pressed=true]{color:var(--mint)}#collection .companion:hover{border-color:var(--mint)}@media(pointer:coarse){#collection.collection-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),250px))}#collection .companion-actions .evolve-shortcut{padding-inline:8px;font-size:11px}#collection .hp-track{max-width:140px;height:8px}}@media(prefers-reduced-motion:reduce){#collection .companion{transition:none}}#collection .companion-actions .collection-team-toggle[aria-pressed=false]{color:var(--muted);background:transparent;border-color:transparent}#collection .companion-actions .collection-team-toggle[aria-pressed=true]{color:var(--mint);background:var(--surface);border-color:var(--mint)}.collection-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised)}.collection-search{flex:1 1 200px;min-width:140px}.collection-filters input,.collection-filters select{min-height:34px;max-width:100%;padding:6px 8px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);font:inherit;font-size:12px}.collection-filters input{width:100%;min-width:0;box-sizing:border-box}.collection-filters button{min-height:34px;font-size:12px;padding:6px 10px}.collection-filter-count{margin-inline-start:auto;color:var(--muted);font-size:12px;white-space:nowrap}.collection-filter-empty{padding:24px;text-align:center;color:var(--muted);font-size:14px}@media(max-width:640px){.collection-search{flex-basis:100%}.collection-filters select{flex:1;min-width:0}}@media(pointer:coarse){.collection-filters :is(input,select,button){min-height:44px}}#collection .companion.deployed{border:1px solid color-mix(in srgb,var(--mint) 55%,var(--line));box-shadow:none}#collection .companion.deployed .party-tag{position:static;display:inline-flex;align-items:center;align-self:flex-start;flex:none;margin-inline-start:auto;padding:3px 6px;border:1px solid color-mix(in srgb,var(--mint) 30%,transparent);border-radius:5px;background:color-mix(in srgb,var(--mint) 8%,var(--surface-raised));color:var(--mint);font-size:9px;font-weight:500;line-height:1.2;letter-spacing:.02em}#collection .collection-team-divider{grid-column:1/-1;height:4px;pointer-events:none}#pokemon-view #collection .collection-team-count{align-self:center;justify-self:start;margin:0;padding:8px 12px;white-space:nowrap;cursor:help}#collection .collection-team-count:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.collection-insert-preview{position:fixed;z-index:1001;pointer-events:none;border-radius:4px;background:var(--mint);box-shadow:0 0 0 2px var(--surface),0 0 12px var(--mint);transform:translate(-2px,-2px)}#collection .collection-drop-target{outline:3px solid var(--mint);outline-offset:2px;box-shadow:inset 0 0 0 2px var(--mint)}.collection-drag-ghost{max-width:min(380px,80vw);white-space:normal}#collection .companion.deployed .companion-title{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 8px}#collection .companion.deployed .companion-title>.party-tag{grid-column:1/-1;grid-row:1;justify-self:end;margin:0}#collection .companion.deployed .companion-title>.portrait{grid-column:1;grid-row:2}#collection .companion.deployed .companion-title>div{grid-column:2;grid-row:2;padding-block-start:0}#collection .collection-team-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:180px;padding:16px;border:1px dashed var(--line);border-radius:10px;background:var(--surface);color:var(--muted);text-align:center}#collection .collection-slot-plus{display:grid;place-items:center;width:48px;height:48px;border:1px dashed var(--line);border-radius:50%;color:var(--mint);font-size:28px;line-height:1}#collection .collection-team-slot strong{font-size:13px;color:var(--text)}#collection .collection-team-slot small{font-size:12px;line-height:1.4}#collection .collection-team-slot.collection-drop-target{border-style:solid;border-color:var(--mint);background:var(--surface-raised)}#collection .collection-slot-plus svg{display:block;flex:none}#collection .collection-health-tools{min-block-size:32px;display:flex;align-items:center}@media(pointer:coarse){#collection .collection-health-tools{min-block-size:44px}}#stage-name .stage-title-info{display:inline-grid;place-items:center;vertical-align:middle;width:32px;height:28px;min-height:28px;min-width:32px;line-height:1;margin-inline-start:6px;padding:3px 5px;border:0;border-radius:6px;background:transparent;color:var(--mint)}#stage-name .stage-title-info svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}#stage-name .stage-title-info:hover,#stage-name .stage-title-info[aria-expanded=true]{color:var(--text);background:var(--surface-raised);box-shadow:inset 0 0 0 1px var(--mint)}#collection .companion-title{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}#collection .companion-title>div{padding-block-start:0}#collection .companion.deployed .companion-title{grid-template-columns:auto minmax(0,1fr) auto}#collection .companion.deployed .companion-title>.collection-info{grid-column:3;grid-row:2}#collection .companion-title>.collection-info{display:grid;place-items:center;align-self:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:4px;border:0;background:transparent;color:var(--mint);border-radius:5px}#collection .companion-title>.collection-info svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#collection .companion-title>.collection-info:hover{background:var(--surface);color:var(--text)}#collection .companion-title>.collection-info:focus-visible{outline:2px solid var(--mint);outline-offset:2px}#collection .hp-row{grid-column:1;grid-row:2;min-height:32px;align-self:center}#collection .hp-track{flex:1;max-width:none;min-width:24px}#collection .hp-numbers{margin-inline-start:0;font-size:11px}#collection .collection-health-tools{grid-column:2;grid-row:2;align-self:center}#collection .xp-row{grid-column:1/-1;grid-row:3;width:100%;font-size:10px;gap:4px}#collection .xp-track{width:100%;max-width:none;height:4px}#collection .xp-row>span{font-size:10px;line-height:1.3}#collection .companion-actions .evolve-shortcut{margin-inline-start:0}#collection .companion-actions .collection-favorite{margin-inline-start:auto}@media(pointer:coarse){#collection .companion-title>.collection-info{width:44px;height:44px;min-width:44px;min-height:44px}#collection .hp-row{min-height:44px}#collection .xp-row>span{font-size:12px}}.stage-encounter-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}.stage-encounter-chance{font-size:10px;line-height:1.2;color:var(--muted);font-weight:400;font-variant-numeric:tabular-nums}body #stages .stage-card-meta .stage-xp-bonus.has-severe-penalty,body #stage-name .battleground-stage-xp.has-severe-penalty,body .map-stage-options .map-stage-xp.has-severe-penalty,body .combat-training.has-severe-penalty,body .combat-tooltip .xp-preview-value.has-severe-penalty,body .stage-tooltip .stage-coin-value.has-severe-penalty{color:var(--art-danger,var(--xp-gap-red));font-weight:600}.dex-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-block-end:12px}.dex-heading h2{margin:0;font-size:20px}.dex-heading p{margin:4px 0 0;color:var(--muted);font-size:12px}#dex-progress{min-width:240px;max-width:100%}.dex-counts{display:flex;gap:16px;font-size:11px;color:var(--muted)}.dex-counts>span{display:flex;align-items:baseline;gap:4px}.dex-counts strong{font-size:16px;color:var(--mint);font-variant-numeric:tabular-nums}.dex-counts strong small{font-size:11px;color:var(--muted);font-weight:400}#dex-progress progress{display:block;appearance:none;width:100%;height:3px;margin-block-start:8px;border:0;border-radius:4px;overflow:hidden;background:var(--line)}#dex-progress progress::-webkit-progress-bar{background:var(--line)}#dex-progress progress::-webkit-progress-value{background:var(--mint)}#dex-progress progress::-moz-progress-bar{background:var(--mint)}.dex-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--surface-raised)}.dex-tools label{flex:1 1 160px;min-width:0}.dex-tools input{width:100%;min-width:0}.dex-tools :is(input,select){min-height:32px;max-width:100%;padding:4px 8px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);font:inherit;font-size:12px}.dex-tools button{min-height:32px;padding:4px 8px;font-size:12px}.dex-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px;align-items:start}.dex-catalog{min-width:0}#dex-results{margin:8px 0 0;font-size:11px;color:var(--muted)}#dex-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:4px}#dex-list .dex-card{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:12px auto auto;column-gap:4px;row-gap:2px;align-content:center;align-items:center;min-width:0;min-height:64px;padding:4px 6px;text-align:start;border:1px solid var(--line);border-radius:5px;background:var(--surface-raised);line-height:1.2;color:var(--text)}#dex-list .dex-card[aria-pressed=true]{border-color:var(--mint);box-shadow:inset 0 0 0 1px var(--mint);background:var(--surface)}#dex-list .dex-card:hover{border-color:var(--muted)}#dex-list .dex-card strong{font-size:11px;overflow-wrap:anywhere;font-weight:600}.dex-card-number{grid-column:1/-1;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.dex-card-art{grid-row:2/4;grid-column:1;display:grid;place-items:center}.dex-card img,.dex-entry-heading>img,.dex-relative img{object-fit:contain;image-rendering:pixelated;flex:none}.dex-card img{width:28px;height:28px}.dex-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px;grid-column:2;min-width:0}.dex-card-types{display:flex;align-items:center;gap:2px}.dex-card-types .type-icon{width:14px;height:14px}.dex-state{font-size:9px;color:var(--muted)}.is-collected .dex-state{color:var(--mint)}.dex-unknown{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--surface);color:var(--muted);font-size:20px;font-weight:600}.dex-card.is-unknown{border-style:dashed}.dex-card.is-unknown strong{color:var(--muted)}.dex-pagination{display:flex;align-items:center;justify-content:center;gap:12px;max-width:864px;margin-block:0 8px;font-size:11px;color:var(--muted)}.dex-pagination button{min-height:32px;padding:4px 8px;font-size:12px}.dex-pagination button:disabled,.dex-entry-nav button:disabled{cursor:default}#dex-entry{position:sticky;top:12px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--surface-raised);font-size:12px;line-height:1.4}.dex-entry-nav{display:flex;justify-content:space-between;gap:8px;margin-block-end:8px}.dex-entry-nav button{min-height:28px;padding:4px 8px;font-size:11px}.dex-entry-heading{display:flex;align-items:center;gap:8px;margin-block-end:8px}.dex-entry-heading>img{width:44px;height:44px}.dex-entry-identity{min-width:0}.dex-entry-heading h3{font-size:20px;line-height:1.2;margin:4px 0 6px;overflow-wrap:anywhere}.dex-entry-number{color:var(--muted);font-size:11px}.dex-identity-types{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.dex-identity-types .type-icon{width:20px;height:20px}.dex-identity-types>span:last-child{margin-inline-start:4px;font-size:11px;color:var(--mint)}.dex-animation-preview{width:128px;flex:0 0 128px;display:grid;gap:2px;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:5px;overflow:hidden}.dex-animation-preview canvas{display:block;width:100%;height:auto;image-rendering:pixelated;aspect-ratio:128/88}.dex-animation-preview>[data-dex-animation-label]{display:block;text-align:center;font-size:10px;line-height:1.2;color:var(--muted);overflow-wrap:anywhere}.dex-animation-preview>div{display:flex;justify-content:center;gap:4px}.dex-animation-preview button{flex:1;min-height:24px;padding:2px 4px;font-size:10px}.dex-unseen-entry{display:flex;align-items:center;flex-direction:column;gap:4px;text-align:center;padding:16px 8px;color:var(--muted)}.dex-unseen-entry>.dex-unknown{width:44px;height:44px;font-size:28px}.dex-unseen-entry h3{color:var(--text);font-size:20px;margin:4px 0}.dex-unseen-entry p{max-width:36ch;margin:4px 0;font-size:12px}.dex-section{padding-block:8px;border-block-start:1px solid var(--line);min-width:0}.dex-section h4{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin:0 0 6px;font-size:13px;color:var(--mint)}.dex-section h4 small{font-size:10px;font-weight:400;color:var(--muted)}.dex-section h4>button{margin-inline-start:auto;min-height:28px;padding:2px 6px;font-size:11px}.dex-section>small{display:block;font-size:10px;color:var(--muted);margin-block:4px}.dex-note{color:var(--muted);font-size:11px;margin:4px 0 6px;line-height:1.4}.dex-locked{border-style:dashed}.dex-locked p{color:var(--muted);margin:4px 0}.dex-section>button{margin-block-start:4px;min-height:28px;font-size:11px}.dex-owned-list{display:flex;flex-wrap:wrap;gap:4px}.dex-owned-list button{min-height:28px;padding:4px 8px;font-size:11px}.dex-target-list{display:grid;gap:4px}.dex-target-list>div{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:4px;background:var(--surface);border-radius:5px}.dex-target-list button{min-height:28px;font-size:11px;padding:4px 6px}.dex-target-list>div>span{margin-inline-end:auto;font-size:11px;color:var(--yellow)}.dex-habitat{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:2px 8px;align-items:center;width:100%;min-height:32px;margin-block:4px;padding:4px 8px;text-align:start;border:1px solid var(--line);border-radius:5px;background:var(--surface);font-size:11px}.dex-habitat strong{font-weight:600;overflow-wrap:anywhere}.dex-habitat>span:first-of-type{display:none}.dex-habitat>span:last-of-type{color:var(--mint);white-space:nowrap}.dex-habitat small{font-size:10px;color:var(--muted);white-space:nowrap}.dex-research-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.dex-stats{display:grid;gap:4px}.dex-stats>div{display:grid;grid-template-columns:16px 46px 24px minmax(0,1fr);gap:4px;align-items:center;font-size:11px}.dex-stats .stat-icon{width:16px;height:16px}.dex-stats strong{font-variant-numeric:tabular-nums}.dex-stats meter{width:100%;height:5px;appearance:none}.dex-stats meter::-webkit-meter-bar{background:var(--surface);border:0}.dex-stats meter::-webkit-meter-optimum-value{background:var(--mint)}.dex-stats meter::-moz-meter-bar{background:var(--mint)}#dex-entry .detail-passive{display:flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:100%;font-size:11px}#dex-entry .detail-passive small{display:block;flex-basis:100%;color:var(--muted);font-size:10px}#dex-entry .dex-matchup-heading{margin-block:8px 4px}.dex-matchup{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-block:4px}.dex-matchup>span:first-child{width:80px;font-size:10px;color:var(--muted)}.dex-matchup-group{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px;padding:2px 4px;border-radius:4px;background:var(--surface)}.dex-matchup-group b{font-size:10px;margin-inline-start:2px}.dex-matchup .type-icon{width:16px;height:16px}.dex-evolution{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding-block:4px}.dex-evolution>span:last-child{font-size:11px;color:var(--muted);flex:1 1 140px}.dex-evolution button[data-dex-shop]{display:inline-block;font-size:10px;min-height:24px;padding:2px 4px;margin:2px 4px}.dex-relative{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:2px 6px;font-size:11px}.dex-relative img{width:24px;height:24px}.dex-relative-unknown{border:1px dashed var(--line);border-radius:5px;color:var(--muted)}.dex-moves summary{cursor:pointer;min-height:28px;font-size:13px;color:var(--mint)}.dex-moves summary>span{font-size:11px;color:var(--muted);margin-inline-start:4px}.dex-move-list{display:grid;gap:4px}.dex-move{display:grid;grid-template-columns:36px 20px minmax(0,1fr) 28px;gap:4px;align-items:start;padding:4px 6px;background:var(--surface);border-radius:5px}.dex-move-level{font-size:10px;color:var(--yellow);padding-block-start:2px}.dex-move strong{font-size:12px}.dex-move small{display:block;font-size:11px;color:var(--muted);margin-block-start:2px}.dex-move .move-info{position:static;min-width:28px;min-height:28px}.dex-empty{grid-column:1/-1;padding:16px;color:var(--muted);font-size:12px;line-height:1.5}button.stage-encounter-chip{min-height:36px;text-align:start;cursor:pointer}button.stage-encounter-chip:hover{border-color:var(--mint)}.stage-tooltip .stage-encounter-chip:focus-visible{outline:2px solid var(--mint);outline-offset:2px}@media(max-width:1000px){.dex-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px}.dex-research-grid{grid-template-columns:minmax(0,1fr)}.dex-entry-heading{flex-wrap:wrap}.dex-animation-preview{width:112px;flex-basis:112px}.dex-entry-identity{flex:1 1 100px}}@media(max-width:760px){.dex-layout{grid-template-columns:minmax(0,1fr)}#dex-entry{position:static}.dex-heading{gap:8px}#dex-progress{width:100%}.dex-counts{justify-content:space-between;gap:8px}.dex-tools select{flex:1 1 120px}.dex-tools label{flex-basis:100%}.dex-research-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dex-entry-heading{flex-wrap:nowrap}.dex-entry-identity{flex:1 1 auto}.roster-world-tabs [role=tab]{gap:4px;padding-inline:8px;font-size:12px}.roster-world-tabs [role=tab] svg{width:16px;height:16px}}@media(max-width:420px){#dex-list{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}.dex-animation-preview{width:88px;flex-basis:88px}.dex-entry-heading>img{width:32px;height:32px}.dex-entry-heading h3{font-size:16px}.dex-entry-heading{gap:6px}.dex-entry-number{font-size:10px}.dex-research-grid{grid-template-columns:minmax(0,1fr)}.dex-habitat{grid-template-columns:minmax(0,1fr) auto}.dex-habitat small{grid-column:1/-1}.roster-world-tabs [role=tab]{padding-inline:4px}.roster-world-tabs [role=tab] svg{display:none}}@media(pointer:coarse){#pokedex-view :is(button,input,select,summary),button.stage-encounter-chip{min-height:44px}.dex-animation-preview button{padding-inline:2px}.dex-move{grid-template-columns:36px 20px minmax(0,1fr) 44px}.dex-move .move-info{min-width:44px}}@media(prefers-reduced-motion:reduce){#pokedex-view button{transition:none}}.dex-layout{grid-template-columns:minmax(0,1fr);gap:16px}#dex-list{max-width:864px;grid-template-columns:repeat(auto-fill,minmax(0,168px));grid-template-rows:repeat(7,88px);grid-auto-rows:88px;align-items:stretch;gap:6px}#dex-list .dex-card{height:88px;min-height:88px;max-height:88px;grid-template-columns:48px minmax(0,1fr);grid-template-rows:16px 24px 24px;gap:2px 6px;padding:6px;align-content:center;overflow:hidden}#dex-list .dex-card strong{font-size:14px;line-height:16px;grid-column:2;grid-row:2;align-self:end;white-space:nowrap;overflow-wrap:normal}.dex-card-number{display:flex;align-items:center;gap:4px;font-size:12px;line-height:16px}.dex-card-art{grid-row:2/4;width:48px;height:50px}.dex-card-art img{width:48px;height:48px}.dex-card-art .dex-unknown{width:48px;height:48px;font-size:28px}.dex-card-meta{height:18px;grid-column:2;grid-row:3;align-self:start;gap:3px;align-items:center;flex-wrap:nowrap}.dex-state{font-size:11px;white-space:nowrap}#dex-list .dex-owned-ball,#dex-entry .dex-owned-ball,#captures .dex-owned-ball{display:inline-block;width:12px;height:12px;object-fit:contain;flex:none;vertical-align:middle}#pokedex-view .dex-card-types .game-icon{width:16px;height:16px;padding:2px}#pokedex-view .dex-card-types .game-icon img{width:12px;height:12px}#dex-entry{font-size:12px;padding:10px;line-height:1.45}.dex-entry-heading{display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;align-items:center;margin-block-end:10px}.dex-portrait-identity{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0}.dex-portrait-identity>img{width:56px;height:56px;object-fit:contain;image-rendering:pixelated;flex:none}.dex-entry-identity{flex:1 1 120px}.dex-entry-heading h3{font-size:22px;line-height:1.2;margin:4px 0 6px}.dex-entry-number{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:12px}.dex-animation-preview{width:104px;min-width:0;flex-basis:auto}.dex-animation-preview>[data-dex-animation-label]{font-size:11px;min-height:28px;display:grid;place-items:center}.dex-animation-preview button{font-size:12px;min-height:28px;padding:2px}#dex-entry .dex-identity-types .game-icon{width:18px;height:18px;padding:2px}#dex-entry .dex-identity-types .game-icon img{width:14px;height:14px}.dex-identity-types>span:last-child{font-size:12px}.dex-entry-nav button,.dex-owned-list button,.dex-target-list button,.dex-section h4>button{font-size:12px}.dex-section h4{font-size:14px;margin-block-end:6px}.dex-section h4 small,.dex-section>small,.dex-note{font-size:12px}.dex-habitat{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;font-size:12px;padding:6px 8px}.dex-habitat small{grid-column:1/-1;font-size:12px}.dex-habitat>span:last-of-type{text-align:end}.dex-research-grid{grid-template-columns:minmax(0,1fr);gap:0}.dex-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.dex-stats>div{grid-template-columns:16px minmax(0,1fr) 24px;gap:2px 4px;font-size:12px}.dex-stats meter{grid-column:1/-1;height:3px}.dex-stats strong{text-align:end}#dex-entry .dex-stats .game-icon{width:16px;height:16px}#dex-entry .dex-stats .game-icon svg{width:15px;height:15px}#dex-entry .detail-passive{font-size:12px;gap:4px 6px}#dex-entry .detail-passive small{font-size:12px;flex-basis:auto}.dex-matchup>span:first-child{font-size:12px;width:68px}.dex-matchup-group b,.dex-matchup>small{font-size:12px}#dex-entry .dex-matchup .game-icon{width:16px;height:16px;padding:2px}#dex-entry .dex-matchup .game-icon img{width:12px;height:12px}.dex-relative,.dex-evolution>span:last-child,.dex-move small,.dex-move-level,.dex-moves summary>span{font-size:12px}.dex-move strong,.dex-moves summary{font-size:14px}.dex-move{grid-template-columns:40px 18px minmax(0,1fr) 28px}#dex-entry .dex-move>.game-icon{width:18px;height:18px;padding:2px}#dex-entry .dex-move>.game-icon img{width:14px;height:14px}@media(max-width:850px){.dex-layout{grid-template-columns:minmax(0,1fr)}#dex-entry{position:static}.dex-entry-heading{grid-template-columns:112px minmax(0,1fr)}.dex-animation-preview{width:112px}.dex-research-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dex-portrait-identity{flex-wrap:nowrap}}@media(max-width:480px){.dex-card-meta{gap:2px}.dex-entry-heading{grid-template-columns:96px minmax(0,1fr);gap:8px}.dex-animation-preview{width:96px}.dex-portrait-identity{flex-wrap:wrap}.dex-research-grid{grid-template-columns:minmax(0,1fr);gap:0}.dex-entry-heading h3{font-size:20px}}@media(pointer:coarse){.dex-animation-preview button{min-height:44px}.dex-move{grid-template-columns:40px 18px minmax(0,1fr) 44px}}#dex-entry{container-type:inline-size}#dex-entry .dex-section{padding-block:6px}#dex-entry .dex-entry-nav,#dex-entry .dex-entry-heading{margin-block-end:6px}#dex-entry .dex-animation-preview>[data-dex-animation-label]{height:28px;min-height:28px;max-height:28px;line-height:14px;overflow:hidden}#dex-entry .dex-animation-preview canvas{height:64px;max-height:64px;object-fit:contain}#dex-entry .dex-owned-section{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}#dex-entry .dex-owned-section h4{margin:0}#dex-entry .dex-habitat{grid-template-columns:minmax(0,1fr) auto auto;gap:4px 8px;min-height:28px;padding:4px 6px;margin-block:3px}#dex-entry .dex-habitat small{grid-column:auto;font-size:11px}#dex-entry .dex-habitat strong{font-size:12px}.dex-more-habitats{margin-block-start:4px}.dex-more-habitats>summary{cursor:pointer;min-height:28px;padding:4px 0;font-size:12px;color:var(--mint)}.dex-more-habitats>summary:focus-visible{outline:2px solid var(--mint);outline-offset:2px}@container (min-width:420px){.dex-research-grid{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px}.dex-stats{grid-template-columns:minmax(0,1fr)}}@container (max-width:300px){#dex-entry .dex-habitat{grid-template-columns:minmax(0,1fr) auto}#dex-entry .dex-habitat small{grid-column:1/-1}}@media(pointer:coarse){#dex-entry .dex-habitat,.dex-more-habitats>summary{min-height:44px}}#dex-entry .dex-move>.move-info{position:static;display:grid;place-items:center;align-self:center;justify-self:end;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--mint);line-height:1}#dex-entry .dex-move>.move-info>span{margin:0;pointer-events:none}@media(pointer:coarse){#dex-entry .dex-move>.move-info{width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px}}.dex-habitat-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}#dex-entry .dex-habitat-grid .dex-habitat{margin:0}@container (min-width:420px){.dex-habitat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}#dex-entry .dex-habitat-grid .dex-habitat{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;min-height:44px}#dex-entry .dex-habitat-grid .dex-habitat strong{grid-column:1/-1}#dex-entry .dex-habitat-grid .dex-habitat>span:last-of-type{text-align:start}#dex-entry .dex-habitat-grid .dex-habitat small{grid-column:2}}#pokedex-view{container-type:inline-size;container-name:pokedex}.dex-layout{grid-template-columns:minmax(0,1fr);gap:12px;margin-block-start:12px}#dex-entry{position:static}@container pokedex (min-width:794px){.dex-layout{grid-template-columns:342px minmax(440px,1fr)}#dex-entry{position:sticky}}@container pokedex (min-width:968px){.dex-layout{grid-template-columns:516px minmax(440px,1fr)}}@container pokedex (min-width:1142px){.dex-layout{grid-template-columns:690px minmax(440px,1fr)}}@container pokedex (min-width:1316px){.dex-layout{grid-template-columns:864px minmax(440px,1fr)}}#dex-entry .dex-move{grid-template-columns:40px minmax(0,1fr) 28px}.dex-move-content{min-width:0}.dex-move-content .move-facts{margin-block:4px;gap:4px 6px}@media(pointer:coarse){#dex-entry .dex-move{grid-template-columns:40px minmax(0,1fr) 44px}}#dex-entry .dex-move{grid-template-columns:40px minmax(0,1fr)}.dex-animation-preview button.dex-animation-arrow{flex:0 0 24px;display:grid;place-items:center;padding:0;border:0;background:transparent;box-shadow:none}.dex-animation-arrow img{display:block;width:24px;height:24px}.dex-animation-arrow[data-dex-animation-next] img{rotate:180deg}.dex-counts{flex-wrap:wrap;gap:6px 16px}.dex-shiny-mark,.dex-shiny-status,.dex-counts .dex-shiny-count strong{color:var(--yellow,#ffe39a)}.dex-shiny-mark{font-size:12px;line-height:1}#dex-progress .dex-shiny-progress{accent-color:var(--yellow,#ffe39a)}#dex-progress .dex-shiny-progress::-webkit-progress-value{background:var(--yellow,#ffe39a)}#dex-progress .dex-shiny-progress::-moz-progress-bar{background:var(--yellow,#ffe39a)}.stage-encounter-chip .stage-collected-ball{display:inline-block;width:12px;height:12px;vertical-align:middle;border-radius:0;image-rendering:auto}.boss-panel{margin:10px 0 16px;padding:14px 16px;border:1px solid #bcb0ed80;border-radius:14px;background:linear-gradient(120deg,#182c39,#25283e);color:#e8edd4}.boss-panel[hidden]{display:none}.boss-heading{display:flex;align-items:center;gap:10px}.boss-heading img{image-rendering:pixelated;flex:none}.boss-heading h3{margin:2px 0;font-size:19px}.boss-heading h3 span{font-size:13px;color:#f5d682}.boss-heading small{font-size:10px;color:#c3b3eb;letter-spacing:.06em}.boss-heading>strong{margin-left:auto;color:#9de3ba;white-space:nowrap}.boss-health,.boss-cast-track{height:10px;margin-top:10px;overflow:hidden;border-radius:8px;background:#0d1926;border:1px solid #d7bbfb44}.boss-health i,.boss-cast-track i{display:block;height:100%;width:100%;background:linear-gradient(90deg,#b799df,#e8b2ca)}.boss-vitals{display:flex;justify-content:space-between;font-size:12px;color:#c7c6d4;margin-top:4px}.boss-cast{min-height:20px;margin:8px 0 0;font-weight:600;font-size:13px;color:#f3dca6}.boss-cast-track{height:4px;margin:4px 0 7px}.boss-cast-track i{width:0;background:#f1d38b}.boss-statuses{display:block;min-height:14px;color:#d4badf}.boss-panel>p{font-size:12px;line-height:1.5;color:#c5cbd2;margin:8px 0}.boss-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.boss-actions button{min-height:36px;padding:7px 12px}.boss-actions [data-boss-challenge]{background:#9de3ba;color:#14352c;border-color:#9de3ba}.boss-actions [data-boss-camp]{margin-left:auto}.stage-tile.is-boss .stage-map-preview{outline:1px solid #d4b8f3;outline-offset:-1px}.stage-boss-label{color:#f3d99f;font-size:11px;font-weight:700}.stage-tile.is-boss .stage-card-caption>strong{color:#f5dfae}@media(pointer:coarse){.boss-actions button{min-height:44px}}@media(max-width:560px){.boss-panel{padding:12px}.boss-heading h3{font-size:17px}.boss-actions{display:grid;grid-template-columns:1fr 1fr}.boss-actions [data-boss-camp]{margin:0}.boss-actions button:only-child{grid-column:1/-1}}.boss-map-overlay{position:absolute;inset:0;z-index:7;pointer-events:none;color:#e8edd4}.boss-map-overlay[hidden],.boss-map-overlay [hidden]{display:none}.boss-map-hud{position:absolute;top:12px;left:12px;right:12px;pointer-events:none}.boss-map-hud .boss-health{height:12px;margin:0;border:1px solid #47151b;border-radius:7px;background:#321820;box-shadow:0 1px 4px #03131b99;overflow:hidden}.boss-map-hud .boss-health i{background:linear-gradient(180deg,#ef625f,#c62d3b)}.boss-health-readout{position:relative;isolation:isolate;display:flex;align-items:baseline;gap:4px;width:max-content;margin-top:3px;padding:0 2px;color:#fff5ec;line-height:1.2;text-shadow:0 2px 3px #160d12,1px 0 1px #160d12,-1px 0 1px #160d12,0 -1px 1px #160d12}.boss-health-readout:before{content:"";position:absolute;z-index:-1;inset:-5px -10px -6px -5px;border-radius:50%;background:radial-gradient(ellipse at center,#100d12b3,#100d1280 28%,#100d1233 50%,#100d1200 70%);filter:blur(4px);pointer-events:none}.boss-health-readout strong{font-size:22px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.01em}.boss-health-readout span{font-size:16px;font-weight:600;letter-spacing:.08em;color:inherit}.boss-control-immunity{margin-top:2px;gap:6px}.boss-control-immunity span{font-size:12px;letter-spacing:.01em}.boss-control-immunity strong{font-size:14px}.boss-map-challenge{position:absolute;left:12px;bottom:12px;pointer-events:auto;min-height:44px;padding:9px 14px;background:#0c2934ed;color:var(--text);border:1px solid var(--mint);box-shadow:0 2px 8px #03131b66;font-weight:650}.boss-map-challenge:not(:disabled){animation:boss-challenge-cue 2.6s ease-in-out infinite}.boss-map-challenge:hover{background:#20483f}.boss-map-challenge:focus-visible{outline:3px solid var(--mint);outline-offset:3px}@keyframes boss-challenge-cue{0%,65%,to{transform:translateY(0);box-shadow:0 2px 8px #03131b66}35%{transform:translateY(-2px);box-shadow:0 0 0 4px #a4e6cc25,0 2px 14px #a4e6cc55}}.boss-map-overlay.reduced-motion .boss-map-challenge{animation:none}@media(prefers-reduced-motion:reduce){.boss-map-challenge:not(:disabled){animation:none}}@media(max-width:560px){.boss-map-hud{top:8px;left:8px;right:8px}.boss-map-challenge{left:8px;bottom:8px;max-width:calc(100% - 118px);font-size:12px;padding:7px 10px}}.boss-map-continue{position:absolute;left:12px;bottom:66px;pointer-events:auto;min-height:44px;max-width:calc(100% - 130px);padding:8px 12px;background:#0c2934ed;border:1px solid var(--mint);color:var(--text)}@media(max-width:560px){.boss-map-continue{left:8px;bottom:60px;font-size:12px}}img[src$="/portrait.png"],img[src^="/assets/shiny/"][src$=".png"]{object-fit:cover;object-position:center;image-rendering:pixelated;border-radius:0;scale:1.2;clip-path:circle(41.666667% at 50% 50%)}#dex-entry .dex-evo-portrait{border-radius:50%}#dex-entry .dex-evo-portrait img{clip-path:circle(41.666667% at 50% 50%);border-radius:0}.battle-setup-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0;flex:none;margin-block-end:8px}.battle-setup-controls button{min-height:36px;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:6px 12px;font-size:13px}.battle-setup-dialog{width:min(1180px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.battle-setup-dialog h2{margin:0;font-size:20px}.battle-setup-dialog p{line-height:1.5}.battle-setup-dialog .battle-setup-intro{margin:8px 0 12px;color:var(--muted);font-size:14px}.battle-setup-dialog fieldset{min-width:0;margin:12px 0;padding:8px;border:1px solid var(--line);border-radius:8px}.battle-setup-dialog legend{padding-inline:8px}.battle-setup-dialog legend span{color:var(--muted);font-variant-numeric:tabular-nums}.battle-setup-roster{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;max-height:32dvh;overflow:auto;padding:4px}.battle-setup-team{max-height:none;overflow:visible}.battle-setup-mon{position:relative;display:flex;align-items:center;gap:8px;min-width:0;min-height:72px;padding:8px;text-align:start;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.battle-setup-mon>span:first-of-type{display:grid;gap:4px;min-width:0;flex:1}.battle-setup-mon strong{padding-inline-end:12px;overflow-wrap:anywhere;font-size:14px}.battle-setup-mon small{font-size:12px;color:var(--muted)}.battle-setup-mon [data-setup-mark]{position:absolute;inset-block-start:6px;inset-inline-end:6px;font-size:14px;line-height:16px;color:var(--muted)}.battle-setup-mon .portrait{width:40px;height:40px;flex:none}.battle-setup-mon:disabled{opacity:.75}.battle-setup-mon[aria-pressed=true]{border-color:var(--mint)}.battle-setup-mon[aria-pressed=true] [data-setup-mark]{color:var(--mint)}.battle-setup-dialog button:disabled{cursor:default}.battle-setup-opponents{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.battle-setup-opponents select{font:inherit;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:8px 12px;min-height:44px}.battle-setup-opponents select:focus-visible{outline:3px solid var(--mint);outline-offset:4px}.battle-setup-matchup{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 16px;margin-block-start:12px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.battle-setup-matchup .battle-setup-opponents{justify-content:flex-start;font-size:14px}.battle-setup-matchup select{min-height:36px;padding-block:6px}.battle-setup-matchup .battle-setup-preview{margin:0;font-size:14px}.battle-setup-preview{color:var(--mint);font-weight:600}.battle-setup-hint{color:var(--muted);font-size:14px}.battle-setup-error{color:var(--orange)}.battle-setup-error:empty{display:none}.battle-setup-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-block-start:16px}.battle-setup-actions button,.battle-setup-dialog .section-heading button{min-height:44px;min-width:44px}.battle-setup-actions [data-setup-default]{margin-inline-end:auto}.combat-panel .team-tabs button{height:24px;min-height:24px;padding-block:0;line-height:20px}.battle-setup-browser{margin-block:12px}.battle-setup-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised,var(--surface))}.battle-setup-browser label{display:grid;gap:4px;min-width:0;font-size:13px;color:var(--muted)}.battle-setup-browser :is(input,select){width:100%;min-width:0;min-height:36px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:#e9f1f8;font:inherit}.battle-setup-browser :is(input,select):focus-visible{outline:3px solid var(--mint);outline-offset:2px}.battle-setup-browser .battle-setup-sort{display:flex;align-items:center;gap:8px}.battle-setup-sort select{width:auto;max-width:200px;flex:1;color:var(--mint)}.battle-setup-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--mint);font-size:13px;white-space:nowrap}.battle-setup-filter-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.battle-setup-filter-toggle:is(.is-active,[aria-expanded=true]){border-color:var(--mint);background:#23493f}.battle-setup-advanced{margin-block-start:8px;padding:12px;border:1px solid var(--line);border-radius:8px}.battle-setup-advanced[hidden]{display:none}.battle-setup-advanced .battle-setup-hint{margin-block:8px 0;font-size:13px}.battle-setup-filters{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.battle-setup-filters label{flex:1 1 120px}.battle-setup-filters .battle-setup-bound{flex:0 1 80px}.battle-setup-filters button{min-height:36px}.battle-setup-results-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-block:12px 4px}.battle-setup-browser .battle-setup-favorite{display:flex;align-items:center;gap:8px;min-height:36px;flex:0 0 auto;padding:6px 8px;color:var(--mint);cursor:pointer}.battle-setup-browser .battle-setup-favorite input{width:18px;height:18px;min-height:18px;padding:0;margin:0;accent-color:var(--mint);flex:none}.battle-setup-favorite-mark{color:var(--yellow)}.battle-setup-dialog .battle-setup-mon{cursor:grab;touch-action:pan-y;transform:none;transition:background-color .15s,border-color .15s}.battle-setup-mon>span:first-of-type{padding-inline-end:16px}.battle-setup-dialog .battle-setup-dragging{opacity:.5;cursor:grabbing}.battle-setup-dialog .battle-setup-drop-target{outline:2px solid var(--mint);outline-offset:2px;background:#23493f}.battle-setup-is-dragging,.battle-setup-is-dragging .battle-setup-mon{cursor:grabbing}.battle-setup-drag-ghost{position:fixed;z-index:50;pointer-events:none;max-width:min(320px,calc(100vw - 16px));padding:8px 12px;border:1px solid var(--mint);border-radius:6px;background:var(--surface);color:var(--mint);font-size:14px;box-shadow:0 4px 16px #0006}.battle-setup-results-heading h3{margin:0;font-size:14px;font-weight:600}.battle-setup-results-heading small{color:var(--muted);font-size:13px}.battle-setup-empty{grid-column:1/-1;margin:8px;color:var(--muted);font-size:14px}@media(max-width:1100px){.battle-setup-roster{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.battle-setup-controls button{min-height:44px}.battle-setup-dialog{padding:16px}.battle-setup-roster{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-setup-dialog .section-heading{gap:8px}.battle-setup-search-row{grid-template-columns:minmax(0,1fr) auto}.battle-setup-search{grid-column:1/-1}.battle-setup-browser :is(input,select),.battle-setup-filters button,.battle-setup-filter-toggle,.battle-setup-matchup select{min-height:44px;font-size:16px}}body select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;background-color:#143345!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2399e0c3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 8px center!important;background-size:16px!important;padding-inline-end:30px!important}body select option,body select optgroup{background:#143345;color:#e9f1f8}body .map-size-control{background:#143345}body .map-size-control:hover,body .map-size-control:focus-within{background:#143345}body .map-size-control select:not([multiple]):not([size]){background-color:transparent!important;background-image:none!important}[dir=rtl] select:not([multiple]):not([size]){background-position:left 8px center!important}@media(forced-colors:active){body select:not([multiple]):not([size]){appearance:auto;background-image:none!important;background-color:Canvas!important;color:CanvasText}}.battle-setup-dialog [hidden],.battle-setup-controls button[hidden]{display:none!important}.battle-setup-slot{display:flex;align-items:center;gap:8px;min-width:0;min-height:72px;padding:8px;text-align:start;border:1px dashed var(--mint);border-radius:8px;background:transparent;color:var(--mint)}.battle-setup-slot svg{width:40px;height:40px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.battle-setup-slot span{display:grid;gap:4px;min-width:0}.battle-setup-slot strong{font-size:14px;overflow-wrap:anywhere}.battle-setup-slot small{font-size:12px;color:var(--muted)}.battle-setup-types{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.battle-setup-entry{position:relative;min-width:0;display:grid}.battle-setup-entry>.battle-setup-mon{width:100%;height:100%}.battle-setup-entry .battle-setup-mon strong{padding-inline-end:28px}.battle-setup-entry .battle-setup-mon [data-setup-mark]{inset-block-start:auto;inset-block-end:8px}.battle-setup-dialog .battle-setup-info{position:absolute;inset-block-start:6px;inset-inline-end:6px;display:grid;place-items:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:4px;border:0;border-radius:5px;background:transparent;color:var(--mint);cursor:pointer;transform:none}.battle-setup-info svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.battle-setup-dialog .battle-setup-info:hover{background:var(--surface-raised);color:var(--text)}.battle-setup-dialog .battle-setup-info:focus-visible{outline:2px solid var(--mint);outline-offset:2px}@media(pointer:coarse){.battle-setup-dialog .battle-setup-info{width:44px;height:44px;min-width:44px;min-height:44px}.battle-setup-entry .battle-setup-mon strong{padding-inline-end:40px}}.battle-layout-container{container:battle-layout / inline-size;min-width:0}.battle-layout-container>.team-battle-layout{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-areas:"arena" "catch" "combat";gap:12px;align-items:start;width:100%;max-width:var(--battlemap-width,910px);margin-inline:auto}.team-battle-layout>.battle-player{grid-area:arena;order:0!important;min-width:0;max-width:var(--battlemap-width,910px);width:100%!important;justify-self:center}.team-battle-layout>.combat-panel{grid-area:combat;order:0!important;width:100%;min-width:0}.team-battle-layout>.catch-panel{grid-area:catch;order:0!important}.team-battle-layout .team-rows{display:grid;grid-template-columns:minmax(0,1fr)}.catch-panel{--catch-row-height:72px;display:flex;flex-direction:column;min-width:0;min-height:0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#102a35);overflow:hidden}.catch-panel>.section-heading{flex:none;gap:8px;margin-block-end:8px}.catch-panel h2{display:flex;align-items:center;gap:8px;margin:0;font-size:16px}#catch-target-count{display:inline-grid;place-items:center;min-width:24px;padding:2px 6px;border-radius:999px;background:#20453f;color:var(--mint);font-size:12px;font-variant-numeric:tabular-nums}.catch-stock{display:flex;align-items:center;gap:4px;color:var(--text);font-size:13px;font-variant-numeric:tabular-nums}.catch-stock img{flex:none;image-rendering:pixelated}.catch-panel .catch-filters{flex:none;display:flex;flex-direction:row;flex-wrap:wrap;align-items:stretch;gap:8px;margin:0 0 8px;padding:0;border:0;background:transparent}.catch-panel .catch-order{flex:1 1 168px;width:auto;max-width:220px}.catch-panel .catch-owned-filter{flex:none;justify-content:flex-start;padding:8px;white-space:nowrap}.catch-panel .catch-filters select{color:var(--text);padding:8px 32px 8px 40px}.catch-panel .catch-sort-chevron{display:block}.catch-panel .catch-appearance select{padding-inline:8px 28px}.catch-shiny-owned{color:var(--yellow,#ffe39a);font-size:11px}.catch-panel #captures{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));grid-auto-flow:row;grid-auto-rows:var(--catch-row-height);align-content:start;gap:4px;min-width:0;min-height:0;max-height:calc(3 * var(--catch-row-height) + 16px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:auto;scrollbar-gutter:stable;padding:4px;scroll-padding:4px}.catch-target-shell{position:relative;min-width:0;width:100%;height:var(--catch-row-height)}.catch-target{display:grid;grid-template-columns:48px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;width:100%;height:100%;min-width:0;min-height:0;padding:8px 48px 8px 4px;text-align:start;border:1px solid var(--line);border-radius:6px;background:#122e37;color:var(--text);line-height:1.4}.catch-target:hover{border-color:var(--mint);background:#20453f}.catch-target .pokemon-portrait{grid-column:1;grid-row:1 / 3;display:block;width:48px;height:48px;object-fit:contain}.catch-target>span{grid-column:2;align-self:end;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.catch-target .catch-time{grid-column:2;align-self:start;color:var(--yellow,#ffe39a);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.catch-target-info{position:absolute;inset-inline-end:4px;inset-block-start:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--mint);font:700 18px/1 Georgia,serif}.catch-target-info:hover{background:#20453f;color:var(--text)}.catch-target-info:active{transform:translateY(-50%)}.catch-panel :is(.catch-target,.catch-target-info,#captures):focus-visible{outline:2px solid var(--mint);outline-offset:2px}.catch-empty{grid-column:1 / -1;display:block;margin:0;padding:12px 4px;color:var(--muted);font-size:14px;line-height:1.5}@container battle-layout (min-width:560px) and (max-width:899.99px){.team-battle-layout .team-rows{grid-template-columns:repeat(2,minmax(0,1fr))}}@container battle-layout (min-width:900px){.battle-layout-container>.team-battle-layout{grid-template-columns:320px minmax(0,1fr);grid-template-areas:"combat arena" "combat catch";max-width:calc(332px + var(--battlemap-width,910px))}.team-battle-layout .team-rows{display:block}}@container battle-layout (min-width:1144px){.battle-layout-container>.team-battle-layout{grid-template-columns:320px minmax(0,1fr) 240px;grid-template-areas:"combat arena catch";max-width:calc(584px + var(--battlemap-width,910px))}.team-battle-layout>.catch-panel{height:var(--catch-panel-height,560px)}.catch-panel .catch-filters{flex-direction:column;gap:4px}.catch-panel .catch-order{flex:none;width:100%;max-width:none}.catch-panel #captures{grid-template-columns:minmax(0,1fr);flex:1;max-height:none}}.catch-shiny{isolation:isolate;border-radius:6px}.catch-shiny .catch-target{position:relative;isolation:isolate;overflow:hidden;border:2px solid var(--yellow,#ffe39a);background:linear-gradient(110deg,#ffc9dd12,#ffecb812 28%,#c1ffe812 55%,#bcdcff12 78%,#e6c7ff12),#122e37}.catch-shiny .catch-target:before{content:"";position:absolute;z-index:-1;inset-block-start:50%;inset-inline-start:-28px;width:112px;height:112px;border-radius:50%;pointer-events:none;background:conic-gradient(from 0deg,#ffbedb55,#ffe1b355,#fff6bc55,#c7f5cd55,#bceff655,#c5d1ff55,#e5c5ff55,#ffbedb55),radial-gradient(circle,#ffffff22,transparent 65%);filter:blur(4px);-webkit-mask-image:radial-gradient(circle,#000 15%,#000b 38%,transparent 68%);mask-image:radial-gradient(circle,#000 15%,#000b 38%,transparent 68%);transform:translateY(-50%);animation:catch-shiny-aura 6s linear infinite}.catch-shiny:after{content:"";position:absolute;inset:0;z-index:2;border:2px solid #fff4cf;border-radius:inherit;box-shadow:inset 0 0 8px #ffe39a88,0 0 6px #ffe39a66;pointer-events:none;animation:catch-shiny-border 2.4s ease-in-out infinite}.catch-shiny .catch-target>span,.catch-shiny .catch-time{position:relative}@keyframes catch-shiny-aura{to{transform:translateY(-50%) rotate(360deg)}}@keyframes catch-shiny-border{0%,to{opacity:.3}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.catch-shiny:after,.catch-shiny .catch-target:before{animation:none}}.shiny-reduced-motion .catch-shiny:after,.shiny-reduced-motion .catch-shiny .catch-target:before{animation:none}.catch-shiny .catch-target:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(115deg,transparent 25%,#ffc7df00 32%,#ffc7df20 39%,#ffeab828 44%,#d0ffd930 48%,#ffffff38 50%,#c3efff30 52%,#cfc7ff28 57%,#edc7ff20 63%,#edc7ff00 70%,transparent 77%);transform:translate(-140%);opacity:0;animation:catch-shiny-glass 5s ease-in-out infinite}@keyframes catch-shiny-glass{0%,12%{transform:translate(-140%);opacity:0}24%{opacity:1}65%{opacity:1}78%,to{transform:translate(140%);opacity:0}}@media(prefers-reduced-motion:reduce){.catch-shiny .catch-target:after{animation:none}}.shiny-reduced-motion .catch-shiny .catch-target:after{animation:none}:root{--xp-gap-red:#ff9eaa}.xp-gap-info{display:inline-grid;place-items:center;flex:0 0 24px;inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px;margin:0;padding:2px;border:0;border-radius:4px;background:transparent;color:var(--xp-gap-red);vertical-align:middle;pointer-events:auto;cursor:pointer}.xp-gap-info svg{inline-size:20px;block-size:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.xp-gap-info[hidden]{display:none}.xp-gap-info:is(:hover,[aria-expanded=true]){background:#ff9eaa18;box-shadow:inset 0 0 0 1px var(--xp-gap-red)}body .xp-gap-info:focus-visible{outline:2px solid var(--xp-gap-red);outline-offset:2px}.stages-tab-warning{display:flex;align-items:center;min-inline-size:0;border:1px solid transparent;border-radius:5px}.stages-tab-warning.has-xp-gap{border-color:var(--xp-gap-red)}.roster-world-tabs .stages-tab-warning.has-xp-gap [role=tab]{color:var(--xp-gap-red)}.stages-tab-warning.has-xp-gap [role=tab]{padding-inline-end:4px}.stages-tab-warning>.xp-gap-info{margin-inline-end:4px}.arena-heading.has-xp-gap{border-color:var(--xp-gap-red);box-shadow:inset 0 -1px var(--xp-gap-red)}#stage-name .battleground-stage-xp.has-xp-gap{display:inline-flex;align-items:center;gap:4px;padding:2px 4px;border:1px solid var(--xp-gap-red);border-radius:5px;color:var(--xp-gap-red)}#stages .stage-tile.has-xp-gap>button[data-stage][aria-current]{border-color:var(--xp-gap-red)}#stages .stage-tile.has-xp-gap .stage-card-meta .stage-xp-bonus{display:inline-flex;align-items:center;gap:4px;color:var(--xp-gap-red)}.xp-gap-label{font-weight:600}#map-stage-options button.has-xp-gap{border-color:var(--xp-gap-red)}.map-stage-options .map-stage-xp.has-xp-gap{color:var(--xp-gap-red)}.map-stage-options .map-stage-xp.has-xp-gap .xp-gap-label{display:block;white-space:nowrap}.combat-tooltip.xp-gap-tooltip{color:var(--xp-gap-red);border-color:var(--xp-gap-red);white-space:pre-line;font-size:16px;line-height:1.5;max-inline-size:min(420px,calc(100vw - 16px));max-block-size:calc(100dvh - 16px);overflow-y:auto}.combat-tooltip.xp-gap-tooltip.is-pinned{pointer-events:auto;overscroll-behavior:auto}.combat-tooltip .xp-gap-pokemon,.combat-tooltip .xp-preview-value.has-gap{color:var(--xp-gap-red)}.combat-tooltip.stage-tooltip section>b.xp-gap-heading,.combat-tooltip .xp-gap-values{color:var(--xp-gap-red)}#collection .companion.has-xp-gap{border-color:var(--xp-gap-red)}#collection .collection-gap-info,.team-row .team-gap-info{display:inline-flex;gap:4px;inline-size:auto;min-inline-size:0;flex-basis:auto;font-size:11px;font-weight:600;white-space:nowrap}.team-row.has-xp-gap{box-shadow:inset 2px 0 var(--xp-gap-red)}.team-row .team-gap-info{margin:2px 0 4px 8px}@media(min-width:901px){.team-row.has-xp-gap>.team-gap-info{grid-column:1 / -1;grid-row:3;justify-self:start}.team-row.has-xp-gap>.team-moves{grid-row:4}.team-row.has-xp-gap>.team-expanded{grid-row:5}}#collection .companion.has-xp-gap .companion-title>.collection-gap-info{grid-column:1 / -1;grid-row:1;justify-self:center;align-self:center}#collection .companion.has-xp-gap .companion-title>.portrait{grid-column:1;grid-row:2}#collection .companion.has-xp-gap .companion-title>div{grid-column:2;grid-row:2}#collection .companion.has-xp-gap .companion-title>.collection-info{grid-column:3;grid-row:2}@media(max-width:900px){.arena-heading.has-xp-gap:has(.battleground-stage-xp){min-height:64px;padding-block-end:40px}#stage-name .battleground-stage-xp.has-xp-gap{top:auto;bottom:8px;transform:translate(-50%)}}@media(max-width:640px){.roster-world-tabs:has(.stages-tab-warning.has-xp-gap){flex-wrap:wrap}.roster-world-tabs>.stages-tab-warning{flex:1}.stages-tab-warning.has-xp-gap [role=tab]{padding-inline:4px}.stages-tab-warning>.xp-gap-info{margin-inline-end:0}}@media(pointer:coarse){.xp-gap-info{flex-basis:44px;inline-size:44px;block-size:44px;min-inline-size:44px;min-block-size:44px}.arena-heading.has-xp-gap:has(.battleground-stage-xp){padding-block-end:56px}}.stage .auto-camp-return{position:absolute;inset-block-start:12px;inset-inline-end:12px;z-index:12;display:flex;align-items:center;gap:8px;min-height:48px;min-width:0;padding:4px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised,var(--surface));color:var(--text,#e9f1f8);box-shadow:0 4px 14px color-mix(in srgb,var(--art-page,#091b29) 35%,transparent);cursor:pointer;pointer-events:auto;text-align:start}.auto-camp-return[hidden]{display:none!important}.auto-camp-return svg{width:38px;height:38px;flex:none;color:var(--muted)}.auto-camp-ring-track{fill:none;stroke:var(--line);stroke-width:.7;opacity:.35}.auto-camp-copy{display:grid;gap:2px;min-width:78px}.auto-camp-copy strong{font-size:10px;font-weight:650;line-height:1.3;color:var(--text,#e9f1f8)}.auto-camp-meta{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.auto-camp-meta small{font-size:9px;white-space:nowrap;color:var(--muted)}.auto-camp-countdown{font-size:16px;line-height:1.15;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.4px;color:var(--muted)}.stage .auto-camp-return[aria-pressed=true]{border-color:color-mix(in srgb,var(--mint) 65%,var(--line));background:color-mix(in srgb,var(--mint) 9%,var(--surface));color:var(--text,#e9f1f8)}.auto-camp-return[aria-pressed=true] :is(svg,.auto-camp-countdown,.auto-camp-meta small){color:var(--mint)}.auto-camp-return .auto-camp-orbit{transform-box:view-box;transform-origin:50% 50%}.auto-camp-return[aria-pressed=true] .auto-camp-orbit{animation:auto-camp-orbit 7s linear infinite}.stage .auto-camp-return:not(:disabled):hover{background:var(--art-hover,var(--surface));border-color:var(--mint);color:var(--text,#e9f1f8)}.stage .auto-camp-return:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.stage .auto-camp-return:disabled{opacity:.6;cursor:default;background:var(--surface);border-color:var(--line);color:var(--muted)}.stage.has-auto-camp-return #map-item-unlocks{max-width:calc(100% - 174px)}.stage.has-auto-camp-return .boss-map-hud{right:174px}@keyframes auto-camp-orbit{to{transform:rotate(360deg)}}@media(max-width:640px){.stage .auto-camp-return{inset-block-start:8px;inset-inline-end:8px;min-height:44px;min-width:0;padding:5px 7px;gap:6px}.auto-camp-return svg{width:32px;height:32px}.auto-camp-copy{min-width:76px}.auto-camp-copy strong{font-size:10px}.auto-camp-countdown{font-size:15px}.stage.has-auto-camp-return #map-item-unlocks{max-width:calc(100% - 154px)}}@media(prefers-reduced-motion:reduce){.auto-camp-return[aria-pressed=true] .auto-camp-orbit{animation:none}}@media(max-width:640px){.stage.has-auto-camp-return .boss-map-hud{right:154px}}html body #achievements-view .achievement-journal button.achievement-claim:not(:disabled):is(:hover,:focus-visible){background:var(--art-accent-fill,var(--ach-accent));color:var(--art-accent-ink,#0d2929);border-color:var(--ach-accent);box-shadow:inset 0 0 0 2px var(--art-accent-ink,#0d2929)}html body #achievements-view .achievement-journal button.achievement-claim:not(:disabled):active{box-shadow:inset 0 0 0 3px var(--art-accent-ink,#0d2929)}#adventure>.supplies-panel{position:sticky;inset-block-start:0;z-index:100;background:var(--surface,#102b3a);box-shadow:0 4px 12px #0003}html{scroll-padding-block-start:calc(var(--currency-bar-height,64px) + 12px)}#adventure #shop-view .shop-tools{top:var(--currency-bar-height,64px)}#merit-wallet{display:inline-flex;align-items:center;gap:4px;color:var(--art-warning,var(--yellow,#f0cf81));font-variant-numeric:tabular-nums;white-space:nowrap}#merit-wallet svg{inline-size:24px;block-size:24px;fill:currentColor;flex:none}#merit-wallet strong{font-size:18px}.claim-effects{position:fixed;inset:0;z-index:1400;pointer-events:none;overflow:hidden}.claim-celebration{position:fixed;inset-block-start:45%;inset-inline-start:50%;transform:translate(-50%,-50%);z-index:1401;pointer-events:none;max-inline-size:calc(100vw - 32px);padding:20px 24px;border:1px solid var(--mint);border-radius:12px;background:var(--surface,#102b3a);color:var(--text,#e9f1f8);box-shadow:0 8px 32px #0005;text-align:center}.claim-celebration>strong{font:700 24px/1.3 Segoe UI,system-ui,sans-serif;color:var(--mint)}.claim-celebration-rewards{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-block-start:12px}.claim-reward-chip{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font:600 18px/1.4 Segoe UI,system-ui,sans-serif;font-variant-numeric:tabular-nums}.claim-reward-chip img,.claim-reward-chip svg,.claim-flying-icon img,.claim-flying-icon svg{display:block;inline-size:28px;block-size:28px;object-fit:contain}.claim-reward-chip svg,.claim-flying-icon svg{fill:var(--art-warning,var(--yellow,#f0cf81))}.claim-flying-icon{position:absolute;display:grid;place-items:center;inline-size:32px;block-size:32px;filter:drop-shadow(0 2px 4px #0005)}@media(max-width:640px){.claim-celebration{padding:16px;inline-size:max-content}.claim-celebration>strong{font-size:20px}.claim-reward-chip{font-size:16px}}@media(prefers-reduced-motion:reduce){.claim-flying-icon{display:none}}#achievements-view .merit-atlas{--atlas-gold:var(--ach-gold,var(--art-warning,#f1d49a));--atlas-accent:var(--ach-accent,var(--mint));--atlas-ink:var(--text,#e9f1f8);--atlas-paper:var(--surface);--atlas-raised:var(--surface-raised,var(--surface));color:var(--atlas-ink);container-type:inline-size}#achievements-view .merit-atlas .merit-atlas-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:8px 16px;border-bottom:1px solid color-mix(in srgb,var(--atlas-gold) 45%,var(--line))}#achievements-view .merit-atlas-heading h3{display:flex;align-items:center;gap:12px;font:600 clamp(24px,3cqi,36px)/1.15 Georgia,serif;letter-spacing:-.5px;margin:0}#achievements-view .merit-atlas-heading h3>svg{width:28px;height:28px;fill:var(--atlas-gold);flex:none}#achievements-view .merit-atlas-heading p{font-size:14px;line-height:1.5;margin:6px 0 0;color:var(--muted)}#achievements-view .merit-atlas-totals{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}#achievements-view .merit-atlas-totals>strong{color:var(--atlas-gold);font-size:22px;font-weight:600;white-space:nowrap}#achievements-view .merit-atlas-totals>strong span{font-size:14px}#achievements-view .merit-atlas-totals>span{padding-inline-start:16px;border-inline-start:1px solid var(--line);white-space:nowrap}#achievements-view .merit-atlas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-block:16px}#achievements-view .merit-view-switch{display:flex;gap:4px}#achievements-view .merit-atlas-toolbar button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;color:var(--muted);border:1px solid var(--line);background:var(--atlas-paper);border-radius:8px}#achievements-view .merit-atlas-toolbar button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}#achievements-view .merit-atlas-toolbar button[aria-pressed=true]{color:var(--atlas-ink);border-color:var(--atlas-gold);background:color-mix(in srgb,var(--atlas-gold) 9%,var(--atlas-paper));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--atlas-gold) 20%,transparent)}#achievements-view .merit-atlas-toolbar button:hover:enabled{color:var(--atlas-ink);border-color:var(--atlas-accent)}#achievements-view .merit-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(248px,30%);gap:20px;align-items:start}#achievements-view .merit-map-scroll{overflow:auto;min-width:0;border-radius:12px;scrollbar-width:thin}#achievements-view .merit-star-map{position:relative;min-width:560px;height:520px;background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--atlas-accent) 5%,transparent),transparent 65%),radial-gradient(circle at 20% 30%,color-mix(in srgb,var(--atlas-gold) 28%,transparent) .75px,transparent 1px);background-size:auto,73px 67px;isolation:isolate}#achievements-view .merit-orbits{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;fill:none}#achievements-view .merit-orbits ellipse{stroke:var(--line);stroke-width:.7;stroke-dasharray:2 6}#achievements-view .merit-orbits path{stroke:var(--line);stroke-width:1.5;vector-effect:non-scaling-stroke}#achievements-view .merit-orbits path.is-lit{stroke:var(--atlas-gold)}#achievements-view button.merit-star{position:absolute;inset-inline-start:var(--node-x);inset-block-start:var(--node-y);transform:translate(-50%,-30px);width:76px;min-height:100px;padding:4px 0;display:flex;flex-direction:column;align-items:center;justify-content:start;gap:4px;border:0;border-radius:8px;box-shadow:none;background:transparent;color:var(--muted);text-align:center;font-family:inherit;line-height:1.3;cursor:pointer}#achievements-view .merit-star-token{position:relative;display:grid;place-items:center;width:52px;height:52px;box-sizing:border-box;border:2px solid var(--line);border-radius:50%;background:radial-gradient(circle at 35% 25%,var(--atlas-raised),var(--atlas-paper));box-shadow:0 0 0 3px var(--atlas-paper),inset 0 0 0 3px var(--atlas-paper),inset 0 0 0 4px var(--line);transition:transform .2s ease-out,box-shadow .2s ease-out}#achievements-view .merit-star-token svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}#achievements-view .merit-star-token>i{position:absolute;inset:-5px -4px auto auto;display:grid;place-items:center;min-width:16px;height:16px;font-style:normal;font-size:12px;background:var(--atlas-paper);border-radius:50%}#achievements-view .merit-star>strong{font-size:12px;font-weight:600;color:var(--atlas-ink);overflow-wrap:anywhere}#achievements-view .merit-star>small{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}#achievements-view .merit-star.is-earned .merit-star-token{color:var(--atlas-gold);border-color:var(--atlas-gold);background:radial-gradient(circle at 35% 25%,color-mix(in srgb,var(--atlas-gold) 18%,var(--atlas-paper)),var(--atlas-paper));box-shadow:0 0 0 3px var(--atlas-paper),inset 0 0 0 3px var(--atlas-paper),inset 0 0 0 4px color-mix(in srgb,var(--atlas-gold) 45%,var(--line))}#achievements-view .merit-star.is-earned>small{color:var(--atlas-gold)}#achievements-view .merit-star.is-next .merit-star-token{color:var(--atlas-accent);border-color:var(--atlas-accent)}#achievements-view .merit-star.is-selected .merit-star-token{border-color:var(--atlas-accent);color:var(--atlas-accent);box-shadow:0 0 0 3px var(--atlas-paper),0 0 0 5px var(--atlas-accent),0 0 24px color-mix(in srgb,var(--atlas-accent) 20%,transparent)}#achievements-view button.merit-star:hover .merit-star-token{transform:translateY(-4px) scale(1.06)}#achievements-view .merit-star.is-equipped .merit-star-token>i{color:var(--atlas-gold)}#achievements-view [data-merit-layout=case] .merit-star-map{display:grid;grid-template-columns:repeat(auto-fit,minmax(82px,1fr));gap:8px;min-width:0;height:auto;min-height:520px;padding:16px;box-sizing:border-box;border:1px solid var(--line);background:repeating-linear-gradient(0deg,transparent,transparent 123px,color-mix(in srgb,var(--atlas-gold) 25%,var(--line)) 124px,transparent 126px),var(--atlas-paper);border-radius:10px}#achievements-view [data-merit-layout=case] .merit-orbits{display:none}#achievements-view [data-merit-layout=case] button.merit-star{position:relative;inset:auto;transform:none;justify-self:center;align-self:center;min-height:116px;width:82px}#achievements-view [data-merit-layout=case] .merit-star-token{border-radius:16px 16px 50% 50%}#achievements-view .merit-inspector{position:relative;min-width:0;box-sizing:border-box;padding:16px;border:1px solid var(--atlas-gold);border-radius:4px;background:radial-gradient(ellipse at 50% 15%,color-mix(in srgb,var(--atlas-accent) 7%,transparent),transparent 50%),var(--atlas-paper);box-shadow:inset 0 0 0 4px var(--atlas-paper),inset 0 0 0 5px color-mix(in srgb,var(--atlas-gold) 40%,var(--line))}#achievements-view .merit-inspector:before,#achievements-view .merit-inspector:after{content:"✦";position:absolute;inset:5px auto auto 8px;color:var(--atlas-gold);font-size:16px;pointer-events:none}#achievements-view .merit-inspector:after{inset:auto 8px 5px auto}#achievements-view .merit-reveal-stage{position:relative;height:164px;display:grid;place-items:center;isolation:isolate}#achievements-view .merit-reveal-orbit{position:absolute;width:152px;height:152px;border:1px solid color-mix(in srgb,var(--atlas-gold) 35%,transparent);border-radius:50%;transform:rotate(-25deg)}#achievements-view .merit-reveal-orbit:before{content:"";position:absolute;inset:12px;border:1px dashed color-mix(in srgb,var(--atlas-gold) 35%,transparent);border-radius:50%}#achievements-view .merit-reveal-orbit:after{content:"";position:absolute;width:8px;height:8px;inset:16px 16px auto auto;border-radius:50%;background:var(--atlas-gold);box-shadow:0 0 12px color-mix(in srgb,var(--atlas-gold) 45%,transparent)}#achievements-view .merit-showpiece{display:grid;place-items:center;width:100px;height:100px;color:var(--atlas-gold);border:3px solid var(--atlas-gold);border-radius:50%;background:radial-gradient(circle at 30% 20%,color-mix(in srgb,var(--atlas-accent) 25%,var(--atlas-paper)),var(--atlas-paper));box-shadow:0 0 0 4px var(--atlas-paper),0 0 0 5px var(--atlas-gold),inset 0 0 0 4px var(--atlas-paper),0 0 32px color-mix(in srgb,var(--atlas-accent) 15%,transparent)}#achievements-view .merit-showpiece svg{width:60px;height:60px;stroke:currentColor;fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}#achievements-view .merit-stage-spark{position:absolute;inset:4px auto auto 50%;color:var(--atlas-gold);font-size:24px}#achievements-view .merit-inspector-kind{display:block;text-align:center;color:var(--muted);font-size:12px}#achievements-view .merit-inspector h4{font-size:22px;line-height:1.25;text-align:center;margin:6px 0 8px;color:var(--atlas-accent);overflow-wrap:anywhere}#achievements-view .merit-inspector p{font-size:13px;line-height:1.5;margin:0;color:var(--muted);text-align:center}#achievements-view .merit-inspector-price{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-block:16px 8px;font-variant-numeric:tabular-nums}#achievements-view .merit-inspector-price strong{font-size:15px;color:var(--atlas-gold)}#achievements-view .merit-inspector-price span{font-size:12px;color:var(--muted)}#achievements-view .merit-inspector progress{height:6px;accent-color:var(--atlas-gold)}#achievements-view .merit-inspector progress::-webkit-progress-value{background:var(--atlas-gold)}#achievements-view .merit-inspector progress::-moz-progress-bar{background:var(--atlas-gold)}#achievements-view .merit-inspector-action{margin-block:12px}#achievements-view .merit-inspector button{font-family:inherit;font-size:12px;line-height:1.4;min-height:44px;padding:8px 12px;max-width:100%;border-radius:6px;border:1px solid var(--line);background:var(--atlas-raised);color:var(--atlas-ink)}#achievements-view .merit-inspector-action>button{width:100%;background:var(--art-accent-fill,var(--atlas-accent));color:var(--art-accent-ink,#102d2e);border-color:transparent;font-weight:650}#achievements-view .merit-inspector-action>button:disabled{background:var(--atlas-raised);color:var(--muted);border-color:var(--line);cursor:default}#achievements-view .merit-inspector-action>button[aria-pressed=true]{background:var(--atlas-paper);color:var(--atlas-gold);border-color:var(--atlas-gold)}#achievements-view .merit-live-preview{display:grid;justify-items:center;gap:8px;padding-block:12px;border-block:1px solid var(--line)}#achievements-view .merit-live-preview>small{font-size:11px;line-height:1.5;color:var(--muted);text-align:center}#achievements-view .merit-live-preview>button{min-height:32px;font-size:11px;padding:4px 8px;background:transparent}#achievements-view .merit-demo-number{display:flex;align-items:center;gap:8px;font-size:16px;font-variant-numeric:tabular-nums}#achievements-view .merit-demo-number>strong{color:var(--atlas-accent)}#achievements-view .merit-demo-slots{display:grid;grid-template-columns:repeat(5,20px);gap:6px}#achievements-view .merit-demo-slots i{height:16px;border:1px solid var(--line);border-radius:3px}#achievements-view .merit-demo-slots i.is-filled{background:var(--atlas-accent);border-color:var(--atlas-accent)}#achievements-view .merit-demo-journal{--demo-accent:var(--atlas-accent);--demo-wash:var(--atlas-paper);display:grid;gap:6px;width:100%;box-sizing:border-box;padding:12px;background:var(--demo-wash);border:1px solid var(--demo-accent);border-radius:4px;color:var(--demo-accent)}#achievements-view .merit-demo-journal strong{font-size:14px}#achievements-view .merit-demo-journal span{font-size:9px;letter-spacing:1px}#achievements-view .merit-demo-journal i{height:3px;background:var(--demo-accent);opacity:.45;width:75%}#achievements-view .merit-demo-journal i:last-child{width:45%}#achievements-view .merit-demo-title{display:grid;gap:4px;text-align:center}#achievements-view .merit-demo-title span{font-size:12px;color:var(--muted)}#achievements-view .merit-demo-title strong{font:600 22px/1.3 Georgia,serif;color:var(--atlas-gold)}#achievements-view .merit-demo-team,#achievements-view .merit-demo-catch{display:flex;align-items:center;gap:8px;padding:8px 12px;min-height:48px;box-sizing:border-box;width:100%;border:2px solid var(--line);border-radius:8px;background:var(--atlas-raised);font-size:13px}#achievements-view .merit-demo-team img,#achievements-view .merit-demo-catch img{object-fit:contain;image-rendering:pixelated}#achievements-view .merit-demo-team b{margin-inline-start:auto;color:var(--muted)}#achievements-view .merit-demo-team.is-celestial{border-color:var(--atlas-gold);box-shadow:inset 0 0 16px color-mix(in srgb,var(--atlas-accent) 18%,transparent)}#achievements-view .merit-demo-team.is-celestial b{color:var(--atlas-gold)}#achievements-view .merit-demo-catch.is-aurora{border-color:var(--atlas-accent);background:linear-gradient(var(--atlas-raised),var(--atlas-raised)) padding-box,linear-gradient(125deg,var(--atlas-accent),var(--atlas-gold),var(--atlas-accent)) border-box;border:2px solid transparent}#achievements-view .merit-demo-catch>span{flex:1}#achievements-view .merit-demo-emblem,#achievements-view .merit-demo-crest{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--muted)}#achievements-view .merit-demo-emblem svg,#achievements-view .merit-demo-crest svg{width:48px;height:48px;stroke:currentColor;fill:none;stroke-width:1.5}#achievements-view .merit-demo-emblem.is-prismatic{color:var(--atlas-accent);filter:drop-shadow(-3px 0 2px color-mix(in srgb,var(--atlas-gold) 55%,transparent)) drop-shadow(3px 0 2px color-mix(in srgb,var(--atlas-accent) 60%,transparent))}#achievements-view .merit-demo-crest.is-crest{color:var(--atlas-gold)}#achievements-view .merit-inspector .merit-replay{display:block;margin:12px auto 0;background:transparent;border-color:var(--atlas-gold);color:var(--atlas-gold)}#achievements-view .merit-inspector .merit-inspector-detail{margin-top:12px;font-size:11px;text-align:start}#achievements-view .merit-atlas-footer{display:flex;justify-content:space-between;align-items:start;gap:16px;border-top:1px solid color-mix(in srgb,var(--atlas-gold) 35%,var(--line));padding-top:12px;margin-top:16px}#achievements-view .merit-atlas-footer>p{font-size:12px;line-height:1.5;margin:0;color:var(--muted);max-width:70ch}#achievements-view .merit-legend{display:flex;gap:12px;flex:none;font-size:11px;color:var(--muted)}#achievements-view .merit-legend>span:first-child{color:var(--atlas-gold)}#achievements-view .merit-legend>span:nth-child(2){color:var(--atlas-accent)}#achievements-view .merit-atlas :focus-visible{outline:2px solid var(--atlas-accent);outline-offset:4px}#achievements-view .merit-star-map:dir(rtl) .merit-orbits{transform:scaleX(-1)}#achievements-view .merit-star-map:dir(rtl) button.merit-star{transform:translate(50%,-30px)}#achievements-view [data-merit-layout=case] .merit-star-map:dir(rtl) button.merit-star{transform:none}@container (max-width:900px){#achievements-view .merit-workspace{grid-template-columns:minmax(0,1fr)}#achievements-view .merit-star-map{height:380px}#achievements-view .merit-inspector{display:grid;grid-template-columns:160px minmax(0,1fr);gap:8px 16px}#achievements-view .merit-reveal-stage{grid-row:1/4;height:180px}#achievements-view .merit-inspector-kind,#achievements-view .merit-inspector h4,#achievements-view .merit-inspector p{text-align:start}#achievements-view .merit-inspector-action{margin-block:0}#achievements-view .merit-live-preview{grid-column:1/-1}#achievements-view .merit-inspector .merit-replay{grid-column:1/-1;margin:0 auto}#achievements-view .merit-inspector .merit-inspector-detail{grid-column:1/-1;margin:0}#achievements-view .merit-atlas-footer{flex-wrap:wrap}}@container (max-width:520px){#achievements-view .merit-atlas .merit-atlas-heading{align-items:start;gap:12px}#achievements-view .merit-atlas-totals{display:grid;gap:4px;text-align:end}#achievements-view .merit-atlas-totals>strong{font-size:18px}#achievements-view .merit-atlas-totals>span{padding:0;border:0;font-size:11px}#achievements-view .merit-atlas-heading h3{font-size:24px;gap:6px}#achievements-view .merit-atlas-heading h3>svg{width:20px;height:20px}#achievements-view .merit-atlas-heading p{font-size:12px}#achievements-view .merit-atlas-toolbar{flex-wrap:wrap;gap:8px}#achievements-view .merit-atlas-toolbar button{font-size:12px;padding:8px}#achievements-view .merit-atlas-toolbar>[data-merit-next]{min-height:32px;font-size:11px}#achievements-view .merit-inspector{grid-template-columns:96px minmax(0,1fr);padding:12px;gap:12px}#achievements-view .merit-reveal-stage{height:132px}#achievements-view .merit-reveal-orbit{width:94px;height:94px}#achievements-view .merit-showpiece{width:64px;height:64px}#achievements-view .merit-showpiece svg{width:40px;height:40px}#achievements-view .merit-inspector h4{font-size:20px}#achievements-view .merit-inspector-action{grid-column:1/-1}#achievements-view [data-merit-layout=case] .merit-star-map{padding:8px;grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:4px}}@media(pointer:coarse){#achievements-view .merit-live-preview>button{min-height:44px}}@media(prefers-reduced-motion:reduce){#achievements-view .merit-star-token{transition:none}#achievements-view button.merit-star:hover .merit-star-token{transform:none}}#achievements-view{padding-block:12px}.achievement-journal{--ach-accent:var(--mint,#99e0c3);--ach-wash:var(--art-soft,#183f40);--ach-gold:var(--art-warning,#f0cf81);color:var(--text,#e9f1f8)}.achievement-journal[data-skin=forest]{--ach-skin:#b5e6a4;--ach-accent:#b5e6a4;--ach-wash:#243f30}.achievement-journal[data-skin=ocean]{--ach-skin:#9edbef;--ach-accent:#9edbef;--ach-wash:#143b50}.achievement-journal[data-skin=stone]{--ach-skin:#e6c7a4;--ach-accent:#e6c7a4;--ach-wash:#3b3430}.achievement-journal[data-skin=dragon]{--ach-skin:#d0b1fa;--ach-accent:#d0b1fa;--ach-wash:#352c4e;--ach-gold:#f1dc9a}.achievement-journal button,.achievement-journal input,.achievement-journal select,.notification-center button,.notification-center select,.notification-bell,.achievement-attempt button,.achievement-attempt input,.achievement-attempt select{min-height:44px}.achievement-journal button:focus-visible,.achievement-journal summary:focus-visible,.notification-center button:focus-visible,.notification-bell:focus-visible,.achievement-attempt :focus-visible{outline:2px solid #b5e9d2;outline-offset:3px}.achievement-journal input,.achievement-journal select,.notification-center select,.achievement-attempt input,.achievement-attempt select{font:inherit;color:inherit;border:1px solid var(--line,#375768);border-radius:7px;background:var(--surface,#102b3a);padding:10px;max-width:100%}.achievement-journal select,.achievement-attempt select{cursor:pointer}.achievement-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.achievement-eyebrow{font-size:10px!important;letter-spacing:1.6px;color:var(--ach-accent,#99e0c3)!important;font-weight:650;margin:0 0 10px!important}.achievement-heading h2{font-size:30px;letter-spacing:-.6px;font-weight:650;margin:0 0 10px}.achievement-heading h2 span{display:inline-block;color:var(--ach-gold);font-size:12px;margin-left:8px;letter-spacing:.2px}.achievement-heading p{font-size:13px;line-height:1.6;color:var(--muted,#afc8d3);margin:0;max-width:60ch}.achievement-heading-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.achievement-heading-actions button:last-child:not(:disabled){background:var(--ach-accent);color:#0b2728;border-color:var(--ach-accent);font-weight:700}.achievement-heading-actions button:disabled{opacity:.55}.achievement-overview{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;margin-bottom:18px}.achievement-total{position:relative;display:flex;align-items:center;gap:24px;padding:24px;border:1px solid var(--line,#375768);border-radius:12px;background:linear-gradient(125deg,var(--ach-wash),var(--surface,#102b3a));overflow:hidden}.achievement-total>svg{width:66px;height:66px;stroke:var(--ach-gold);fill:none;stroke-width:1.1;flex:none}.achievement-total strong{display:block;font-size:40px;letter-spacing:-1px;line-height:1.2;font-variant-numeric:tabular-nums}.achievement-total strong small{font-size:20px;color:var(--muted,#afc8d3);font-weight:400;letter-spacing:0}.achievement-total span{font-size:12px;color:var(--muted,#afc8d3)}.achievement-total-progress{height:4px;background:var(--art-track,#284350);position:absolute;bottom:0;left:0;width:100%}.achievement-total-progress i{display:block;height:100%;background:var(--ach-accent);transition:width .5s ease}.merit-summary{padding:20px 24px;background:var(--surface,#102b3a);border:1px solid var(--line,#375768);border-radius:12px}.merit-summary>span{color:var(--ach-gold);font-size:10px;letter-spacing:1.5px}.merit-summary strong{display:block;font-size:30px;margin-top:4px;font-variant-numeric:tabular-nums}.merit-summary p{font-size:12px;color:var(--muted,#afc8d3);margin:6px 0 12px}.achievement-journal progress{display:block;width:100%;height:5px;border:0;border-radius:8px;overflow:hidden;background:var(--art-track,#284350);accent-color:var(--ach-accent)}.achievement-journal progress::-webkit-progress-bar{background:var(--art-track,#284350);border-radius:8px}.achievement-journal progress::-webkit-progress-value{background:var(--ach-accent);border-radius:8px}.achievement-journal progress::-moz-progress-bar{background:var(--ach-accent)}.merit-summary progress{height:4px;accent-color:var(--ach-gold)}.merit-summary progress::-webkit-progress-value{background:var(--ach-gold)}.achievement-help{border-block:1px solid var(--line,#375768);padding:12px 0;margin-bottom:24px}.achievement-help summary{font-size:12px;color:var(--ach-accent);cursor:pointer;min-height:32px;display:list-item;align-content:center}.achievement-help p{font-size:12px;line-height:1.7;color:var(--muted,#afc8d3);max-width:100ch}.achievement-pins{padding:18px 20px;background:var(--surface,#102b3a);border:1px dashed var(--line,#375768);border-radius:10px;margin-bottom:24px}.achievement-pin-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.achievement-pin-heading h3{font-size:14px;margin:0}.achievement-pin-heading>span{font-size:11px;color:var(--ach-accent)}.achievement-pins>p{font-size:12px;color:var(--muted,#afc8d3);margin:10px 0 0}.achievement-pin-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:10px;margin-top:12px}.achievement-pin-list button{display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;padding:12px;border:1px solid var(--line,#375768);background:var(--surface-raised,#183744);font-size:12px;min-width:0}.achievement-pin-list small{font-size:10px;color:var(--muted,#afc8d3);white-space:nowrap}.achievement-pin-list progress{grid-column:1/-1;height:3px}.achievement-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.achievement-filters button{border-color:transparent;background:transparent;font-size:12px;color:var(--muted,#afc8d3);padding:8px 14px;border-radius:24px}.achievement-filters button:hover{color:var(--text,#e9f1f8);background:var(--surface-raised,#183744)}.achievement-filters button[aria-pressed=true]{background:var(--ach-wash);border-color:var(--ach-accent);color:var(--ach-accent)}.achievement-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;border-block:1px solid var(--line,#375768);padding:16px 0}.achievement-tools label:not(.achievement-check){display:grid;gap:6px;font-size:11px;color:var(--muted,#afc8d3)}.achievement-tools select{font-size:12px}.achievement-search{flex:1;min-width:min(100%,250px)}.achievement-search input{width:100%;font-size:13px}.achievement-check{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted,#afc8d3);min-height:44px}.achievement-check input{min-height:0;accent-color:var(--ach-accent)}.achievement-result{font-size:12px;color:var(--muted,#afc8d3);margin:18px 0}.achievement-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,20rem),1fr));gap:64px 16px;align-items:start;padding-block-end:48px}.achievement-journal .achievement-card{position:relative;box-sizing:border-box;block-size:18.5rem;min-width:0;padding:12px;display:grid;grid-template-rows:2.75rem minmax(0,1fr) 2rem 2.75rem;gap:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text,#e9f1f8);transition:border-color .18s ease}.achievement-journal .achievement-card:hover{border-color:var(--ach-accent)}.achievement-journal .achievement-card.is-ready{border-color:var(--ach-accent);box-shadow:inset 0 3px var(--ach-accent);background:linear-gradient(150deg,var(--ach-wash),var(--surface) 60%)}.achievement-journal .achievement-card.is-claimed{background:var(--art-soft,var(--surface))}.achievement-journal .achievement-card.is-locked{border-style:dashed;background:var(--art-page,var(--surface))}.achievement-card-top{display:flex;align-items:flex-start;gap:8px;min-width:0;padding-block-start:0;position:relative}.achievement-card-heading{min-width:0;flex:1}.achievement-emblem{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;color:var(--ach-gold,#f0cf81);background:var(--surface-raised,#2b3840);border:1px solid var(--line);border-radius:8px}.achievement-emblem svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.3}.is-locked .achievement-emblem{color:var(--muted)}.achievement-card-top p{padding-inline-end:72px;font-size:14px;color:var(--ach-accent);line-height:1.2;margin:0 0 4px}.achievement-card h3{font-size:16px;font-weight:650;line-height:1.25;margin:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.achievement-card h3 .achievement-text-link{white-space:nowrap}.achievement-state{position:absolute;inset-block-start:0;inset-inline-end:0;font-size:12px;line-height:1.2;font-weight:600;color:var(--muted)}.is-ready .achievement-state{color:var(--ach-accent)}.achievement-requirements{box-sizing:border-box;min-height:0;overflow:auto;overscroll-behavior:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb,var(--ach-accent)) var(--scroll-track,var(--surface));padding:8px;border:1px solid transparent;border-radius:6px;background:transparent;scroll-padding-block:8px}.achievement-requirements:focus-visible{outline:2px solid var(--ach-accent);outline-offset:2px;border-radius:4px}.achievement-objective{font-size:16px;line-height:1.375;color:var(--text,#e9f1f8);margin:0;overflow-wrap:anywhere;white-space:pre-line}.achievement-level{font-size:14px;font-weight:650;line-height:1.4;color:var(--ach-accent);margin:8px 0 0}.achievement-lock{font-size:16px;line-height:1.375;color:var(--text,#e9f1f8);padding:0;margin:0}.achievement-progress{display:grid;gap:8px;align-content:center}.achievement-progress-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;line-height:1.2;color:var(--muted)}.achievement-progress-label strong{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text,#e9f1f8)}.achievement-card .achievement-progress progress{margin:0;height:4px}.achievement-card-actions{display:flex;gap:4px;min-width:0}.achievement-journal .achievement-card-actions button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;min-height:44px;min-width:0;padding:8px;flex:1;white-space:normal;margin:0}.achievement-card-actions [data-hide]{flex:0 1 auto}.achievement-card-actions [aria-pressed=true]{border-color:var(--ach-accent);color:var(--ach-accent)}.achievement-claim{background:var(--art-accent-fill,var(--ach-accent));color:var(--art-accent-ink,#0d2929);border-color:var(--ach-accent);font-weight:700}.achievement-card .achievement-rewards{position:absolute;inset-block-start:calc(100% - 1px);inset-inline:12px;box-sizing:border-box;block-size:48px;display:flex;align-items:center;justify-content:space-evenly;gap:4px;padding:4px 8px;border:1px solid var(--line);border-block-start:0;border-radius:0 0 12px 12px;background:var(--surface-raised,#183341);color:var(--text,#e9f1f8)}.achievement-card.is-ready .achievement-rewards{border-color:var(--ach-accent)}.achievement-rewards .achievement-reward{display:inline-flex;align-items:center;gap:4px;min-width:0;background:transparent;padding:0;color:inherit;border-radius:0;font-size:16px;line-height:1.2;font-variant-numeric:tabular-nums}.achievement-rewards .achievement-reward-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;background:transparent;padding:0;color:inherit}.achievement-reward-icon img,.achievement-reward-icon svg{display:block;width:24px;height:24px;object-fit:contain}.achievement-reward-icon svg{fill:var(--ach-gold);stroke:var(--ach-gold);stroke-width:1}.achievement-rewards .merit-reward{color:var(--ach-gold)}.achievement-rewards .achievement-feature-unlock{color:var(--mint);gap:3px;flex:none}.achievement-feature-copy{display:grid;gap:2px;max-width:74px;background:transparent!important;padding:0!important}.achievement-feature-copy strong{font-size:10px;white-space:nowrap}.achievement-feature-copy small{font-size:8px;color:var(--muted)}.achievement-feature-unlock .achievement-reward-icon svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.achievement-feature-unlock:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.achievement-rewards:has(.achievement-feature-unlock) .achievement-reward{font-size:12px;gap:2px}.achievement-rewards:has(.achievement-feature-unlock) .achievement-reward-icon{width:22px;height:24px}.achievement-rewards:has(.achievement-feature-unlock) .achievement-reward-icon :is(img,svg){width:20px;height:20px}.achievement-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-block:24px}.achievement-pagination span{font-size:12px;color:var(--muted,#afc8d3)}.achievement-pagination button{font-size:12px}.achievement-empty{grid-column:1/-1;text-align:center;padding:40px 20px;border:1px dashed var(--line,#375768);border-radius:10px}.achievement-empty h3{font-size:20px}.achievement-empty p{font-size:13px;color:var(--muted,#afc8d3)}.achievement-inline-status{font-size:12px;line-height:1.6;color:var(--ach-accent)}.achievement-unlocks>header{max-width:75ch;margin-bottom:20px}.achievement-unlocks h3{font-size:22px;margin:0 0 10px}.achievement-unlocks p{font-size:13px;color:var(--muted,#afc8d3);line-height:1.7}.merit-unlock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.merit-unlock{padding:20px;border:1px dashed var(--line,#375768);border-radius:10px;background:var(--surface,#102b3a)}.merit-unlock.is-earned{border-style:solid;border-color:var(--line,#375768);background:linear-gradient(135deg,var(--ach-wash),var(--surface,#102b3a))}.merit-unlock>strong{color:var(--ach-gold);font-size:14px}.merit-unlock h4{font-size:15px;margin:12px 0 8px}.merit-unlock p{font-size:12px;margin:0 0 14px}.merit-unlock>span{font-size:11px;color:var(--ach-accent)}.merit-unlock button{font-size:12px}.merit-unlock button[aria-pressed=true]{border-color:var(--ach-accent);color:var(--ach-accent)}.notification-bell{position:relative;display:flex;align-items:center;gap:8px;font-size:12px;padding:8px 12px}.notification-bell svg{width:18px;height:18px;stroke:#b3ddcc;fill:none;stroke-width:1.5}.notification-bell b{font-size:10px;background:#a0e4c8;color:#0b2828;padding:3px 5px;border-radius:10px;min-width:16px}.notification-center{position:fixed;z-index:11000;inset:80px 24px auto auto;width:min(430px,calc(100vw - 32px));max-height:calc(100dvh - 110px);overflow:auto;background:#102a3b;color:#e5f1f5;border:1px solid #659082;border-radius:12px;box-shadow:0 18px 55px #00101999;padding:20px;box-sizing:border-box}.notification-center[hidden]{display:none!important}.notification-center>header,.achievement-attempt>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.notification-center h2{font-size:22px;margin:0}.notification-center>p{font-size:12px;color:#b2cbd7;line-height:1.6}.notification-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}.notification-tools label{font-size:11px;color:#b7ceda}.notification-tools select{font-size:12px}.notification-tools input{accent-color:#99e0c3}.notification-actions{display:flex;gap:8px}.notification-center button{font-size:11px}.notification-center ol{padding:0;margin:16px 0;list-style:none}.notification-entry{display:flex;gap:12px;padding:16px 0;border-top:1px solid #365767}.notification-kind{color:#f0d494;font-size:20px;width:20px;flex:none}.notification-entry strong{font-size:13px;line-height:1.5}.notification-entry p{font-size:12px;color:#afc9d7;line-height:1.6;margin:6px 0}.notification-entry time{font-size:10px;color:#9ab5c7}.notification-entry div div{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.notification-entry.is-read{opacity:.7}.notification-empty{font-size:13px;line-height:1.7;color:#b5cdd9;padding:24px 0}.notification-center>small{font-size:10px;color:#9cb7c8}.achievement-toasts{position:fixed;z-index:10500;bottom:22px;right:22px;display:grid;gap:10px;width:min(460px,calc(100vw - 32px));pointer-events:none}.achievement-toast{pointer-events:auto;display:flex;align-items:center;gap:12px;padding:16px;background:linear-gradient(120deg,#20463e,#102d3d);border:1px solid #a4ddc1;box-shadow:0 8px 36px #00141b99;border-radius:12px;animation:achievement-arrive .5s cubic-bezier(.2,.8,.2,1);color:#e8f5ee}.achievement-toast>div{flex:1;min-width:0}.achievement-toast small{display:block;font-size:8px;letter-spacing:1.2px;color:#b5e6cb;margin-bottom:6px}.achievement-toast strong{display:block;font-size:13px;line-height:1.5}.achievement-toast div>span{font-size:10px;display:block;line-height:1.6;color:#bdd5df;margin-top:5px}.achievement-toast button{min-height:40px;padding:8px;font-size:11px}.achievement-toast .achievement-emblem{box-shadow:0 0 22px #c5d68c33;animation:achievement-glint 1.8s ease-out 1}.achievement-attempt{position:fixed;inset:5vh auto auto 50%;transform:translate(-50%);margin:0;z-index:11500;box-sizing:border-box;width:min(850px,calc(100vw - 24px));max-height:90dvh;overflow:auto;box-shadow:0 18px 70px #00111bc7}.achievement-attempt h2{font-size:22px;margin:0}.achievement-attempt>h3{font-size:16px}.achievement-attempt p{font-size:12px;line-height:1.7;color:#b5cdd9}.achievement-attempt-notice{padding:14px 16px;border:1px solid #9c8956;background:#36392f;border-radius:8px}.achievement-attempt-notice strong{font-size:14px;color:#f4d791}.achievement-attempt-notice p{margin:8px 0 0}.achievement-attempt-controls{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:20px 0}.achievement-attempt label{display:grid;gap:6px;font-size:11px;color:#bbd2de}.achievement-attempt-controls strong{font-size:12px;color:#a7dfc8;padding-block:14px}.achievement-attempt-warning{color:#d6c993!important}.achievement-attempt-team{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.achievement-attempt-team fieldset{min-width:0;border:1px solid #456375;border-radius:8px;padding:14px}.achievement-attempt-team legend{font-size:12px;color:#c3e6d8;padding:0 6px}.achievement-attempt-team input{width:70px}.achievement-attempt-moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.achievement-attempt-moves select{width:100%;font-size:12px}.achievement-attempt footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px}.achievement-attempt button[type=submit]{background:#a0e0c2;border-color:#a0e0c2;color:#102d2e;font-weight:700}.achievement-attempt [data-attempt-error]{color:#ffc0a8}body[data-achievement-aurora] .catch-panel{border-color:#a8c7df;box-shadow:0 0 18px #c4adf322}body[data-achievement-celestial] .companion.deployed{border-color:#d2c7f2;box-shadow:inset 0 0 16px #c5b8ec15}body[data-achievement-prismatic] .achievement-emblem{color:#e0c7ee;background:linear-gradient(145deg,#30493d,#3a3554,#493b37)}@keyframes achievement-arrive{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}@keyframes achievement-glint{0%{box-shadow:0 0 #f5db9710}40%{box-shadow:0 0 32px #f5db9770}to{box-shadow:0 0 22px #c5d68c33}}@media(max-width:1050px){.merit-unlock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.achievement-heading{align-items:flex-start}.achievement-heading-actions{max-width:210px}.achievement-heading h2{font-size:27px}}@media(max-width:650px){#achievements-view{padding-top:16px}.achievement-heading{display:block}.achievement-heading-actions{max-width:none;justify-content:flex-start;margin-top:16px}.achievement-overview{grid-template-columns:1fr}.achievement-total{padding:20px}.achievement-total strong{font-size:34px}.achievement-total>svg{width:52px;height:52px}.merit-summary{padding:18px 20px}.merit-unlock-grid{grid-template-columns:1fr}.achievement-card{padding:16px}.achievement-tools{gap:10px}.achievement-tools>label{flex:1;min-width:130px}.achievement-tools .achievement-search{flex-basis:100%}.achievement-filters{gap:4px}.achievement-filters button{font-size:11px;padding-inline:12px}.achievement-toasts{bottom:12px;right:16px}.achievement-toast{padding:12px;gap:9px}.achievement-toast .achievement-emblem{display:none}.achievement-toast div>span{display:none}.notification-bell>span{display:none}.notification-center{top:70px;right:16px;padding:16px;max-height:calc(100dvh - 90px)}.achievement-attempt-team{grid-template-columns:1fr}.achievement-attempt h2{font-size:19px}.achievement-attempt{inset-block-start:3vh;max-height:94dvh}.achievement-attempt-controls label:first-child{flex-basis:100%}.achievement-attempt-controls select{max-width:100%}.roster-world-tabs{overflow-x:auto}.roster-world-tabs [role=tab]{flex-shrink:0}}@media(prefers-reduced-motion:reduce){.achievement-toast,.achievement-toast .achievement-emblem{animation:none}.achievement-total-progress i,.achievement-card{transition:none}}.achievement-journal .achievement-heading p,.achievement-discovery,.achievement-journal .achievement-help p,.achievement-journal .achievement-pins>p,.achievement-journal .achievement-unlocks p{font-size:16px;line-height:1.5;color:var(--text,#e9f1f8)}.achievement-discovery{margin:0 0 12px;max-width:100ch}.achievement-journal .achievement-help{margin-block-end:16px;padding-block:8px}.achievement-journal .achievement-help summary,.achievement-journal .achievement-filters button,.achievement-journal .achievement-tools label,.achievement-journal .achievement-tools select,.achievement-journal .achievement-search input,.achievement-journal .achievement-check,.achievement-journal .achievement-result,.achievement-journal .achievement-pagination,.achievement-journal .achievement-pagination button,.achievement-journal .achievement-heading-actions button,.achievement-journal .achievement-pin-heading>span,.achievement-journal .achievement-pin-list button,.achievement-journal .achievement-pin-list small,.achievement-journal .achievement-total span,.achievement-journal .merit-summary p{font-size:14px;line-height:1.4}.achievement-journal .achievement-pins{padding:12px 16px;margin-block-end:16px}.achievement-journal .achievement-heading{margin-block-end:16px}.achievement-journal .achievement-overview{gap:12px;margin-block-end:16px}.achievement-journal .achievement-total,.achievement-journal .merit-summary{padding:16px}.achievement-journal .achievement-total>svg{width:48px;height:48px}.achievement-journal .achievement-total strong{font-size:32px}.achievement-journal .merit-summary>span{font-size:12px;letter-spacing:.6px}.achievement-journal .merit-unlock{box-sizing:border-box;block-size:15rem;padding:16px;display:flex;flex-direction:column}.achievement-journal .merit-unlock p{min-height:0;overflow:auto;margin-block-end:8px;font-size:16px}.achievement-journal .merit-unlock>span,.achievement-journal .merit-unlock>button{margin-block-start:auto;font-size:14px;flex-shrink:0}.achievement-journal .merit-unlock h4{font-size:18px;margin-block:8px}html[data-art-tone=light] .achievement-journal[data-skin]:not([data-skin=default]){--ach-accent:var(--art-accent);--ach-wash:color-mix(in srgb,var(--surface) 88%,var(--ach-skin) 12%);--ach-gold:var(--art-warning)}.achievement-requirements::-webkit-scrollbar{width:8px}.achievement-requirements::-webkit-scrollbar-track{background:var(--scroll-track,var(--surface));border-radius:8px}.achievement-requirements::-webkit-scrollbar-thumb{background:var(--scroll-thumb,var(--ach-accent));border:2px solid var(--scroll-track,var(--surface));border-radius:8px}.achievement-requirements::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hover,var(--ach-accent))}.achievement-journal .achievement-text-link,.achievement-attempt .achievement-text-link{display:inline;min-height:0;min-width:0;padding:0;margin:0;border:0;border-radius:2px;background:transparent;box-shadow:none;color:var(--ach-accent,var(--mint));font:inherit;letter-spacing:inherit;vertical-align:baseline;text-align:inherit;text-transform:none;text-decoration:underline;text-underline-offset:2px;white-space:normal;cursor:pointer}.achievement-journal .achievement-text-link:hover,.achievement-attempt .achievement-text-link:hover{background:var(--art-hover,var(--surface));color:var(--text,var(--mint))}.achievement-text-link[aria-disabled=true]{text-decoration-style:dotted;cursor:help}.achievement-journal .achievement-text-link:focus-visible,.achievement-attempt .achievement-text-link:focus-visible{outline:2px solid var(--mint);outline-offset:2px}.achievement-link-tooltip{position:fixed;inset:auto;margin:0;padding:8px 12px;max-width:calc(100vw - 32px);border:1px solid var(--line);border-radius:6px;background:var(--surface-raised,var(--surface));color:var(--text,#e9f1f8);font:600 14px/1.4 Segoe UI,system-ui,sans-serif;box-shadow:0 4px 16px #0003;pointer-events:none;z-index:12000}.achievement-link-tooltip[hidden]{display:none}#stages .stage-tile.is-achievement-target>button[data-stage]{outline:3px solid var(--mint);outline-offset:3px}.achievement-requirements.has-scroll:is(:hover,:focus-within){border-color:color-mix(in srgb,var(--line) 70%,transparent);background:color-mix(in srgb,var(--surface-raised,var(--surface)) 70%,transparent)}.achievement-toasts .adventure-toast{background:var(--surface-raised,var(--surface));color:var(--text);border-color:var(--line);box-shadow:0 8px 36px color-mix(in srgb,var(--art-page,var(--surface)) 60%,transparent)}.achievement-toasts .adventure-toast small{color:var(--mint)}.achievement-toasts .adventure-toast div>span{color:var(--muted)}.achievement-attempt{--attempt-ink:var(--text,#e9f1f8);--attempt-muted:var(--muted,#afc8d3);--attempt-accent:var(--mint,#99e0c3);--attempt-danger:var(--art-danger,#ffb399);--attempt-warning:var(--art-warning,#ffdb55);inset:0;transform:none;margin:auto;padding:0;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:hidden;background:var(--surface);color:var(--attempt-ink);border:1px solid var(--line);border-radius:12px}.achievement-attempt[open]{display:flex;flex-direction:column}.achievement-attempt>header{flex:none;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}.achievement-attempt .achievement-eyebrow{margin:0 0 4px!important;letter-spacing:1px;color:var(--attempt-accent)!important}.achievement-attempt h2{font-size:22px;line-height:1.3}.achievement-attempt .attempt-safe{margin:4px 0 0;font-size:12px;color:var(--attempt-muted)}.achievement-attempt>header button{flex:none;min-width:44px;padding:8px}.achievement-attempt>form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}.achievement-attempt .attempt-body{padding:16px 20px;overflow:auto;min-height:0;scrollbar-gutter:stable}.achievement-attempt h3{margin:0;font-size:16px;line-height:1.5;color:var(--attempt-ink)}.achievement-attempt .attempt-goal{margin-bottom:12px}.achievement-attempt .attempt-facts{display:flex;gap:8px;flex-wrap:wrap;margin-block:8px}.achievement-attempt .attempt-facts>span{padding:4px 8px;border-radius:4px;background:var(--surface-raised,var(--art-soft,#183f40));font-size:12px;color:var(--attempt-ink)}.achievement-attempt .attempt-facts b{font-variant-numeric:tabular-nums}.achievement-attempt .attempt-objective{margin:0;white-space:pre-line;line-height:1.6;font-size:13px;color:var(--attempt-muted)}.achievement-attempt .attempt-economy{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:8px 12px;border-inline-start:2px solid var(--attempt-warning);background:var(--surface-raised,var(--art-soft,#183f40));border-radius:4px}.achievement-attempt .attempt-economy>strong{font-size:13px;color:var(--attempt-warning)}.achievement-attempt .attempt-economy>span{font-size:12px;color:var(--attempt-muted)}.achievement-attempt .attempt-economy details{flex-basis:100%}.achievement-attempt summary{cursor:pointer;min-height:32px;align-content:center;font-size:12px;color:var(--attempt-ink)}.achievement-attempt .attempt-economy p{margin:4px 0;line-height:1.6;color:var(--attempt-muted)}.achievement-attempt .achievement-attempt-controls{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;margin:16px 0}.achievement-attempt label{font-size:12px;color:var(--attempt-muted);gap:4px;min-width:0}.achievement-attempt :is(select,input){box-sizing:border-box;font-size:13px;padding:8px;color:var(--attempt-ink);background-color:var(--surface-raised,var(--surface));border-color:var(--line)}.achievement-attempt select{width:100%;min-width:0}.achievement-attempt .attempt-team-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.achievement-attempt .attempt-team-heading h3 span{color:var(--attempt-muted);font-weight:400;font-variant-numeric:tabular-nums}.achievement-attempt .attempt-team-heading button{font-size:12px;padding:8px 12px}.achievement-attempt .attempt-team-help{font-size:12px;line-height:1.5;margin:4px 0 12px;color:var(--attempt-muted)}.achievement-attempt .achievement-attempt-team{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.achievement-attempt .attempt-member{min-width:0;padding:12px;border:1px solid var(--line);border-radius:8px}.achievement-attempt .attempt-member.has-issue{border-color:var(--attempt-danger)}.achievement-attempt .attempt-member-top{display:flex;align-items:center;gap:8px}.achievement-attempt .attempt-member-top img{flex:none;object-fit:contain;image-rendering:pixelated}.achievement-attempt .attempt-member-identity{min-width:0;flex:1;overflow-wrap:anywhere}.achievement-attempt .attempt-member-identity strong{display:block;font-size:14px;color:var(--attempt-ink)}.achievement-attempt .attempt-member-identity>span{display:block;font-size:11px;line-height:1.5;color:var(--attempt-muted)}.achievement-attempt .attempt-member-top label{flex:none;font-size:11px}.achievement-attempt .attempt-member-top input{width:64px;font-variant-numeric:tabular-nums}.achievement-attempt .attempt-member-meta{font-size:12px;line-height:1.5;margin:8px 0 0;color:var(--attempt-muted);text-transform:capitalize}.achievement-attempt .attempt-member .attempt-issues{margin:4px 0 0;font-size:12px;line-height:1.5;color:var(--attempt-danger)}.achievement-attempt .attempt-member details{margin-top:8px;border-top:1px solid var(--line)}.achievement-attempt .attempt-member summary{padding-block:4px}.achievement-attempt .attempt-member summary span{float:inline-end;color:var(--attempt-muted)}.achievement-attempt .attempt-loadout-preview{margin:4px 0 8px;font-size:12px;line-height:1.5;color:var(--attempt-muted)}.achievement-attempt .achievement-attempt-moves{gap:8px}.achievement-attempt .achievement-attempt-moves select{font-size:12px}.achievement-attempt form>footer{flex:none;margin:0;padding:12px 20px;border-top:1px solid var(--line);background:var(--surface);display:block}.achievement-attempt .attempt-readiness>strong{font-size:13px;color:var(--attempt-ink)}.achievement-attempt .attempt-readiness p{font-size:12px;line-height:1.5;margin:4px 0;color:var(--attempt-muted)}.achievement-attempt .attempt-readiness [data-attempt-error]{color:var(--attempt-danger)}.achievement-attempt .attempt-readiness [data-attempt-error]:empty{display:none}.achievement-attempt .attempt-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.achievement-attempt .attempt-actions button{font-size:13px;padding:8px 16px}.achievement-attempt .attempt-actions button[type=submit]{background:var(--art-accent-fill,var(--attempt-accent));border-color:transparent;color:var(--art-accent-ink,#102d2e);font-weight:700}.achievement-attempt .attempt-actions button:disabled{opacity:.5;cursor:not-allowed}.achievement-attempt :focus-visible{outline:2px solid var(--attempt-accent);outline-offset:2px}@media(max-width:540px){.achievement-attempt{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);inset:0}.achievement-attempt>header,.achievement-attempt .attempt-body,.achievement-attempt form>footer{padding:12px}.achievement-attempt h2{font-size:19px}.achievement-attempt .achievement-attempt-team{grid-template-columns:1fr}.achievement-attempt .achievement-attempt-controls{grid-template-columns:minmax(0,1fr) 96px;gap:8px}.achievement-attempt .attempt-actions button{flex:1}}@media(pointer:coarse){.achievement-attempt summary{min-height:44px}}dialog.shiny-discovery{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:2px solid var(--yellow,#ffe39a);border-radius:16px;background:#122e37;color:var(--text,#edf5f1);box-shadow:0 0 32px #ffe39a33;overflow:auto}.shiny-discovery::backdrop{background:#06131de6}.shiny-discovery-shell{position:relative;padding:32px 24px 24px;text-align:center;background:linear-gradient(110deg,#ffc9dd12,#ffecb812 28%,#c1ffe812 55%,#bcdcff12 78%,#e6c7ff12)}.shiny-discovery-close{position:absolute;inset-block-start:8px;inset-inline-end:8px;min-width:44px;min-height:44px;padding:8px}.shiny-discovery-kicker{margin:8px 24px 16px;color:var(--yellow,#ffe39a);font-size:12px;letter-spacing:.12em;text-transform:uppercase}.shiny-discovery h2{margin:0;font-size:clamp(24px,6vw,32px);line-height:1.25;color:var(--yellow,#ffe39a)}.shiny-discovery-stage{position:relative;isolation:isolate;height:216px;overflow:hidden;display:grid;place-items:center}.shiny-discovery-aura{position:absolute;z-index:-1;width:216px;height:216px;border-radius:50%;background:conic-gradient(#ffbedb66,#fff6bc66,#c7f5cd66,#bceff666,#c5d1ff66,#e5c5ff66,#ffbedb66);-webkit-mask-image:radial-gradient(circle,#000 12%,#0009 32%,transparent 70%);mask-image:radial-gradient(circle,#000 12%,#0009 32%,transparent 70%);animation:shiny-discovery-aura 8s linear infinite}.shiny-discovery-stars{position:absolute;inset:24px 12%;display:flex;align-items:center;justify-content:space-between;color:var(--yellow,#ffe39a);font-size:32px;pointer-events:none;animation:shiny-discovery-sparkle 2.4s ease-in-out infinite}.shiny-discovery-stars span{align-self:start;font-size:24px}.shiny-discovery-stage canvas{width:100%;height:auto;image-rendering:pixelated}.shiny-discovery-stage canvas[hidden],.shiny-discovery-fallback[hidden]{display:none}.shiny-discovery-fallback .pokemon-portrait{width:96px;height:96px;image-rendering:pixelated}.shiny-discovery-identity{display:flex;gap:12px;justify-content:center;align-items:center;text-align:start}.shiny-discovery-identity h3{margin:0;font-size:20px;line-height:1.5}.shiny-discovery-identity h3 span{font-size:16px;color:var(--yellow,#ffe39a);white-space:nowrap}.shiny-discovery-identity p{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-size:14px}.shiny-discovery-location{margin:12px 0;color:#bdd5d9;font-size:14px}#shiny-discovery-note{font-size:14px;line-height:1.5;color:#bdd5d9;margin:16px 0}.shiny-discovery-toggle{display:flex;align-items:center;min-height:44px;padding:16px 0;border-block-start:1px solid var(--line,#39616a);text-align:start;gap:16px;cursor:pointer}.shiny-discovery-toggle>span{flex:1;min-width:0}.shiny-discovery-toggle span{font-size:16px;line-height:1.5}.shiny-discovery-toggle small{display:block;color:#bdd5d9;font-size:12px}.shiny-discovery-toggle input{min-width:24px;min-height:24px;accent-color:var(--mint,#a9efd0)}.shiny-discovery-continue{width:100%;min-height:44px;font-size:16px}.shiny-discovery-error{font-size:14px;line-height:1.5}.shiny-discovery-error button{min-height:44px}.shiny-discovery :focus-visible{outline:2px solid var(--yellow,#ffe39a);outline-offset:4px}@keyframes shiny-discovery-aura{to{transform:rotate(360deg)}}@keyframes shiny-discovery-sparkle{0%,to{opacity:.5;transform:translateY(4px)}50%{opacity:1;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.shiny-discovery-aura,.shiny-discovery-stars{animation:none}}.shiny-discovery-reduced .shiny-discovery-aura,.shiny-discovery-reduced .shiny-discovery-stars{animation:none}@media(max-width:400px){.shiny-discovery-shell{padding:32px 16px 16px}.shiny-discovery-stage{height:192px}.shiny-discovery-identity h3{font-size:18px}}.battle-events-toolbar #encounter-alert-button{gap:6px}#encounter-alert-button>svg{flex:none}.encounter-alert-settings{width:min(840px,calc(100vw - 24px))}.encounter-alert-tabs{display:flex;gap:8px;margin-top:16px}.encounter-alert-tabs [aria-selected=true]{border-color:var(--mint);color:var(--mint);background:#24464b}.encounter-alert-intro{margin:20px 0 16px;line-height:1.5}.encounter-shiny-option{position:relative;display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer}.encounter-shiny-copy{flex:1;min-width:0;display:grid;gap:8px}.encounter-shiny-copy strong{font-size:1rem;line-height:1.4}.encounter-shiny-copy small{display:block;color:var(--muted);font-size:.875rem;line-height:1.5}.encounter-shiny-option input{position:absolute;inline-size:1px;block-size:1px;opacity:0}.encounter-shiny-check{display:grid;place-items:center;flex:0 0 44px;block-size:44px;border:2px solid var(--line);border-radius:10px;background:#102936;box-shadow:inset 0 2px #ffffff12,0 3px #061822;color:#102936}.encounter-shiny-check svg{inline-size:28px;block-size:28px;visibility:hidden}.encounter-shiny-option input:checked+.encounter-shiny-check{background:var(--mint);border-color:var(--mint);box-shadow:inset 0 2px #ffffff60,0 3px #356a63}.encounter-shiny-option input:checked+.encounter-shiny-check svg{visibility:visible}.encounter-shiny-option:hover{border-color:var(--mint)}.encounter-shiny-option input:focus-visible+.encounter-shiny-check{outline:3px solid var(--mint);outline-offset:4px}.encounter-shiny-note{margin:12px 0 20px;color:var(--muted);font-size:.8125rem;line-height:1.5}@media(max-width:480px){.encounter-shiny-option{padding:16px;gap:12px}}.encounter-alert-filters:not([hidden]){display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}.encounter-alert-filters label{flex:1;min-width:130px}.encounter-alert-roster,.encounter-alert-selected{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.encounter-alert-roster{max-height:42dvh;overflow:auto;padding:3px}.encounter-alert-selected:empty{display:none}.encounter-alert-selected{margin-bottom:12px}.encounter-alert-roster button,.encounter-alert-selected button{display:flex;align-items:center;gap:10px;text-align:left;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);min-width:0}.encounter-alert-roster button[aria-pressed=true],.encounter-alert-selected button{border-color:var(--mint);background:#24464b}.encounter-alert-roster small,.encounter-alert-selected small{display:flex;align-items:center;gap:4px;color:var(--muted);margin-top:4px}.encounter-alert-roster button>span:last-child,.encounter-alert-selected button>span:last-child{margin-left:auto;color:var(--mint)}.encounter-alert-notice{width:min(420px,calc(100vw - 24px));padding:24px}.encounter-alert-notice h2{margin-top:0}.encounter-alert-notice [data-found]{max-height:55dvh;overflow:auto}.encounter-alert-notice [data-found]>div{display:flex;align-items:center;gap:12px;margin:8px 0}.encounter-alert-notice>button{width:100%}body.camp-party-ready #combat-skills .team-row[data-side="0"] .team-hp-track>i{position:relative;overflow:hidden}body.camp-party-ready #combat-skills .team-row[data-side="0"] .team-hp-track>i:after{content:"";position:absolute;inset:0;inline-size:200%;background:linear-gradient(90deg,transparent 15%,#effff5 50%,transparent 85%) 0 0/50% 100% repeat-x;opacity:.9;pointer-events:none;animation:camp-full-hp-wave 4s linear infinite}@keyframes camp-full-hp-wave{0%{transform:translate(-50%)}to{transform:translate(0)}}body.camp-party-ready .map-stage-picker:has(#map-escape.stage-ready:not(:disabled)):after{content:"";position:absolute;inset:-3px;border:1px solid #b9f7d9;border-radius:8px;box-shadow:0 0 12px #8bd6ae99;pointer-events:none;animation:camp-ready-cta-pulse 3.6s ease-in-out infinite}@keyframes camp-ready-cta-pulse{0%,to{opacity:.15}50%{opacity:.85}}.map-controls .map-stage-picker #map-escape.map-stage-destination{position:relative;inset:auto}body.camp-party-ready .map-stage-picker #map-escape.stage-ready:not(:disabled):before{content:"";position:absolute;inset-inline-start:27.5%;inset-block-end:calc(100% + 16px);inline-size:45%;aspect-ratio:210/56;background:url(/camp-ready-arrow.svg) center/contain no-repeat;pointer-events:none;animation:camp-ready-arrow-bob 1.8s cubic-bezier(.45,0,.55,1) infinite}body.camp-party-ready .map-stage-picker:has(.map-stage-toggle[aria-expanded=true]) #map-escape:before{content:none}@keyframes camp-ready-arrow-bob{0%,to{transform:translateY(-5px)}50%{transform:translateY(5px)}}@media(prefers-reduced-motion:reduce){body.camp-party-ready .map-stage-picker #map-escape.stage-ready:not(:disabled):before{animation:none}body.camp-party-ready #combat-skills .team-row[data-side="0"] .team-hp-track>i:after{animation:none;content:none}body.camp-party-ready .map-stage-picker:has(#map-escape.stage-ready:not(:disabled)):after{animation:none;opacity:.4}}.journey-active .masthead,.journey-active .app-footer,.journey-active .supplies-panel,.journey-active #battle-lineup,.journey-active .roster-world-panel,.journey-active #learned,.journey-active .guide,.journey-active .catch-panel,.journey-active .arena-heading,.journey-active #toggle-events,.journey-active #battle-events,.journey-active .map-playback-controls,.journey-active [data-travel-cancel],.journey-active #announcement,.journey-active #map-next-stage,.journey-active .map-size-control{display:none!important}.journey-active .app{padding-block-start:24px;padding-block-end:24px}.journey-active .battle-player{margin-inline:auto}.journey-active #adventure{display:grid;align-content:center;min-height:calc(100dvh - 112px)}body:is([data-tutorial=blank],[data-tutorial=field],[data-tutorial=partner],[data-tutorial=camp]) .battle-layout-container>.team-battle-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"arena";max-width:min(var(--battlemap-width,910px),calc(max(240px,100dvh - 176px)*1.777778))}body:is([data-tutorial=blank],[data-tutorial=field],[data-tutorial=partner],[data-tutorial=camp]) .combat-panel{display:none}.journey-active .battle-events-toolbar{justify-content:flex-end;align-items:flex-start;flex-wrap:wrap;gap:16px}.journey-active .battle-events-toolbar>.audio-controls{order:2;margin-inline-start:auto}.journey-active .combat-panel,.journey-active .combat-panel button{position:relative}.journey-active .tutorial-disabled{cursor:default}.journey-active button.tutorial-disabled{opacity:.65}.journey-active .combat-panel .tutorial-disabled{opacity:1}.journey-active #game{pointer-events:none}body:is([data-tutorial=partner],[data-tutorial=camp],[data-tutorial=team]) #game{pointer-events:auto}body[data-tutorial=camp-expanded] #game{pointer-events:auto}body[data-tutorial=empty] #starter{visibility:hidden}body[data-tutorial=balls] #starter{background:transparent;border-color:transparent}body[data-tutorial=balls] .starter-intro,body[data-tutorial=balls] .starter-generation>h3,body[data-tutorial=balls] .starter-gift,body[data-tutorial=balls] .starter-open>span{visibility:hidden}body[data-tutorial=balls] .starter-choice{background:transparent;border-color:transparent}body[data-tutorial=balls] .starter-ball{animation:journey-ball .55s cubic-bezier(.34,1.56,.64,1) calc(var(--ball-order)*50ms) both}body[data-tutorial=ready] .starter-intro,body[data-tutorial=ready] .starter-generation>h3,body[data-tutorial=ready] .starter-gift{animation:journey-ui .44s cubic-bezier(.34,1.56,.64,1) both}body[data-tutorial=ready] .starter-generation:nth-child(2)>h3{animation-delay:60ms}body[data-tutorial=ready] .starter-generation:nth-child(3)>h3{animation-delay:.12s}body[data-tutorial=ready] .starter-gift{animation-delay:.16s}body[data-tutorial=ready] .starter-choice{position:relative;isolation:isolate;background:transparent;border-color:transparent}body[data-tutorial=ready] .starter-choice:before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid #527383;border-radius:inherit;background:#0b2232;pointer-events:none;animation:journey-fade .3s ease-out both}body[data-tutorial=ready] .starter-open>span{animation:journey-fade .3s ease-out both}body[data-tutorial=blank] .battle-layout-container{visibility:hidden}body[data-tutorial=field] .battle-player{transform-origin:center;animation:journey-ui .46s cubic-bezier(.34,1.56,.64,1) both}body[data-tutorial=blank] .combat-panel,body[data-tutorial=field] .combat-panel,body[data-tutorial=partner] .combat-panel,body[data-tutorial=camp] .combat-panel,body[data-tutorial=blank] .battle-events-toolbar,body[data-tutorial=field] .battle-events-toolbar{visibility:hidden}body[data-tutorial=partner] .audio-controls{animation:journey-ui .4s cubic-bezier(.34,1.56,.64,1) both}body[data-tutorial=partner] .audio-controls>:nth-child(2){animation:journey-card .28s ease-out 60ms both}body[data-tutorial=partner] .audio-controls>:nth-child(3){animation:journey-card .28s ease-out .12s both}body[data-tutorial=team] .combat-panel{animation:journey-ui .44s cubic-bezier(.34,1.56,.64,1) both}body[data-tutorial=team] .combat-panel>.section-heading{animation:journey-card .3s ease-out 60ms both}body[data-tutorial=team] .battle-setup-controls{animation:journey-card .3s ease-out .12s both}body[data-tutorial=team] #combat-skills{animation:journey-card .3s ease-out .18s both}.journey-active #map-escape{visibility:hidden}body[data-tutorial=depart] #map-escape{visibility:visible;position:relative;z-index:10002;opacity:1;outline:2px solid var(--mint);outline-offset:4px;box-shadow:0 0 24px 8px #9ce1c566;animation:journey-fade .24s ease-out both}body[data-tutorial=depart] #map-escape>*{animation:journey-action .44s cubic-bezier(.34,1.56,.64,1) both}.journey-spotlight{position:fixed;inset:0;background:#0000004d;z-index:10000}.journey-depart-placeholder{display:block;flex-shrink:0;margin-inline-start:auto}body[data-tutorial=depart] #map-escape{display:flex;align-items:center;justify-content:center;gap:8px}body[data-tutorial=depart] .combat-tooltip{display:none!important}.journey-tooltip{position:relative;display:flex;align-items:center;gap:16px;order:1;flex:1 1 300px;min-width:0;max-width:520px;margin-inline-end:auto;padding:16px;background:var(--surface,#102a35);border:1px solid var(--mint);border-radius:8px;box-shadow:0 8px 32px #0008}.journey-tip-text{flex:1;min-width:0}.journey-tooltip h2:not(.sr-only){font-size:20px;margin-block:0 12px}.journey-tooltip p{font-size:16px;line-height:1.5;margin:0}.journey-tooltip strong{color:var(--mint);font-weight:700}.journey-tooltip button{flex:none;min-height:44px;margin:0;padding:8px 16px}.tutorial-action-tip{position:fixed;z-index:10003;max-width:calc(100vw - 24px);padding:16px;background:var(--surface,#102a35);border:1px solid var(--mint);border-radius:8px;color:var(--text,#e9f1f8);font-size:16px;line-height:1.5;pointer-events:none}.tutorial-action-tip strong{color:var(--mint)}.journey-active:not(.tutorial-full-screen) #map-enemy-count{display:none!important}.tutorial-catching.journey-active .catch-panel,.tutorial-full-screen.journey-active .masthead{display:flex!important}.tutorial-full-screen.journey-active :is(.supplies-panel,.roster-world-panel){display:block!important}.tutorial-full-screen.journey-active :is(.arena-heading,.battle-events-toolbar,.map-size-control){display:flex!important}.tutorial-full-screen.journey-active .catch-panel{display:flex!important}.tutorial-full-screen.journey-active #toggle-events{display:inline-flex!important}.tutorial-full-screen.journey-active #adventure{display:block;min-height:0}.tutorial-full-screen.journey-active .app{padding-block-end:max(64px,40dvh)}.tutorial-required-action{box-shadow:0 0 0 2px var(--mint),0 0 16px #9ce1c588!important}.tutorial-full-screen.journey-active #map-escape{visibility:visible}html:has(body.tutorial-full-screen){overflow:hidden;overscroll-behavior:none}body[data-tutorial=final-depart] #map-escape{outline:2px solid var(--mint);outline-offset:2px;box-shadow:0 0 24px 8px #9ce1c566}body[data-tutorial=add-to-team] [data-mon] [data-party]:not(:disabled){outline:2px solid var(--mint);outline-offset:2px}body[data-tutorial=catch-throw] #capture-dialog::backdrop{background:#0000004d}#capture-dialog.guided-capture #capture-canvas{max-height:30dvh;object-fit:contain}#capture-dialog.guided-capture .capture-ball-option{min-height:60px;padding:8px 12px}#capture-dialog.guided-capture #capture-status{margin-block:8px}.guided-capture .capture-quantities{display:grid;grid-template-columns:minmax(160px,1fr) minmax(180px,1fr);align-items:center;gap:12px}.guided-capture .capture-quantities>button{min-height:44px;min-width:160px}#capture-dialog.guided-capture .capture-quantities>button{justify-content:center;align-items:center;text-align:center}.capture-tutorial-tip{margin:0;padding:12px 16px;background:var(--surface);border:1px solid var(--mint);border-radius:8px;font-size:16px;line-height:1.5}.capture-tutorial-tip strong{color:var(--mint)}@media(max-width:540px){.guided-capture .capture-quantities{grid-template-columns:minmax(0,1fr)}}.guided-capture .capture-batch-note{padding:8px 12px;border:1px solid var(--mint);border-radius:6px;color:var(--mint)}.tutorial-potion-pulse{outline:2px solid var(--mint);outline-offset:2px;animation:tutorial-potion-pulse 1.2s ease-in-out infinite}body[data-tutorial=heal] .potion-tooltip,body[data-tutorial=heal] #combat-tooltip{display:none!important}body:is([data-tutorial=level-up],[data-tutorial=return-delay],[data-tutorial=return-camp]) #map-escape{visibility:visible}body[data-tutorial=return-camp] #map-escape{outline:2px solid var(--mint);outline-offset:2px;box-shadow:0 0 24px 8px #9ce1c566}body[data-tutorial=camp-expanded] .masthead{display:flex!important;animation:journey-ui .44s cubic-bezier(.34,1.56,.64,1) both}body[data-tutorial=camp-expanded] .supplies-panel{display:block!important;animation:journey-ui .44s cubic-bezier(.34,1.56,.64,1) .1s both}body[data-tutorial=camp-expanded] #adventure{min-height:0}@keyframes tutorial-potion-pulse{0%,to{opacity:1}50%{opacity:.65}}@keyframes journey-ball{0%{opacity:0;transform:translateY(-48px) scale(.5) rotate(-24deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes journey-ui{0%{opacity:0;transform:translateY(24px) scale(.92) rotate(-.6deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes journey-card{0%{opacity:0;transform:translateY(12px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes journey-action{0%{opacity:0;transform:translateY(16px) scale(.7) rotate(-4deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}@keyframes journey-fade{0%{opacity:0}to{opacity:1}}.journey-reduced-motion.journey-active *{animation:none!important}@media(max-width:640px){.journey-active .battle-events-toolbar{flex-direction:column;align-items:stretch}.journey-active .battle-events-toolbar>.audio-controls{order:1;align-self:flex-end}.journey-tooltip{order:2;flex:none;width:100%;align-self:flex-start}}@media(prefers-reduced-motion:reduce){.journey-active *,.journey-tooltip{animation:none!important}}body>.owner-account-tools{position:fixed;inset-inline-end:16px;inset-block-end:max(12px,env(safe-area-inset-bottom));z-index:10004;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:4px 12px;background:#102a35;border:1px solid var(--line);border-radius:6px}.owner-account-tools[hidden],.owner-save-tools[hidden],.account-gated .owner-account-tools{display:none!important}.owner-account-tools .owner-save-tools{position:static}.owner-speed-control{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap}.owner-speed-control select{width:76px;min-height:32px;padding:4px 6px;font:inherit}body>.owner-account-tools{flex-wrap:wrap;justify-content:flex-end}.owner-account-tools .save-controls{inset-block-start:auto;inset-block-end:100%;margin:0 0 8px;max-width:calc(100vw - 32px)}#owner-tutorial-toggle{font-size:12px;min-height:32px;padding:4px 8px}.owner-save-enabled .app{padding-block-end:80px}.owner-save-enabled.journey-active .app{padding-block-end:64px}.dex-evo-map{position:relative;width:100%;max-width:560px;margin:4px 0 0;isolation:isolate}.dex-evo-grid{display:grid;grid-template-columns:repeat(var(--evo-columns),minmax(0,1fr));grid-template-rows:repeat(var(--evo-rows),minmax(104px,auto));gap:8px 16px;list-style:none;margin:0;padding:8px 0;position:relative;z-index:1}.dex-evo-node{min-width:0;height:96px;align-self:center;justify-self:start;display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;max-width:112px}#dex-entry .dex-evo-pokemon{display:flex;flex-direction:column;align-items:center;gap:4px;max-width:100%;min-width:0;min-height:68px;flex:none;padding:0 4px;border:0;background:transparent;border-radius:8px;text-align:center;text-decoration:none;box-shadow:none;font-size:12px;line-height:16px}.dex-evo-portrait{position:relative;display:grid;place-items:center;flex:none;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;background:radial-gradient(circle at 50% 35%,#254b55,var(--surface));box-shadow:inset 0 0 0 3px var(--surface-raised)}.dex-evo-portrait img{width:100%;height:100%;image-rendering:pixelated;object-fit:cover;clip-path:circle(50%)}.dex-evo-name{max-width:100%;overflow-wrap:anywhere;font-weight:600}.dex-evo-pokemon.is-selected .dex-evo-portrait{border:2px solid var(--mint);box-shadow:0 0 0 3px #9ce1c51a,inset 0 0 0 3px var(--surface-raised)}.dex-evo-pokemon.is-selected .dex-evo-portrait:after{content:"";position:absolute;right:-3px;bottom:-1px;width:14px;height:14px;background:url(/assets/ui/evolution-selected.svg) center/contain no-repeat}.dex-evo-pokemon.is-selected .dex-evo-name{color:var(--mint)}#dex-entry button.dex-evo-pokemon:hover .dex-evo-portrait{border-color:var(--mint);transform:translateY(-2px)}.dex-evo-portrait{transition:transform .15s ease-out,border-color .15s ease-out}#dex-entry .dex-evo-pokemon:focus-visible{outline:2px solid var(--mint);outline-offset:4px}.dex-evo-mystery{font-size:24px;color:var(--muted);border-style:dashed;background:var(--surface)}.dex-evo-pokemon.is-unknown{color:var(--muted)}#dex-entry .dex-evo-method{display:block;max-width:100%;min-height:24px;padding:3px 6px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);font-size:11px;line-height:16px;text-align:center;overflow-wrap:anywhere;box-sizing:border-box}#dex-entry button.dex-evo-method{color:var(--mint);cursor:pointer}#dex-entry button.dex-evo-method:hover{border-color:var(--mint);background:#234449}.dex-evo-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}.dex-evo-links path{fill:none;stroke:#6a9b9e;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}@media(max-width:480px){.dex-evo-grid{column-gap:8px}.dex-evo-portrait{width:44px;height:44px}#dex-entry .dex-evo-method{font-size:10px;padding:3px 4px}}@media(pointer:coarse){#dex-entry button.dex-evo-method{min-height:28px}}@media(prefers-reduced-motion:reduce){.dex-evo-portrait{transition:none}}.quick-item-purchase{position:fixed;inset:auto;margin:0;width:208px;max-width:calc(100vw - 16px);box-sizing:border-box;padding:12px;border:1px solid var(--mint);border-radius:8px;background:var(--surface);color:var(--text);box-shadow:0 8px 24px #06182280;font:inherit;font-size:.875rem}.quick-item-purchase header{display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-item-purchase p{margin:4px 0 8px;color:var(--muted);font-size:.8125rem}.quick-item-purchase-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.quick-item-purchase-row>[data-price]{display:flex;align-items:center;gap:8px}.quick-item-purchase-row small,.quick-item-purchase>[data-reason]{color:var(--muted);font-size:.8125rem}.quick-item-purchase [data-add]{min-width:44px;min-height:36px;padding:4px 8px;font-size:1rem;font-weight:700}.quick-item-purchase>[data-reason]:not(:empty){display:block;margin-top:12px;line-height:1.5}.quick-item-purchase button:focus-visible{outline:2px solid var(--mint);outline-offset:3px}#detail .individual-stat-summary,#detail .pokemon-matchup-summary{min-width:0}#detail .individual-stat-summary h3,#detail .pokemon-matchup-summary h3{margin:0 0 4px;font-size:12px;line-height:1.4;color:var(--mint);font-weight:700}#detail .individual-stat-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#detail .individual-stat-table{width:100%;margin:0;border:0;border-collapse:collapse;font-size:12px;line-height:1.4}#detail .individual-stat-table :is(th,td){padding:2px 0;border:0;background:transparent;text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums}#detail .individual-stat-table thead th{padding-block:0 4px;font-size:11px;font-weight:400;color:var(--muted)}#detail .individual-stat-table th:first-child{text-align:start}#detail .individual-stat-table tbody th{font-weight:400;color:var(--muted)}#detail .individual-stat-table td{padding-inline-start:8px}#detail .individual-stat-table strong{font-size:13px;color:inherit}#detail .individual-stat-name{display:flex;align-items:center;gap:8px}#detail .individual-stat-name .game-icon{display:inline-flex;flex:none;width:16px;height:16px;padding:0;background:transparent}#detail .individual-stat-name .game-icon svg{width:16px;height:16px}#detail .individual-stat-iv{color:var(--muted);font-size:11px}#detail .individual-stat-iv span{opacity:.75}#detail .individual-stat-table abbr{text-decoration:none;cursor:help}#detail .individual-nature{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px;margin-block-start:4px;padding-block-start:4px;border-block-start:1px solid var(--line);font-size:12px;line-height:1.4}#detail .individual-nature>span,#detail .individual-nature small{color:var(--muted)}#detail .individual-nature small{font-size:11px}#detail .pokemon-matchup-list{display:grid;gap:4px}#detail .pokemon-matchup-row{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;align-items:center;min-height:20px}#detail .pokemon-matchup-row>small{font-size:12px;line-height:1.4;color:var(--muted)}#detail .pokemon-matchup-values{display:flex;flex-wrap:wrap;align-items:center;gap:4px;min-width:0}#detail .pokemon-matchup-values .no-matchups{padding:0;font-size:12px;color:var(--muted)}#detail .pokemon-matchup-values .matchup-group{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px;max-width:100%}#detail .pokemon-matchup-summary{padding-inline-start:16px;border-inline-start:1px solid var(--line)}#detail:not(.wild-details) .detail-header-overview.pokemon-summary-layout{grid-template-columns:minmax(272px,320px) minmax(0,1fr);gap:12px 16px}#detail .pokemon-summary-layout>.individual-stat-summary{grid-column:1;grid-row:1}#detail .pokemon-summary-layout>.pokemon-matchup-summary{grid-column:2;grid-row:1}#detail:not(.wild-details) .detail-header-overview.pokemon-summary-layout>.detail-evolve-action{grid-column:1/-1;grid-row:2;justify-self:start}#detail.wild-details #detail-content .wild-summary-layout{display:grid;grid-template-columns:minmax(272px,320px) minmax(0,1fr);gap:12px 16px}#detail .wild-summary-layout>.wild-stat-note{grid-column:1/-1;margin:0}#detail .pokemon-summary-ability{margin-block-start:12px}@container owned-detail (max-width:560px){#detail:not(.wild-details) .detail-header-overview.pokemon-summary-layout{grid-template-columns:minmax(0,1fr)}#detail .pokemon-summary-layout>.pokemon-matchup-summary{grid-column:1;grid-row:2;padding-inline-start:0;border-inline-start:0;padding-block-start:12px;border-block-start:1px solid var(--line)}#detail:not(.wild-details) .detail-header-overview.pokemon-summary-layout>.detail-evolve-action{grid-column:1;grid-row:3}}@media(max-width:560px){#detail.wild-details #detail-content .wild-summary-layout{grid-template-columns:minmax(0,1fr)}#detail.wild-details .pokemon-matchup-summary{padding-inline-start:0;border-inline-start:0;padding-block-start:12px;border-block-start:1px solid var(--line)}}@media(max-width:380px){#detail .individual-stat-columns{gap:8px}#detail .individual-stat-name{gap:4px}#detail .individual-stat-table td{padding-inline-start:4px}}.detail-appraisal-summary{min-width:0}#detail .iv-appraisal{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-block-start:8px}#detail .iv-appraisal .appraisal-price{display:inline-flex;align-items:center;gap:6px;padding:0;font-size:20px;line-height:1.2;color:var(--mint);font-variant-numeric:tabular-nums;white-space:nowrap}#detail .iv-appraisal .appraisal-price img{flex:none;width:20px;height:20px}#detail .iv-appraisal button{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;font-size:12px;line-height:1.4;min-height:36px}#detail .iv-appraisal small{flex-basis:100%;font-size:12px;line-height:1.5;color:var(--muted)}#detail .iv-appraisal small span{font-size:11px}@media(pointer:coarse){#detail .iv-appraisal button{min-height:44px}}.map-stage-picker{--stage-thumb:56px;position:relative;display:flex;gap:0;min-width:0;inline-size:min(260px,calc(100vw - 120px));max-inline-size:100%;pointer-events:auto;align-self:stretch;border:1px solid #b7ecd8;border-radius:6px;background:#0c2934ed;box-shadow:0 2px 8px #03131b66}.map-stage-picker[hidden]{display:none}.map-stage-picker:has(.map-stage-destination.stage-ready:not(:disabled)){border-color:#c4ffe5;box-shadow:0 0 8px #8bd6aecc,0 0 24px #8bd6ae88,inset 0 0 8px #8bd6ae66,inset 0 0 18px #8bd6ae33}.map-controls .map-stage-picker :is(#map-escape,#map-next-stage).map-stage-destination{flex:1 1 0;min-inline-size:0;max-inline-size:none;margin:0;border:0;border-radius:5px 0 0 5px;box-shadow:none;background:transparent;padding:8px;gap:8px;text-align:start;justify-content:flex-start;font-size:13px;line-height:1.4}.map-controls .map-stage-picker :is(#map-escape,#map-next-stage).map-stage-destination:hover{background:#20483f}.map-controls .map-stage-picker .map-stage-destination.has-xp-gap :is(.map-destination-label,.map-next-copy){display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-block-size:32px}.map-controls .map-stage-picker :is(#map-escape,#map-next-stage).map-stage-destination .map-destination-gap{display:block;margin:0;color:var(--xp-gap-red,#ff9eaa);font-size:11px;font-weight:600;line-height:1.2}.map-controls .map-stage-picker #map-next-stage.map-stage-destination:not(.stage-ready):hover{background:transparent}.map-controls .map-stage-picker :is(#map-escape,#map-next-stage) .stage-preview{flex:0 0 var(--stage-thumb);inline-size:var(--stage-thumb)}.map-controls .map-stage-picker .map-stage-toggle{display:grid;place-items:center;min-inline-size:28px;inline-size:28px;flex:0 0 28px;margin:0;padding:0;border:0;border-inline-start:1px solid #719a9166;border-radius:0 5px 5px 0;background:transparent;color:#e9fff5;box-shadow:none}.map-stage-toggle .enemy-count-arrow,.map-stage-toggle svg{inline-size:14px;block-size:14px}.map-controls .map-stage-picker .map-stage-toggle:hover,.map-controls .map-stage-picker .map-stage-toggle[aria-expanded=true]{background:#20483f}.map-stage-options{position:absolute;inset-block-end:calc(100% + 6px);inset-inline:-1px;inline-size:calc(100% + 2px);box-sizing:border-box;max-block-size:var(--stage-menu-height,300px);overflow-y:auto;overscroll-behavior:auto;padding:3px;border:1px solid #b7ecd8;border-radius:6px;background:#0c2934fa;box-shadow:0 4px 18px #03131b88;z-index:12;pointer-events:auto;scrollbar-width:thin;scrollbar-color:#719a91 #0c2934}.map-stage-options[hidden]{display:none}.map-controls .map-stage-options button{display:flex;flex-direction:row;align-items:center;gap:8px;inline-size:100%;min-block-size:48px;text-align:start;padding:6px 4px;border:1px solid transparent;border-radius:3px;background:transparent;color:#e9fff5;white-space:normal}.map-stage-art{display:block;flex:0 0 var(--stage-thumb);inline-size:var(--stage-thumb);aspect-ratio:16/9;border-radius:3px;background-repeat:no-repeat;image-rendering:pixelated}.map-stage-copy{display:flex;flex-direction:column;gap:2px;min-inline-size:0}.map-stage-copy strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.map-controls .map-stage-options button:hover,.map-controls .map-stage-options button:focus-visible{background:#20483f;border-color:#8bd6ae}.map-stage-options button.is-current{background:#183b36}.map-stage-options small{font-size:11px;color:#b8cdc5}.map-controls .map-stage-options button.is-boss{background:#302d3b;border-color:#d4b8f333}.map-controls .map-stage-options button.is-boss:is(:hover,:focus-visible,.is-current){background:#40394b;border-color:#d4b8f3}.map-stage-options button.is-boss .map-stage-copy strong{color:#f5dfae}.map-stage-options button.is-boss small{color:#f3d99f}.map-stage-xp{color:#c5d9e4}.map-stage-xp.has-bonus{color:#a8efd2}.map-stage-xp.has-penalty{color:var(--yellow);font-weight:600}.journey-active .map-stage-picker{display:none}@media(max-width:480px){.map-stage-picker{--stage-thumb:40px}.map-controls .map-stage-picker :is(#map-escape,#map-next-stage).map-stage-destination,.map-stage-copy strong{font-size:12px}.map-controls .map-stage-picker :is(#map-escape,#map-next-stage).map-stage-destination{padding:6px;gap:5px}}#achievements-view{padding-block:16px}#achievements-view .achievement-heading{gap:12px;margin-bottom:12px}#achievements-view .achievement-heading h2{font-size:24px;margin-bottom:4px}#achievements-view .achievement-heading p{font-size:14px;line-height:1.4;max-width:none}#achievements-view .achievement-eyebrow{margin-bottom:4px!important}#achievements-view .achievement-heading-actions{gap:6px}#achievements-view .achievement-heading-actions button{padding:6px 12px}#achievements-view .achievement-overview{gap:10px;margin-bottom:10px}#achievements-view .achievement-total{gap:14px;padding:12px 16px;border-radius:8px}#achievements-view .achievement-total>svg{width:40px;height:40px}#achievements-view .achievement-total strong{font-size:28px}#achievements-view .achievement-total strong small{font-size:16px}#achievements-view .achievement-total span{font-size:12px}#achievements-view .merit-summary{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:4px 12px;padding:12px 16px;border-radius:8px}#achievements-view .merit-summary>span{font-size:11px;grid-column:1/-1}#achievements-view .merit-summary strong{font-size:24px;margin:0;grid-row:2/4}#achievements-view .merit-summary p{font-size:12px;margin:0}#achievements-view .merit-summary progress{margin:0}#achievements-view .achievement-discovery{font-size:13px;line-height:1.4;margin:0 0 8px;max-width:none}#achievements-view .achievement-help{padding-block:4px;margin-bottom:10px}#achievements-view .achievement-help summary{font-size:13px}#achievements-view .achievement-help p{font-size:14px;margin-block:8px}#achievements-view .achievement-pins{padding:10px 12px;margin-bottom:10px;border-radius:8px;display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px}#achievements-view .achievement-pin-heading{gap:12px;flex:1}#achievements-view .achievement-pin-heading h3{font-size:13px}#achievements-view .achievement-pin-heading>span{font-size:12px;white-space:nowrap}#achievements-view .achievement-pins>p{font-size:13px;line-height:1.4;margin:0}#achievements-view .achievement-pin-list{flex-basis:100%;margin-top:4px;gap:8px}#achievements-view .achievement-pin-list button{padding:8px 10px}#achievements-view .achievement-filters{gap:4px;margin-bottom:8px}#achievements-view .achievement-filters button{font-size:13px;padding:6px 12px;border-radius:18px}#achievements-view .achievement-tools{padding-block:10px;gap:8px 12px}#achievements-view .achievement-tools label:not(.achievement-check){gap:4px;font-size:12px}#achievements-view .achievement-tools :is(input:not([type=checkbox]),select){font-size:13px;padding:6px 10px}#achievements-view .achievement-check{font-size:12px;gap:6px}#achievements-view .achievement-result{font-size:13px;margin-block:10px}@media(pointer:fine){#achievements-view :is(.achievement-heading-actions button,.achievement-filters button,.achievement-tools input:not([type=checkbox]),.achievement-tools select,.achievement-check){min-height:36px}}@media(max-width:650px){#achievements-view .achievement-heading-actions{margin-top:8px}#achievements-view .achievement-overview{grid-template-columns:1fr 1fr;gap:8px}#achievements-view .achievement-total{padding:10px;gap:8px}#achievements-view .achievement-total>svg{width:28px;height:28px}#achievements-view .achievement-total strong{font-size:24px}#achievements-view .achievement-total strong small{font-size:13px}#achievements-view .merit-summary{padding:10px;gap:4px 8px}#achievements-view .merit-summary>span{font-size:10px;letter-spacing:0}#achievements-view .achievement-tools>label{min-width:120px}}@media(max-width:380px){#achievements-view .achievement-overview{grid-template-columns:1fr}}#achievements-view .achievement-heading{align-items:center;margin-block-end:10px}#achievements-view .achievement-heading>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;min-inline-size:0}#achievements-view .achievement-heading h2,#achievements-view .achievement-heading p{margin:0}#achievements-view .achievement-overview{grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:12px}#achievements-view .achievement-total{gap:12px;padding:12px 16px}#achievements-view .achievement-total>svg{inline-size:32px;block-size:32px}#achievements-view .achievement-total>div:not(.achievement-total-progress){display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;min-inline-size:0}#achievements-view .achievement-total span{font-size:13px}#achievements-view .merit-summary{grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:10px 12px 10px 16px;border-color:color-mix(in srgb,var(--ach-gold) 45%,var(--line));background:linear-gradient(110deg,color-mix(in srgb,var(--ach-gold) 8%,var(--surface)),var(--surface))}#achievements-view .merit-summary-copy{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;align-items:center;min-inline-size:0}#achievements-view .merit-summary-copy>span{grid-column:1/-1;font-size:11px;letter-spacing:.6px;color:var(--ach-gold)}#achievements-view .merit-summary-copy>strong{grid-column:1;grid-row:2/4;font-size:26px;line-height:1.2;margin:0;color:var(--text)}#achievements-view .merit-summary-copy>p{grid-column:2;grid-row:2;font-size:13px;line-height:1.4;overflow-wrap:anywhere}#achievements-view .merit-summary-copy>progress{grid-column:2;grid-row:3}#achievements-view .merit-summary progress::-moz-progress-bar{background:var(--ach-gold)}#achievements-view .merit-benefits{display:flex;align-items:center;justify-content:center;gap:12px;min-block-size:62px;padding:10px 16px;border:1px solid color-mix(in srgb,var(--ach-gold) 70%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--ach-gold) 18%,var(--surface-raised));color:var(--text);text-align:start;box-shadow:inset 0 1px color-mix(in srgb,var(--ach-gold) 18%,transparent)}#achievements-view .merit-benefits-star{font-size:28px;color:var(--ach-gold);line-height:1}#achievements-view .merit-benefits b{display:block;font-size:15px;line-height:1.4;color:var(--text)}#achievements-view .merit-benefits small{display:block;font-size:12px;line-height:1.4;color:var(--ach-gold);margin-block-start:2px}#achievements-view .merit-benefits:hover{background:color-mix(in srgb,var(--ach-gold) 26%,var(--surface-raised));border-color:var(--ach-gold)}#achievements-view .merit-benefits:focus-visible{outline:2px solid var(--ach-gold);outline-offset:3px}#achievements-view .merit-benefits[aria-expanded=true]{border-color:var(--ach-gold);background:color-mix(in srgb,var(--ach-gold) 24%,var(--surface-raised))}#achievements-view .achievement-pins:not(:has(.achievement-pin-list)){padding:4px 2px;border:0;background:transparent;gap:6px 12px}#achievements-view .achievement-pins:not(:has(.achievement-pin-list)) .achievement-pin-heading{flex:0 0 auto;gap:8px}#achievements-view .achievement-pins>p{color:var(--muted)}#achievements-view .achievement-filters{padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface);gap:2px;margin-block-end:0}#achievements-view .achievement-filters button{border-radius:5px;padding-inline:10px}#achievements-view .achievement-tools{border-block-start:0;padding-block:8px;gap:8px 12px}#achievements-view .achievement-search{flex:1 1 220px;max-inline-size:32rem;min-inline-size:min(100%,220px)}#achievements-view .achievement-result{margin-block:8px 12px}#achievements-view .achievement-inline-status:empty{display:none}@media(max-width:900px){#achievements-view .achievement-overview{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr)}#achievements-view .merit-summary{gap:10px}#achievements-view .merit-benefits{gap:8px;padding-inline:12px}}@media(max-width:650px){#achievements-view .achievement-heading{display:flex;align-items:flex-start;gap:12px}#achievements-view .achievement-heading-actions{margin:0;flex:none}#achievements-view .achievement-heading h2{font-size:22px}#achievements-view .achievement-heading p{font-size:13px}#achievements-view .achievement-overview{grid-template-columns:minmax(0,1fr)}#achievements-view .achievement-total{padding-block:8px}#achievements-view .merit-summary{padding:12px}#achievements-view .achievement-tools .achievement-search{max-inline-size:none;flex-basis:100%}#achievements-view .achievement-filters button{min-block-size:44px}}@media(max-width:480px){#achievements-view .merit-summary{grid-template-columns:minmax(0,1fr)}#achievements-view .merit-benefits{justify-content:flex-start;min-block-size:54px}#achievements-view .merit-benefits>span:last-child{margin-inline-start:auto}}@media(max-width:380px){#achievements-view .achievement-heading{flex-wrap:wrap}}.art-style-control{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;margin-inline-start:auto}.art-style-control select{max-width:160px;min-height:32px;padding:4px 6px;font:inherit}@media(pointer:coarse){.art-style-control select{min-height:44px}}html[data-owner-art-style=league-noir]{color-scheme:dark;--art-page:#11171d;--surface:#1b232b;--surface-raised:#242e37;--text:#f4efdf;--muted:#abb7c0;--line:#35414b;--mint:#9cdeca;--art-accent:#9cdeca;--art-accent-fill:#8ad4bd;--art-accent-ink:#142c27;--art-soft:#203a36;--art-hover:#303b45;--art-track:#35443e;--art-health:#9bd8b4;--art-danger:#ff9295;--art-warning:#f1d49a;--art-quiet-border:#2a3540;--scroll-track:#11171d;--scroll-thumb:#65717c;--scroll-thumb-hover:#a5b1ba;--scroll-thumb-active:#f4efdf;background:var(--art-page);color:var(--text)}html[data-owner-art-style=soft-linen]{color-scheme:light;--art-page:#ded9cc;--surface:#eae4d7;--surface-raised:#d8d5c8;--text:#2b3531;--muted:#505e55;--line:#aeb8aa;--mint:#286956;--art-accent:#286956;--art-accent-fill:#34745f;--art-accent-ink:#fffaf0;--art-soft:#cdd9c9;--art-hover:#cdd1c1;--art-track:#c1cbbd;--art-health:#356b49;--art-danger:#982c3b;--art-warning:#795413;--art-quiet-border:#c5c9ba;--yellow:#795413;--orange:#a54f27;--scroll-track:#ded9cc;--scroll-thumb:#8b9787;--scroll-thumb-hover:#5a6956;--scroll-thumb-active:#303737;background:var(--art-page);color:var(--text)}html[data-owner-art-style] body{background:var(--art-page);color:var(--text)}html[data-owner-art-style] :is(.combat-panel,.catch-panel,.shop-panel,.collection-panel,.feed-panel,.starter-panel,.battle-player,.arena-heading,.group-result,.shop-card,.shop-heading,.roster-world-panel>[role=tabpanel],.owner-account-tools,.save-controls){background-color:var(--surface);color:var(--text)}html[data-owner-art-style] :is(.masthead,.guide,.shop-row,.team-row,.section-heading,.collection-toolbar,.roster-world-panel,.battle-map-frame,.battle-events){border-color:var(--line)}html[data-owner-art-style] :is(.combat-panel,.catch-panel,.shop-panel,.companion-card,.shop-card,.shop-heading,.roster-world-panel>[role=tabpanel]){border-color:var(--art-quiet-border);box-shadow:none}html[data-owner-art-style] :is(.team-tabs,.audio-controls,.catch-filters,.catch-order,.catch-owned-filter,.map-size-control,.roster-world-tabs,#stages-view #regions,.stage-browse-tools,.battle-setup-search-row,.battle-setup-matchup,.collection-filter-panel){background-color:var(--surface);color:var(--text);border-color:var(--art-quiet-border);box-shadow:none}html[data-owner-art-style] :is(.team-row.is-selected,.team-move.is-using,.library-move.new-move,.learn-notice,.encounter-alert-tabs [aria-selected=true],.encounter-alert-roster button[aria-pressed=true],.encounter-alert-selected button){background-color:var(--art-soft);color:var(--text)}html[data-owner-art-style] :is(.detail-passive,.detail-traits,.detail-stat,.move-slot,.learned-move,.evolution-option,.new-skill-banner,.move-filters,.move-filter-group,.detail-cosmetic-moves,.battle-setup-advanced){background-color:var(--surface-raised);color:var(--text);border-color:var(--line)}html[data-owner-art-style] :is(.detail-stat strong,.detail-passive strong,.slot-content>strong,.learned-move-title strong,.detail-passive p){color:var(--text)}html[data-owner-art-style] :is(.detail-passive small,.detail-passive p,.detail-traits small,.detail-stat small,.slot-number,.slot-facts,.move-metric,.move-effect-description,.learned-move-title small,#slot-prompt,#editor-feedback,.new-skill-banner small){color:var(--muted)}html[data-owner-art-style] .team-row.is-selected{box-shadow:inset 2px 0 var(--art-accent)}html[data-owner-art-style] .team-row.is-fainted{background-color:var(--surface-raised)}html[data-owner-art-style] :is(.companion-card,.battle-skill,.team-move,.catch-target,.library-move,.battle-setup-mon,.battle-setup-search-row,.shop-art,.stats-grid>div,.detail-stat,.pokedex-card,.pokedex-entry,.encounter-alert-roster button){background-color:var(--surface-raised);color:var(--text);border-color:var(--art-quiet-border)}html[data-owner-art-style] :is(.team-expanded,.team-search-note,.team-move small,.team-select small,.skill-state,.combat-passive,.companion-title p,.companion-card small,.recovery-note,.guide-body,.stage-nav span,.stage-nav small,.dialog-heading p,.ability,.library-move p,.library-move span,.save-menu summary,.app-footer,.detail-healing,.pokemon-detail-heading h2 small,#detail-hp){color:var(--muted)}html[data-owner-art-style] :is(.team-select strong,.companion-title h3,.fighter-name,.combatant-heading h3,.pokemon-detail-heading h2,.collection-panel h2,.arena-heading h2,.shop-card h4){color:var(--text)}html[data-owner-art-style] button{color:var(--text);background-color:var(--surface-raised);border-color:var(--art-quiet-border);box-shadow:none}html[data-owner-art-style] :is(.battle-events-toolbar button,.team-info,.team-switch,.quick-potion,.companion-actions button,.roster-world-tabs [role=tab],#battleground-scroll-top,.battle-setup-controls button,.owner-account-tools button){border-color:transparent;background:transparent;color:var(--muted);box-shadow:none}html[data-owner-art-style] .battle-events-toolbar :is(#encounter-alert-button,#toggle-events,[data-sound-studio],#sound){border-color:transparent;background:transparent;color:var(--muted);box-shadow:none}html[data-owner-art-style] .battle-events-toolbar #map-enemy-count{border-color:transparent;box-shadow:none;background-color:var(--surface-raised)}html[data-owner-art-style] :is(button:not(:disabled):hover,.team-info:hover,.catch-target-info:hover){background-color:var(--art-hover);border-color:transparent;color:var(--text);box-shadow:none}html[data-owner-art-style] :is(.team-select,.team-info,.team-switch,.catch-target-info){background-color:transparent}html[data-owner-art-style] :is(.roster-world-tabs [aria-selected=true],.team-tabs button[aria-pressed=true],#shop-categories button[aria-pressed=true],.battle-setup-filter-toggle[aria-expanded=true],.collection-filter-toggle[aria-expanded=true]){background:var(--art-soft);border-color:transparent;color:var(--art-accent);box-shadow:none}html[data-owner-art-style] :is(#stages-view #regions>button){background:var(--surface-raised);border-color:transparent;color:var(--muted);box-shadow:none}html[data-owner-art-style] #stages-view #regions>button[aria-pressed=true]{background:var(--art-accent-fill);border-color:transparent;color:var(--art-accent-ink);box-shadow:none}html[data-owner-art-style] #stages-view #regions>button:not(:disabled):hover{background:var(--art-hover);color:var(--text);border-color:transparent;box-shadow:none}html[data-owner-art-style] #stages-view #regions>button[aria-pressed=true]:hover{background:var(--art-accent-fill);color:var(--art-accent-ink)}html[data-owner-art-style] :is(#shop-categories button,.collection-toolbar button){border-color:transparent;background-color:var(--surface-raised);box-shadow:none}html[data-owner-art-style] :is(.shop-card-bottom button:not(:disabled),.capture-actions button[data-capture-throw],.starter-choice button[data-choose]){background:var(--art-accent-fill);color:var(--art-accent-ink);border-color:transparent;box-shadow:none}html[data-owner-art-style] :is(.danger,#reset-only,#account-signout),html[data-owner-art-style] .app-footer #account-signout{color:var(--art-danger);border-color:transparent;background:var(--art-soft)}html[data-owner-art-style] :is(button:disabled,.stage-nav button:disabled,.shop-card-bottom button:disabled){background-color:var(--surface);color:var(--muted);border-color:var(--art-quiet-border);box-shadow:none}html[data-owner-art-style] :is(button,select,summary,input):focus-visible{outline-color:var(--art-accent)}html[data-owner-art-style] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){color:var(--text);background-color:var(--surface-raised);border-color:var(--line);accent-color:var(--art-accent)}html[data-owner-art-style] body select:not([multiple]):not([size]){background-color:var(--surface-raised)!important;color:var(--text)}html[data-owner-art-style] body .map-size-control select:not([multiple]):not([size]){background-color:transparent!important}html[data-owner-art-style] body select :is(option,optgroup){background:var(--surface-raised);color:var(--text)}html[data-owner-art-style] :is(dialog,#combat-tooltip,.combat-tooltip,.stage-tooltip,.save-menu .save-controls,.battle-setup-drag-ghost){background-color:var(--surface);color:var(--text);border-color:var(--line)}html[data-owner-art-style] :is(.team-hp-track,.hp-track,.combat-hp-track,.health-bar,.xp-track){background-color:var(--art-track)}html[data-owner-art-style] :is(.hp-fill,.team-hp-track>i,.combat-hp-track>i){background:var(--art-health)!important}html[data-owner-art-style] :is(#wallet strong,.shop-price,.catch-time,.catch-shiny-owned){color:var(--art-warning)}html[data-owner-art-style] #catch-target-count{background:var(--art-soft);color:var(--art-accent)}html[data-owner-art-style] :is(.catch-target:hover,.team-move:hover,.library-move:hover){background-color:var(--art-hover);color:var(--text)}html[data-art-tone=light] :is(.team-expanded,.battle-skill-meta,.combat-passive,.companion-card p,.companion-card small,.companion-stats,.recovery-note,.move-description,.detail-stat-label,.detail-stat-value,.detail-stat-summary,.detail-matchups,.pokedex-summary,.pokedex-detail,.capture-ball-option,.shop-card p,.catch-empty,.encounter-alert-settings p,.encounter-alert-notice p){color:var(--text)}html[data-art-tone=light] :is(.detail-stats,.detail-stat-group,.detail-stat-row,.matchups,.pokemon-detail-section,.capture-ball-option,.pokedex-detail,.pokedex-summary,.pokedex-filters){background-color:var(--surface);border-color:var(--line)}html[data-art-tone=light] .stage-nav button:disabled em{color:var(--muted)}html[data-art-tone=light] .catch-shiny .catch-target{background-color:var(--surface)}html[data-art-tone=light] .game-icon:not([style]):not(.icon-physical):not(.icon-special):not(.icon-status){color:var(--muted)}html[data-owner-art-style] .map-controls :is(button,#map-escape,#map-next-stage){color:#fff5df}html[data-owner-art-style] :is(.has-xp-gap,.xp-gap-penalty,.xp-gap-info,.team-xp-gap-action){--xp-gap-red:var(--art-danger)}html[data-owner-art-style] :is(.xp-gap-info,.team-xp-gap-action){color:var(--art-danger);background:transparent}html[data-owner-art-style] .roster-world-tabs .stages-tab-warning.has-xp-gap [role=tab]{color:var(--art-danger)}html[data-owner-art-style] :is(.stage-xp-bonus.has-bonus,.combat-training.has-bonus,.xp-preview-value.has-bonus):not(.has-xp-gap){color:var(--art-health)}html[data-owner-art-style] #stage-name .battleground-stage-xp:not(.has-xp-gap){color:var(--art-health)}html[data-owner-art-style] .team-row :is(.team-select,.team-info,.team-move,.quick-potion){transform:none}html[data-owner-art-style=league-noir] .achievement-journal{--ach-accent:var(--art-accent);--ach-wash:var(--art-soft);--ach-gold:var(--art-warning);color:var(--text)}html[data-owner-art-style=league-noir] .achievement-journal[data-skin=forest]{--ach-accent:#b5e6a4;--ach-wash:#26382d}html[data-owner-art-style=league-noir] .achievement-journal[data-skin=ocean]{--ach-accent:#9edbef;--ach-wash:#25343e}html[data-owner-art-style=league-noir] .achievement-journal[data-skin=stone]{--ach-accent:#e6c7a4;--ach-wash:#38332e}html[data-owner-art-style=league-noir] .achievement-journal[data-skin=dragon]{--ach-accent:#d0b1fa;--ach-wash:#332d40}html[data-owner-art-style=league-noir] :is(.achievement-total,.merit-summary,.achievement-pins,.achievement-card,.merit-unlock,.notification-center,.achievement-attempt){background:var(--surface);color:var(--text);border-color:var(--line)}html[data-owner-art-style=league-noir] :is(.achievement-total,.achievement-card.is-ready,.merit-unlock.is-earned){background:linear-gradient(135deg,var(--ach-wash),var(--surface));border-color:var(--ach-accent)}html[data-owner-art-style=league-noir] .achievement-card.is-claimed{background:var(--art-soft);border-color:var(--line)}html[data-owner-art-style=league-noir] .achievement-card.is-locked{background:var(--art-page)}html[data-owner-art-style=league-noir] .achievement-card:hover{border-color:var(--ach-accent)}html[data-owner-art-style=league-noir] :is(.achievement-emblem,.achievement-lock,.achievement-rewards span){background:var(--surface-raised);border-color:var(--line);color:var(--muted)}html[data-owner-art-style=league-noir] :is(.achievement-emblem,.achievement-rewards .merit-reward,.notification-kind,.achievement-attempt-notice strong){color:var(--art-warning)}html[data-owner-art-style=league-noir] :is(.achievement-heading p,.achievement-total strong small,.achievement-total span,.merit-summary p,.achievement-help p,.achievement-pins>p,.achievement-pin-list small,.achievement-tools label:not(.achievement-check),.achievement-check,.achievement-result,.achievement-card-top p span,.achievement-state,.achievement-objective,.achievement-progress-label,.achievement-card details summary,.achievement-card details p,.achievement-pagination span,.achievement-empty p,.achievement-unlocks p,.notification-center>p,.notification-tools label,.notification-entry p,.notification-entry time,.notification-empty,.notification-center>small,.achievement-toast div>span,.achievement-attempt p,.achievement-attempt label){color:var(--muted)}html[data-owner-art-style=league-noir] :is(.achievement-progress-label strong,.achievement-attempt-team legend){color:var(--text)}html[data-owner-art-style=league-noir] :is(.achievement-help,.achievement-tools,.achievement-rewards,.achievement-empty,.notification-entry,.achievement-attempt-team fieldset){border-color:var(--line)}html[data-owner-art-style=league-noir] :is(.achievement-total-progress,.achievement-journal progress){background:var(--art-track)}html[data-owner-art-style=league-noir] .achievement-journal progress::-webkit-progress-bar{background:var(--art-track)}html[data-owner-art-style=league-noir] .achievement-pin-list button{background:var(--surface-raised);border-color:var(--line)}html[data-owner-art-style=league-noir] .achievement-filters button{background:transparent;color:var(--muted)}html[data-owner-art-style=league-noir] .achievement-filters button:hover{background:var(--art-hover);color:var(--text)}html[data-owner-art-style=league-noir] :is(.achievement-filters button[aria-pressed=true],.achievement-card-actions [aria-pressed=true],.merit-unlock button[aria-pressed=true]){background:var(--ach-wash);border-color:var(--ach-accent);color:var(--ach-accent)}html[data-owner-art-style=league-noir] :is(.achievement-claim:not(:disabled),.achievement-heading-actions button:last-child:not(:disabled),.achievement-attempt button[type=submit]:not(:disabled)){background:var(--art-accent-fill);color:var(--art-accent-ink);border-color:transparent}html[data-owner-art-style=league-noir] .achievement-card details .achievement-why{color:var(--ach-accent)}html[data-owner-art-style=league-noir] .notification-bell svg{stroke:var(--art-accent)}html[data-owner-art-style=league-noir] .notification-bell b{background:var(--art-accent-fill);color:var(--art-accent-ink)}html[data-owner-art-style=league-noir] .notification-tools input{accent-color:var(--art-accent)}html[data-owner-art-style=league-noir] .achievement-toast{background:linear-gradient(120deg,var(--art-soft),var(--surface));border-color:var(--art-accent);color:var(--text)}html[data-owner-art-style=league-noir] :is(.achievement-toast small,.achievement-attempt-controls strong){color:var(--art-accent)}html[data-owner-art-style=league-noir] .achievement-attempt-notice{background:var(--surface-raised);border-color:var(--art-warning)}html[data-owner-art-style=league-noir] .achievement-attempt-warning{color:var(--art-warning)!important}html[data-owner-art-style=league-noir] .achievement-attempt [data-attempt-error]{color:var(--art-danger)}html:where([data-owner-art-style]:not([data-owner-art-style=league-noir]):not([data-owner-art-style=soft-linen])){color-scheme:dark;--text:#e6ede7;--muted:#b2c4ba;--line:#43574c;--mint:#a4dac2;--art-accent:var(--mint);--art-accent-fill:#93cdb3;--art-accent-ink:#193126;--art-track:#3d5145;--art-health:#9ed4aa;--art-danger:#f7a4aa;--art-warning:#e2cfa2;--art-quiet-border:var(--line);--yellow:var(--art-warning);--orange:#e5b38e;--scroll-track:var(--art-page);--scroll-thumb:#7c9485;--scroll-thumb-hover:#b1c6b7;--scroll-thumb-active:var(--text);background:var(--art-page);color:var(--text)}html:where([data-art-tone=light]:not([data-owner-art-style=soft-linen])){color-scheme:light;--text:#273d38;--muted:#47635a;--line:#a0b9ac;--mint:#236451;--art-accent:var(--mint);--art-accent-fill:#34715e;--art-accent-ink:#f1eddf;--art-track:#b8cec0;--art-health:#326a48;--art-danger:#942d3a;--art-warning:#705015;--art-quiet-border:var(--line);--yellow:var(--art-warning);--orange:#8c4827;--scroll-thumb:#7d9a89;--scroll-thumb-hover:#4c6d59}html[data-owner-art-style=seaglass-summer]{--art-page:#cbded6;--surface:#dfe8d8;--surface-raised:#c4d9cf;--art-soft:#b6d2c4;--art-hover:#b5cfc3;--line:#9db5a6}html[data-owner-art-style=frostfall]{--art-page:#18242e;--surface:#23333f;--surface-raised:#2b3f4c;--text:#dfebec;--muted:#b0c6ce;--line:#4c6372;--mint:#a5d4db;--art-accent-fill:#9dcbd2;--art-accent-ink:#17313a;--art-soft:#304c56;--art-hover:#374f5d;--art-track:#3c5155}html[data-owner-art-style=pokemon-center]{--art-page:#dbcfd0;--surface:#e8ded8;--surface-raised:#d6c9c9;--text:#3f3438;--muted:#68535c;--line:#b6a2a8;--mint:#376858;--art-accent-fill:#477b68;--art-accent-ink:#f1e9df;--art-soft:#cad7c9;--art-hover:#cdbfbe;--art-track:#bbcdbd}html[data-owner-art-style=verdant-grove]{--art-page:#18261e;--surface:#23352a;--surface-raised:#2d4334;--text:#e7eddc;--muted:#b9c9ae;--line:#4d6650;--mint:#bed09e;--art-accent-fill:#afc78e;--art-accent-ink:#25341d;--art-soft:#3c5135;--art-hover:#3c5540;--art-track:#415640}html[data-owner-art-style=ember-caldera]{--art-page:#261f20;--surface:#35292a;--surface-raised:#443334;--text:#eee2d6;--muted:#cfb8ab;--line:#6a4c47;--mint:#e7b58c;--art-accent-fill:#d7a27b;--art-accent-ink:#33221c;--art-soft:#543a30;--art-hover:#573f3a;--art-track:#4a5140;--art-warning:#e4c899}html[data-owner-art-style=pocket-cartridge]{--art-page:#c7cba5;--surface:#d5d8b6;--surface-raised:#bcc49c;--text:#303d27;--muted:#4b5e3b;--line:#8b9a70;--mint:#3a5937;--art-accent-fill:#506d41;--art-accent-ink:#e5e7c9;--art-soft:#aebf8d;--art-hover:#aeb990;--art-track:#a2b38a;--art-health:#416a3c}html[data-owner-art-style=moonlit-harbor]{--art-page:#1b2030;--surface:#272e40;--surface-raised:#323b50;--text:#e6e8ef;--muted:#b7c0d4;--line:#505e7a;--mint:#a5d1ca;--art-accent-fill:#a0c9c5;--art-accent-ink:#213333;--art-soft:#324b53;--art-hover:#414c63;--art-track:#405455}html[data-art-tone=light] :is(.companion,.companion.deployed,.companion.fainted,.dex-card,.dex-entry,.dex-research,.dex-stat,.dex-counts,.dex-move,.dex-habitat,.detail-appraisal,.detail-appraisal-summary,.detail-nature,.detail-matchup,.stats-grid>div,.battle-skill,.team-move,.battle-setup-slot,.party-empty-slot,.team-empty-slot){background-color:var(--surface-raised);color:var(--text);border-color:var(--line)}html[data-art-tone=light] :is(#dex-entry,.dex-tools,.dex-heading,.dex-animation-preview,.dex-research-grid,.dex-section,.dex-ability,.dex-move-list,.detail-stat-section,.detail-matchup-section,.detail-matchup-groups,.battle-setup-preview,.battle-setup-opponents,.battle-setup-filters,.collection-filter-panel){background-color:var(--surface);color:var(--text);border-color:var(--line)}html[data-art-tone=light] :is(.companion-title h3,.companion-title small,.companion-stats,.party-tag,.dex-card strong,.dex-card small,.dex-entry-heading h3,.dex-entry-number,.dex-research strong,.dex-research small,.dex-move,.dex-habitat,.dex-ability,.no-matchups,.detail-matchup>small,.editor-section-heading>small,.detail-stat strong,.detail-stat small,.detail-passive strong,.detail-passive small,.move-metric,.move-effect-description,.slot-number,.learned-move-title small,.recovery-note,.team-hp-numbers,.team-health,.team-search-note,.battle-skill .skill-state){color:var(--text)}html[data-art-tone=light] :is(.dex-counts small,.dex-section>small,.dex-research-label,.dex-search-note,.detail-matchup-label,.detail-stat-label,.editor-section-heading small,.effect-stat,.ability,.guide-body,.library-move p,.library-move span){color:var(--muted)}html[data-art-tone=light] :is(.effect-up,.xp-preview-value.has-bonus){color:var(--art-health)}html[data-art-tone=light] .effect-down{color:var(--orange)}html[data-art-tone=light] .hp-tag{color:var(--art-health)}html[data-art-tone=light] :is(.companion .hp-numbers,.fighter .hp-numbers,#detail-hp){color:var(--text)}html[data-art-tone=light] :is(.catch-filter-check,.encounter-shiny-check){background:var(--surface-raised);border-color:var(--mint);color:var(--text);box-shadow:none}html[data-art-tone=light] .encounter-shiny-option input:checked+.encounter-shiny-check{background:var(--art-accent-fill);color:var(--art-accent-ink);border-color:var(--art-accent-fill);box-shadow:none}html[data-art-tone=light] .catch-owned-filter input:checked~.catch-filter-check{background:var(--art-accent-fill);color:var(--art-accent-ink)}html[data-art-tone=light] .catch-filter-check svg{color:var(--art-accent-ink)}html[data-art-tone=light] #capture-dialog .capture-ball-option{background:var(--surface-raised);color:var(--text);border-color:var(--line)}html[data-art-tone=light] #capture-dialog .capture-ball-option:hover:enabled{background:var(--art-hover)}html[data-art-tone=light] #capture-status[data-result=failure]{color:var(--art-danger)}html[data-art-tone=light] #capture-location{color:#e9f1df}html[data-art-tone=light] .map-controls :is(button,#map-escape,#map-next-stage){background-color:#293e37;color:#f1eadb;border-color:#677b6e}html[data-art-tone=light] :is(.map-stage-options,.stage-picker-menu){background-color:var(--surface);color:var(--text);border-color:var(--line)}html[data-art-tone=light] :is(.map-stage-options button,.stage-picker-menu button){background-color:var(--surface-raised);color:var(--text)}html[data-art-tone=light] .icon-attack{color:#8a4c26}html[data-art-tone=light] .icon-defense{color:#79601b}html[data-art-tone=light] .icon-special-attack{color:#315f91}html[data-art-tone=light] .icon-special-defense{color:#3e6c37}html[data-art-tone=light] .icon-hp{color:#8c3e52}html[data-art-tone=light] .icon-speed{color:#775078}html[data-art-tone=light] .save-menu summary,html[data-art-tone=light] .app-footer a{color:var(--mint)}html[data-art-tone=light] #sound-studio{--studio-line:var(--line);--studio-muted:var(--muted);--studio-accent:var(--mint);background:var(--surface);color:var(--text);border-color:var(--line)}html[data-art-tone=light] #sound-studio :is(.studio-header,.studio-master,.studio-monitor,.studio-footer,.studio-sidebar,.studio-track,.studio-option,.studio-card,.studio-section,.studio-controls){background-color:var(--surface-raised);color:var(--text);border-color:var(--line)}html[data-art-tone=light] #sound-studio :is(button,select,input[type=search]){background-color:var(--surface-raised);color:var(--text);border-color:var(--line)}html[data-art-tone=light] #sound-studio button.primary{background:var(--art-accent-fill);color:var(--art-accent-ink)}html[data-art-tone=light] #sound-studio button:hover{background:var(--art-hover);color:var(--text)}html[data-art-tone=light] body select:not([multiple]):not([size]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233a6253' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important}html[data-art-tone=light] body .map-size-control select:not([multiple]):not([size]){background-image:none!important}@media(forced-colors:active){html[data-art-tone=light] body select:not([multiple]):not([size]){appearance:auto;background-image:none!important;background-color:Canvas!important;color:CanvasText}}html[data-art-scenery]{color-scheme:dark;--text:#e8ede5;--muted:#b9c9bf;--line:#486054;--mint:#a0d9c1;--art-accent:var(--mint);--art-accent-fill:#93cdb3;--art-accent-ink:#1b3028;--art-track:#3c5147;--art-health:#9ed4aa;--art-danger:#f3a0a9;--art-warning:#e4cda5;--art-quiet-border:var(--line);--yellow:var(--art-warning);--orange:#e4b794;--scroll-track:var(--art-page);--scroll-thumb:#819689;--scroll-thumb-hover:#b5cabd;--scroll-thumb-active:var(--text);background:var(--art-page);color:var(--text)}html[data-art-scenery][data-owner-art-style=soft-linen]{--art-page:#1f2a25;--surface:#29372f;--surface-raised:#35473b;--art-soft:#3a503f;--art-hover:#435948;--line:#506856;--text:#eee8d8;--muted:#c4cdb9;--mint:#c0d2ab;--art-accent-fill:#b5c99f;--art-accent-ink:#263b26}html[data-art-scenery][data-owner-art-style=seaglass-summer]{--art-page:#152c32;--surface:#203b40;--surface-raised:#2b4d50;--art-soft:#315a59;--art-hover:#3a6062;--line:#4c7270;--text:#eee9dc;--muted:#c0d2c8;--mint:#a5dbcd;--art-accent-fill:#a4d3bf;--art-accent-ink:#203b32}html[data-art-scenery][data-owner-art-style=frostfall]{--art-page:#182833;--surface:#233b49;--surface-raised:#304b58;--art-soft:#355763;--art-hover:#405e6a;--line:#527583;--text:#e6eff0;--muted:#bed0d6;--mint:#afd6dd;--art-accent-fill:#aed3d9;--art-accent-ink:#223c42}html[data-art-scenery][data-owner-art-style=pokemon-center]{--art-page:#211e35;--surface:#2f2b48;--surface-raised:#40395a;--art-soft:#3e4960;--art-hover:#51496b;--line:#655b80;--text:#e9e5f0;--muted:#c8bfd8;--mint:#aed4d3;--art-accent-fill:#a9ccce;--art-accent-ink:#26343c}html[data-art-scenery][data-owner-art-style=verdant-grove]{--art-page:#17281f;--surface:#23382b;--surface-raised:#2e4935;--art-soft:#3c5538;--art-hover:#405b42;--line:#4b6d4f;--text:#e7ecdc;--muted:#beccb0;--mint:#bad49f;--art-accent-fill:#aecb91;--art-accent-ink:#283d21}html[data-art-scenery][data-owner-art-style=ember-caldera]{--art-page:#281f23;--surface:#392a30;--surface-raised:#4b363c;--art-soft:#594035;--art-hover:#60443f;--line:#76544f;--text:#efe2d8;--muted:#d1bcb0;--mint:#e5b68e;--art-accent-fill:#d7ab82;--art-accent-ink:#38271e}html[data-art-scenery][data-owner-art-style=pocket-cartridge]{--art-page:#232b2b;--surface:#303d3b;--surface-raised:#3e5048;--art-soft:#4c5a43;--art-hover:#526251;--line:#64765d;--text:#e8ebda;--muted:#c5ceb6;--mint:#c2d2a1;--art-accent-fill:#bacb99;--art-accent-ink:#303c24}html[data-art-scenery] body{background-color:var(--art-page)}html[data-art-scenery] :is(.companion,.companion.deployed,.companion.fainted){background-color:var(--surface);border-color:var(--line);color:var(--text)}html[data-art-scenery] :is(.companion .companion-title small,.companion .hp-numbers,.companion .recovery-note){color:var(--muted)}html[data-art-scenery] .roster-world-tabs{background-color:var(--surface)}html[data-art-scenery] .roster-world-tabs [aria-selected=true]{background:var(--art-soft);color:var(--mint)}html[data-art-scenery] :is(.team-move,.catch-target,.library-move,.shop-card,.dex-card){background-color:var(--surface-raised);color:var(--text)}html[data-art-scenery] :is(button,select,summary,input):focus-visible{outline-color:var(--mint)}html[data-art-scenery] :is(.hp-fill,.team-hp-track>i,.combat-hp-track>i){background:var(--art-health)!important}html[data-art-scenery] :is(.team-row.is-selected,.team-move.is-using){background-color:var(--art-soft)}.terrain-object-layer{display:none}html[data-art-scenery] :is(.battle-layout,.roster-world-panel){position:relative}html[data-art-scenery] .terrain-object-layer{display:block;position:absolute;inset:0;pointer-events:none;-webkit-user-select:none;user-select:none;z-index:1}html[data-art-scenery] .terrain-object{position:absolute;display:block;object-fit:contain;pointer-events:none;image-rendering:pixelated;filter:drop-shadow(0 3px 2px #0004)}.terrain-object--left-tall{inset-inline-end:calc(100% + 6px);inset-block-start:12%;inline-size:var(--terrain-left-space,0px);block-size:170px;object-position:right bottom}.terrain-object--right-tall{inset-inline-start:calc(100% + 6px);inset-block-start:32%;inline-size:var(--terrain-right-space,0px);block-size:150px;object-position:left bottom}.terrain-object--left-low{inset-inline-end:calc(100% + 6px);inset-block-end:8%;inline-size:min(72px,var(--terrain-left-space,0px));block-size:72px;object-position:right bottom}.terrain-object--right-low{inset-inline-start:calc(100% + 6px);inset-block-end:5%;inline-size:min(72px,var(--terrain-right-space,0px));block-size:64px;object-position:left bottom}html[data-art-scenery] .terrain-no-left-tree .terrain-object--left-tall,html[data-art-scenery] .terrain-no-right-tree .terrain-object--right-tall{display:none}.terrain-object--top-tuft{inset-inline-start:22%;inset-block-end:calc(100% + 2px);inline-size:44px;block-size:22px;object-position:center bottom}.terrain-object--roster-left{inset-inline-start:18px;inset-block-end:calc(100% + 2px);inline-size:42px;block-size:22px;object-position:center bottom}.terrain-object--roster-right{inset-inline-end:24px;inset-block-end:calc(100% + 2px);inline-size:40px;block-size:22px;object-position:center bottom}@media(max-width:700px){html[data-art-scenery] .terrain-object--left-tall,html[data-art-scenery] .terrain-object--right-tall,html[data-art-scenery] .terrain-object--left-low,html[data-art-scenery] .terrain-object--right-low{display:none}}
