.tcg-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;text-transform:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;background:radial-gradient(circle at 50% 40%,#12324dee,#030b14f5 70%);animation:tcg-fade .2s ease-out}@keyframes tcg-fade{0%{opacity:0}}.tcg-viewer-close{position:absolute;top:12px;right:12px;width:40px;height:40px;display:grid;place-items:center;border:2px solid #9dbbad80;border-radius:50%;background:#0b2233;color:#fff}.tcg-stage{perspective:1100px;touch-action:none;user-select:none;-webkit-user-select:none;padding:10px;cursor:grab}.tcg-stage:active{cursor:grabbing}.tcg-card{position:relative;width:min(82vw,calc((100dvh - 190px)*.716),390px);aspect-ratio:63 / 88;transform-style:preserve-3d;will-change:transform;animation:tcg-enter .45s cubic-bezier(.2,1.3,.4,1)}@keyframes tcg-enter{0%{opacity:0;scale:.7}}.tcg-viewer-hint{margin:0;color:#b9d3e2;font-size:15px;text-align:center}.tcg-viewer-actions{display:flex;gap:8px}.tcg-viewer-actions button{min-width:84px;padding:7px 12px;border:2px solid #21323e;border-radius:4px;background:linear-gradient(#ffd458,#f2a322);box-shadow:inset 0 0 0 1px #fff5b3,0 2px #7a3f00;color:#3a1d00;font-size:17px;font-weight:800}.tcg-face{position:absolute;top:0;right:0;bottom:0;left:0;container-type:inline-size;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:4.6%/3.3%;overflow:hidden;transform:translateZ(1.5px)}.tcg-face-back{transform:rotateY(180deg) translateZ(1.5px)}.tcg-face:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:7;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px #8fb3c8,inset 0 0 0 2px #0b141b}.tcg-edge{position:absolute;background:#0d1820}.tcg-edge.left,.tcg-edge.right{top:3.3%;bottom:3.3%;width:3px}.tcg-edge.left{left:-1.5px;transform:rotateY(90deg)}.tcg-edge.right{right:-1.5px;transform:rotateY(90deg)}.tcg-edge.top,.tcg-edge.bottom{left:4.6%;right:4.6%;height:3px}.tcg-edge.top{top:-1.5px;transform:rotateX(90deg)}.tcg-edge.bottom{bottom:-1.5px;transform:rotateX(90deg)}.tcg-back{position:relative;height:100%;padding:2.2cqw;background:#0f2338}.tcg-back img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3.4cqw;image-rendering:pixelated}.tcg-back:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:radial-gradient(circle at var(--mx) var(--my),#ffffff40,transparent 45%);mix-blend-mode:soft-light}.tcg-front{--rim: #1b2a36;--ink: #13222e;position:relative;height:100%;box-sizing:border-box;font-size:3.125cqw;line-height:1.15;color:var(--ink);display:grid;grid-template-rows:auto 16.4em auto 1fr auto auto auto;grid-template-areas:"head" "art" "dex" "body" "match" "flavor" "foot";gap:.32em;padding:.55em .75em .45em;border:.8em solid var(--rim);background:repeating-linear-gradient(0deg,#ffffff10 0 .12em,transparent .12em .24em),linear-gradient(165deg,color-mix(in srgb,var(--type),white 62%),color-mix(in srgb,var(--type),white 30%) 55%,color-mix(in srgb,var(--type2),white 40%));box-shadow:inset 0 0 0 .16em #e6be58,inset 0 0 0 .3em #7a5a12;font-family:Barlow Condensed,Arial Narrow,sans-serif}.tcg-front:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;pointer-events:none;background:radial-gradient(circle at var(--mx) var(--my),#ffffff55,transparent 42%);mix-blend-mode:soft-light}.tcg-head{grid-area:head;position:relative;z-index:2;display:flex;align-items:center;gap:.35em;min-width:0}.tcg-stage-pill{flex-shrink:0;padding:.22em .4em .15em;border:.1em solid var(--rim);border-radius:.25em;background:#f4efe0;font-family:Pixter Granular,"Press Start 2P",monospace;font-size:.62em;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);text-shadow:none}.tcg-name{flex:1;min-width:0;margin:0;overflow:hidden;font-size:1.85em;font-weight:800;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.tcg-royale{display:inline-grid;place-items:center;width:1.05em;height:1.05em;margin-left:.15em;border:.07em solid #5a3a00;border-radius:.2em;background:linear-gradient(135deg,#fff2a8,#f0b429 50%,#ff7ad9);color:#4a2600;font-family:"Press Start 2P",monospace;font-size:.5em;font-style:normal;vertical-align:.55em}.tcg-hp{flex-shrink:0;display:flex;align-items:baseline;gap:.1em;font-size:1.85em;font-weight:800;color:#9c1f1f}.tcg-hp small{font-size:.42em;font-weight:800;color:var(--ink)}.tcg-types{display:flex;gap:.15em}.tcg-orb{display:inline-grid;place-items:center;width:1.45em;height:1.45em;flex-shrink:0;border-radius:50%;background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--orb),white 45%),var(--orb) 55%,color-mix(in srgb,var(--orb),black 35%));box-shadow:0 0 0 .1em var(--rim),inset 0 -.12em #0003;font-size:1em;font-style:normal;line-height:1;image-rendering:pixelated}.tcg-orb{font-size:.78em}.tcg-types .tcg-orb{font-size:1.05em}.tcg-art{grid-area:art;position:relative;z-index:1;overflow:hidden;border:.28em solid #e6be58;outline:.1em solid #7a5a12;background-size:cover;background-position:center;image-rendering:pixelated;box-shadow:inset 0 0 1.2em #0005}.tcg-art>.creature-artwork{position:absolute;z-index:2;top:.6em;right:.6em;bottom:0;left:.6em}.tcg-art .pokemon-sprite{image-rendering:pixelated;filter:drop-shadow(0 .35em 0 #00000040)}.tcg-held{position:absolute;right:.35em;bottom:.3em;z-index:2;display:grid;place-items:center;width:2em;height:2em;border:.12em solid var(--rim);border-radius:50%;background:#f4efe0}.tcg-held img,.tcg-held svg{width:1.6em!important;height:1.6em!important}.tcg-evolves{position:absolute;z-index:3;top:3.55em;left:1.25em;display:flex;align-items:center;gap:.3em;padding:.12em .45em .12em .12em;border:.1em solid var(--rim);border-radius:1em;background:#f4efe0e6}.tcg-evo-thumb{position:relative;display:block;width:2.1em;height:2.1em;overflow:hidden;border:.1em solid var(--rim);border-radius:50%;background:color-mix(in srgb,var(--type),white 55%)}.tcg-evo-thumb>.creature-artwork{position:absolute;top:0;right:0;bottom:0;left:0}.tcg-evolves small{font-size:.7em;font-style:italic;font-weight:700}.tcg-dexline{grid-area:dex;z-index:2;margin:0;padding:.18em .5em;border-radius:.2em;background:var(--rim);color:#f1d98b;font-size:.74em;font-style:italic;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcg-body{grid-area:body;z-index:2;display:flex;flex-direction:column;gap:.18em;min-height:0;overflow:hidden}.tcg-ability{padding:.25em .45em .3em;border:.1em solid var(--rim);border-radius:.3em;background:#ffffff8c}.tcg-ability-tag{display:inline-block;margin-right:.35em;padding:.15em .35em .08em;border-radius:.2em;background:linear-gradient(#f6c945,#d9951b);color:#3d2200;font-family:Pixter Granular,"Press Start 2P",monospace;font-size:.55em;vertical-align:.2em}.tcg-ability strong{font-size:1.12em;color:#7a2d00}.tcg-ability p{margin:.08em 0 0;font-size:.8em;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tcg-attack{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.45em;padding:.18em .2em;border-bottom:.08em solid #13222e30}.tcg-attack .tcg-orb{font-size:.95em}.tcg-attack-name{min-width:0;display:flex;flex-direction:column}.tcg-attack-name strong{font-size:1.18em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tcg-attack-name small{font-size:.74em;opacity:.8}.tcg-dmg{font-size:1.6em;font-weight:800}.tcg-empty{margin:.4em 0;font-size:.8em;font-style:italic;text-align:center;opacity:.75}.tcg-matchups{grid-area:match;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:.4em;padding:.2em .1em;border-top:.1em solid var(--rim);border-bottom:.1em solid var(--rim)}.tcg-matchups>span{display:flex;align-items:center;gap:.3em;min-width:0;font-weight:800}.tcg-matchups small{font-size:.74em;font-weight:700;text-transform:lowercase}.tcg-matchup{display:inline-flex;align-items:center;gap:.1em;font-size:.9em}.tcg-flavor{grid-area:flavor;z-index:2;margin:0;padding:.15em .35em;border:.08em solid #7a5a12;border-radius:.2em;background:#fff8e0b0;font-size:.78em;font-style:italic;line-height:1.22;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tcg-foot{grid-area:foot;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:.4em;font-size:.66em;font-weight:800}.tcg-level{padding:.1em .45em;border-radius:.8em;background:var(--rim);color:#f1d98b}.tcg-set{letter-spacing:.06em;opacity:.75}.tcg-stars{color:#b8860b;letter-spacing:.05em;text-shadow:0 .06em #5a3a00}.tcg-foil{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;opacity:0;mix-blend-mode:color-dodge;background:linear-gradient(115deg,transparent 22%,#ff4fd8 36%,#4ff0ff 46%,#fff36b 56%,#7cff6b 65%,transparent 78%) var(--mx) var(--my) / 260% 260% no-repeat,radial-gradient(circle at var(--mx) var(--my),#ffffff50,transparent 50%)}.layout-holo .tcg-foil{opacity:.5}.layout-full .tcg-foil{opacity:.45}.layout-special .tcg-foil{opacity:.6;background:radial-gradient(circle,#ffffffcc .06em,transparent .1em) 0 0 / 1.2em 1.2em,linear-gradient(115deg,transparent 18%,#ff4fd8 32%,#4ff0ff 44%,#fff36b 56%,#7cff6b 66%,transparent 80%) var(--mx) var(--my) / 240% 240% no-repeat,radial-gradient(circle at var(--mx) var(--my),#ffffff66,transparent 50%)}.layout-full,.layout-special{grid-template-rows:auto 1fr auto auto auto auto auto;color:#fff;border-width:.55em}.layout-full .tcg-art,.layout-special .tcg-art{grid-area:auto;position:absolute;top:0;right:0;bottom:0;left:0;border:0;outline:0;box-shadow:none}.layout-full .tcg-art:after,.layout-special .tcg-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:linear-gradient(transparent 46%,#07101acc 62%,#07101af0);pointer-events:none}.layout-full .tcg-art,.layout-special .tcg-art{z-index:auto}.layout-full .tcg-art>.creature-artwork,.layout-special .tcg-art>.creature-artwork{top:3.2em;right:.4em;bottom:44%;left:.4em;width:auto;height:auto;z-index:4;overflow:hidden}.layout-full .tcg-art>.creature-artwork .pokemon-sprite,.layout-special .tcg-art>.creature-artwork .pokemon-sprite{max-width:100%;max-height:100%;object-fit:contain;transform:none}.layout-full .tcg-held,.layout-special .tcg-held{bottom:auto;top:3.4em;right:.9em;z-index:4}.layout-full .tcg-shiny-mark,.layout-special .tcg-shiny-mark{z-index:4}.layout-full .tcg-name,.layout-special .tcg-name,.layout-full .tcg-hp,.layout-special .tcg-hp{color:#fff;text-shadow:0 .08em 0 #000,0 0 .3em #0008}.layout-full .tcg-hp small,.layout-special .tcg-hp small{color:#fff}.layout-full .tcg-ability,.layout-special .tcg-ability{background:#0b1a26b8;border-color:#e6be58}.layout-full .tcg-ability strong,.layout-special .tcg-ability strong{color:#ffd66b}.layout-full .tcg-attack,.layout-special .tcg-attack{border-color:#ffffff30;text-shadow:0 .06em 0 #000}.layout-full .tcg-matchups,.layout-special .tcg-matchups{border-color:#e6be5899}.layout-full .tcg-flavor,.layout-special .tcg-flavor{background:#0b1a26b8;border-color:#e6be5866;color:#e6eef3}.layout-full .tcg-set,.layout-special .tcg-set{opacity:.85}.layout-full .tcg-stars,.layout-special .tcg-stars{color:#ffd66b}.layout-special{border-color:transparent;background:linear-gradient(#0000,#0000) padding-box,conic-gradient(from var(--holo-angle, 0deg),#f6c945,#ff7ad9,#7ce0ff,#9dff8a,#f6c945) border-box}.details-hero>.view-card-btn{position:absolute;top:8px;right:8px;z-index:3;width:auto;height:34px;display:flex;align-items:center;gap:7px;overflow:hidden;padding:0 11px 0 8px;border:2px solid #1b2a36;border-radius:6px;background:linear-gradient(#ffe07a,#f6b52e 55%,#e0901a);box-shadow:inset 0 0 0 1px #fff5b3,inset 0 -3px #b86a0c,0 3px #1b2a36,0 5px 8px #0006;color:#3a1d00;font-size:17px;font-weight:800;line-height:1;white-space:nowrap;text-shadow:0 1px #fff3b0;transition:transform .12s ease,box-shadow .12s ease}.details-hero>.view-card-btn:after{content:"";position:absolute;inset:-2px auto -2px -40%;width:30%;background:linear-gradient(100deg,transparent,#ffffffb0,transparent);transform:skew(-18deg);animation:view-card-shine 3.2s ease-in-out infinite;pointer-events:none}@keyframes view-card-shine{0%,60%{left:-40%}to{left:130%}}.details-hero>.view-card-btn:hover{transform:translateY(-1px)}.details-hero>.view-card-btn:active{transform:translateY(2px);box-shadow:inset 0 0 0 1px #fff5b3,inset 0 -1px #b86a0c,0 1px #1b2a36,0 2px 4px #0006}.view-card-icon{position:relative;flex-shrink:0;width:15px;height:21px;border:2px solid #1b2a36;border-radius:3px;background:conic-gradient(from 200deg,#7ce0ff,#ff7ad9,#f6c945,#9dff8a,#7ce0ff);box-shadow:1px 1px #1b2a36;transform:rotate(-12deg);transition:transform .2s cubic-bezier(.3,1.6,.5,1)}.view-card-icon:before{content:"";position:absolute;top:2px;right:2px;bottom:8px;left:2px;border-radius:1px;background:#f4efe0}.view-card-icon:after{content:"";position:absolute;left:2px;right:2px;bottom:2px;height:2px;background:#1b2a36aa;box-shadow:0 -3px #1b2a3666}.details-hero>.view-card-btn:hover .view-card-icon{transform:rotate(0) scale(1.1)}html.reduce-motion .details-hero>.view-card-btn:after{animation:none;display:none}.turn-battle .turn-arena.isometric-arena{--sprite-fit: 1;min-height:410px;background:#14202b url(/assets/ui/moonlit-arena.webp) center / 100% 100% no-repeat;border-bottom:2px solid #867253;isolation:isolate}.turn-battle .isometric-arena:after{z-index:1;background:linear-gradient(#07121b80,transparent 24% 78%,#07121b99);box-shadow:inset 0 0 45px #030a114d}.battle-diorama{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none}.battle-diorama canvas{display:block;width:100%;height:100%;opacity:0}.battle-diorama[data-ready=true] canvas{opacity:1}.isometric-arena .fighter-row{position:absolute;left:0;right:0;display:block;pointer-events:none;gap:0;bottom:auto;z-index:3}.isometric-arena .enemy-row{top:18%;height:42%}.isometric-arena .mine-row{top:48%;height:33%;z-index:4}.isometric-arena .turn-fighter{position:absolute;width:min(108px,27%);height:142px;padding:0;transform:translate(-50%,-100%) translateY(36px);border:0;border-radius:5px;background:none;box-shadow:none;pointer-events:auto;color:#f4e9d3;text-shadow:0 1px 2px #030911,0 0 4px #030911;justify-content:flex-end;gap:2px}.isometric-arena .turn-fighter.empty{pointer-events:none;visibility:hidden}.isometric-arena .turn-fighter .pokemon-sprite{bottom:36px;top:auto;z-index:1;transform:translate(-50%) scale(calc(var(--depth) * var(--sprite-fit)));transform-origin:50% 100%;filter:drop-shadow(1px 2px 0 #06101c99) drop-shadow(-1px -1px 0 #9bcbe72b);image-rendering:pixelated}.isometric-arena .turn-fighter img.portrait-fallback{top:auto;bottom:36px;left:50%;width:78px;height:78px;transform:translate(-50%);object-fit:contain}.isometric-arena .turn-fighter strong{max-width:100%;font-size:14px;line-height:15px;color:#fff3da;padding:0 4px;border-radius:3px;background:#101923b3}.isometric-arena .turn-fighter small{font-size:11px;line-height:12px;color:#eee7d6}.isometric-arena .fighter-hp{order:0;width:72%;height:5px;margin:0;border-color:#111c23;box-shadow:0 1px 2px #0008}.isometric-arena .fighter-hp i{background:#87c78d}.isometric-arena .fighter-hp.hp-mid i{background:#e6c563}.isometric-arena .fighter-hp.hp-low i{background:#e47a68}.isometric-arena .status-pips{position:absolute;top:auto;bottom:127px;left:50%;transform:translate(-50%);white-space:nowrap}.isometric-arena .turn-fighter:before{content:"";position:absolute;bottom:29px;left:50%;width:65%;height:15px;transform:translate(-50%) rotate(-12deg);border-radius:50%;background:radial-gradient(ellipse,#050b14a6,#050b1433 55%,transparent 72%)}.isometric-arena .turn-fighter.selected:before{box-shadow:0 0 0 1px #acf0e9b3,0 0 12px #a0e5e54d}.isometric-arena .turn-fighter.targetable:before{box-shadow:0 0 0 2px #ffdf85,0 0 16px #ffce6c73}.battle-diorama[data-ready=true]~.fighter-row .turn-fighter:before{opacity:0}.isometric-arena .turn-fighter.selected,.isometric-arena .turn-fighter.targetable{background:none;border:0;box-shadow:none;animation:none}.isometric-arena .turn-fighter.selected strong{color:#c7fff6}.isometric-arena .turn-fighter.targetable strong{color:#ffe19c;background:#392d19e6;outline:1px solid #ddbb70}.isometric-arena .turn-fighter:focus-visible{outline:2px solid #ffe19c;outline-offset:4px}.isometric-arena .turn-fighter .pokemon-sprite.anim-hurt{filter:brightness(1.8) drop-shadow(0 0 4px #fff8)}.isometric-arena .turn-fighter .pokemon-sprite.anim-dead{opacity:.4;filter:grayscale(1)}.isometric-arena .turn-fighter .pokemon-sprite.anim-enter{animation:diorama-enter .45s ease-out}@keyframes diorama-enter{0%{opacity:0;translate:0 -16px;filter:brightness(2)}}.isometric-arena .turn-versus{top:57%;z-index:5;pointer-events:none}.isometric-arena .turn-versus>span{display:none}.isometric-arena .turn-versus>strong{top:0;font-size:12px;padding:4px 8px;border-color:#a89164;background:#14202de8}.isometric-arena .turn-hud{background:linear-gradient(110deg,#142331ed,#152734b3);border:1px solid #b4a07766;box-shadow:inset 0 1px #e1d6ab1a,0 3px 12px #0004;color:#f0e5c9;text-shadow:0 1px #0008}.isometric-arena .turn-hud small{color:#e6d5aa}.isometric-arena .turn-counter{background:#142431e8;border:1px solid #b4a07799;box-shadow:0 2px 9px #0005}.isometric-arena .reserve-row small{background:#152534cc;color:#deceb0;border-color:#b4a07766}.isometric-arena .reserve-ball{background:#263847b3;border-color:#b4a07799}.isometric-arena .reserve-row{z-index:5}.isometric-arena .my-hud,.isometric-arena .rival-hud{z-index:7}.isometric-arena .ko-ghost .pokemon-sprite{bottom:0}@media (max-width: 370px),(max-height: 740px){.turn-battle .turn-arena.isometric-arena{min-height:360px;--sprite-fit: .84}.isometric-arena .turn-fighter strong{font-size:12px}.isometric-arena .turn-fighter small{font-size:10px}.isometric-arena .status-pips{bottom:111px}}@media (max-height: 620px){.turn-battle .turn-arena.isometric-arena{flex:0 0 360px}}.reduce-motion .isometric-arena .pokemon-sprite.anim-enter{animation:none}@media (prefers-reduced-motion: reduce){.isometric-arena .pokemon-sprite.anim-enter{animation:none}}.isometric-arena .turn-fighter.mine{--bx: -70px;--by: 230px;--peak: -80px}.isometric-arena .turn-fighter.enemy{--bx: 60px;--by: -170px;--peak: -60px}.ball-throw{position:absolute;left:50%;bottom:40px;width:0;height:0;z-index:3;pointer-events:none;animation:ball-x .52s linear var(--ball-delay, 0ms) both}.ball-throw>i{position:absolute;left:0;top:0;animation:ball-y .52s var(--ball-delay, 0ms) both}.ball-throw b{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border-radius:50%;border:2px solid #1b1b1f;background:radial-gradient(circle,#fff 0 2px,#1b1b1f 2.5px 4px,transparent 4.5px),linear-gradient(#ee3a33 0,#ee3a33 43%,#1b1b1f 43%,#1b1b1f 57%,#f3f1ea 57%);box-shadow:inset -2px -3px #0000002e,0 0 8px #fff6;animation:ball-spin .52s linear var(--ball-delay, 0ms) both,ball-open .2s ease-out calc(var(--ball-delay, 0ms) + .5s) forwards}.ball-throw em{position:absolute;left:-38px;top:-52px;width:76px;height:76px;border-radius:50%;opacity:0;background:radial-gradient(circle,#fff 0 22%,#fff4b8cc 34%,#ff5a4a55 52%,transparent 70%);animation:ball-flash .45s ease-out calc(var(--ball-delay, 0ms) + .5s) both}@keyframes ball-x{0%{transform:translate(var(--bx));opacity:0}8%{opacity:1}to{transform:translate(0);opacity:1}}@keyframes ball-y{0%{transform:translateY(var(--by)) scale(1.5);animation-timing-function:cubic-bezier(.2,.7,.4,1)}55%{transform:translateY(var(--peak)) scale(1.1);animation-timing-function:cubic-bezier(.6,0,.8,.4)}to{transform:translateY(0) scale(1)}}@keyframes ball-spin{to{rotate:720deg}}@keyframes ball-open{to{transform:scale(1.6);opacity:0}}@keyframes ball-flash{0%{opacity:0;transform:scale(.2)}25%{opacity:1}to{opacity:0;transform:scale(1.9)}}.isometric-arena .turn-fighter .pokemon-sprite.anim-release{animation:pokemon-release 1.05s var(--ball-delay, 0ms) both}@keyframes pokemon-release{0%,49%{opacity:0;scale:.1;filter:brightness(0) invert(1)}50%{opacity:1;scale:.15;filter:brightness(0) invert(1);animation-timing-function:cubic-bezier(.3,1.6,.6,1)}72%{scale:1.12;filter:brightness(0) invert(1) drop-shadow(0 0 6px #fff)}86%{scale:.96;filter:brightness(1.7)}to{opacity:1;scale:1;filter:none}}.reduce-motion .ball-throw{display:none}.reduce-motion .isometric-arena .pokemon-sprite.anim-release{animation:none}.mfx{position:absolute;width:0;height:0;pointer-events:none;--c2: color-mix(in srgb, var(--c) 45%, #fff)}.mfx>i,.mfx>b{position:absolute;display:none}.mfx[data-type=normal]{--c: #f3ead0;--c2: #fff}@keyframes mfx-ring{0%{transform:scale(.3);opacity:1}to{transform:scale(2);opacity:0}}@keyframes mfx-star{0%{transform:scale(.2) rotate(0);opacity:1}35%{transform:scale(1.1) rotate(10deg);opacity:1}to{transform:scale(1.35) rotate(22deg);opacity:0}}.mfx-strike-punch>i:nth-child(1),.mfx-strike-kick>i:nth-child(1),.mfx-strike-tackle>i:nth-child(1),.mfx-strike-pierce>i:nth-child(2),.mfx-pop>i:nth-child(1){display:block;left:-28px;top:-28px;width:56px;height:56px;clip-path:polygon(50% 0,61% 32%,96% 20%,70% 47%,100% 64%,64% 66%,70% 100%,50% 75%,28% 100%,34% 66%,0 68%,30% 47%,4% 20%,39% 32%);background:radial-gradient(circle,#fff 0 28%,var(--c2) 50%,var(--c) 78%);animation:mfx-star .32s ease-out both}.mfx-strike-punch>b,.mfx-strike-kick>b,.mfx-strike-tackle>b,.mfx-strike-bite>b,.mfx-strike-pierce>b,.mfx-pop>b{display:block;left:-24px;top:-24px;width:48px;height:48px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 10px var(--c),inset 0 0 8px var(--c);animation:mfx-ring .4s ease-out both}.mfx-strike-slash>i{display:block;left:-36px;width:72px;height:5px;border-radius:3px;transform-origin:0 50%;background:linear-gradient(90deg,transparent,#fff 25%,var(--c2) 70%,transparent);box-shadow:0 0 8px var(--c);animation:mfx-slash .34s ease-out both}.mfx-strike-slash>i:nth-child(1){top:-20px;left:-28px}.mfx-strike-slash>i:nth-child(2){top:-4px;left:-34px;animation-delay:45ms}.mfx-strike-slash>i:nth-child(3){top:12px;left:-40px;animation-delay:90ms}@keyframes mfx-slash{0%{transform:rotate(-38deg) translateY(-10px) scaleX(0);opacity:1}45%{transform:rotate(-38deg) translateY(0) scaleX(1);opacity:1}to{transform:rotate(-38deg) translateY(4px) scaleX(1);opacity:0}}.mfx-strike-whip>i:nth-child(1),.mfx-strike-kick>i:nth-child(2){display:block;left:-42px;top:-42px;width:84px;height:84px;border-radius:50%;border:6px solid transparent;border-top-color:#fff;border-right-color:var(--c2);filter:drop-shadow(0 0 5px var(--c));animation:mfx-swipe .36s ease-out both}.mfx-strike-whip>i:nth-child(2){display:block;left:-8px;top:-8px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 0 14px 6px var(--c);animation:mfx-ring .3s ease-out 90ms both}@keyframes mfx-swipe{0%{transform:rotate(-150deg) scale(.7);opacity:0}20%{opacity:1}to{transform:rotate(40deg) scale(1.1);opacity:0}}.mfx-strike-punch>i:nth-child(1){left:-30px;top:-30px;width:60px;height:60px}.mfx-strike-punch>i:nth-child(2){display:block;left:-6px;top:-6px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px var(--c2),0 0 18px 8px var(--c);animation:mfx-ring .22s ease-out both}.mfx-strike-kick{translate:0 14px}.mfx-strike-kick>i:nth-child(2){left:-34px;top:-34px;width:68px;height:68px;animation-duration:.28s}.mfx-strike-tackle>i:nth-child(1){left:-38px;top:-38px;width:76px;height:76px}.mfx-strike-tackle>b{left:-32px;top:-32px;width:64px;height:64px;border-width:4px;animation-duration:.5s}.mfx-strike-tackle>i:nth-child(2),.mfx-strike-tackle>i:nth-child(3){display:block;top:18px;width:10px;height:10px;border-radius:50%;background:#d8c8a0;opacity:.8;animation:mfx-dust .45s ease-out both}.mfx-strike-tackle>i:nth-child(2){left:-26px;--dust-x: -22px}.mfx-strike-tackle>i:nth-child(3){left:16px;--dust-x: 22px}@keyframes mfx-dust{0%{transform:translate(0) scale(.5);opacity:.9}to{transform:translate(var(--dust-x),-10px) scale(2.2);opacity:0}}.mfx-strike-bite>i:nth-child(1),.mfx-strike-bite>i:nth-child(2){display:block;left:-30px;width:60px;height:22px;background:linear-gradient(#fff,var(--c2));filter:drop-shadow(0 0 3px var(--c)) drop-shadow(0 0 1px #0008)}.mfx-strike-bite>i:nth-child(1){top:-24px;clip-path:polygon(0 0,100% 0,100% 30%,92% 100%,84% 30%,76% 100%,68% 30%,60% 100%,52% 30%,44% 100%,36% 30%,28% 100%,20% 30%,12% 100%,4% 30%,0 30%);animation:mfx-jaw-top .3s ease-in both}.mfx-strike-bite>i:nth-child(2){top:2px;clip-path:polygon(0 100%,100% 100%,100% 70%,96% 70%,88% 0,80% 70%,72% 0,64% 70%,56% 0,48% 70%,40% 0,32% 70%,24% 0,16% 70%,8% 0,0 70%);animation:mfx-jaw-bottom .3s ease-in both}.mfx-strike-bite>b{animation-delay:.12s}@keyframes mfx-jaw-top{0%{transform:translateY(-16px);opacity:0}20%{opacity:1}45%{transform:translateY(0)}80%{opacity:1}to{transform:translateY(0);opacity:0}}@keyframes mfx-jaw-bottom{0%{transform:translateY(16px);opacity:0}20%{opacity:1}45%{transform:translateY(0)}80%{opacity:1}to{transform:translateY(0);opacity:0}}.mfx-strike-pierce>i:nth-child(1){display:block;left:-70px;top:-2px;width:80px;height:4px;transform-origin:100% 50%;rotate:var(--angle);background:linear-gradient(90deg,transparent,var(--c2) 50%,#fff);box-shadow:0 0 8px var(--c);animation:mfx-thrust .26s ease-out both}.mfx-strike-pierce>i:nth-child(2){left:-18px;top:-18px;width:36px;height:36px}@keyframes mfx-thrust{0%{scale:0 1;opacity:1}50%{scale:1 1;opacity:1}to{scale:1 .4;opacity:0}}.mfx-projectile>i{display:block;left:-9px;top:-9px;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 38% 36%,#fff 0 18%,var(--c2) 42%,var(--c) 78%);box-shadow:0 0 10px 3px var(--c);animation:mfx-fly .36s cubic-bezier(.35,0,.8,.6) var(--delay) both}.mfx-projectile>i:nth-child(2){opacity:.5;scale:.75;animation-delay:calc(var(--delay) + 35ms)}.mfx-projectile>i:nth-child(3){opacity:.25;scale:.55;animation-delay:calc(var(--delay) + 70ms)}@keyframes mfx-fly{0%{translate:0 0;transform:scale(.4) rotate(0)}15%{transform:scale(1) rotate(90deg)}to{translate:var(--dx) var(--dy);transform:scale(1.1) rotate(540deg)}}.mfx-projectile[data-type=fire]>i{border-radius:50% 50% 50% 10%;background:radial-gradient(circle at 60% 40%,#fff 0,#fff 15%,#ffe066 35%,#ff8a1f 60%,#e2380f);box-shadow:0 0 12px 4px #ff7a1a}.mfx-projectile[data-type=water]>i{border-radius:50%/62% 62% 38% 38%;background:radial-gradient(circle at 38% 35%,#fff 0,#fff 20%,#9fdcff 45%,#3a8fe8)}.mfx-projectile[data-type=electric]>i{width:14px;height:14px;left:-7px;top:-7px;background:#fffbe0;box-shadow:0 0 0 3px #ffe14a,0 0 16px 6px #ffd21f,8px -6px 0 -4px #fff,-8px 6px 0 -4px #fff}.mfx-projectile[data-type=grass]>i{width:20px;height:12px;left:-10px;top:-6px;border-radius:0 100%;background:linear-gradient(135deg,#b8f07a,#3fa844);box-shadow:0 0 6px #6fd35a}.mfx-projectile[data-type=bug]>i{border-radius:0 100%;background:linear-gradient(135deg,#e0ec70,#8a9a18);box-shadow:0 0 6px #b8c830}.mfx-projectile[data-type=ice]>i,.mfx-projectile[data-type=steel]>i{width:22px;height:10px;left:-11px;top:-5px;border-radius:0;clip-path:polygon(0 50%,30% 0,100% 50%,30% 100%);background:linear-gradient(90deg,#fff,#bff1ff 50%,#7fd2ea);box-shadow:none;filter:drop-shadow(0 0 4px #aeeaff);rotate:var(--angle);animation-name:mfx-fly-straight}.mfx-projectile[data-type=steel]>i{background:linear-gradient(90deg,#fff,#d8d8e8 50%,#9a9ab8);filter:drop-shadow(0 0 4px #fff)}.mfx-projectile[data-type=rock]>i,.mfx-projectile[data-type=ground]>i{width:22px;height:20px;left:-11px;top:-10px;border-radius:0;clip-path:polygon(20% 0,75% 6%,100% 40%,88% 85%,45% 100%,6% 78%,0 32%);background:linear-gradient(135deg,#e0cc8a,#a08a48 55%,#5e5230);box-shadow:none}.mfx-projectile[data-type=ground]>i{background:linear-gradient(135deg,#f0d898,#b08a4a 55%,#6a4a28)}.mfx-projectile[data-type=ghost]>i,.mfx-projectile[data-type=dark]>i{width:24px;height:24px;left:-12px;top:-12px;background:radial-gradient(circle,#10081e 0,#10081e 35%,#4b2e78 60%,#9d7bd8);box-shadow:0 0 14px 5px #6c4ab0}.mfx-projectile[data-type=poison]>i{border-radius:45% 55% 40% 60%;background:radial-gradient(circle at 40% 35%,#f0c0ff 0,#f0c0ff 15%,#b24ecb 45%,#6a1b7a);box-shadow:0 0 10px 3px #a040a0}.mfx-projectile[data-type=psychic]>i,.mfx-projectile[data-type=fairy]>i{background:radial-gradient(circle,#fff 0 25%,var(--c2) 50%,var(--c));box-shadow:0 0 16px 6px var(--c)}@keyframes mfx-fly-straight{0%{translate:0 0;scale:.5}15%{scale:1}to{translate:var(--dx) var(--dy);scale:1.1}}.mfx-beam>i:nth-child(1),.mfx-beam>i:nth-child(2){display:block;left:0;top:-8px;height:16px;width:var(--len);transform-origin:0 50%;border-radius:8px;background:linear-gradient(transparent,var(--c) 22%,var(--c2) 40%,#fff 50%,var(--c2) 60%,var(--c) 78%,transparent);box-shadow:0 0 16px 2px var(--c);animation:mfx-beam .6s ease-out both}.mfx-beam>i:nth-child(2){top:-3px;height:6px;background:#fff;box-shadow:none;opacity:.8}.mfx-beam>i:nth-child(3){display:block;left:-16px;top:-16px;width:32px;height:32px;border-radius:50%;background:radial-gradient(circle,#fff 0 25%,var(--c2) 50%,transparent 72%);animation:mfx-charge .6s ease-out both}@keyframes mfx-beam{0%{transform:rotate(var(--angle)) scale(0,.5);opacity:1}38%{transform:rotate(var(--angle)) scale(1)}55%{transform:rotate(var(--angle)) scaleY(1.25);opacity:1}to{transform:rotate(var(--angle)) scaleY(0);opacity:.2}}@keyframes mfx-charge{0%{transform:scale(.3);opacity:0}20%{transform:scale(1.2);opacity:1}to{transform:scale(.6);opacity:0}}.mfx-beam[data-type=fire]>i:nth-child(1){background:linear-gradient(transparent,#e2380f 18%,#ff8a1f 35%,#ffe066 50%,#ff8a1f 65%,#e2380f 82%,transparent);box-shadow:0 0 18px 4px #ff6a1a}.mfx-beam[data-type=water]>i:nth-child(1){background:linear-gradient(transparent,#2f86e8 20%,#7fc8ff 40%,#fff 50%,#7fc8ff 60%,#2f86e8 80%,transparent)}.mfx-sky>i:nth-child(1){display:block;left:-9px;bottom:0;width:18px;height:420px;background:linear-gradient(to top,#fff,var(--c2) 30%,var(--c) 70%,transparent);box-shadow:0 0 18px 4px var(--c);animation:mfx-column .6s ease-out both}.mfx-sky[data-type=electric]>i:nth-child(1){left:-22px;width:44px;background:#fffbe6;box-shadow:none;filter:drop-shadow(0 0 6px #ffe14a) drop-shadow(0 0 12px #ffd21f);clip-path:polygon(40% 0,70% 0,52% 22%,78% 22%,42% 48%,68% 48%,30% 76%,54% 76%,36% 100%,20% 100%,32% 80%,8% 80%,40% 54%,14% 54%,46% 28%,22% 28%);animation:mfx-bolt .55s linear both}@keyframes mfx-column{0%{transform:scaleX(0);opacity:0}40%{transform:scaleX(1.2);opacity:1}to{transform:scaleX(0);opacity:0}}@keyframes mfx-bolt{0%,38%{opacity:0}42%,55%{opacity:1}60%{opacity:.2}66%,78%{opacity:1}to{opacity:0}}.mfx-sky>b{display:block;left:-40px;top:-12px;width:80px;height:24px;border-radius:50%;border:3px solid var(--c2);box-shadow:0 0 10px var(--c);animation:mfx-ring .45s ease-out .25s both}.mfx-sky:is([data-type=rock],[data-type=ice],[data-type=steel],[data-type=dragon],[data-type=ground])>i{display:block;width:22px;height:20px;bottom:6px;left:-11px;box-shadow:none;filter:drop-shadow(0 3px 0 #0006);clip-path:polygon(20% 0,75% 6%,100% 40%,88% 85%,45% 100%,6% 78%,0 32%);background:linear-gradient(135deg,#e0cc8a,#a08a48 55%,#5e5230);animation:mfx-fall .3s cubic-bezier(.5,0,1,.6) both}.mfx-sky[data-type=ice]>i{clip-path:polygon(50% 0,100% 100%,0 100%);background:linear-gradient(#fff,#9fe6f8);filter:drop-shadow(0 0 4px #bff1ff)}.mfx-sky[data-type=dragon]>i{border-radius:50%;clip-path:none;background:radial-gradient(circle at 40% 35%,#fff 0,#fff 15%,#ff9a4a 40%,#7038f8);filter:drop-shadow(0 0 8px #9d7bff)}.mfx-sky:is([data-type=rock],[data-type=ice],[data-type=steel],[data-type=dragon],[data-type=ground])>i:nth-child(2){left:-34px;bottom:14px;scale:.8;animation-delay:70ms}.mfx-sky:is([data-type=rock],[data-type=ice],[data-type=steel],[data-type=dragon],[data-type=ground])>i:nth-child(3){left:12px;bottom:10px;scale:.9;animation-delay:.13s}@keyframes mfx-fall{0%{translate:0 -320px;opacity:1}88%{translate:0 0;opacity:1}to{translate:0 0;opacity:0}}.mfx-ground>b{display:block;left:-52px;top:-14px;width:104px;height:28px;border-radius:50%;border:4px solid var(--c2);box-shadow:0 0 12px var(--c);animation:mfx-ring .55s ease-out .2s both}.mfx-ground>i:nth-child(1){display:block;left:-36px;top:-4px;width:72px;height:8px;background:#1c1409cc;clip-path:polygon(0 50%,12% 20%,22% 70%,35% 10%,48% 60%,58% 0,70% 70%,82% 25%,100% 50%,82% 55%,70% 100%,58% 45%,48% 100%,35% 45%,22% 100%,12% 60%);animation:mfx-crack .7s ease-out .18s both}.mfx-ground>i:nth-child(2),.mfx-ground>i:nth-child(3){display:block;top:-8px;width:10px;height:10px;background:var(--c);clip-path:polygon(20% 0,100% 20%,80% 100%,0 70%);animation:mfx-debris .5s cubic-bezier(.2,.8,.6,1) .2s both}.mfx-ground>i:nth-child(2){left:-22px;--debris-x: -18px}.mfx-ground>i:nth-child(3){left:14px;--debris-x: 18px;animation-delay:.26s}@keyframes mfx-crack{0%{scale:0 1;opacity:1}30%{scale:1 1}80%{opacity:1}to{opacity:0}}@keyframes mfx-debris{0%{translate:0 0;opacity:1}50%{translate:calc(var(--debris-x) * .6) -34px}to{translate:var(--debris-x) -6px;opacity:0;rotate:200deg}}.mfx-wave>i{display:block;left:-14px;top:-14px;width:28px;height:28px;border-radius:50%;border:3px solid var(--c2);box-shadow:0 0 8px var(--c),inset 0 0 6px var(--c);animation:mfx-wave .42s ease-out both}.mfx-wave>i:nth-child(2){animation-delay:80ms}.mfx-wave>i:nth-child(3){animation-delay:.16s}@keyframes mfx-wave{0%{translate:0 0;transform:scale(.4);opacity:1}to{translate:var(--dx) var(--dy);transform:scale(2);opacity:0}}.mfx-burst>i{display:block;left:-22px;top:-22px;width:44px;height:44px;border-radius:50%;border:3px solid var(--c2);box-shadow:0 0 12px var(--c),inset 0 0 10px var(--c);animation:mfx-burst .6s ease-out both}.mfx-burst>i:nth-child(2){animation-delay:90ms}.mfx-burst>i:nth-child(3){animation-delay:.18s}.mfx-burst>b{display:block;left:-34px;top:-34px;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle,#fff 0 10%,var(--c2) 30%,color-mix(in srgb,var(--c) 50%,transparent) 55%,transparent 72%);animation:mfx-glow .7s ease-out both}@keyframes mfx-burst{0%{transform:scale(2.2);opacity:0}40%{opacity:1}to{transform:scale(.2);opacity:0}}@keyframes mfx-glow{0%{transform:scale(.4);opacity:0}40%{transform:scale(1.1);opacity:.9}to{transform:scale(1.4);opacity:0}}.mfx-burst:is([data-type=ghost],[data-type=dark])>b{background:radial-gradient(circle,#0b0616 0 25%,#4b2e78 50%,transparent 72%)}.reduce-motion .mfx{display:none}@media (prefers-reduced-motion: reduce){.mfx{display:none}}@font-face{font-family:"Press Start 2P";src:url(/assets/fonts/PressStart2P.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Pixter Granular;src:url(/assets/fonts/pixter-granular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}:root{--navy-950: #031527;--navy-900: #06213b;--navy-800: #09345d;--navy-700: #0e4c7e;--line: #1678b4;--text: #f7fbff;--muted: #9dbbd5;--cyan: #24b7ff;--gold: #ffc436;--orange: #ff9e17;--purple: #8e35ed;--cursor-default: url(/assets/mouse/pointer_toon_a.png) 2 2, auto;--cursor-pointer: url(/assets/mouse/hand_point.png) 6 2, pointer;--cursor-disabled: url(/assets/mouse/cursor_disabled.png) 2 2, not-allowed;--cursor-grab: url(/assets/mouse/hand_open.png) 15 15, grab;--cursor-grabbing: url(/assets/mouse/hand_closed.png) 15 15, grabbing;--cursor-text: url(/assets/mouse/line_vertical.png) 15 15, text;--cursor-busy: url(/assets/mouse/cursor_busy.png) 2 2, wait;font-family:Pixter Granular,system-ui,sans-serif;color:var(--text);background:#071828;font-synthesis:none}*{box-sizing:border-box;-webkit-user-select:none;user-select:none}input,textarea{-webkit-user-select:auto!important;user-select:auto!important;cursor:var(--cursor-text)}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{background:radial-gradient(circle at 50% 15%,#174d73,#04121f 65%);cursor:var(--cursor-default);-webkit-font-smoothing:antialiased}button,a,[role=button]{cursor:var(--cursor-pointer)}button{border:0;color:inherit;font:inherit}button:disabled,[aria-disabled=true]{cursor:var(--cursor-disabled)}.loading,[aria-busy=true]{cursor:var(--cursor-busy)}button:focus-visible{outline:3px solid #fff;outline-offset:-3px}.app-shell{position:relative;width:100%;max-width:430px;height:100dvh;min-height:560px;margin:auto;overflow:hidden;isolation:isolate;background:var(--navy-950);box-shadow:0 0 55px #000b}.screen{height:100%;overflow-y:auto;scrollbar-width:none}.screen::-webkit-scrollbar{display:none}.glass-panel{background:linear-gradient(180deg,#0b365ee8,#052746e8);border:1px solid #35a7dcaa;box-shadow:inset 0 1px #ffffff26,0 2px 8px #00182e80}.coin,.trophy{display:inline-block;width:1em;height:1em;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff6a5 0,#fff6a5 10%,#ffc526 35%,#e98200 72%);border:1px solid #fff089;box-shadow:inset 0 -1px 1px #9c4d00;vertical-align:-.1em}.candy{display:inline-block;width:1em;height:1em;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffd0f5 0,#ffd0f5 10%,#ff7ad4 35%,#b0179a 72%);border:1px solid #ffc3f0;box-shadow:inset 0 -1px 1px #6e0a5f;vertical-align:-.1em}.trophy{border-radius:45% 45% 30% 30%;width:.85em;height:.72em;position:relative}.gem{width:.9em;height:.9em;transform:rotate(45deg);border-radius:2px;background:linear-gradient(135deg,#8ceeff,#1d9fea 55%,#0b5eb6);border:1px solid #bdf5ff}.bottom-nav{position:absolute;z-index:30;inset:auto 0 0;height:61px;display:grid;grid-template-columns:repeat(5,1fr);padding:4px 6px 3px;background:linear-gradient(#0b3a62f5,#061f39);border-top:1px solid #2997ce;box-shadow:0 -4px 15px #00101f66}.bottom-nav button{min-width:0;padding:4px 1px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:transparent;color:#bed6e9;font-size:12px;font-weight:700;opacity:1}.bottom-nav button:disabled{cursor:var(--cursor-disabled)}.bottom-nav svg{width:24px;height:24px;stroke-width:2.3}.bottom-nav button.active{color:#fff}.bottom-nav button.active svg{color:#e9f9ff;filter:drop-shadow(0 2px 2px #003558)}.bottom-nav .battle-tab.active{margin:-8px 1px -2px;border-radius:7px;background:linear-gradient(#2bbcff,#0879c8);box-shadow:inset 0 1px #9ce5ff,0 0 0 1px #014c85}.home-screen{position:relative;height:100%;min-height:0;background-image:linear-gradient(180deg,transparent 45%,#00342d20 66%,#03233d9e 100%),url(/assets/ui/home-valley.png);background-size:cover;background-position:0 200%}.home-header{position:absolute;z-index:3;top:5px;left:7px;right:7px;height:43px;display:flex;align-items:center;justify-content:space-between;padding:3px 4px 3px 3px;border-radius:7px}.trainer-badge{height:100%;display:flex;align-items:center;gap:6px}.trainer-badge strong,.trainer-badge small{display:block;line-height:1.08;text-shadow:0 1px 2px #00182b}.trainer-badge strong{font-family:"Press Start 2P",sans-serif;font-size:13px}.trainer-badge small{color:#c5dbea;font-size:11px}.trainer-avatar,.battle-avatar{width:37px;height:37px;border-radius:7px;background:url(/assets/ui/match-result-sunset.png) 32% 27% / 270% auto;border:2px solid #ffd754;box-shadow:inset 0 0 0 1px #714200,0 1px 2px #00182c}.currency-row{display:flex;align-items:center;gap:4px}.currency-pill{height:25px;display:flex;align-items:center;gap:4px;padding:2px 8px 2px 5px;border-radius:14px;background:#08233cbd;border:1px solid #1c6799;font-family:"Press Start 2P",sans-serif;font-size:11px;font-weight:800}.round-icon{width:29px;height:29px;padding:4px;border-radius:7px;display:grid;place-items:center;background:linear-gradient(#367fb0,#174d77);box-shadow:inset 0 1px #7cc4e9,0 1px 2px #001326}.home-quick-menu{position:absolute;z-index:3;top:54px;left:7px;display:flex;flex-direction:column;gap:6px}.home-quick-menu button{display:flex;flex-direction:column;align-items:center;gap:1px;padding:0;background:transparent;color:#fff;font-size:15px;font-weight:800;text-shadow:0 1px 2px #001729}.home-coming-soon{position:absolute;z-index:20;top:40%;left:50%;transform:translate(-50%);padding:10px 18px;border-radius:10px;color:#fff;font-weight:800;white-space:nowrap;text-shadow:0 1px 2px #001729;pointer-events:none;animation:home-coming-soon 2.2s ease forwards}@keyframes home-coming-soon{0%{opacity:0;transform:translate(-50%,8px)}12%,80%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-6px)}}.quick-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:7px;color:#173657;background:linear-gradient(#f5fbff,#b9d5e4);border:2px solid #0e5f91}.quick-icon svg{width:25px;height:25px}.quick-icon.pass{color:#ffbe00;background:linear-gradient(#fff16a,#f04431)}.quick-icon.event{color:#d24432}.home-actions{position:absolute;z-index:3;left:13px;right:13px;bottom:69px}.region-card{width:72%;min-width:245px;height:61px;padding:7px 10px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;text-align:left}.region-card span,.region-card small,.region-card strong,.region-card b{display:block;line-height:1.02}.region-card small{font-family:"Press Start 2P";font-size:7px;letter-spacing:.7px;color:#b8d9ea}.region-card strong{font-family:"Press Start 2P";font-size:14px;font-weight:900}.region-card b{margin-top:3px;color:var(--gold);font-size:16px}.region-card>svg{width:30px;height:30px}.mini-deck-row{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:7px 0;cursor:var(--cursor-pointer)}.battle-cta{width:100%;height:54px;display:flex;align-items:center;justify-content:center;gap:13px;border-radius:9px;border:2px solid #ffe66e;background:linear-gradient(#ffd458,#ffad24 48%,#f2910a);box-shadow:inset 0 2px #fff5b3,0 4px #a84c00,0 7px 12px #00182d80;color:#fff;font-family:"Press Start 2P";font-size:22px;font-weight:900;letter-spacing:.3px;text-shadow:0 2px 1px #873d00,1px 0 #873d00,-1px 0 #873d00}.battle-cta svg{width:35px;height:35px;color:#e9f6ff;filter:drop-shadow(0 2px 1px #68431c)}.battle-cta:active{transform:translateY(3px);box-shadow:inset 0 2px #fff5b3,0 1px #a84c00}.ranked-cta{width:100%;height:40px;margin-top:7px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;border:2px solid #c9a6ff;background:linear-gradient(#8a5ff0,#6432c9 48%,#4a1fa3);box-shadow:inset 0 2px #d8c2ff,0 3px #2f0f6e,0 5px 9px #00182d80;color:#fff;font-family:"Press Start 2P";font-size:14px;font-weight:900;letter-spacing:.5px;text-shadow:0 1px 1px #350f6e}.ranked-cta i.trophy{width:20px;height:20px}.ranked-cta:active{transform:translateY(2px);box-shadow:inset 0 2px #d8c2ff,0 1px #2f0f6e}.league-line{display:block;font-family:"Press Start 2P";font-size:8px;color:#ffd97a;text-shadow:0 1px 2px #00182b}.trophy-pill i.trophy{width:15px;height:15px}.creature-card{position:relative;width:100%;min-width:0;aspect-ratio:.78;overflow:hidden;display:flex;align-items:flex-end;justify-content:center;padding:4px 3px 19px;border-radius:8px;border:2px solid #58b9e7;background:radial-gradient(circle at 50% 42%,#62c9ef,#145aa0 58%,#07315f);box-shadow:inset 0 0 0 2px #062b4e,0 2px 3px #0015268f}.creature-card:after{content:"";position:absolute;inset:auto 2px 2px;height:18px;border-radius:0 0 5px 5px;background:#071d34e8;border-top:1px solid #ffffff26}.creature-card.fire{border-color:#ff7954;background:radial-gradient(circle at 50% 42%,#ffb763,#d94b33 62%,#5b1825)}.creature-card.water{border-color:#51c8ff;background:radial-gradient(circle at 50% 42%,#74e6ff,#218ad8 62%,#154278)}.creature-card.nature{border-color:#49e574;background:radial-gradient(circle at 50% 42%,#a4ef7e,#2ba759 62%,#155334)}.creature-card.earth{border-color:#dba453;background:radial-gradient(circle at 50% 42%,#d7c197,#7f6044 62%,#3d2e35)}.creature-card.electric{border-color:#ffe047}.creature-card img{position:relative;z-index:1;width:80%;height:74%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 2px #00203980);transform:scale(1.18)}.card-level{position:absolute;z-index:3;left:3px;right:3px;bottom:2px;font-family:"Press Start 2P";font-size:10px;font-weight:900;line-height:16px;text-shadow:0 1px 1px #000}.creature-card.compact{aspect-ratio:.88;padding-bottom:16px}.creature-card.selected{outline:3px solid #ffe258;outline-offset:-3px;box-shadow:0 0 12px #ffe25899}.creature-card[draggable=true]{cursor:var(--cursor-grab)}.creature-card[draggable=true]:active{cursor:var(--cursor-grabbing)}.creature-card.locked{border-color:#2c4054;background:radial-gradient(circle at 50% 42%,#33455a,#131f2c 58%,#0a1119);cursor:var(--cursor-disabled)}.creature-card.locked img{filter:grayscale(1) brightness(.25)}.locked-mark{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);color:#6b8299;font-family:"Press Start 2P";font-size:22px;font-weight:900;text-shadow:0 1px 2px #000}.collection-screen{padding:7px 7px 76px;background:radial-gradient(circle at 50% 20%,#0e5790,#052845 62%,#031a30)}.deck-header{display:grid;grid-template-columns:34px 1fr 34px;gap:6px;align-items:center;margin-bottom:7px}.coin-row{display:flex;justify-content:flex-end;margin-bottom:6px}.back-bubble,.edit-bubble{width:34px;height:34px;padding:6px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(#387dae,#174a73);border:1px solid #72b7dd;box-shadow:inset 0 1px #9ad7f2,0 1px 3px #001426}.edit-bubble{border-radius:7px}.edit-bubble.active{background:linear-gradient(#ffcf4a,#d99a12);border-color:#ffe89a}.deck-edit-hint{margin:0 1px 7px;padding:6px 8px;border-radius:6px;background:#0d3b65;border:1px solid #ffcf4a55;color:#ffe9ad;font-family:"Press Start 2P";font-size:9px;line-height:1.3}.deck-tabs{height:36px;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border-radius:8px;background:#061e37;border:1px solid #1b69a0}.deck-tabs button{background:transparent;font-family:"Press Start 2P";font-size:10px;color:#c0d2e2}.deck-tabs button.active{background:linear-gradient(#188bd6,#086bb4);color:#fff;box-shadow:inset 0 2px #4bb9f6,0 0 0 1px #003e75;border-radius:6px}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.deck-grid{margin-bottom:9px}.collection-title{display:flex;align-items:baseline;gap:8px;margin:2px 1px 6px;font-family:"Press Start 2P"}.collection-title strong{font-size:12px}.collection-title span{color:#a5bfd2;font-size:9px}.element-filter-row{height:35px;display:grid;grid-template-columns:1.6fr repeat(5,1fr);gap:4px;margin-bottom:7px}.element-filter-row button{border-radius:6px;background:linear-gradient(#22577e,#133d60);border:1px solid #367aa4;color:#fff;font-size:19px;font-weight:900;box-shadow:inset 0 1px #ffffff26}.element-filter-row button:first-child{font-family:"Press Start 2P";font-size:11px}.element-filter-row button.active{background:linear-gradient(#3e84b0,#1b5f8a);outline:2px solid #6bc8ef;outline-offset:-2px}.type-filter-row{display:flex;grid-template-columns:none;overflow-x:auto;scrollbar-width:none;gap:4px;cursor:var(--cursor-grab);touch-action:pan-x;-webkit-user-select:none;user-select:none}.type-filter-row:active{cursor:var(--cursor-grabbing)}.type-filter-row::-webkit-scrollbar{display:none}.type-filter-row button{flex:0 0 auto;width:auto;padding:0 10px;font-size:9px;font-family:"Press Start 2P";white-space:nowrap}.type-filter-row button:first-child{color:#fff}.collection-grid{padding-bottom:4px}.creature-card.has-fragment-progress{aspect-ratio:.73;padding-bottom:39px}.creature-card.has-fragment-progress:after{height:38px}.creature-card.has-fragment-progress>.creature-artwork{bottom:40px}.creature-card.has-fragment-progress .card-level{bottom:19px}.card-fragment-progress{position:absolute;z-index:3;left:3px;right:3px;bottom:3px;height:15px;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:2px;border:1px solid #36627e;border-radius:3px;background:#0a2940;color:#fff;font-family:"Press Start 2P";font-size:8px;font-weight:900;line-height:13px;text-shadow:0 1px #00121f}.card-fragment-progress>i{position:absolute;z-index:-1;inset:0 auto 0 0;background:linear-gradient(#35c9f4,#1389c4)}.card-fragment-progress.complete{border-color:#a17520;background:#584217}.card-fragment-progress.complete>i{background:linear-gradient(#f4c94e,#c78d20)}.card-fragment-progress.ready{border-color:#23733e;background:#174627;box-shadow:inset 0 0 0 1px #79d890}.card-fragment-progress.ready>i{background:linear-gradient(#5ee77c,#1ea94e)}.card-fragment-progress>b{font-size:13px;line-height:10px}.card-fragment-progress.maxed,.card-fragment-progress.locked-progress{border-color:#526672;background:#263744;color:#c8d1d2}.card-fragment-progress.locked-progress{color:#91a0a5;text-shadow:none}.details-screen{position:relative;height:100%;overflow-y:auto;padding:7px 9px 10px;background:linear-gradient(#351427 0,#351427,#081c35 38%,#04213d);border:1px solid #157eb8;scrollbar-width:none}.details-screen::-webkit-scrollbar{display:none}.details-header{position:relative;z-index:3;min-height:48px;display:grid;grid-template-columns:1fr 34px;align-items:start;gap:5px}.details-header h1{font-family:"Press Start 2P";font-size:20px;line-height:1}.details-header p{display:flex;align-items:center;justify-content:space-between;margin:4px 0 0;font-family:"Press Start 2P";font-size:10px}.details-header p b{color:#ff6c38}.details-header p span{padding:1px 6px;border-radius:4px;background:#173b62;border:1px solid #3679a2;color:#d5e7f4}.details-header>button,.details-hero>button{width:32px;height:32px;padding:5px;border-radius:50%;background:#693c5b;border:1px solid #a26b91;display:grid;place-items:center}.details-hero{position:relative;height:210px;margin:-48px -8px 0;display:flex;align-items:center;justify-content:space-between;padding:40px 5px 0;overflow:hidden;background:radial-gradient(circle at 50% 62%,#f0692a 0,#812135 32%,transparent 68%)}.details-hero:before{content:"";position:absolute;top:15%;right:0;bottom:20%;left:0;background:radial-gradient(ellipse,#ff9d3e88,transparent 66%)}.details-hero>img{position:relative;z-index:1;width:190px;height:150px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 8px 4px #1d001e99);transform:scale(1.7)}.details-hero>button{position:relative;z-index:2;padding:2px;background:transparent;border:0;color:#4ec4ff}.level-progress{position:absolute;z-index:4;left:9px;right:9px;bottom:0;height:32px;display:grid;grid-template-columns:75px 1fr 37px;align-items:center;overflow:hidden;border-radius:4px;background:#071a2d;border:1px solid #164f75}.level-progress>strong{align-self:stretch;display:grid;place-items:center;font-family:"Press Start 2P";font-size:12px;background:#0b2946}.level-progress>span{position:relative;height:12px;overflow:hidden;border-radius:7px;background:#06243c;border:1px solid #164b6a;color:#fff;font-size:11px;font-weight:900;text-align:center;line-height:10px}.level-progress>span i{position:absolute;z-index:-1;inset:0 auto 0 0;border-radius:6px;background:linear-gradient(#30cfff,#0399df)}.level-progress>button{height:100%;display:grid;place-items:center;color:#fff;background:linear-gradient(#44d96c,#0fac49)}.level-progress>button:disabled{background:#2a4054;color:#6d8399;cursor:var(--cursor-disabled)}.upgrade-banner{margin:6px 1px;padding:8px 10px;border-radius:8px;background:#0d2d4a;border:1px solid #1f6795;text-align:center;font-family:"Press Start 2P";font-size:10px;color:#a9c6da}.upgrade-banner b{color:#ffe258}.upgrade-banner small{display:block;margin-top:3px;color:#ffcf6b;font-size:9px}.upgrade-banner.ready{background:linear-gradient(#155a33,#0c3a22);border-color:#3fdc82}.upgrade-banner.ready strong{display:block;color:#7dffb0;font-size:13px;letter-spacing:.5px;animation:pulse 1.2s infinite}.upgrade-banner .upgrade-btn{margin-top:8px;width:100%;min-height:40px}.upgrade-cost-line{margin-left:5px;display:inline-flex!important;align-items:center;gap:3px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:7px 0 6px;border:1px solid #194b70;border-radius:5px;overflow:hidden;background:#194b70}.stat-item{min-width:0;min-height:47px;display:flex;align-items:center;gap:5px;padding:5px;background:#071d34}.stat-icon{color:#43b5f0;font-size:23px;text-shadow:0 2px 2px #001728}.stat-item small,.stat-item strong{display:block;font-family:"Press Start 2P";line-height:1.05}.stat-item small{color:#97b4ca;font-size:8px}.stat-item strong{margin-top:3px;font-size:10px}.stat-next{font-size:11px;font-weight:700}.stat-next.up{color:#7dffb0}.stat-next.down{color:#ff8a8a}.role-line{margin:6px 0 0;color:#97b4ca;font-size:13px}.role-line small{margin-right:4px;padding:1px 5px;border-radius:3px;background:#173b62;color:#d5e7f4;font-size:11px;font-weight:800}.details-section{padding:5px 2px 7px;border-top:1px solid #174d72}.details-section h2{margin:0 0 15px;font-family:"Press Start 2P";font-size:12px}.ability-row{display:flex;align-items:center;gap:8px}.ability-art{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;font-size:22px;background:radial-gradient(circle at 50% 60%,#ffbf3c,#e7321d 55%,#49133c);border:1px solid #ff715b}.ability-row strong,.ability-row small{display:block}.ability-row strong{color:#ffd55d;font-family:"Press Start 2P";font-size:12px}.ability-row small{margin-top:3px;color:#bdd1df;font-size:12px}.move-count{margin-left:6px;color:var(--muted);font-size:13px;font-weight:400}.move-empty-hint{margin:0 0 6px;color:var(--muted);font-size:13px}.move-row{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;margin-bottom:5px;border-radius:8px;background:#0e2b46;border:1px solid #1c4a6c;text-align:left}.move-row:disabled{opacity:.5;cursor:default}.move-row-icon{flex:0 0 auto;width:26px;text-align:center;font-size:22px}.move-row-body{flex:1 1 auto;min-width:0}.move-row-body strong,.move-row-body small{display:block}.move-row-body strong{font-size:16px}.move-row-body small{margin-top:2px;color:var(--muted);font-size:11px;letter-spacing:.2px}.move-row-subtitle{color:var(--gold)!important}.move-row-tag{flex:0 0 auto;padding:3px 7px;border-radius:5px;background:#163049;color:#b8d9ea;font-size:11px;font-weight:700}.evolution-section h2 small{color:#95b3c9;font-size:13px}.evo-chain{display:flex;align-items:flex-start;justify-content:center;gap:6px}.evo-entry{position:relative;width:29%;display:flex;flex-direction:column;align-items:center;font-family:"Press Start 2P"}.evo-entry img{width:55px;height:55px;object-fit:contain;image-rendering:pixelated;transform:scale(1.25);filter:drop-shadow(0 3px 2px #001020)}.evo-entry strong{margin-top:10px;font-size:10px}.evo-entry small{color:#9db8cb;font-size:8px}.evo-arrow{position:absolute;top:18px;right:-12px;color:#ff9d2a;font-size:37px;font-weight:900}.upgrade-btn{width:72%;min-height:42px;margin:5px auto 0;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:9px;background:linear-gradient(#32e87b,#0bb450);border:1px solid #5cff9d;box-shadow:inset 0 1px #b0ffd0,0 3px #047d38;font-family:"Press Start 2P";font-weight:900;text-shadow:0 1px 1px #075628}.upgrade-btn span{font-size:14px}.upgrade-btn small{font-size:10px}.upgrade-btn:disabled{filter:grayscale(.6) brightness(.75);cursor:var(--cursor-disabled)}.upgrade-btn.maxed{background:linear-gradient(#3f5f7a,#223c52);border-color:#5e8bab;box-shadow:none;cursor:var(--cursor-disabled)}.evo-entry.locked{opacity:.45;filter:grayscale(.7)}.evo-entry.current img{filter:drop-shadow(0 0 6px #ffe258)}.evo-entry.current strong{color:#ffe258}.matchmaking-screen{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;background:radial-gradient(circle,#0c5188,#04182a 65%)}.mm-swords{width:82px;height:82px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(#24adf5,#0968ad);border:3px solid #5bd2ff;box-shadow:0 0 35px #27b9ff66;animation:pulse 1.2s ease-in-out infinite}.mm-swords svg{width:51px;height:51px}.matchmaking-screen h1{margin:0;font-family:"Press Start 2P";font-size:15px}.mm-time{font-family:"Press Start 2P";font-size:30px;font-weight:800}.mm-vs-row{display:flex;align-items:center;gap:28px}.mm-vs-row div{display:flex;flex-direction:column}.mm-vs-row small{color:var(--gold)}.matchmaking-screen>button{padding:10px 27px;border-radius:8px;background:#17466d;border:1px solid #3987b8}@keyframes pulse{50%{transform:scale(1.08);filter:brightness(1.15)}}.battle-screen{position:relative;height:100%;display:flex;flex-direction:column;background:#05172a;touch-action:none}.battle-screen.loading{background:#061d33 url(/assets/ui/background-poke.png) center / cover}.arena-wrap{position:relative;flex:1;min-height:0;overflow:hidden;background:#417e44 url(/assets/ui/background-poke.png) center / cover no-repeat}.arena-wrap:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 18px #001a28aa}.battle-player{position:absolute;z-index:8;left:7px;width:63%;height:49px;display:grid;grid-template-columns:42px auto 1fr;align-items:center;gap:5px;padding:3px 6px 3px 3px;border-radius:8px;background:linear-gradient(90deg,#07243fe8,#082e4be8);border:1px solid #61b8de;box-shadow:0 2px 5px #00151fcc}.enemy-player{top:5px}.me-player{bottom:5px}.battle-avatar{width:39px;height:39px}.battle-avatar.rival{filter:hue-rotate(170deg)}.battle-player>span:nth-child(2){align-self:start;margin-top:2px;font-family:"Press Start 2P";line-height:1.05}.battle-player>span:nth-child(2) strong{display:block;font-size:12px}.battle-player>span:nth-child(2) small{display:block;margin-top:5px;color:#ffc946;font-size:10px;font-weight:900}.deck-icons{align-self:start;display:flex;justify-content:flex-end;gap:2px;padding-top:1px}.deck-icons img{width:21px;height:21px;object-fit:contain;image-rendering:pixelated;border-radius:3px;background:#183a5a;border:1px solid #8dbbd2}.heart-score{position:absolute;right:6px;bottom:2px;display:flex;align-items:center;gap:2px;font-family:"Press Start 2P";font-size:14px}.heart-score svg{width:17px;height:17px;fill:#f44258;stroke:#a40d27}.battle-timer{position:absolute;z-index:9;right:7px;top:5px;width:72px;height:49px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;background:linear-gradient(#173c56e8,#09273ee8);border:1px solid #75b8d5;font-family:"Press Start 2P";line-height:.95;box-shadow:0 2px 5px #00151fcc}.battle-timer small{font-size:10px}.battle-timer strong{font-size:18px}.battle-timer.boost strong{color:#ffe35b}.battle-timer.overtime strong{color:#ff7180;font-size:12px}.creature-token{position:absolute;z-index:5;width:54px;height:68px;display:flex;flex-direction:column;align-items:center;transform:translate(-50%,-65%);pointer-events:none}.creature-token img{order:2;width:52px;height:52px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 2px #001724aa);transform:scale(1.45)}.creature-token.enemy img{filter:drop-shadow(0 4px 2px #001724aa) saturate(1.1)}.hp-bar-track{order:1;position:relative;width:45px;height:6px;overflow:hidden;border-radius:4px;border:1px solid #071e2b;background:#243137;box-shadow:0 1px 1px #001019}.hp-bar-track i{display:block;height:100%}.token-level{position:absolute;z-index:3;left:-1px;top:-3px;width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:#125eaa;border:1px solid white;font-family:"Press Start 2P";font-size:9px;font-weight:900}.battle-bottom{position:relative;flex:0 0 150px;padding:7px 8px 5px 68px;background:linear-gradient(#0b3659,#061c33);border-top:1px solid #1674a8;box-shadow:0 -3px 8px #00122199}.hand-row{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;height:92px}.hand-card{position:relative;min-width:0;height:92px;overflow:hidden;padding:9px 2px 2px;border:2px solid;border-radius:7px;background:radial-gradient(circle at 50% 45%,#5d93b4,#102e4a 70%);box-shadow:inset 0 0 0 2px #062138,0 2px 3px #00111f}.hand-card.fire{background:radial-gradient(circle at 50% 45%,#df7653,#572337 70%)}.hand-card.water{background:radial-gradient(circle at 50% 45%,#51bceb,#15375d 70%)}.hand-card.nature{background:radial-gradient(circle at 50% 45%,#71c879,#174632 70%)}.hand-card.earth{background:radial-gradient(circle at 50% 45%,#b2946f,#3d3040 70%)}.hand-card.disabled{filter:grayscale(.55) brightness(.65)}.hand-card img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;transform:scale(1.5);filter:drop-shadow(0 3px 2px #00101d)}.hand-card .cost{width:24px;height:24px;font-size:18px}.next-card{position:absolute;left:8px;top:47px;width:54px;text-align:center;font-family:"Press Start 2P";font-size:9px}.next-card small{display:block}.next-card img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;border-radius:6px;background:#173752;border:2px solid #779eb7}.chat-button{position:absolute;left:9px;top:6px;width:40px;height:34px;display:grid;place-items:center;padding:5px;border-radius:6px;background:#edf8ff;color:#153953;border:2px solid #6ea9c8;box-shadow:0 2px #1a5274}.energy-row{height:39px;display:flex;align-items:center;gap:6px}.energy-track{flex:1;height:16px;overflow:hidden;border-radius:9px;padding:2px;background:#031324;border:1px solid #33607e}.energy-track i{display:block;height:100%;border-radius:6px;background:repeating-linear-gradient(90deg,#9d29ee 0,#9d29ee 18px,#b34dff 18px,#b34dff 20px);box-shadow:0 0 7px #a135f0;transition:width .2s}.energy-row strong{min-width:34px;font-family:"Press Start 2P";font-size:12px}.dragging-card{position:fixed;z-index:100;width:75px;height:75px;transform:translate(-50%,-50%);pointer-events:none}.dragging-card img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 6px 5px #001427);transform:scale(1.5)}.result-screen{height:100%;padding:7px;display:flex;flex-direction:column;background:linear-gradient(#12334f,#061a30 45%,#061b32)}.result-hero{position:relative;flex:0 0 46%;min-height:255px;overflow:hidden;border-radius:9px 9px 4px 4px;background:url(/assets/ui/match-result-sunset.png) 50% center / cover;box-shadow:inset 0 0 0 1px #5aa8d1}.result-hero:after{content:"";position:absolute;top:45%;right:0;bottom:0;left:0;background:linear-gradient(transparent,#071c36e8)}.result-title{position:absolute;z-index:2;left:0;right:0;bottom:12px;transform:rotate(-5deg);color:#ffd642;font-family:"Press Start 2P";font-size:clamp(42px,15vw,54px);font-weight:900;font-style:italic;letter-spacing:-2px;text-align:center;text-shadow:0 5px 0 #854206,3px 0 #fff4b1,-3px 0 #fff4b1,0 -2px #fff4b1,4px 7px 5px #001127}.result-screen.lost .result-hero{filter:saturate(.5) brightness(.65)}.result-screen.lost .result-title{color:#d4dfeb;text-shadow:0 5px 0 #405368,3px 0 white,-3px 0 white}.result-card{flex:1;display:flex;flex-direction:column;gap:8px;min-height:0;padding-top:4px}.result-score{min-height:73px;display:grid;grid-template-columns:1fr 22px 1fr;align-items:center;border-radius:8px;background:linear-gradient(#0c3b63,#062541);border:1px solid #166798;box-shadow:inset 0 1px #ffffff1c}.result-score>div{display:grid;grid-template-columns:31px 26px 1fr;align-items:center}.result-score>div:first-child{padding-left:13px}.result-score>div:last-child{padding-right:8px}.result-score>strong{font-family:"Press Start 2P";font-size:22px;text-align:center}.result-score b{font-family:"Press Start 2P";font-size:22px}.result-score small{font-family:"Press Start 2P";font-size:8px;line-height:1.2}.result-score small i{margin-top:3px}.trophy-change-banner{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;border-radius:8px;background:linear-gradient(#0c3a60,#06243f);border:1px solid #176799;font-family:"Press Start 2P"}.trophy-change-banner i.trophy{width:20px;height:20px}.trophy-change-banner span{font-size:18px;font-weight:900}.trophy-change-banner.gain span{color:#7dffb0}.trophy-change-banner.loss span{color:#ff8a8a}.trophy-change-banner small{font-size:9px;color:#b8d9ea;margin-left:2px}.score-creature{width:29px;height:31px;border-radius:50% 50% 45% 45%;background:linear-gradient(#29c8ff,#087dc0);box-shadow:inset 0 0 0 3px #063b66}.score-creature.red{background:linear-gradient(#ff5065,#cb1634)}.rewards-panel{border-radius:8px;background:linear-gradient(#0c3a60,#06243f);border:1px solid #176799;overflow:hidden;padding-bottom:8px}.rewards-panel h2{margin:5px 0;font-family:"Press Start 2P";font-size:11px;text-align:center}.rewards-row{display:flex;align-items:center;justify-content:center;min-height:65px;gap:4px;border-top:1px solid #174f73;font-family:"Press Start 2P";font-size:14px;font-weight:800}.reward-icon{display:grid;place-items:center;width:33px;height:30px;font-size:30px;color:#ffc935;text-shadow:0 2px #9a4d00}.reward-cards-row{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding:0 8px}.reward-card{position:relative;width:44px;height:44px;display:grid;place-items:center;border-radius:8px;background:radial-gradient(circle at 50% 40%,#2f6ea3,#0e2d4c 70%);border:1px solid #3d84b8}.reward-card img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.reward-card.new{border-color:#ffe258;box-shadow:0 0 8px #ffe25899}.reward-card.rarity-uncommon{border-color:#4be27a}.reward-card.rarity-rare{border-color:#4bc4ff}.reward-card.rarity-epic{border-color:#c07bff}.reward-card.rarity-legendary{border-color:#ffb23e;box-shadow:0 0 10px #ffb23e88}.reward-amount{position:absolute;top:-6px;right:-4px;padding:1px 4px;border-radius:4px;background:#08233c;border:1px solid #3d84b8;color:#fff;font-family:"Press Start 2P";font-size:7px;font-weight:900}.reward-new-tag{position:absolute;bottom:-6px;left:50%;transform:translate(-50%);padding:1px 4px;border-radius:4px;background:#ffe258;color:#442b00;font-family:"Press Start 2P";font-size:6px;font-weight:900;white-space:nowrap}.result-actions{margin-top:auto;display:grid;grid-template-columns:1fr 1.12fr;gap:7px;padding-bottom:2px}.result-actions button{height:49px;border-radius:8px;font-family:"Press Start 2P";font-size:13px;font-weight:900;color:#fff;text-shadow:0 1px 1px #06416e;box-shadow:inset 0 1px #fff8,0 3px #064d88}.result-actions .replay{display:flex;align-items:center;justify-content:center;gap:5px;background:linear-gradient(#43b9ff,#1887dc)}.result-actions .replay svg{width:16px}.result-actions .continue{background:linear-gradient(#ffca48,#f39418);box-shadow:inset 0 1px #fff6a6,0 3px #a64b06;text-shadow:0 1px 1px #804000}@media (max-height: 680px){.home-actions{bottom:65px}.battle-cta{height:47px;font-size:19px}.mini-deck-row{margin:5px 0}.region-card{height:55px}.battle-bottom{flex-basis:133px;padding-left:62px}.hand-row,.hand-card{height:79px}.next-card img{width:42px;height:42px}.energy-row{height:35px}.details-hero{height:190px}.details-hero>img{height:130px}.stat-item{min-height:42px}.evo-entry img{width:46px;height:46px}.upgrade-btn{min-height:46px}.result-hero{min-height:215px}}@media (min-width: 431px){body{padding:12px 0}.app-shell{height:calc(100dvh - 24px);border-radius:16px;border:1px solid #275270}}.turn-battle{background:#06192d;touch-action:manipulation}.turn-battle .turn-arena{position:relative;flex:1 1 53%;min-height:350px;overflow:hidden;background:linear-gradient(#071a2b33,#071a2b10),url(/assets/ui/turn-arena.png) center 38% / cover no-repeat;border-bottom:2px solid #2398cf}.turn-battle .turn-arena:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#00172c99,transparent 18% 79%,#00172cbb);box-shadow:inset 0 0 24px #00101dbb}.turn-hud{position:absolute;z-index:5;left:7px;right:7px;height:45px;display:grid;grid-template-columns:37px 1fr auto;align-items:center;gap:6px;padding:3px 8px 3px 3px;border:1px solid #4aa8d0;border-radius:7px;background:linear-gradient(90deg,#062844f2,#0b3d61e8);box-shadow:inset 0 1px #ffffff24,0 2px 5px #00111dcc}.rival-hud{top:5px}.my-hud{bottom:5px;grid-template-columns:37px 1fr auto auto}.emote-toggle{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(#0e4670,#072944);border:2px solid #ffd754;color:#eaf6ff;box-shadow:inset 0 1px #ffffff24,0 2px 4px #00111dcc}.emote-toggle svg{width:16px;height:16px}.emote-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:transparent;border:none;padding:0}.emote-picker{position:absolute;z-index:6;right:7px;bottom:54px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;border-radius:10px;background:#062844f2;border:1px solid #4aa8d0;box-shadow:0 4px 10px #00111dcc}.emote-picker button{width:34px;height:34px;font-size:20px;display:grid;place-items:center;border-radius:8px;background:#0b3d61;border:1px solid #2a6c92}.emote-picker button:active{transform:scale(.9)}.emote-bubble{position:absolute;z-index:8;font-size:26px;line-height:1;padding:5px 9px;border-radius:12px;background:#fffe;box-shadow:0 2px 6px #00111dcc;pointer-events:none;animation:emote-pop 2.2s ease forwards}.emote-bubble.mine{right:46px;bottom:56px}.emote-bubble.rival{left:12px;top:54px}@keyframes emote-pop{0%{opacity:0;transform:translateY(6px) scale(.8)}12%{opacity:1;transform:translateY(0) scale(1)}82%{opacity:1}to{opacity:0;transform:translateY(-6px) scale(.92)}}.turn-hud .battle-avatar{width:36px;height:36px}.turn-hud>span:nth-child(2){display:flex;flex-direction:column;font-family:"Press Start 2P";line-height:1}.turn-hud>span:nth-child(2) strong{font-size:12px}.turn-hud>span:nth-child(2) small{margin-top:4px;color:#ffd044;font-size:9px}.remaining-dots{display:flex;gap:4px}.remaining-dots i{width:13px;height:13px;border-radius:50%;background:#162b3e;border:2px solid #577187;box-shadow:inset 0 1px 2px #00111c}.remaining-dots i.alive{background:radial-gradient(circle at 35% 30%,#6effa0,#11b858 65%,#08722f);border-color:#9fffc0}.rival-hud .remaining-dots i.alive{background:radial-gradient(circle at 35% 30%,#ff8893,#ef344d 65%,#9d1028);border-color:#ffb5bc}.turn-counter{position:absolute;z-index:7;top:54px;left:50%;width:62px;height:43px;transform:translate(-50%);display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:3px 6px;border-radius:7px;background:#06253fe8;border:1px solid #4d9fc4;font-family:"Press Start 2P";line-height:.9;text-align:center}.turn-counter small{grid-column:1 / -1;color:#a9c9db;font-size:7px}.turn-counter strong{font-size:14px}.turn-counter span{color:#ffd14a;font-size:8px}.reserve-row{position:absolute;z-index:4;display:flex;align-items:center;gap:4px}.enemy-reserve{top:57px;left:7px}.mine-reserve{right:7px;bottom:57px;flex-direction:row-reverse}.reserve-row small{padding:2px 5px;border-radius:4px;color:#c2d7e5;background:#062842d9;font-family:"Press Start 2P";font-size:7px;font-weight:800}.reserve-ball{width:28px;height:28px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#123a57;border:2px solid #a9d3e7;box-shadow:0 2px 3px #00121f}.reserve-ball img{width:30px;height:30px;object-fit:contain;image-rendering:pixelated}.fighter-row{position:absolute;z-index:3;left:9%;right:9%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.enemy-row{top:160px}.mine-row{bottom:170px}.turn-fighter{position:relative;min-width:0;height:102px;padding:1px 5px 5px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;border-radius:14px;border:2px solid transparent;background:radial-gradient(ellipse at 50% 75%,#63a14473,transparent 67%);text-shadow:0 1px 2px #00121e}.turn-fighter img.portrait-fallback{position:absolute;z-index:0;top:-10px;width:78px;height:78px;object-fit:contain;image-rendering:pixelated;transform:scale(1.55);filter:drop-shadow(0 5px 3px #00152299)}.turn-fighter.enemy img.portrait-fallback{transform:scale(1.55) scaleX(-1)}.turn-fighter .pokemon-sprite{position:absolute;z-index:0;bottom:8px;left:50%;background-repeat:no-repeat;image-rendering:pixelated;transform:translate(-50%);filter:drop-shadow(0 5px 3px #00152299);transition:filter .12s}.turn-fighter .pokemon-sprite.anim-hurt{filter:drop-shadow(0 5px 3px #00152299) brightness(2) saturate(0) sepia(1) hue-rotate(-50deg) saturate(6)}.turn-fighter .pokemon-sprite.anim-dead{filter:drop-shadow(0 5px 3px #00152299) grayscale(1) brightness(.6);opacity:.75}.turn-fighter strong,.turn-fighter small,.fighter-hp,.status-pips{position:relative;z-index:2}.turn-fighter strong{max-width:100%;overflow:hidden;color:#fff;font-family:"Press Start 2P";font-size:10px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.turn-fighter small{color:#e8f5fc;font-family:"Press Start 2P";font-size:8px;line-height:1}.slot-label{position:absolute;z-index:2;top:1px;left:2px;padding:1px 4px;border-radius:4px;color:#d3ebf7;background:#063050db;font-family:"Press Start 2P";font-size:6px;font-weight:900}.fighter-hp{width:86%;height:7px;margin:3px 0 2px;overflow:hidden;border-radius:4px;background:#172935;border:1px solid #00111d}.fighter-hp i{display:block;height:100%;background:linear-gradient(#5cf67d,#16b64d);box-shadow:inset 0 1px #b2ffc3;transition:width .25s}.status-pips{position:absolute;top:17px;right:1px;display:flex;flex-direction:column;font-size:13px}.turn-fighter.selected{border-color:#59d4ff;background:radial-gradient(ellipse at 50% 70%,#55d2ff88,transparent 70%)}.turn-fighter.targetable{border-color:#ffe751;background-color:#fff52b20;animation:target-pulse .85s infinite alternate}.turn-fighter.empty{border:1px dashed #89b3c766;color:#9bb9c9;font-family:"Press Start 2P"}@keyframes target-pulse{to{filter:brightness(1.35);box-shadow:0 0 14px #ffe84c}}.turn-versus{position:absolute;z-index:4;top:50%;left:50%;width:100%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;pointer-events:none}.turn-versus span{width:38px;height:25px;display:grid;place-items:center;border-radius:50%;color:#d7edfa;background:#092a44c9;border:1px solid #7bb5d0;font-family:"Press Start 2P";font-size:11px;font-weight:900}.turn-versus strong{position:absolute;top:30px;padding:3px 9px;border-radius:10px;color:#ffe65f;background:#08233de8;font-family:"Press Start 2P";font-size:10px;letter-spacing:.4px}.turn-panel{position:relative;z-index:10;flex:0 0 min(32%,240px);min-height:240px;overflow-y:auto;padding:7px 8px;background:radial-gradient(circle at 50% 0,#104a76,#071d34 68%);scrollbar-width:none}.turn-panel::-webkit-scrollbar{display:none}.panel-heading{min-height:42px;display:flex;align-items:center;justify-content:space-between;font-family:"Press Start 2P"}.panel-heading span{display:flex;flex-direction:column}.panel-heading small{color:#86b9d5;font-size:8px}.panel-heading strong{font-size:14px}.panel-heading b{width:36px;height:31px;display:grid;place-items:center;border-radius:7px;background:#0c385b;border:1px solid #2875a1}.starter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:3px 0 10px}.starter-grid button{position:relative;min-width:0;height:105px;padding:16px 2px 4px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;overflow:hidden;border-radius:8px;background:radial-gradient(circle at 50% 42%,#4c94b6,#102c47 68%);border:2px solid #387ca2}.starter-grid button.selected{border-color:#ffe45b;box-shadow:inset 0 0 11px #ffdb3838,0 0 7px #ffdc4d}.starter-grid button>span{position:absolute;z-index:3;inset:2px 2px auto;color:#ffe663;font-family:"Press Start 2P";font-size:8px;font-weight:900}.starter-grid img{width:66px;height:66px;object-fit:contain;image-rendering:pixelated;transform:scale(1.35)}.starter-grid strong{position:relative;z-index:2;max-width:100%;overflow:hidden;font-family:"Press Start 2P";font-size:9px;text-overflow:ellipsis}.actor-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:6px}.actor-tabs button{position:relative;min-width:0;height:42px;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:3px;padding:2px 5px;border-radius:7px;color:#acc6d8;background:#08243d;border:1px solid #235f86;text-align:left}.actor-tabs button.active{color:#fff;background:linear-gradient(#11689f,#0b4773);border-color:#52b6e3}.actor-tabs img{width:35px;height:35px;object-fit:contain;image-rendering:pixelated}.actor-tabs span{min-width:0;display:flex;flex-direction:column;font-family:"Press Start 2P";line-height:1}.actor-tabs small{font-size:10px}.actor-tabs strong{overflow:hidden;font-size:16px;text-overflow:ellipsis}.actor-tabs b{position:absolute;top:2px;right:4px;color:#65f18e}.move-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.move-grid button{min-height:47px;display:flex;flex-direction:column;justify-content:center;padding:4px 7px;border-radius:7px;background:linear-gradient(#103959,#09273f);border:1px solid color-mix(in srgb,var(--move-color, #5d8eac) 75%,#fff);box-shadow:inset 3px 0 var(--move-color, #6591ac);text-align:left}.move-grid button.selected{background:linear-gradient(#1a6795,#0c466d);box-shadow:inset 3px 0 var(--move-color, #fff),0 0 0 2px #f7df55}.move-grid button strong{font-family:"Press Start 2P";font-size:10px;line-height:1}.move-grid button small{margin-top:3px;color:#9ebacd;font-size:10px;line-height:1.15}.move-grid .switch-action{--move-color: #c5d5df}.passive-line{min-height:28px;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:5px;margin:5px 0;padding:3px 5px;border-radius:5px;background:#041a2e;font-family:"Press Start 2P"}.passive-line span{padding:1px 4px;border-radius:3px;color:#071729;background:#ffd45a;font-size:6px;font-weight:900}.passive-line strong{color:#ffdb68;font-size:9px}.passive-line small{color:#91adbf;font-size:6px}.confirm-turn{position:relative;width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;background:linear-gradient(#42d77a,#11a94f);border:1px solid #82f7a8;box-shadow:inset 0 1px #c1ffd3,0 3px #087432;font-family:"Press Start 2P";font-size:14px;font-weight:900;text-shadow:0 1px #08652f}.confirm-turn:disabled{filter:grayscale(.7) brightness(.65);cursor:var(--cursor-disabled)}.confirm-turn svg{width:21px}.confirm-turn>span{position:absolute;right:10px;font-size:10px}.waiting-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.resolving-orb{width:57px;height:57px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(#2bc1ff,#126eb5);border:2px solid #88e3ff;box-shadow:0 0 20px #22baff66;animation:pulse 1s infinite}.resolving-orb svg{width:34px;height:34px}.waiting-panel h2{margin:8px 0 0;font-family:"Press Start 2P";font-size:17px}.waiting-panel p{margin:2px 0 7px;color:#9dbacc;font-size:12px}.waiting-panel>small{color:#c7dce8;font-family:"Press Start 2P";font-size:8px;line-height:1.25}.battle-modal{position:absolute;z-index:50;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#00101dd6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.battle-modal>div{position:relative;width:100%;padding:16px 13px 13px;border-radius:12px;background:linear-gradient(#104a75,#071e37);border:2px solid #44aede;box-shadow:inset 0 1px #fff3,0 12px 35px #000a;text-align:center}.battle-modal h2{margin:0;color:#ffe35e;font-family:"Press Start 2P";font-size:18px}.battle-modal p{margin:4px 0 12px;color:#b5ccdc;font-size:12px}.replacement-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.replacement-grid button{min-width:0;height:125px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:5px;border-radius:9px;background:radial-gradient(circle at 50% 40%,#549dbc,#0c2e4a 70%);border:2px solid #438cad}.replacement-grid button:hover{border-color:#ffe258}.replacement-grid img{width:78px;height:78px;object-fit:contain;image-rendering:pixelated;transform:scale(1.3)}.replacement-grid strong{font-family:"Press Start 2P";font-size:11px}.replacement-grid small{color:#86e99f;font-size:12px}.modal-cancel{margin-top:10px;padding:7px 20px;border-radius:6px;background:#183d59;border:1px solid #4d819f}.replacement-time{position:absolute;top:8px;right:10px;color:#ffe165;font-family:"Press Start 2P";font-size:13px;font-weight:900}@media (max-height: 720px){.turn-battle .turn-arena{min-height:320px}.turn-panel{flex-basis:250px;min-height:240px}.fighter-row{gap:8px}.enemy-row{top:88px}.mine-row{bottom:83px}.turn-fighter{height:88px}.turn-fighter .pokemon-sprite{transform:translate(-50%) scale(.82)}.turn-fighter strong{font-size:10px}.starter-grid button{height:91px}.starter-grid img{width:55px;height:55px}.move-grid button{min-height:42px}.passive-line{margin:4px 0}.confirm-turn{min-height:39px}}.login-screen{position:relative;display:flex;align-items:center;justify-content:center;height:100%;padding:20px;background:radial-gradient(circle at 50% 20%,#174d73,#04121f 70%)}.login-card{width:100%;max-width:320px;padding:24px 20px;border-radius:14px;text-align:center}.login-logo{width:88px;height:88px;margin:0 auto 10px;display:block;border-radius:18px;box-shadow:0 4px 14px #000a}.login-card h1{margin:0;font-family:"Press Start 2P";font-size:21px}.login-subtitle{margin:4px 0 16px;color:var(--muted);font-size:14px}.login-card form{display:flex;flex-direction:column;gap:10px;text-align:left}.login-card label{display:flex;flex-direction:column;gap:4px}.login-card label small{color:var(--muted);font-family:"Press Start 2P";font-size:9px;letter-spacing:.4px}.login-card input{height:40px;padding:0 12px;border-radius:8px;background:#06213b;border:1px solid #1c6799;color:var(--text);font-size:17px}.login-card input:focus-visible{outline:2px solid var(--cyan)}.login-error{margin:0;color:#ff8a8a;font-size:13px}.login-switch{margin-top:14px;color:var(--cyan);font-size:14px;text-decoration:underline;background:transparent}.version-tag{position:absolute;left:0;right:0;bottom:10px;margin:0;color:var(--muted);font-size:13px;text-align:center;letter-spacing:.5px}.version-tag-inline{margin:14px 0 0;color:var(--muted);font-size:13px;text-align:center;letter-spacing:.5px}.panel-screen{position:relative;height:100%;overflow-y:auto;padding:7px 9px 10px;background:linear-gradient(#0b2a45 0,#0b2a45,#081c35 38%,#04213d);border:1px solid #157eb8;scrollbar-width:none}.panel-screen::-webkit-scrollbar{display:none}.social-screen,.store-screen,.profile-screen{position:relative;height:100%;overflow-y:auto;padding:7px 9px 90px;background:linear-gradient(#0b2a45 0,#0b2a45,#081c35 38%,#04213d);scrollbar-width:none}.social-screen::-webkit-scrollbar,.store-screen::-webkit-scrollbar,.profile-screen::-webkit-scrollbar{display:none}.add-friend-row{display:flex;gap:6px;margin:6px 0}.add-friend-row input{flex:1;height:38px;padding:0 10px;border-radius:8px;background:#06213b;border:1px solid #1c6799;color:var(--text);font-size:16px}.add-friend-row button{display:flex;align-items:center;gap:5px;padding:0 12px;border-radius:8px;background:#0e4c7e;border:1px solid var(--line);font-family:"Press Start 2P";font-weight:700}.social-success{margin:0 0 6px;color:#7dffb0;font-size:13px}.social-empty{color:var(--muted);font-size:14px}.friend-row{display:flex;align-items:center;gap:8px;padding:8px 6px;border-radius:8px}.friend-row+.friend-row{margin-top:4px}.friend-dot{width:9px;height:9px;border-radius:50%;background:#445a68;flex-shrink:0}.friend-dot.online{background:#4be27a;box-shadow:0 0 6px #4be27a}.friend-name{flex:1;font-family:"Press Start 2P";font-size:12px}.friend-actions{display:flex;gap:6px}.friend-actions button{display:flex;align-items:center;gap:4px;height:30px;padding:0 10px;border-radius:6px;font-family:"Press Start 2P";font-size:10px;font-weight:700}.friend-accept{background:#155a33;border:1px solid #3fdc82;color:#b6ffd2}.friend-reject{background:#5a1515;border:1px solid #dc6b3f;color:#ffcab6}.friend-duel{background:linear-gradient(#ffd458,#f2910a);border:1px solid #ffe66e;color:#4a2600}.friend-duel:disabled{filter:grayscale(.8) brightness(.6);cursor:var(--cursor-disabled)}.friend-remove{width:30px;padding:0;display:grid;place-items:center;background:#163049;border:1px solid #2d597c}.invite-actions{display:flex;gap:8px;justify-content:center}.invite-actions button{flex:1}.store-placeholder{margin-top:30%;padding:26px 16px;border-radius:12px;text-align:center}.store-icon{width:48px;height:48px;margin:0 auto 10px;display:grid;place-items:center;border-radius:50%;background:#0e4c7e;border:1px solid var(--line)}.store-placeholder h2{margin:0;font-family:"Press Start 2P";font-size:16px;letter-spacing:.5px;color:var(--gold)}.store-placeholder p{margin:6px 0 0;color:var(--muted);font-size:14px}.profile-hero{display:flex;flex-direction:column;align-items:center;gap:8px;padding:22px 10px;margin:6px 0;border-radius:12px}.trainer-avatar.large{width:64px;height:64px;border-radius:12px}.profile-hero strong{font-family:"Press Start 2P";font-size:16px}.logout-btn{font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:42px;margin-top:14px;border-radius:8px;background:#5a1515;border:1px solid #dc6b3f;color:#ffcab6;font-family:"Press Start 2P";font-weight:700}.logout-btn svg{width:1.45em;height:1.45em}.idle-toggle-card{width:100%;min-height:61px;padding:7px 12px;border-radius:7px;display:flex;align-items:center;justify-content:space-between;text-align:left;margin-bottom:8px}.idle-toggle-card small{display:block;font-family:"Press Start 2P";font-size:7px;letter-spacing:.7px;color:#b8d9ea}.idle-toggle-card strong{display:block;font-family:"Press Start 2P";font-size:13px}.idle-toggle-card.on strong{color:#7dffb0}.switch-pill{position:relative;width:42px;height:24px;flex-shrink:0;border-radius:12px;background:#163049;border:1px solid #2d597c}.switch-pill i{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#7f97a8;transition:transform .15s,background .15s}.switch-pill.on{background:#155a33;border-color:#3fdc82}.switch-pill.on i{background:#7dffb0;transform:translate(18px)}.idle-indicator{position:absolute;z-index:60;left:50%;bottom:12px;transform:translate(-50%);display:flex;align-items:center;gap:6px;padding:8px 16px;border-radius:20px;background:#155a33e8;border:1px solid #3fdc82;color:#eaffef;font-family:"Press Start 2P";font-size:10px;font-weight:800;box-shadow:0 4px 14px #000a}.idle-indicator svg{width:14px;height:14px}.auto-toggle{position:absolute;z-index:8;bottom:95px;right:8px;padding:4px 9px;border-radius:6px;background:#163049;border:1px solid #2d597c;color:#b8d9ea;font-family:"Press Start 2P";font-size:9px;font-weight:800}.auto-toggle.on{background:#155a33;border-color:#3fdc82;color:#7dffb0}.duel-note{margin:8px 0 0;color:var(--muted);font-size:13px;text-align:center}.battle-menu-toggle{position:absolute;z-index:8;top:56px;right:8px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#163049;border:1px solid #2d597c;color:#cfe4f2}.battle-menu-toggle svg{width:17px;height:17px}.battle-menu-actions{display:flex;flex-direction:column;gap:8px;margin-top:6px}.battle-menu-actions button{width:100%}.settings-modal .details-header{margin-bottom:10px}.settings-modal .details-header h1{font-size:24px}.volume-row{display:flex;align-items:center;gap:8px;padding:4px 2px;font-family:"Press Start 2P";font-size:10px;text-align:left}.volume-row span{flex-shrink:0}.volume-row b{width:34px;text-align:right;color:var(--gold)}.volume-row input[type=range]{flex:1;accent-color:var(--cyan)}.profile-actions{display:flex;flex-direction:column;gap:8px;margin-top:14px}.profile-actions .logout-btn{margin-top:0}@font-face{font-family:Barlow Condensed;src:url(/assets/fonts/BarlowCondensed-Regular.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Barlow Condensed;src:url(/assets/fonts/BarlowCondensed-Bold.ttf) format("truetype");font-style:normal;font-weight:600 900;font-display:swap}:root{--font-ui: "Barlow Condensed", "Arial Narrow", sans-serif;--text: #101c2a;--muted: #495967;--line: #75838c;--cyan: #148ed0;--gold: #f8c441;--paper: #e9ebe5;--paper-shade: #d4d9d5;--ink: #182736;--frame: 2px solid #263542;--panel-fill: linear-gradient(110deg, #f3f3ed, #e0e4df);--panel-bevel: inset 0 0 0 2px #fffaf0, inset 0 -4px #b1b9b9, 0 1px 0 #12202e;--yellow-fill: linear-gradient(#ffe680, #ffcf51 48%, #f4b938 49%, #f5c346 90%, #cc8c26 91%);--blue-fill: linear-gradient(#47b6e6, #2499d8 50%, #157cbe);--dark-fill: linear-gradient(#46525d, #2d3946);font-family:var(--font-ui);color:var(--text);background:#071019}body{background:#071019}:root .app-shell :where(button,input,textarea,div,span,strong,small,b,p,h1,h2,h3,label){font-family:var(--font-ui)}.app-shell{background:var(--paper);min-height:0;color:var(--text);border:3px solid #162331;border-radius:8px;box-shadow:0 0 0 1px #8ea3ae,0 8px 35px #0009}.ui-icon{display:block;width:24px;height:24px;flex:0 0 auto;object-fit:contain}.app-shell button{touch-action:manipulation}.app-shell button:focus-visible,.app-shell input:focus-visible{outline:3px solid #168dce;outline-offset:2px}.app-shell button:disabled{cursor:var(--cursor-disabled)}.app-shell input{min-width:0;font:inherit}.glass-panel{color:var(--text);background:var(--panel-fill);border:var(--frame);box-shadow:var(--panel-bevel);border-radius:5px}.collection-screen,.details-screen,.panel-screen,.social-screen,.store-screen,.profile-screen{color:var(--text);background:var(--panel-fill);padding:8px 9px 78px}.details-screen,.panel-screen{padding-bottom:14px;border:0}.details-header{min-height:44px;align-items:center;padding:3px 5px 6px;gap:6px;border-bottom:1px solid #7f8b91}.details-header h1{margin:0;color:var(--text);font-size:27px;font-weight:700;line-height:1.05;overflow-wrap:anywhere}.details-header>button,.back-bubble,.edit-bubble,.round-icon,.battle-menu-toggle{color:var(--ink);background:var(--panel-fill);border:var(--frame);border-radius:4px;box-shadow:inset 0 0 0 1px #fff,inset 0 -2px #a3adb2}.details-header>button{width:31px;height:31px;padding:2px}.details-section{border-color:#a6b0b3;padding:7px 0}.details-section h2{margin:0 0 4px;color:var(--text);font-size:20px;font-weight:700;text-transform:uppercase;line-height:1.05}.battle-cta,.upgrade-btn,.confirm-turn,.result-actions .continue{color:#111b23;background:var(--yellow-fill);border:var(--frame);border-radius:5px;box-shadow:inset 0 0 0 2px #fff0ad,0 2px #111d28;text-shadow:none;font-weight:700}.battle-cta{height:53px;font-size:30px;gap:13px}.battle-cta svg{width:31px;height:31px;color:#f8f8ed;filter:drop-shadow(1px 1px 0 #152332) drop-shadow(-1px -1px 0 #152332)}.battle-cta>.ui-icon{width:38px;height:38px;filter:drop-shadow(0 2px 1px #15233288)}.battle-cta:active,.ranked-cta:active,.upgrade-btn:active,.confirm-turn:active{transform:translateY(1px)}.ranked-cta,.logout-btn,.modal-cancel{background:var(--dark-fill);border:var(--frame);color:#fff;border-radius:5px;box-shadow:inset 0 0 0 1px #bdc5c9,inset 0 -3px #17232e,0 1px #fff;text-shadow:0 1px #142331}.ranked-cta{height:44px;margin-top:7px;font-size:22px;letter-spacing:0}.ranked-cta .trophy{width:27px;height:23px}.battle-mode-picker{min-width:0;margin:0 0 7px;padding:3px 7px 7px;border:var(--frame);border-radius:5px}.battle-mode-picker legend{padding:0 5px;background:var(--paper);color:var(--text);font-size:13px;font-weight:700;border-radius:3px}.battle-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.battle-mode-option{display:flex;align-items:center;gap:7px;padding:5px 7px;min-width:0;border:2px solid #75838c;border-radius:4px;background:#d4d9d5;cursor:var(--cursor-pointer)}.battle-mode-option.selected{border-color:#946800;background:#ffe08a}.battle-mode-option:focus-within{outline:2px solid #148ed0;outline-offset:2px}.battle-mode-option:has(input:disabled){opacity:.5;cursor:default}.battle-mode-option input{margin:0;width:16px;height:16px;flex-shrink:0;accent-color:#946800}.battle-mode-option strong,.battle-mode-option small{display:block;line-height:1.1}.battle-mode-option strong{font-size:19px}.battle-mode-option small{margin-top:2px;font-size:13px;color:#394957}.battle-controls .battle-cta:disabled{opacity:.6;cursor:default;filter:saturate(.4)}.coin,.trophy,.gem{border:0;border-radius:0;box-shadow:none;clip-path:none;transform:none;background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:contain}.coin{background-image:url(/assets/ui/icons/coin.png)}.trophy{width:1em;height:1em;background-image:url(/assets/ui/icons/trophy.png)}.gem{background-image:url(/assets/ui/icons/diamond.png)}.bottom-nav{height:65px;gap:1px;padding:0;background:#22313d;border-top:2px solid #182633;box-shadow:0 -2px #f8f9f2}.bottom-nav button{padding:7px 1px 5px;gap:3px;color:#101e2e;background:var(--panel-fill);border:1px solid #78858e;border-radius:4px;box-shadow:inset 0 0 0 1px #fff;font-size:16px;line-height:1}.bottom-nav button.active,.bottom-nav .battle-tab.active{margin:0;color:#0d2232;background:linear-gradient(#a6e2f7,#59b9df);border:1px solid #1c445d;border-radius:4px;box-shadow:inset 0 0 0 1px #e7faff}.bottom-nav svg{width:25px;height:25px;stroke-width:2.7}.bottom-nav .ui-icon{width:31px;height:31px;filter:drop-shadow(0 1px 1px #14273766)}.bottom-nav button.active svg{color:#112638;filter:none}.bottom-nav button.active .ui-icon{transform:translateY(-1px) scale(1.08);filter:drop-shadow(0 2px 2px #14496866)}.login-screen{display:flex;flex-direction:column;justify-content:flex-start;gap:clamp(20px,5vh,48px);padding:clamp(28px,8vh,80px) 30px 30px;overflow-y:auto;background:url(/assets/ui/home-valley.png) center center / cover no-repeat}.login-brand{flex-shrink:0;display:flex;justify-content:center;width:100%;filter:drop-shadow(0 4px #112838)}.login-brand-logo{display:block;width:min(78vw,300px);height:auto;object-fit:contain}.login-card{flex-shrink:0;width:100%;max-width:320px;padding:15px 12px 10px;border:3px solid #223240;border-radius:8px;box-shadow:inset 0 0 0 2px #fff,0 3px #101e2b}.login-card h1{margin:0 0 12px;font-size:26px}.login-card form{gap:10px}.login-card label{position:relative;display:block}.login-card label>svg{position:absolute;left:10px;top:10px;width:21px;height:21px;z-index:1}.login-card input{width:100%;height:43px;padding:0 10px 0 39px;color:var(--text);border:2px solid #667780;background:linear-gradient(#f2f3ed,#d9dedb);border-radius:4px;box-shadow:inset 0 0 0 1px #fff;font-size:19px}.login-card input::placeholder{color:#233541;opacity:1}.login-card .battle-cta{margin-top:1px;height:49px;font-size:27px}.login-switch{margin-top:10px;padding:0;color:var(--text);font-size:17px;text-decoration:none}.login-switch strong{color:#0068b1;font-weight:400}.login-error{color:#a41b26;font-size:16px}.turnstile-field{width:100%;min-height:65px;display:grid;place-items:center}.turnstile-field>div{width:100%}.turnstile-field small{color:#a41b26;font-size:14px;line-height:1.1;text-align:center}.version-tag{bottom:8px;color:#fff;text-shadow:1px 1px 2px #122434;font-size:13px}.login-footer{width:100%;margin-top:auto;padding-top:12px;text-align:center}.login-footer .version-tag{position:static}.fan-disclaimer{max-width:360px;margin:6px auto 0;color:#fff;font-size:12px;line-height:1.25;text-align:center;text-shadow:1px 1px 2px #122434}.profile-disclaimer{padding:0 10px 12px;color:#62747a;text-shadow:none}.home-screen{background:url(/assets/ui/home-valley.png) center calc(100% - clamp(110px,22vh,185px)) / 100% auto no-repeat #325b38}.home-header{height:57px;top:5px;left:5px;right:5px;padding:4px;gap:4px}.trainer-badge{min-width:0;flex:1;gap:6px}.trainer-badge>div:last-child{min-width:0}.trainer-badge strong{font-size:21px;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:none}.trainer-badge small,.league-line{color:#223341;font-size:16px;text-shadow:none}.league-line{display:flex;align-items:center;gap:4px}.league-icon{width:1.45em;height:1.45em;flex:0 0 auto;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 1px 1px #17273366)}.trophy-change-banner .league-icon{width:1.35em;height:1.35em;margin-right:2px}.trainer-avatar,.battle-avatar{flex-shrink:0;width:43px;height:43px;border-radius:4px;border:2px solid #243440;background:url(/assets/ui/icons/trainer.svg) center / cover;box-shadow:inset 0 0 0 2px #f9f8e9;image-rendering:pixelated}.currency-row{gap:3px}.currency-pill{height:29px;gap:5px;padding:3px 6px;border:1px solid #92a1ac;border-radius:3px;background:#152635;color:#fff;box-shadow:0 0 0 1px #263746,inset 0 1px #556777;font-size:17px}.currency-pill .coin,.currency-pill .trophy{width:17px;height:17px}.round-icon{width:35px;height:38px;margin-left:2px;padding:4px}.round-icon .ui-icon{width:28px;height:28px}.home-quick-menu{top:72px;left:9px;gap:8px}.home-quick-menu button{gap:1px;font-size:13px;text-shadow:0 1px 2px #142332,1px 0 #142332}.quick-icon,.quick-icon.pass,.quick-icon.event{width:40px;height:40px;border:var(--frame);border-radius:4px;color:transparent;background:transparent;border-color:transparent}.quick-icon .ui-icon{width:36px;height:36px;margin:auto}.quick-icon.pass svg{fill:#f4d46e}.quick-icon.event svg{color:#a4383b}.home-actions{left:9px;right:9px;bottom:73px}.idle-toggle-card{min-height:51px;margin-bottom:5px;padding:5px 10px}.idle-toggle-card small{font-size:14px;line-height:1;color:var(--text);letter-spacing:0}.idle-toggle-card strong{margin-top:1px;font-size:22px;line-height:1}.idle-toggle-card.on strong{color:#267c44}.switch-pill{width:43px;height:23px;background:#53606a;border:2px solid #263642;box-shadow:inset 0 0 0 1px #aebabe}.switch-pill i{width:17px;height:17px;top:1px;left:1px;background:#e8ece7;box-shadow:0 0 0 1px #202e3a}.switch-pill.on{background:#3a9257;border-color:#234734}.switch-pill.on i{background:#eef4df}.mini-deck-row{gap:5px;padding:3px;margin:5px 0 7px;background:#e8ede5;border:2px solid #263746;border-radius:5px;box-shadow:inset 0 0 0 1px #fff}.creature-card{--card-color: #88c3e5;aspect-ratio:.89;padding:3px 2px 22px;border:2px solid #253541;border-radius:5px;background:linear-gradient(120deg,color-mix(in srgb,var(--card-color),white 28%),var(--card-color));box-shadow:inset 0 0 0 2px #ffffff95,0 1px #fff;color:#fff}.creature-card.fire{--card-color: #f29b75}.creature-card.water{--card-color: #74c5ec}.creature-card.nature{--card-color: #82c77c}.creature-card.earth{--card-color: #bcb4a2}.creature-card.electric{--card-color: #f4d96c}.creature-card:is(.fire,.water,.nature,.earth,.electric){border-color:#263744;background:linear-gradient(120deg,color-mix(in srgb,var(--card-color),white 28%),var(--card-color))}.creature-card img{width:88%;height:90%;transform:none;filter:none;object-fit:contain}.creature-artwork{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;position:relative;width:100%;height:100%;min-width:0;pointer-events:none}.creature-artwork .pokemon-sprite{grid-area:1 / 1;background-repeat:no-repeat;image-rendering:pixelated;transform:translateY(2%)}.creature-card>.creature-artwork{position:absolute;top:2px;right:2px;bottom:23px;left:2px;width:auto;height:auto}.creature-card.locked .creature-artwork{filter:brightness(0) opacity(.65)}.creature-card:after{height:21px;inset:auto 2px 2px;border-radius:0 0 2px 2px;background:#152431;border-top:1px solid #778f9c}.card-level{font-size:19px;line-height:21px;bottom:2px;text-shadow:0 1px #000}.creature-card.compact{aspect-ratio:1;padding-bottom:21px}.creature-card.selected{outline:3px solid #f4bc2f;outline-offset:-2px;box-shadow:inset 0 0 0 3px #fff5a5,0 0 0 1px #263544}.creature-card.locked{border-color:#34424d;background:linear-gradient(#68747b,#37434e);box-shadow:inset 0 0 0 2px #aab5b7}.creature-card.locked img{filter:grayscale(1) brightness(.18);opacity:.9}.creature-card.locked:after{background:#23303b}.locked-mark{color:#b0bec4;font-size:34px;text-shadow:1px 2px #16232e}.deck-header{grid-template-columns:31px 1fr 31px;gap:5px;margin-bottom:7px}.back-bubble,.edit-bubble{width:31px;height:33px;padding:3px}.edit-bubble.active{background:var(--yellow-fill);border-color:#27313a}.deck-tabs,.social-tabs{height:40px;display:grid;overflow:hidden;gap:1px;border:2px solid #283743;border-radius:4px;background:#182b3b;box-shadow:0 1px #fff}.deck-tabs{grid-template-columns:repeat(3,1fr)}.deck-tabs button,.social-tabs button{color:#fff;background:linear-gradient(#283c4e,#142637);border-radius:2px;font-size:18px;box-shadow:inset 0 1px #71858f}.deck-tabs button.active,.social-tabs button.active{color:#fff;background:var(--blue-fill);box-shadow:inset 0 0 0 1px #90d7f4;border-radius:2px}.coin-row{margin-bottom:7px}.deck-grid{padding-bottom:8px;border-bottom:1px solid #84939a;margin-bottom:7px}.collection-title{flex-wrap:wrap;gap:2px 8px;margin:0 0 5px}.collection-title strong{font-size:21px;text-transform:uppercase;line-height:1}.collection-title span{margin-left:auto;color:#4e5b63;font-size:13px}.element-filter-row{height:34px;gap:4px;margin-bottom:8px}.type-filter-row button{padding:0 8px;color:#152330;background:color-mix(in srgb,var(--type-color, #95afbf),white 54%);border:1px solid #3e515b;border-radius:4px;font-size:16px;font-weight:400;box-shadow:inset 0 0 0 1px #ffffffad,0 1px #fff}.type-filter-row button.active{color:#fff;background:var(--blue-fill);outline:1px solid #173c51;outline-offset:-1px;box-shadow:inset 0 0 0 2px #91dbf2}.deck-edit-hint{color:#5b441a;background:#fff0b9;border:1px solid #b89644;border-radius:3px;font-size:16px}.collection-grid{gap:6px}.creature-card.has-fragment-progress{aspect-ratio:.73;padding-bottom:42px}.creature-card.has-fragment-progress:after{height:41px}.creature-card.has-fragment-progress>.creature-artwork{bottom:43px}.creature-card.has-fragment-progress .card-level{bottom:21px}.card-fragment-progress{height:17px;border-color:#25465a;border-radius:2px;background:#173246;font-family:var(--font-ui);font-size:13px;line-height:15px}.card-fragment-progress>b{font-size:16px}.details-screen>.details-header{position:relative;z-index:3;background:#edf0e7ed;border:1px solid #7d898d;border-radius:4px;min-height:58px}.creature-heading{display:flex;align-items:center;gap:8px;min-width:0}.creature-heading>div{flex:1;min-width:0}.details-header p{margin:3px 0 0;font-size:15px;gap:6px}.details-header p b{color:#26392e}.details-header p span{color:#1c2a35;background:#e9ede3;border:1px solid #758187;border-radius:2px;padding:1px 6px}.type-badge{flex:0 0 auto;display:inline-grid;place-items:center;width:34px;height:33px;border:2px solid #293b40;border-radius:4px;color:#24423c;background:linear-gradient(135deg,color-mix(in srgb,var(--type-color),white 25%),var(--type-color));box-shadow:inset 0 0 0 1px #edffce;font-size:22px}.type-badge svg{width:25px;height:25px;stroke-width:1.6}.creature-heading>.type-badge{width:46px;height:46px}.creature-heading>.type-badge svg{width:35px;height:35px}.details-hero{height:165px;margin:-2px 0 0;padding:0 0 30px;justify-content:center;background:url(/assets/ui/background-poke.png) center 55% / cover no-repeat;border:1px solid #697b78;border-radius:0 0 4px 4px}.details-hero:before{top:0;right:0;bottom:0;left:0;background:linear-gradient(#15322922,transparent 60%)}.details-hero>img{width:150px;height:148px;transform:none;filter:drop-shadow(0 4px 0 #213c3850)}.level-progress{left:3px;right:3px;bottom:3px;height:29px;grid-template-columns:64px 1fr 30px;border:1px solid #263744;border-radius:3px;background:#d8e0dc;box-shadow:inset 0 0 0 1px #fff}.level-progress>strong{color:#fff;background:#192b3a;font-size:20px}.level-progress>span{isolation:isolate;margin:0 5px;height:18px;line-height:16px;border:1px solid #97b0bb;border-radius:3px;background:#102737;font-size:14px;box-shadow:0 0 0 1px #253c4c}.level-progress>span i{background:#2699bf;border-radius:0}.level-progress>button{color:#263644;background:#e5e9df;border-left:1px solid #506570}.level-progress>button .ui-icon{width:24px;height:24px}.level-progress>button:disabled{color:#78878c;background:#c7cfcd}.upgrade-banner{margin:3px 0 6px;padding:5px;border:1px solid #9aa4a4;border-radius:3px;color:#24303a;background:#edf0e8;font-size:15px}.upgrade-banner b{color:#253848}.upgrade-banner small{color:#665023;font-size:14px}.upgrade-banner.ready{color:#18492e;background:#d8ecd2;border-color:#659375}.upgrade-banner.ready strong{color:#216636;font-size:18px}.stats-grid{margin:6px 0;background:#97a2a6;border:1px solid #7c8b91;border-radius:4px;gap:1px}.stat-item{background:#e9ede6;min-height:47px;gap:5px;padding:5px}.stat-icon{display:flex;align-items:center;justify-content:center;width:27px;flex-shrink:0;color:#2586bd;font-size:26px;text-shadow:1px 1px #253647}.stat-item:first-child .stat-icon{color:#ed4945}.stat-item:nth-child(2) .stat-icon{color:#374e5e}.stat-item:nth-child(6) .stat-icon{color:#b88230}.stat-item>span:last-child{min-width:0;display:flex;flex-direction:column}.stat-item small{color:#263747;font-size:13px;line-height:1.1}.stat-item strong{color:#182a36;font-size:16px;line-height:1.1;margin:1px 0 0}.stats-grid-6 .stat-item strong{order:-1}.stat-next{font-size:14px}.stat-next.up{color:#215d39}.stat-next.down{color:#a73534}.ability-row{align-items:center;min-height:39px;padding:3px 5px;gap:7px;background:#e0e5e0;border:1px solid #8b989c;border-radius:3px}.ability-row+.ability-row{margin-top:3px}.ability-row>span:last-child{min-width:0}.ability-row strong{color:#162737;font-size:18px;line-height:1.05}.ability-row small{margin-top:1px;color:#31424e;font-size:14px;line-height:1.15}.ability-art{width:33px;height:33px;border:1px solid #596e73;border-radius:3px;background:#94bc78;font-size:22px}.creature-moves .ability-row{min-height:33px;padding:2px 4px;gap:6px}.creature-moves .type-badge{width:28px;height:27px}.creature-moves .type-badge svg{width:21px;height:21px}.creature-moves .ability-row>span:last-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 7px}.creature-moves .ability-row strong{font-size:17px}.creature-moves .ability-row small{margin:0;font-size:13px}.role-line{margin:5px 0 0;color:#263744;font-size:15px}.role-line small{padding:1px 9px;border:1px solid #22475d;background:var(--blue-fill);color:#fff;border-radius:3px;font-size:14px}.upgrade-btn{width:100%;min-height:43px;margin-top:7px}.upgrade-btn span{font-size:22px}.upgrade-btn small{font-size:15px}.upgrade-btn:disabled,.upgrade-btn.maxed,.confirm-turn:disabled{filter:none;color:#48555e;background:linear-gradient(#dde1dd,#a7b1b6);border-color:#3f4e59;box-shadow:inset 0 0 0 2px #edf0e9,0 2px #263643}.evo-chain{justify-content:space-around;gap:8px;padding:4px 0}.evo-entry{flex:1;min-width:0}.evo-entry>.creature-artwork{height:59px}.evo-entry img{width:53px;height:53px;transform:none;filter:none}.evo-entry strong{margin-top:3px;font-size:15px;text-align:center;overflow-wrap:anywhere}.evo-entry small{color:#4f6068;font-size:13px}.evo-entry.current strong{color:#1e6c3e}.evo-entry.current img{filter:none}.evo-entry.locked{opacity:.65;filter:saturate(.7)}.evo-arrow{right:-8px;top:6px;font-size:34px;color:#1b2e3b}.move-count{color:#354d5b;font-size:17px}.move-row{border:1px solid #829299;border-radius:4px;background:#e3e8e2;padding:8px;box-shadow:inset 0 1px #fff}.move-row-body strong{color:#172937;font-size:21px}.move-row-body small{font-size:15px;color:#435963}.move-row-subtitle{color:#746024!important}.move-row-tag{border:1px solid #7d939e;background:#d0e2e7;color:#274957;font-size:13px;border-radius:3px}.move-row:disabled{opacity:.68;cursor:var(--cursor-disabled)}.move-empty-hint{font-size:16px}.social-screen{display:flex;flex-direction:column;gap:7px}.social-screen>.details-header,.social-tabs,.friend-search,.add-friend-row{flex-shrink:0}.social-tabs{grid-template-columns:1fr 1fr;height:43px}.social-tabs button{font-size:21px}.friend-search{height:44px;display:flex;gap:9px;align-items:center;padding:4px 9px;border:2px solid #3b4b58;border-radius:4px;background:#172b3c;color:#d6e4ea;box-shadow:inset 0 0 0 2px #e9efea}.friend-search svg{width:22px;height:22px}.friend-search input{width:100%;height:100%;padding:0;border:0;background:transparent;color:#fff;font-size:18px}.friend-search input::placeholder{color:#b6cbd6}.add-friend-row{margin:0;min-width:0}.add-friend-row input{width:0;height:44px;font-size:18px;background:#f7f7f0;color:#192c3b;border:1px solid #607781;border-radius:3px}.add-friend-row button{padding:0 9px;color:#fff;background:var(--blue-fill);border:1px solid #263c4c;border-radius:4px;font-size:17px}.add-friend-row button svg{width:19px}.add-friend-row button .ui-icon{width:24px;height:24px}.social-success{color:#247041;font-size:17px}.friends-section{display:flex;flex-direction:column;flex:1;min-height:280px;padding-top:5px;border:0}.friends-section>h2{text-transform:none;font-size:23px}.social-empty{flex:1;min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;padding:24px 15px;border:1px solid #788994;border-radius:4px;box-shadow:inset 0 0 0 1px #fff;color:#20303d;font-size:19px;line-height:1.2;text-align:center}.social-empty p{margin:10px 0}.social-mascot{position:relative;width:155px;height:140px;display:grid;place-items:center}.social-mascot:before{content:"";position:absolute;bottom:6px;width:92px;height:17px;border-radius:50%;background:#a9b0a47a}.social-mascot .pokemon-sprite{position:relative;image-rendering:pixelated}.friend-heart{position:absolute;right:1px;top:2px;padding:7px;background:#f8f8ef;border:2px solid #20333c;border-radius:3px}.friend-heart svg{width:24px;height:24px;color:#cb3546;fill:#ed5461}.friend-heart .ui-icon{width:30px;height:30px}.empty-add-friend{background:transparent;color:#05689e;font-size:16px;text-decoration:underline}.friend-row{background:#e1e7e1;border:1px solid #85969d;border-radius:4px}.friend-name{min-width:0;overflow-wrap:anywhere;font-size:20px}.friend-actions{gap:4px}.friend-actions button{min-height:34px;padding:0 7px;font-size:16px;border-radius:3px}.friend-actions svg{width:17px;height:17px}.friend-actions .ui-icon{width:21px;height:21px}.friend-accept{color:#17452c;background:#b8dba7;border:1px solid #3d6550}.friend-reject{color:#fff;background:linear-gradient(#e66d69,#bb3f42);border:1px solid #68323b}.friend-duel{color:#202d31;background:var(--yellow-fill);border:1px solid #755626}.friend-duel:disabled{filter:grayscale(1);opacity:.65}.friend-remove{color:#243a48;background:#ced8d6;border:1px solid #667b84}.profile-screen{display:flex;flex-direction:column;padding-bottom:65px}.profile-screen>:not(.profile-landscape):not(.battle-modal){flex-shrink:0}.profile-hero{display:grid;grid-template-columns:68px minmax(0,1fr);grid-template-rows:1fr 1fr;text-align:left;align-items:center;gap:0 10px;padding:9px;margin:10px 0 3px;min-height:88px;border-radius:4px}.trainer-avatar.large{grid-row:1 / 3;width:65px;height:65px;border-radius:3px}.profile-hero strong{font-size:25px;align-self:end;line-height:1;overflow-wrap:anywhere}.profile-hero .league-line{font-size:19px;align-self:start;margin-top:5px}.profile-screen .stats-grid{margin-top:7px}.profile-screen .stat-item{min-height:55px}.profile-screen .stat-item strong{font-size:21px}.profile-screen .stat-item small{font-size:15px}.profile-section-title{margin:7px 1px 0;color:#263c49;font-size:19px;line-height:1}.profile-career-stats .stat-icon.win{color:#287244}.profile-career-stats .stat-icon.loss{color:#b04444}.stat-icon .ui-icon{width:28px;height:28px}.profile-resource-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-own-details{margin-top:0}.profile-actions{margin-top:5px;gap:7px}.logout-btn{height:43px;font-size:21px}.logout-btn svg{width:23px;height:23px}.logout-btn .ui-icon{width:27px;height:27px}.version-tag-inline{margin:7px 0;color:#62747a;font-size:13px}.profile-landscape{flex:1 0 180px;margin:0 -9px;border-top:2px solid #859499;background:url(/assets/ui/home-valley.png) center 74% / cover no-repeat}.store-placeholder{margin-top:22%;padding:28px 16px;border-radius:5px}.store-icon{border:2px solid #334a59;border-radius:4px;color:#18364a;background:#b9dcec}.store-placeholder h2{color:#233d4b;font-size:23px}.store-placeholder p{font-size:18px}.matchmaking-screen{gap:20px;padding:24px;color:#fff;background:linear-gradient(#0c263d69,#092f3069),url(/assets/ui/background-poke.png) center / cover no-repeat}.matchmaking-screen h1{max-width:290px;font-size:27px;line-height:1.1;text-shadow:2px 2px #132837}.mm-swords{position:relative;width:125px;height:125px;border:0;background:transparent;box-shadow:none;animation:none}.mm-swords:before{content:"";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px;border:3px dashed #59d9ff;border-radius:50%;box-shadow:0 0 12px #38c7ff;animation:matchmaking-spin 12s linear infinite}.mm-swords svg{width:110px;height:110px;filter:drop-shadow(0 5px #092033)}.mm-time{font-size:42px;line-height:1;text-shadow:2px 3px #112a38}.mm-vs-row{width:100%;justify-content:center;gap:14px;padding:10px 7px;border:1px solid #9dbbad60;background:#15382e8c;text-shadow:1px 1px #142b36}.mm-vs-row div{flex:1;min-width:0;font-size:21px;overflow-wrap:anywhere}.mm-vs-row small{color:#ffe169;font-size:19px}.matchmaking-screen>button{min-width:175px;padding:8px 30px;color:#fff;background:linear-gradient(#f07a70,#d74747 60%,#b33638);border:2px solid #4a2930;border-radius:4px;box-shadow:inset 0 0 0 2px #ffb3a0,0 2px #152831;font-size:23px;font-weight:700;text-shadow:1px 1px #672b30}@keyframes matchmaking-spin{to{transform:rotate(360deg)}}.turn-battle{background:var(--paper)}.turn-battle .turn-arena{flex:1 1 auto;min-height:350px;background:url(/assets/ui/turn-arena.png) center / cover no-repeat;border-bottom:2px solid #24343f}.turn-battle .turn-arena:after{background:none;box-shadow:inset 0 0 0 1px #a1a89d}.turn-hud{left:5px;right:5px;height:45px;gap:6px;padding:3px;background:var(--panel-fill);border:2px solid #21323e;border-radius:4px;box-shadow:inset 0 0 0 1px #fff;color:#172a39}.turn-hud>span:nth-child(2){min-width:0}.turn-hud>span:nth-child(2) strong{font-size:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.turn-hud .battle-avatar{width:35px;height:35px}.battle-avatar.rival{filter:none}.remaining-dots{gap:3px;padding:5px;background:#1a2b3a;border-radius:3px;box-shadow:inset 0 0 0 1px #526675}.remaining-dots i,.remaining-dots i.alive,.rival-hud .remaining-dots i.alive{position:relative;width:15px;height:15px;border:1px solid #121d25;box-shadow:inset 0 0 0 1px #dbe3df;background:linear-gradient(#f24b50 0,#f24b50 42%,#172734 43%,#172734 57%,#f3f3e8 58%)}.remaining-dots i:after{content:"";position:absolute;width:5px;height:5px;top:4px;left:4px;border-radius:50%;border:1px solid #1e2a35;background:#fff}.remaining-dots i:not(.alive){filter:grayscale(1);opacity:.35}.turn-counter{top:53px;width:76px;height:48px;padding:3px 7px;color:#fff;background:#203447;border:2px solid #b6c4c7;border-radius:4px;box-shadow:0 0 0 1px #243744}.turn-counter small{color:#fff;font-size:15px}.turn-counter strong{font-size:23px}.turn-counter span{color:#fff0ac;font-size:16px}.battle-menu-toggle{top:56px;width:31px;height:31px}.reserve-row{gap:3px}.reserve-row small{padding:2px 4px;color:#213947;background:#edf0e4ec;border:1px solid #5e7478;border-radius:3px;font-size:11px}.reserve-ball{width:26px;height:26px;border:1px solid #304d59;background:#d2ddd0;box-shadow:0 1px #1d303c}.reserve-ball img{width:24px;height:24px}.fighter-row{left:7%;right:7%;gap:18px}.enemy-row{top:25%}.mine-row{bottom:18%}.turn-fighter{height:102px;padding:2px 3px 3px;color:#112637;border-radius:3px;background:none;text-shadow:0 1px #ffffe4,1px 0 #ffffe4,-1px 0 #ffffe4}.turn-fighter .pokemon-sprite{bottom:29px;filter:drop-shadow(0 3px 0 #35452c4d)}.turn-fighter strong{font-size:17px;color:#142b36;line-height:1}.turn-fighter small{font-size:14px;color:#142b36;line-height:1}.fighter-hp{order:-1;width:88%;height:7px;margin-bottom:3px;border-radius:2px;border:1px solid #213e2e;background:#5a6a4f;box-shadow:0 1px #fff8d7}.fighter-hp i{background:#6ebe59;box-shadow:inset 0 1px #c5f09c}.turn-fighter.selected{border-color:#f8f8e4;background:#fffbd624;box-shadow:0 0 0 2px #263b49}.turn-fighter.targetable{border-color:#ffe556;background:#ffe35238;box-shadow:0 0 0 2px #705421}.turn-fighter.empty{border:1px dashed #4b605559;background:#f3efcf33;color:#53644e;font-size:18px}.turn-versus span{width:32px;height:24px;color:#384b3e;background:#ece7c6b3;border-color:#7d8c6e;font-size:17px}.turn-versus strong{top:26px;border:1px solid #bbc7c2;border-radius:3px;background:#21384a;color:#ffe063;padding:4px 9px;font-size:17px}.auto-toggle{bottom:54px;right:7px;padding:4px 8px;color:#203440;background:var(--panel-fill);border:1px solid #293f4b;border-radius:3px;font-size:14px}.auto-toggle.on{color:#fff;background:#397c4b;border-color:#c7dfba}.turn-panel{flex:0 0 auto;min-height:260px;max-height:43%;padding:7px 9px 10px;background:var(--panel-fill);color:#152735;border-top:1px solid #fff;box-shadow:inset 0 0 0 1px #86959a}.panel-heading{min-height:39px;gap:6px}.panel-heading small{color:#52646c;font-size:12px}.panel-heading strong{color:#172735;font-size:23px;line-height:1.05}.panel-heading b{width:38px;height:28px;color:#fff;background:#263a4a;border:1px solid #6e8590;border-radius:3px;font-size:21px}.starter-grid{margin:5px 0 8px;gap:5px}.starter-grid button{--card-color: #9fc8d9;height:97px;padding:5px 2px 19px;border:2px solid #273b45;border-radius:4px;background:linear-gradient(120deg,color-mix(in srgb,var(--card-color),white 25%),var(--card-color));box-shadow:inset 0 0 0 2px #f5f8e1a6}.starter-grid button[data-element=fire]{--card-color: #f19c73}.starter-grid button[data-element=water]{--card-color: #7dcaf0}.starter-grid button[data-element=nature]{--card-color: #8bcc80}.starter-grid button[data-element=electric]{--card-color: #f3d568}.starter-grid button[data-element=earth]{--card-color: #beb3a0}.starter-grid button.selected{border-color:#37462d;outline:2px solid #edbb32;outline-offset:-3px;box-shadow:inset 0 0 0 3px #fff3a1}.starter-grid button>span{left:3px;right:auto;color:#152b32;background:#ffe16a;border-radius:2px;padding:1px 3px;font-size:14px}.starter-grid button>span:empty{padding:0}.starter-grid button>.creature-artwork{position:absolute;top:1px;right:1px;bottom:20px;left:1px;width:auto;height:auto;color:inherit;background:none;padding:0;z-index:0}.starter-grid img{width:64px;height:64px;max-width:100%;transform:none}.starter-grid strong{position:absolute;bottom:2px;left:2px;right:2px;color:#fff;background:#172c3b;font-size:15px;line-height:18px;white-space:nowrap}.confirm-turn{min-height:43px;font-size:23px}.confirm-turn>span{font-size:16px}.move-grid{gap:5px}.move-grid button{min-height:51px;background:#e5eae3;color:#152b39;border:1px solid #7c8d91;border-radius:3px;box-shadow:inset 4px 0 var(--move-color, #90adbc),inset 0 1px #fff;padding:6px 8px}.move-grid button strong{font-size:20px;line-height:1}.move-grid button small{margin-top:3px;color:#415967;font-size:14px;line-height:1.1}.move-grid button.selected{background:#b7def0;border-color:#27779f}.move-grid button:disabled{opacity:.5}.move-grid .switch-action{background:#cdd9dc}.passive-line{display:flex;flex-wrap:wrap;gap:3px 6px;min-height:30px;margin:6px 0 0;padding:4px;background:#dbe4d5;border:1px solid #95a69a;border-radius:3px}.passive-line span{color:#fff;background:#277fa8;font-size:11px}.passive-line strong{color:#2c4c31;font-size:16px}.passive-line small{color:#365345;font-size:13px}.waiting-panel{justify-content:center;gap:3px}.resolving-orb{width:66px;height:66px;color:#fff;background:#667580;border:2px solid #263848;box-shadow:inset 0 0 0 3px #f8f7ef}.resolving-orb svg{width:40px;height:40px}.resolving-orb .ui-icon{width:44px;height:44px}.battle-menu-toggle{background:transparent;border:none;box-shadow:none}.battle-menu-toggle .ui-icon{width:24px;height:24px}.waiting-panel h2{margin:4px 0 0;color:#172838;font-size:26px;line-height:1}.waiting-panel p{margin:0 0 2px;color:#273d4c;font-size:18px}.waiting-panel>small{color:#243947;font-size:16px;line-height:1.2}.battle-modal{position:fixed;top:0;right:0;bottom:0;left:0;padding:20px;background:#0c1e2bbe;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.battle-modal>div{max-width:382px;max-height:calc(100dvh - 40px);overflow-y:auto;margin:auto;padding:16px;color:#182a37;background:var(--panel-fill);border:3px solid #253642;border-radius:6px;box-shadow:inset 0 0 0 2px #fff,0 4px #122432,0 12px 40px #0007}.battle-modal h2{color:#1d3444;font-size:25px;line-height:1.1}.battle-modal p{margin:8px 0 14px;color:#425864;font-size:18px}.replacement-grid{gap:7px}.replacement-grid button{min-height:103px;height:auto;padding:10px 5px;border:2px solid #69868c;border-radius:4px;color:#243b48;background:#d3e2dc;box-shadow:inset 0 0 0 1px #fff}.replacement-grid img{width:68px;height:68px;transform:none}.replacement-grid strong{font-size:20px}.replacement-grid small{color:#3d6254;font-size:16px}.replacement-time{top:5px;right:5px;color:#7b531d;font-size:17px}.modal-cancel{padding:7px 22px;min-height:39px;margin-top:12px;font-size:19px}.invite-actions button,.battle-menu-actions>button{min-height:42px;padding:7px;border-radius:4px;font-size:20px}.settings-modal .details-header h1{font-size:27px}.volume-row{gap:9px;font-size:19px}.volume-row input[type=range]{min-width:0;width:100%;cursor:var(--cursor-pointer)}.volume-row b{color:#21577a;font-size:18px}.idle-indicator{bottom:8px;width:max-content;max-width:calc(100% - 16px);padding:6px 13px;border:2px solid #244638;border-radius:4px;color:#fff;background:#31764f;box-shadow:inset 0 0 0 1px #aac9ae;font-size:16px}.app-shell:has(.bottom-nav)>.idle-indicator{bottom:70px}.app-shell:has(.turn-battle)>.idle-indicator{top:106px;bottom:auto}.result-screen{padding:0;overflow-y:auto;background:#132c40;color:#fff}.result-hero{flex:1 0 48%;min-height:230px;border-radius:0;background:url(/assets/ui/match-result-sunset.png) center / cover no-repeat;box-shadow:none}.result-hero:after{top:65%;right:0;bottom:0;left:0;background:linear-gradient(transparent,#152d44)}.result-screen.lost .result-hero{filter:none;background-image:linear-gradient(#d95f7925,#e6952540),url(/assets/ui/home-valley.png);background-position:center 73%}.result-title{bottom:5px;left:18%;right:18%;transform:none;padding:3px 7px 5px;background:var(--dark-fill);border:2px solid #b9ccd0;border-radius:4px;box-shadow:0 0 0 2px #172d43,inset 0 0 0 1px #253b4c;color:#ffe267;font-size:37px;font-style:normal;letter-spacing:0;text-shadow:1px 2px #202936}.result-screen.lost .result-title{color:#ff6865;text-shadow:1px 2px #3c232d}.result-card{flex:0 0 auto;min-height:230px;padding:4px 8px 10px;gap:6px}.result-score{min-height:51px;background:#132d43;border:1px solid #40758e;border-radius:4px}.result-score>div{grid-template-columns:26px 22px minmax(0,1fr);gap:3px}.result-score>div:first-child{padding-left:7px}.result-score b{font-size:29px}.result-score small{font-size:16px;overflow-wrap:anywhere}.result-score>strong{font-size:27px;color:#9fbbcc}.score-creature{width:23px;height:25px;border:2px solid #203f5a;border-radius:35%;box-shadow:inset 1px 1px #a1e9ff}.score-creature.red{box-shadow:inset 1px 1px #ffabad}.rewards-panel{background:#132e43;border:1px solid #3c7792;border-radius:4px;padding-bottom:13px}.rewards-panel h2{margin:5px 0;font-size:21px}.rewards-row{min-height:38px;border:0;font-size:22px}.rewards-row>div{display:flex;gap:4px;align-items:center}.reward-icon{width:22px;height:22px;font-size:20px}.reward-cards-row{padding-top:5px;gap:10px}.reward-card{width:53px;height:53px;border-radius:3px;border-width:2px;background:#32617b}.reward-card img{width:43px;height:43px}.reward-amount{font-size:13px;border-radius:2px}.reward-new-tag{font-size:12px;border-radius:2px}.trophy-change-banner{flex-wrap:wrap;gap:5px;padding:5px;border-radius:3px}.trophy-change-banner span{font-size:23px}.trophy-change-banner small{font-size:16px}.result-actions{display:flex;padding:1px 15px 2px;margin-top:3px}.result-actions .continue{width:100%;height:48px;color:#13202a;font-size:27px;text-shadow:none;box-shadow:inset 0 0 0 2px #fff0ad,0 2px #64451e}.duel-note{color:#c3d6dc;font-size:16px}@media (hover: hover){.app-shell button:not(:disabled):hover{filter:brightness(1.05)}.move-row:not(:disabled):hover,.move-grid button:not(:disabled):hover{background:#cce4eb}}@media (min-width: 431px){body{padding:8px 0}.app-shell{height:calc(100dvh - 16px);border-radius:8px}}@media (max-width: 360px){.home-header{gap:2px}.trainer-badge{gap:4px}.trainer-badge strong{font-size:18px}.trainer-badge small{font-size:14px}.currency-pill{padding:2px 4px;font-size:15px;gap:3px}.currency-pill .coin,.currency-pill .trophy{width:13px;height:13px}.round-icon{width:29px}.trainer-avatar{width:35px;height:39px}.turn-hud>span:nth-child(2) strong{font-size:18px}.stat-item{gap:3px;padding:4px 3px}.stat-icon{width:22px;font-size:22px}.stat-item strong{font-size:14px}.stat-next,.stat-item small{font-size:12px}.profile-hero strong{font-size:22px}.friend-name{font-size:17px}.friend-actions button{font-size:14px;padding:0 5px}}@media (max-height: 720px){.home-actions{bottom:70px}.home-actions .creature-card.compact{max-height:96px}.battle-cta{height:47px;font-size:27px}.ranked-cta{height:40px;font-size:21px}.idle-toggle-card{min-height:46px}.details-hero{height:150px}.details-hero>img{width:126px;height:126px}.turn-battle .turn-arena{min-height:305px}.turn-panel{min-height:196px;max-height:44%;flex-basis:auto}.enemy-row{top:25%}.mine-row{bottom:17%}.turn-fighter{height:86px}.turn-fighter .pokemon-sprite{bottom:22px;transform:translate(-50%) scale(.8)}.turn-fighter strong{font-size:16px}.starter-grid button{height:79px}.starter-grid img{width:53px;height:53px}.panel-heading{min-height:32px}.panel-heading strong{font-size:21px}.confirm-turn{min-height:39px;font-size:21px}.move-grid button{min-height:44px}.waiting-panel h2{font-size:23px}.waiting-panel>small{font-size:15px}.result-hero{min-height:200px}}@media (max-height: 560px){.app-shell{overflow-y:auto}.home-screen{min-height:510px}.bottom-nav{position:sticky;bottom:0;margin-top:-65px}.turn-battle{height:auto;min-height:100%}.turn-battle .turn-arena{flex:0 0 305px}.turn-panel{max-height:none}.login-screen{min-height:540px;gap:15px;padding-top:20px}}@media (prefers-reduced-motion: reduce){.mm-swords:before,.resolving-orb,.turn-fighter.targetable,.upgrade-banner.ready strong{animation:none}}.profile-name-trigger{padding:0;color:inherit;background:transparent;border:0;text-align:left;text-decoration:underline;text-decoration-color:#0876a8;text-decoration-thickness:1px;text-underline-offset:3px;cursor:var(--cursor-pointer)}.profile-name-trigger:hover,.profile-name-trigger:focus-visible{color:#05689e}.friend-name.profile-name-trigger{display:block;min-width:0}.battle-profile-trigger{max-width:100%;overflow:hidden;color:#172a39;font-family:"Press Start 2P";font-size:20px;font-weight:700;line-height:1;text-overflow:ellipsis;white-space:nowrap}.user-profile-modal{z-index:80}.user-profile-modal>div{overflow:visible;padding:14px}.profile-modal-close{position:absolute;z-index:2;top:7px;right:7px;width:30px;height:30px;display:grid;place-items:center;color:#283e4b;background:#d4ddda;border:1px solid #687d85;border-radius:3px}.profile-modal-close svg{width:18px;height:18px}.profile-modal-status{min-height:180px;display:grid;place-items:center;color:#425864;font-size:18px}.profile-modal-status p{margin:0}.profile-modal-hero{display:grid;grid-template-columns:67px minmax(0,1fr);align-items:center;gap:11px;min-height:76px;padding:2px 38px 9px 1px;border-bottom:2px solid #8a999b;text-align:left}.profile-modal-hero .trainer-avatar{width:64px;height:64px}.profile-modal-hero span{min-width:0}.profile-modal-hero strong,.profile-modal-hero small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-modal-hero strong{color:#1b303d;font-family:"Press Start 2P";font-size:23px;line-height:1}.profile-modal-hero small{margin-top:6px;color:#52646c;font-size:18px}.profile-modal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}.profile-modal-stats>div{min-width:0;min-height:78px;display:grid;grid-template-columns:25px minmax(0,1fr);grid-template-rows:auto 1fr;align-items:center;padding:7px 5px;text-align:left;background:#e0e6df;border:1px solid #879699;border-radius:3px;box-shadow:inset 0 0 0 1px #fff}.profile-stat-icon{grid-row:1 / 3;width:23px;height:23px;display:grid;place-items:center;color:#294555}.profile-stat-icon svg{width:20px;height:20px}.profile-stat-icon .ui-icon{width:23px;height:23px}.profile-stat-icon .trophy{font-size:19px}.profile-stat-icon.win{color:#287244}.profile-stat-icon.loss{color:#b04444}.profile-modal-stats small{color:#66767a;font-size:13px;line-height:1}.profile-modal-stats strong{overflow:hidden;color:#1d3039;font-size:21px;line-height:1;text-overflow:ellipsis}.profile-modal-details{display:grid;gap:6px;margin-top:8px}.profile-modal-details>div{position:relative;display:flex;align-items:center;gap:9px;min-height:48px;padding:6px 8px;text-align:left;background:#e0e6df;border:1px solid #879699;border-radius:3px;box-shadow:inset 0 0 0 1px #fff}.profile-modal-details svg{width:22px;height:22px;flex:0 0 auto;color:#294555}.profile-modal-details>div>.ui-icon{width:25px;height:25px}.profile-modal-details span{min-width:0}.profile-modal-details small,.profile-modal-details strong{display:block}.profile-modal-details small{color:#66767a;font-size:13px;line-height:1}.profile-modal-details strong{margin-top:3px;color:#1d3039;font-size:18px;line-height:1}.profile-modal-details em{margin-left:auto;padding:3px 5px;color:#6b5b31;background:#f0dc9d;border:1px solid #a8904b;border-radius:2px;font-size:12px;font-style:normal;white-space:nowrap}@media (max-width: 390px){.profile-modal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.battle-profile-trigger{font-size:18px}}.mini-chest{position:relative;display:inline-block;width:38px;height:32px;flex-shrink:0}.mini-chest i{position:absolute;left:0;right:0;display:block;background:var(--chest-body);border:2px solid #1a2530}.mini-chest .lid{top:0;height:13px;border-radius:12px 12px 2px 2px;box-shadow:inset 0 2px #ffffff40}.mini-chest .base{bottom:0;height:20px;border-radius:2px 2px 4px 4px;box-shadow:inset 5px 0 var(--chest-trim),inset -5px 0 var(--chest-trim),inset 0 -3px #0005}.mini-chest .lock{left:50%;right:auto;top:9px;width:9px;height:11px;transform:translate(-50%);background:var(--chest-trim);border-width:1.5px;border-radius:2px}.mini-chest.ready{animation:chest-ready 1.1s ease-in-out infinite;filter:drop-shadow(0 0 6px var(--chest-glow))}@keyframes chest-ready{0%,to{transform:translateY(0) rotate(0)}25%{transform:translateY(-3px) rotate(-5deg)}75%{transform:translateY(-3px) rotate(5deg)}}.chest-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:0 0 6px}.chest-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;padding:4px 2px;color:var(--text);background:var(--panel-fill);border:var(--frame);border-radius:5px;box-shadow:inset 0 0 0 1px #fff,0 2px #142532}.chest-slot small,.chest-slot strong{font-size:14px;line-height:1;white-space:nowrap}.chest-slot.empty{background:#e8ede54d;border-style:dashed;box-shadow:none;color:#fff;text-shadow:0 1px 2px #142332}.chest-slot.unlocking{background:linear-gradient(#bfe7f7,#84c9e6)}.chest-slot.unlocking strong{color:#0d3a57}.chest-slot.ready{background:var(--yellow-fill)}.chest-slot.ready strong{color:#5a2c00;font-size:16px}.chest-info-modal{display:flex;flex-direction:column;gap:8px}.chest-info-head{display:flex;align-items:center;gap:10px}.chest-info-head .mini-chest{width:52px;height:44px}.chest-info-head .mini-chest .lid{height:18px}.chest-info-head .mini-chest .base{height:28px}.chest-info-head .mini-chest .lock{top:12px;width:12px;height:15px}.chest-info-modal .battle-cta{height:46px;font-size:22px}.chest-info-timer{margin:0!important;text-align:center}.chest-contents{list-style:none;margin:0;padding:6px 8px;display:grid;gap:4px;background:#d8dfdc;border:1px solid #93a1a8;border-radius:4px;font-size:16px;color:#1c2e3b}.chest-contents li{display:flex;align-items:center;gap:6px}.chest-contents .coin,.chest-contents .gem{width:14px;height:14px}.chest-contents-icon{width:16px;text-align:center;font-size:14px}.gem-cta{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:42px;padding:0 12px;color:#fff;background:linear-gradient(#5cc6f2,#1d8fd0 55%,#136fae);border:var(--frame);border-radius:5px;box-shadow:inset 0 0 0 2px #b7ecff,0 2px #0f2433;font-size:20px;font-weight:700;text-shadow:0 1px #0c3654}.gem-cta .gem{width:13px;height:13px}.gem-cta:disabled{filter:grayscale(.7) brightness(.9)}.store-screen .details-header{display:flex}.store-screen .details-header>div:first-child{flex:1}.store-screen .currency-row{display:flex}.store-message{margin:6px 0 0;padding:6px 8px;background:#fff7cf;border:1px solid #b89b3b;border-radius:4px;font-size:16px}.store-section-title{margin:12px 2px 6px;font-size:20px;text-transform:uppercase;color:var(--text)}.store-card{display:flex;align-items:center;gap:10px;padding:10px}.store-card-info{flex:1;display:flex;flex-direction:column;min-width:0}.store-card-info strong{font-size:21px;line-height:1.05}.store-card-info small{color:var(--muted);font-size:15px}.store-card .store-buy{flex:0 0 auto;width:auto;height:42px;min-width:104px;padding:0 12px;font-size:20px}.store-card.soon{opacity:.8}.gem.big{width:26px;height:26px;margin:0 6px}.store-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.store-chest{display:flex;flex-direction:column;gap:6px;padding:8px}.store-chest-info{display:flex;flex-direction:column;align-items:center;gap:3px;padding:0;color:var(--text);background:none;border:0;text-align:center}.store-chest-info strong{font-size:18px;line-height:1.05}.store-chest-info small{font-size:13px;color:var(--muted)}.store-chest .mini-chest{width:56px;height:48px}.store-chest .mini-chest .lid{height:20px}.store-chest .mini-chest .base{height:30px}.store-chest .mini-chest .lock{top:13px;width:13px;height:16px}.store-chest .chest-contents{font-size:14px}.store-coin-stack{display:flex;height:48px;align-items:center}.store-coin-stack .coin{width:22px;height:22px;margin-left:-6px}.result-chest{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 8px 0;padding:6px;background:#1b3d55;border:1px solid #4f8aa6;border-radius:4px;color:#fff}.result-chest>span{display:flex;flex-direction:column}.result-chest b{font-size:19px;color:#ffe267}.result-chest small{font-size:14px;color:#c3d6dc}.result-chest.full b{color:#ff9c8a}.chest-opening{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;overflow:hidden;color:#fff;background:radial-gradient(circle at 50% 55%,#1d4a6e 0,#0b1f33 55%,#050c16);user-select:none;-webkit-user-select:none;touch-action:manipulation;cursor:pointer;animation:chest-fade-in .25s ease-out}@keyframes chest-fade-in{0%{opacity:0}}.chest-opening.chest-magic{background:radial-gradient(circle at 50% 55%,#4a2a7e 0,#1a0f33 55%,#07040f)}.chest-opening.chest-legendary{background:radial-gradient(circle at 50% 55%,#6e4a1d 0,#2a1a0b 55%,#0c0704)}.chest-rays{position:absolute;left:50%;top:55%;width:180vmax;height:180vmax;transform:translate(-50%,-50%);background:repeating-conic-gradient(#ffffff10 0 8deg,transparent 8deg 20deg);animation:chest-rays-spin 30s linear infinite;opacity:.5;transition:opacity .6s;pointer-events:none}.chest-opening.phase-reveal .chest-rays,.chest-opening.phase-summary .chest-rays{opacity:1}@keyframes chest-rays-spin{to{transform:translate(-50%,-50%) rotate(360deg)}}.chest-canvas{position:absolute;top:0;right:0;bottom:0;left:0}.chest-canvas canvas{display:block;width:100%!important;height:100%!important}.chest-opening-title{position:absolute;top:max(18px,env(safe-area-inset-top));left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none;text-shadow:0 2px 0 #0a1a28,0 0 12px #000}.chest-opening-title strong{font-size:32px;color:#ffe267}.chest-opening-title small{font-size:19px;animation:chest-hint-pulse 1.2s ease-in-out infinite}@keyframes chest-hint-pulse{50%{opacity:.55}}.chest-tap-hint{position:absolute;bottom:12%;left:0;right:0;display:flex;justify-content:center;gap:10px;pointer-events:none}.chest-tap-hint i{width:16px;height:16px;border-radius:50%;border:2px solid #fff;background:transparent;transition:background .15s,transform .15s}.chest-tap-hint i.done{background:#ffe267;transform:scale(1.2)}.chest-reveal{position:absolute;left:0;right:0;top:13%;display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none;animation:reward-pop .45s cubic-bezier(.2,1.6,.4,1)}@keyframes reward-pop{0%{opacity:0;transform:translateY(60px) scale(.4)}}.chest-reveal-hint{font-size:17px;text-shadow:0 1px 3px #000;animation:chest-hint-pulse 1.2s ease-in-out infinite}.chest-skip{position:absolute;top:max(16px,env(safe-area-inset-top));right:14px;padding:4px 12px;color:#fff;background:#0008;border:1px solid #fff6;border-radius:4px;font-size:17px}.chest-summary{position:absolute;left:0;right:0;bottom:0;max-height:78%;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:14px 12px max(14px,env(safe-area-inset-bottom));background:linear-gradient(#0b1f33e0,#06111de8);border-top:2px solid #4f8aa6;cursor:default;animation:summary-up .35s ease-out}@keyframes summary-up{0%{transform:translateY(100%)}}.chest-summary h2{margin:0;text-align:center;font-size:22px;color:#ffe267;text-transform:uppercase}.chest-summary-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.chest-choice{display:flex;flex-direction:column;gap:6px;margin-top:4px;padding-top:8px;border-top:1px dashed #4f8aa6}.chest-choice-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.chest-choice-option{padding:0;background:none;border:0;transition:transform .2s,opacity .2s}.chest-choice-option .reward-item{width:100%}.chest-choice-option:not(:disabled):hover{transform:translateY(-3px)}.chest-choice-option.chosen .reward-item{outline:3px solid #ffe267;box-shadow:0 0 18px #ffe267aa;transform:scale(1.04)}.chest-choice-option.faded{opacity:.35}.chest-collect{width:100%;height:50px;font-size:26px;margin-top:4px}.chest-collect:disabled{filter:grayscale(.6)}.reward-item{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;width:84px;padding:6px 4px;color:#fff;background:linear-gradient(#2c5876,#173449);border:2px solid #5f93b0;border-radius:6px;text-align:center}.reward-item-art{position:relative;display:grid;place-items:center;width:52px;height:52px}.reward-item-art img{width:52px;height:52px;object-fit:contain;image-rendering:pixelated}.reward-item-art .coin,.reward-item-art .gem{width:30px;height:30px}.reward-emote-glyph{font-size:38px;line-height:1}.reward-item-amount{font-size:19px;line-height:1;color:#ffe267}.reward-item-name{font-size:14px;line-height:1.05;overflow-wrap:anywhere}.reward-item-rarity{font-size:12px;opacity:.85}.reward-item .reward-new-tag{position:absolute;top:-6px;right:-10px;bottom:auto;left:auto;transform:none;height:auto;line-height:1.2;padding:1px 4px;background:#ffe267;color:#412b00;font-size:11px;font-weight:700;border-radius:2px}.reward-item.rarity-uncommon{border-color:#4be27a}.reward-item.rarity-rare{border-color:#4bc4ff}.reward-item.rarity-epic{border-color:#c07bff;background:linear-gradient(#4b2e74,#24173a)}.reward-item.rarity-legendary{border-color:#ffb23e;background:linear-gradient(#6e4a1d,#2e1d0b);box-shadow:0 0 14px #ffb23e88}.reward-item.large{width:min(230px,70vw);padding:16px 10px 12px;gap:6px;border-width:3px;border-radius:10px;box-shadow:0 10px 30px #000a}.reward-item.large .reward-item-art,.reward-item.large .reward-item-art img{width:130px;height:130px}.reward-item.large .reward-item-art .coin,.reward-item.large .reward-item-art .gem{width:70px;height:70px}.reward-item.large .reward-emote-glyph{font-size:90px}.reward-item.large .reward-item-amount{font-size:38px}.reward-item.large .reward-item-name{font-size:22px}.reward-item.large .reward-item-rarity{font-size:16px}.reward-item.large.rarity-legendary{box-shadow:0 0 40px #ffb23ecc,0 10px 30px #000a}.profile-emotes{padding:8px}.profile-emotes h2{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 6px;font-size:20px;text-transform:uppercase}.profile-emotes h2 small{font-size:16px;color:var(--muted)}.profile-emote-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.profile-emote{display:grid;place-items:center;aspect-ratio:1;font-size:24px;background:#fff;border:2px solid #8a98a0;border-radius:4px}.profile-emote.rarity-rare{border-color:#4bc4ff}.profile-emote.rarity-epic{border-color:#c07bff}.profile-emote.rarity-legendary{border-color:#ffb23e}.profile-emote.locked{background:#c9d0d0;color:#6f7c83}.profile-emote.locked svg{width:16px;height:16px}.email-required-note{margin:0 0 10px;font-size:16px;color:var(--muted)}@media (max-height: 720px){.chest-slot{min-height:52px}.chest-slot .mini-chest{transform:scale(.85)}}@media (prefers-reduced-motion: reduce){.mini-chest.ready,.chest-rays,.chest-reveal,.chest-summary{animation:none}}.pix-badge{margin-left:6px;padding:1px 6px;border-radius:3px;background:#32bcad;color:#fff;font-size:13px;vertical-align:middle}.pix-pack,.pix-offer{position:relative;overflow:hidden}.pix-pack .store-chest-info small{display:block}.pack-bonus{color:#1d9b4f}.pack-ribbon{position:absolute;top:7px;right:-30px;z-index:2;width:110px;padding:2px 0;text-align:center;transform:rotate(35deg);background:linear-gradient(#ff6a55,#d8261b);color:#fff;font-size:11px;font-weight:700;box-shadow:0 2px 3px #0005}.pack-stack{display:flex;align-items:center;justify-content:center;height:48px}.pack-stack i{width:24px;height:24px;margin-left:-7px;filter:drop-shadow(0 2px 1px #0005)}.pack-stack i:first-child{margin-left:0}.pack-stack.big i{width:34px;height:34px}.pix-pack.kind-gems .pack-stack i{animation:pack-gleam 2.8s ease-in-out infinite}.pix-pack.kind-gems .pack-stack i:nth-child(2){animation-delay:.2s}.pix-pack.kind-gems .pack-stack i:nth-child(3){animation-delay:.4s}@keyframes pack-gleam{0%,70%,to{filter:drop-shadow(0 2px 1px #0005)}80%{filter:drop-shadow(0 0 6px #9fe8ff) brightness(1.3)}}.pix-cta{background:linear-gradient(#4fd6c6,#25a597 55%,#1a8479)!important;box-shadow:inset 0 0 0 2px #b8fff5,0 2px #0f2433!important;text-shadow:0 1px #0c4a44!important;color:#fff!important}.pix-offer{background:linear-gradient(135deg,#fff6c8,#ffe07a)!important;border-color:#b8860b!important}.pix-offer .store-buy{min-width:110px;font-size:18px}.pix-modal{position:relative;width:min(360px,92vw);max-height:92dvh;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.pix-modal .details-header{display:flex}.pix-modal .details-header>div{flex:1}.pix-product{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#ffffffb0;border:1px solid #93a1a8;border-radius:6px}.pix-product-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#102a3e}.pix-product-icon i{width:26px;height:26px}.pix-product-info{flex:1;display:flex;flex-direction:column;min-width:0}.pix-product-info strong{font-size:19px;line-height:1.05}.pix-product-info small{font-size:15px;color:var(--muted)}.pix-price{font-size:21px;color:#1a8479;white-space:nowrap}.pix-qr-frame{position:relative;align-self:center;padding:10px;background:#fff;border:3px solid #25a597;border-radius:10px;box-shadow:0 4px 14px #0003;animation:reward-pop .4s cubic-bezier(.2,1.6,.4,1)}.pix-qr-frame img{display:block;width:min(220px,60vw);height:auto;aspect-ratio:1;image-rendering:pixelated}.pix-sandbox-tag{position:absolute;top:-10px;left:50%;transform:translate(-50%);padding:2px 8px;border-radius:3px;background:#ff9a1f;color:#fff;font-size:12px;font-weight:700;letter-spacing:1px}.pix-copy{height:48px;font-size:20px}.pix-copy.copied{background:linear-gradient(#7dffb0,#25b865)!important}.pix-steps{margin:0;padding-left:20px;display:grid;gap:3px;font-size:15px;color:var(--text)}.pix-waiting{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px;border-radius:6px;background:#e3f6f3;color:#135e56;font-size:16px}.pix-waiting b{font-variant-numeric:tabular-nums}.pix-pulse{width:10px;height:10px;border-radius:50%;background:#25a597;animation:badge-pulse 1.2s ease-in-out infinite}.pix-simulate{width:100%}.pix-loading{display:flex;flex-direction:column;align-items:center;gap:10px;padding:30px 0}.pix-spinner{width:44px;height:44px;border-radius:50%;border:4px solid #25a59733;border-top-color:#25a597;animation:pix-spin .8s linear infinite}@keyframes pix-spin{to{transform:rotate(360deg)}}.pix-error{margin:0;text-align:center}.pix-expired{display:flex;flex-direction:column;gap:8px;text-align:center}.pix-expired p{margin:0;font-size:17px}.pix-sandbox-tag.inline{position:static;transform:none;margin-left:6px;vertical-align:middle}.wallet-pay{display:flex;flex-direction:column;gap:8px}.wallet-pay[hidden]{display:none}.pay-method-choice{display:flex;flex-direction:column;gap:8px}.pay-method-choice .pix-cta{height:48px;font-size:20px}.wallet-hint{text-align:center;font-size:15px;color:var(--muted)}.wallet-slot{min-height:48px}.wallet-slot.busy{opacity:.5;pointer-events:none}.wallet-divider{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.wallet-divider:before,.wallet-divider:after{content:"";flex:1;height:1px;background:#93a1a8}.wallet-pix-btn{height:48px;font-size:20px}.wallet-back{width:100%}.pix-paid{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 0 2px;text-align:center}.pix-paid p{margin:2px 0 6px;font-size:16px;color:var(--muted)}.pix-paid .battle-cta{width:100%}.pix-paid-burst{display:grid;place-items:center;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,#fff7c2,#ffd45800 70%);animation:ceremony-burst .7s cubic-bezier(.3,1.6,.5,1)}.pix-paid-burst i{width:64px;height:64px;animation:badge-pulse 1.6s ease-in-out .7s infinite}.pix-paid-amount{font-family:"Press Start 2P",monospace;font-size:20px;color:#1a8479}.pix-paid-amount.coins{color:#b8760b}.tutorial-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;pointer-events:none;font-family:var(--font-ui);color:var(--text);cursor:var(--cursor-default)}.tutorial-layer>:not(.tutorial-hole):not(.tutorial-hand){pointer-events:auto}.tutorial-dim{position:absolute;top:0;right:0;bottom:0;left:0;background:#03101bcc}.tutorial-hole{position:fixed;border-radius:10px;pointer-events:none;box-shadow:0 0 0 3px #ffd84a,0 0 18px 4px #ffd84a88}.tutorial-hole.pulse{animation:tutorial-pulse 1.3s ease-in-out infinite}.tutorial-shade{position:fixed;background:#03101bc4}.tutorial-blocker{position:fixed;background:transparent}.tutorial-hand{position:fixed;width:34px;height:34px;pointer-events:none;image-rendering:pixelated;filter:drop-shadow(0 2px 2px #000a);animation:tutorial-tap 1s ease-in-out infinite}.tutorial-bubble{position:fixed;padding:12px 14px;background:var(--panel-fill);border:3px solid #253642;border-radius:6px;box-shadow:inset 0 0 0 2px #fff,0 4px #122432,0 12px 40px #000a;animation:tutorial-pop .22s ease-out}.tutorial-bubble header{display:flex;flex-direction:column;gap:1px;margin-bottom:6px}.tutorial-bubble header small{color:#1a7fb8;font-size:14px;font-weight:700;letter-spacing:.06em}.tutorial-bubble header strong{color:#1d3444;font-size:24px;line-height:1.05}.tutorial-text{color:#34495a;font-size:18px;line-height:1.22}.tutorial-text b{color:#13283a}.tutorial-text p{margin:0 0 6px}.tutorial-text ul{margin:0 0 6px;padding-left:20px}.tutorial-text li{margin:3px 0}.tutorial-footnote{color:#62747f;font-size:15px}.tutorial-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px}.tutorial-bubble footer button{font-family:var(--font-ui);cursor:var(--cursor-pointer)}.tutorial-primary{min-height:38px;padding:5px 18px;color:#111b23;background:var(--yellow-fill);border:var(--frame);border-radius:5px;box-shadow:inset 0 0 0 2px #fff0ad,0 2px #111d28;font-size:20px;font-weight:700}.tutorial-primary:active{transform:translateY(1px)}.tutorial-secondary{min-height:38px;padding:5px 14px;color:#fff;background:var(--dark-fill);border:var(--frame);border-radius:5px;font-size:18px}.tutorial-skip{margin-right:auto;padding:4px 2px;color:#5b6d78;background:none;border:0;font-size:16px;text-decoration:underline}.tutorial-skip-question{margin-right:auto;color:#1d3444;font-size:18px;font-weight:700}.tutorial-hint{color:#1a7fb8;font-size:16px;font-weight:700;animation:tutorial-blink 1.3s ease-in-out infinite}.tutorial-complete{top:50%;left:50%;width:min(360px,calc(100vw - 32px));transform:translate(-50%,-50%);animation:none}.tutorial-complete footer .tutorial-primary{width:100%}.settings-modal .replay-tutorial{width:100%;min-height:40px;margin-top:14px;font-size:20px}@keyframes tutorial-pop{0%{opacity:0;transform:translateY(6px)}}@keyframes tutorial-pulse{50%{box-shadow:0 0 0 5px #ffd84a,0 0 26px 8px #ffd84aaa}}@keyframes tutorial-tap{50%{transform:translate(4px,6px) scale(.92)}}@keyframes tutorial-blink{50%{opacity:.45}}@media (prefers-reduced-motion: reduce){.tutorial-hole.pulse,.tutorial-hand,.tutorial-hint,.tutorial-bubble{animation:none}}.app-shell button:not(:disabled){transition:scale .22s cubic-bezier(.3,1.9,.5,1),filter .15s}.app-shell button:not(:disabled):active{scale:.94;filter:brightness(.94);transition-duration:.06s}@media (hover: hover){.battle-cta:not(:disabled):hover,.ranked-cta:not(:disabled):hover,.gem-cta:not(:disabled):hover,.upgrade-btn:not(:disabled):hover{filter:brightness(1.08);scale:1.02}}.battle-cta:not(:disabled){position:relative;overflow:hidden}.battle-cta:not(:disabled):after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(105deg,transparent 35%,#ffffff8c 50%,transparent 65%) -150% 0 / 200% 100% no-repeat;animation:cta-shine 3.4s ease-in-out infinite;pointer-events:none}@keyframes cta-shine{0%,60%{background-position:-150% 0}to{background-position:250% 0}}.app-shell>section{animation:screen-in-up .3s cubic-bezier(.2,.9,.3,1) backwards}.app-shell[data-nav-dir=right]>section{animation-name:screen-in-right}.app-shell[data-nav-dir=left]>section{animation-name:screen-in-left}@keyframes screen-in-right{0%{opacity:0;transform:translate(34px)}}@keyframes screen-in-left{0%{opacity:0;transform:translate(-34px)}}@keyframes screen-in-up{0%{opacity:0;transform:translateY(22px) scale(.985)}}.bottom-nav button{position:relative}.nav-badge{position:absolute;top:3px;right:calc(50% - 21px);width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ff8a7a,#e8231b 60%);border:2px solid #fff;box-shadow:0 1px 3px #0008;animation:badge-pop .45s cubic-bezier(.3,1.9,.5,1),badge-pulse 1.6s ease-in-out .45s infinite;pointer-events:none}@keyframes badge-pop{0%{transform:scale(0)}}@keyframes badge-pulse{50%{transform:scale(1.18);box-shadow:0 0 0 4px #ff3b3033,0 1px 3px #0008}}.home-screen{background-image:none;overflow:hidden}.home-parallax{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;pointer-events:none;background:#325b38}.home-bg{position:absolute;top:0;right:-8px;bottom:0;left:-8px;background:url(/assets/ui/home-valley.png) center calc(100% - clamp(110px,22vh,185px)) / calc(100% - 16px) auto no-repeat;transform:translate3d(calc(var(--px, 0) * -7px),calc(var(--py, 0) * 5px),0);transition:transform .35s ease-out}.home-bg:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:inherit;animation:ken-burns 38s ease-in-out infinite alternate;transform-origin:55% 55%}@keyframes ken-burns{to{transform:scale(1.035)}}.home-rays{position:absolute;top:-20%;right:-30%;bottom:40%;left:-30%;background:repeating-linear-gradient(115deg,transparent 0 38px,#fff7c61f 38px 70px,transparent 70px 120px);mix-blend-mode:screen;transform:translate3d(calc(var(--px, 0) * -4px),0,0);animation:rays-breathe 9s ease-in-out infinite alternate;mask-image:linear-gradient(#000,transparent);-webkit-mask-image:linear-gradient(#000,transparent)}@keyframes rays-breathe{0%{opacity:.35}to{opacity:.9}}.home-motes{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(#fff6c8,#fff6c8),linear-gradient(#fff6c8,#fff6c8),linear-gradient(#e9ffd0,#e9ffd0),linear-gradient(#fff6c8,#fff6c8),linear-gradient(#fff,#fff),linear-gradient(#e9ffd0,#e9ffd0);background-size:3px 3px;background-repeat:no-repeat;background-position:12% 72%,38% 84%,63% 66%,82% 78%,27% 58%,91% 61%;transform:translate3d(calc(var(--px, 0) * -18px),calc(var(--py, 0) * -8px),0);animation:motes-float 6s ease-in-out infinite alternate;opacity:.85}.home-motes.slow{background-position:20% 64%,50% 76%,72% 88%,8% 86%,57% 55%,77% 70%;background-size:2px 2px;animation-duration:9s;animation-delay:-3s}@keyframes motes-float{0%{translate:0 0}to{translate:6px -22px;opacity:.3}}.mini-deck-row .creature-card>.creature-artwork{animation:deck-bob 2.6s ease-in-out infinite}.mini-deck-row .creature-card:nth-child(2)>.creature-artwork{animation-delay:-.65s}.mini-deck-row .creature-card:nth-child(3)>.creature-artwork{animation-delay:-1.3s}.mini-deck-row .creature-card:nth-child(4)>.creature-artwork{animation-delay:-1.95s}@keyframes deck-bob{50%{transform:translateY(-3px)}}.holo{--holo: 0;transform:perspective(600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));transition:transform .25s ease-out}.holo:before{display:none}.holo.rarity-rare:before,.holo.rarity-epic:before,.holo.rarity-legendary:before{display:block;content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:4;border-radius:inherit;pointer-events:none;opacity:var(--holo);mix-blend-mode:color-dodge;background:linear-gradient(115deg,transparent 20%,#ff4fd8 32%,#4ff0ff 42%,#fff36b 52%,#7cff6b 62%,transparent 75%) var(--mx, var(--gx, 50%)) var(--my, var(--gy, 50%)) / 260% 260% no-repeat,radial-gradient(circle at var(--mx, var(--gx, 50%)) var(--my, var(--gy, 40%)),#ffffff40,transparent 45%);animation:holo-idle 5s ease-in-out infinite}.holo.rarity-rare{--holo: .14}.holo.rarity-epic{--holo: .3}.holo.rarity-legendary{--holo: .45}@keyframes holo-idle{0%,to{background-position:20% 20%,50% 40%}50%{background-position:80% 80%,50% 40%}}.holo[style*=--mx]:before{animation:none}.creature-card.rarity-legendary{box-shadow:inset 0 0 0 2px #062b4e,0 0 10px #ffb23e99}.creature-card.rarity-epic{box-shadow:inset 0 0 0 2px #062b4e,0 0 7px #c07bff88}.creature-card.upgrade-ready{animation:card-ready 1.6s ease-in-out infinite}.collection-grid>.creature-card{content-visibility:auto;contain-intrinsic-size:auto 110px}.collection-grid .creature-artwork:empty:before{animation:none}@media (hover: none){.holo{transform:none;transition:none}.collection-grid .holo:before{animation:none}}@keyframes card-ready{50%{box-shadow:inset 0 0 0 2px #062b4e,0 0 12px #7dffb0}}.battle-fx{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;pointer-events:none}.battle-fx canvas.battle-particles{position:absolute;top:0;right:0;bottom:0;left:0;width:100%!important;height:100%!important}.dmg-float{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:center;gap:2px;transform:translate(-50%,-50%);font-family:"Press Start 2P";white-space:nowrap;animation:dmg-rise 1.15s cubic-bezier(.2,.8,.3,1) forwards}.dmg-float b{font-size:22px;color:#fff;-webkit-text-stroke:1.5px #1a0d00;text-shadow:0 4px 0 #1a0d00,3px 3px 0 #1a0d00,-3px 3px 0 #1a0d00}.app-shell .dmg-float b,.app-shell .dmg-float small{font-family:"Press Start 2P",monospace}.dmg-float.on-mine b{color:#ff7066}.dmg-float small{font-family:"Press Start 2P";font-size:10px;padding:4px 6px;border-radius:3px;color:#fff;background:#0b1c2acc}.dmg-float.super b{font-size:28px;color:#ffd23f}.dmg-float.super.on-mine b{color:#ff5a3c}.dmg-float.super small{background:linear-gradient(#ff9a1f,#e8431b);animation:label-slam .35s cubic-bezier(.3,2,.5,1)}.dmg-float.weak b{font-size:17px;color:#c9d6de}.dmg-float.weak small{background:#3a4b58;color:#c9d6de}.dmg-float.immune small{background:#2d3a44}.dmg-float.crit b{font-size:30px}.dmg-float.crit small{background:linear-gradient(#ff3b6b,#a3123a);animation:label-slam .35s cubic-bezier(.3,2,.5,1)}.dmg-float.miss b{font-size:14px;color:#e8f5fc;font-style:italic}@keyframes dmg-rise{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}14%{opacity:1;transform:translate(-50%,-60%) scale(1.35)}28%{transform:translate(-50%,-60%) scale(1)}75%{opacity:1}to{opacity:0;transform:translate(-50%,-150%) scale(.95)}}@keyframes dmg-fade{0%{opacity:0}15%,80%{opacity:1}to{opacity:0}}@keyframes label-slam{0%{transform:scale(2.2) rotate(-6deg);opacity:0}}.turn-fighter.hit-flash .pokemon-sprite{filter:brightness(0) invert(1) drop-shadow(0 0 6px #fff)!important}.turn-fighter .pokemon-sprite.anim-enter{animation:fighter-enter .45s cubic-bezier(.3,1.6,.5,1)}@keyframes fighter-enter{0%{opacity:0;transform:translate(-50%) scale(.2);filter:brightness(3)}}.fighter-hp{position:relative}.fighter-hp b{position:absolute;left:0;top:0;bottom:0;display:block;background:#fff4c4;transition:width .6s cubic-bezier(.4,0,.2,1) .45s}.fighter-hp i{position:relative;transition:width .18s ease-out,background-color .3s}.fighter-hp.hp-mid i{background:linear-gradient(#ffe66b,#e6b418);box-shadow:inset 0 1px #fff6b8}.fighter-hp.hp-low i{background:linear-gradient(#ff7a6b,#d8261b);box-shadow:inset 0 1px #ffc2b8;animation:hp-critical .7s ease-in-out infinite alternate}@keyframes hp-critical{to{filter:brightness(1.5)}}.status-pips{gap:1px}.status-icon{display:inline-block;line-height:1;filter:drop-shadow(0 1px 1px #0008)}.status-burn{animation:status-flicker .5s steps(2) infinite}.status-wet{animation:status-drip 1.1s ease-in infinite}.status-root{animation:status-sway 1.6s ease-in-out infinite;transform-origin:50% 100%}.status-guard{animation:status-shimmer 1.4s ease-in-out infinite}.status-taunt{animation:status-pulse .8s ease-in-out infinite}@keyframes status-flicker{50%{transform:scale(1.12,.92) translateY(1px);filter:brightness(1.4) drop-shadow(0 0 4px #ff8a00)}}@keyframes status-drip{0%{transform:translateY(-2px);opacity:.6}60%{transform:translateY(2px);opacity:1}to{transform:translateY(3px);opacity:.4}}@keyframes status-sway{50%{transform:rotate(-12deg)}}@keyframes status-shimmer{50%{filter:brightness(1.6) drop-shadow(0 0 5px #9fdcff)}}@keyframes status-pulse{50%{transform:scale(1.25)}}@property --p{syntax: "<number>"; inherits: false; initial-value: 1;}.turn-counter{--ring: #ffd14a;overflow:visible;transition:--p .25s linear}.turn-counter:before{content:"";position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;padding:3px;border-radius:8px;pointer-events:none;background:conic-gradient(var(--ring) calc(var(--p) * 360deg),#ffffff30 0);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.turn-counter.untimed:before{background:#ffffff30}.turn-counter.urgent{--ring: #ff4d4d}.turn-counter.urgent{animation:timer-urgent .5s ease-in-out infinite alternate}.turn-counter.urgent span{color:#ff8a8a!important}@keyframes timer-urgent{to{box-shadow:0 0 0 1px #243744,0 0 14px #ff3b30;scale:1.06}}.ko-ghost{position:absolute}.ko-ghost .pokemon-sprite{position:absolute;bottom:29px;left:50%;background-repeat:no-repeat;image-rendering:pixelated;transform:translate(-50%);animation:ko-dissolve 1.1s ease-in var(--ko-delay, 0ms) both}.ko-ghost .showdown-sprite{width:100%!important;height:100%!important}@keyframes ko-dissolve{0%{filter:brightness(1);opacity:1}18%{filter:brightness(0) invert(1) drop-shadow(0 0 8px #fff);opacity:1;transform:translate(-50%) scale(1.05)}to{filter:brightness(0) invert(1) blur(4px);opacity:0;transform:translate(-50%) translateY(-26px) scale(.55,1.5)}}.turn-arena.final-blow{transform-origin:var(--fx) var(--fy);animation:final-zoom 1.5s cubic-bezier(.2,.8,.3,1)}@keyframes final-zoom{0%{scale:1}18%,72%{scale:1.16}to{scale:1}}.final-blow-vignette{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;pointer-events:none;background:radial-gradient(circle at var(--fx) var(--fy),transparent 0,transparent 60px,#000c 190px);animation:vignette 1.5s ease forwards}@keyframes vignette{0%{opacity:0}15%,70%{opacity:1}to{opacity:0}}.battle-skeleton{position:absolute;inset:30% 14px auto;display:grid;grid-template-columns:1fr 1fr;gap:18px 30px}.battle-skeleton span,.skeleton{display:block;height:96px;border-radius:10px;background:linear-gradient(100deg,#ffffff14 30%,#ffffff38,#ffffff14 70%) 0 0 / 250% 100%;animation:skeleton-shine 1.3s linear infinite}@keyframes skeleton-shine{0%{background-position:150% 0}to{background-position:-100% 0}}.creature-artwork:empty:before{content:"";width:60%;height:60%;border-radius:50%;background:linear-gradient(100deg,#ffffff10 30%,#ffffff30,#ffffff10 70%) 0 0 / 250% 100%;animation:skeleton-shine 1.3s linear infinite}.chest-reveal .reward-item.large{animation:card-flip-in .6s cubic-bezier(.2,1.4,.4,1);transform-style:preserve-3d}@keyframes card-flip-in{0%{transform:perspective(700px) rotateY(100deg) scale(.5);filter:brightness(3)}55%{transform:perspective(700px) rotateY(-12deg) scale(1.08);filter:brightness(1.3)}to{transform:perspective(700px) rotateY(0) scale(1)}}.chest-reveal .reward-item.large.rarity-legendary{animation:card-flip-in .6s cubic-bezier(.2,1.4,.4,1),legendary-glow 1.4s ease-in-out .6s infinite alternate}@keyframes legendary-glow{to{box-shadow:0 0 60px #ffb23e,0 10px 30px #000a}}.reward-new-stamp{position:absolute;top:-14px;right:-34px;z-index:5;padding:4px 8px;color:#fff;background:#e8231b;border:3px solid #fff;border-radius:6px;font-family:"Press Start 2P";font-size:14px;transform:rotate(14deg);box-shadow:0 4px #7a0f0a,0 6px 12px #0008;animation:stamp-in .4s cubic-bezier(.3,1.8,.5,1) .5s backwards}@keyframes stamp-in{0%{opacity:0;transform:rotate(-10deg) scale(3)}}.summary-deal{animation:deal-in .35s cubic-bezier(.3,1.5,.5,1) backwards}@keyframes deal-in{0%{opacity:0;transform:translateY(24px) rotate(-8deg) scale(.7)}}.chest-opening.phase-opening .chest-rays{opacity:1;animation-duration:6s}.chest-opening.phase-opening .chest-canvas{animation:chest-charge .12s linear infinite}@keyframes chest-charge{50%{filter:brightness(1.12)}}.upgrade-ceremony{position:absolute;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 38%,#1f5a86,#0a1d31 60%,#040b14);color:#fff;animation:chest-fade-in .25s ease-out}.upgrade-ceremony.rarity-epic{background:radial-gradient(circle at 50% 38%,#5a2e8a,#1a0f33 60%,#07040f)}.upgrade-ceremony.rarity-legendary{background:radial-gradient(circle at 50% 38%,#8a5a1d,#2a1a0b 60%,#0c0704)}.ceremony-rays{position:absolute;left:50%;top:36%;width:180vmax;height:180vmax;transform:translate(-50%,-50%);background:repeating-conic-gradient(#ffffff14 0 8deg,transparent 8deg 20deg);animation:chest-rays-spin 24s linear infinite;opacity:.3;transition:opacity .5s}.upgrade-ceremony.phase-burst .ceremony-rays{opacity:1}.ceremony-content{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;width:min(330px,88%)}.ceremony-title{margin:0;font-family:"Press Start 2P";font-size:20px;color:#ffe267;text-align:center;text-shadow:0 3px 0 #6a3a00,0 0 18px #ffb23e88}.upgrade-ceremony.phase-burst .ceremony-title{animation:label-slam .45s cubic-bezier(.3,2,.5,1)}.ceremony-card.creature-card{width:150px;aspect-ratio:.78}.upgrade-ceremony.phase-charge .ceremony-card{animation:ceremony-charge .9s ease-in forwards}@keyframes ceremony-charge{0%{filter:brightness(1)}to{filter:brightness(2.6) drop-shadow(0 0 24px #fff);transform:scale(1.06) rotate(1deg)}}.upgrade-ceremony.phase-charge .ceremony-card{animation:ceremony-charge .9s ease-in forwards,ceremony-shake .09s linear infinite}@keyframes ceremony-shake{25%{translate:-2px 1px}75%{translate:2px -1px}}.upgrade-ceremony.phase-burst .ceremony-card{animation:ceremony-burst .6s cubic-bezier(.3,1.6,.5,1);box-shadow:0 0 30px #ffe26799}@keyframes ceremony-burst{0%{filter:brightness(3);transform:scale(1.25)}to{filter:brightness(1);transform:scale(1)}}.ceremony-name{margin:0;font-size:20px;text-align:center}.ceremony-name b{color:#ffe267}.ceremony-stats{list-style:none;margin:0;padding:0;width:100%;display:grid;gap:4px;min-height:180px}.ceremony-stat{display:grid;grid-template-columns:24px 1fr auto auto;align-items:center;gap:8px;padding:5px 9px;border-radius:6px;background:#ffffff14;border:1px solid #ffffff26;animation:stat-in .35s cubic-bezier(.3,1.6,.5,1)}.ceremony-stat small{font-size:16px;color:#cfe3ee}.ceremony-stat strong{font-family:"Press Start 2P";font-size:13px}.ceremony-stat em{font-style:normal;font-family:"Press Start 2P";font-size:10px;color:#7dffb0;animation:stat-plus .6s ease-out}@keyframes stat-in{0%{opacity:0;transform:translate(-30px)}}@keyframes stat-plus{0%{transform:translateY(8px) scale(1.6);opacity:0}}.ceremony-continue{width:100%;height:48px;font-size:22px}.ceremony-continue:disabled{opacity:.4}.result-title{animation:title-slam .55s cubic-bezier(.3,1.9,.5,1) .1s backwards}@keyframes title-slam{0%{opacity:0;transform:rotate(-5deg) scale(2.6)}}.result-screen.lost .result-title{animation-name:title-drop}@keyframes title-drop{0%{opacity:0;transform:rotate(-5deg) translateY(-40px)}}.reward-card{animation:card-flip-in .5s cubic-bezier(.2,1.4,.4,1) backwards}.league-up-banner{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:6px;padding:8px;border-radius:8px;background:linear-gradient(#ffd458,#f2910a);border:2px solid #fff3a8;color:#3a1d00;box-shadow:0 0 20px #ffc43699;animation:league-up .6s cubic-bezier(.3,1.8,.5,1) 1.1s backwards}.league-up-banner span{display:flex;flex-direction:column}.league-up-banner small{font-family:"Press Start 2P";font-size:10px}.league-up-banner b{font-size:22px}.league-up-banner svg,.league-up-banner img{width:40px;height:40px;animation:badge-pulse 1.4s ease-in-out 1.7s infinite}@keyframes league-up{0%{opacity:0;transform:scale(.3) rotate(-8deg)}}.settings-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0;padding:8px 4px;background:none;color:inherit;font-size:18px;text-align:left}.switch-pill i{transition:transform .2s cubic-bezier(.3,1.6,.5,1),background .2s}.confetti-canvas{position:absolute;top:0;right:0;bottom:0;left:0;z-index:80;width:100%;height:100%;pointer-events:none}html.reduce-motion *,html.reduce-motion *:before,html.reduce-motion *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important;transition-duration:.01ms!important}html.reduce-motion .dmg-float{animation:dmg-fade 1.1s linear forwards!important;transform:translate(-50%,-50%)}html.reduce-motion .holo{transform:none}html.reduce-motion .home-bg:after,html.reduce-motion .home-motes,html.reduce-motion .home-rays{animation:none!important}.player-tags{display:inline-flex;gap:3px;margin-left:5px;vertical-align:middle}.player-tag{display:inline-block;padding:1px 4px 0;border-radius:3px;background:var(--tag-color);color:#fff;font-family:"Press Start 2P",monospace;font-size:7px;line-height:1.5;letter-spacing:.3px;text-shadow:0 1px 0 #0006;box-shadow:inset 0 -2px #0003,0 1px 2px #0005;white-space:nowrap}.player-tags.large .player-tag{font-size:9px;padding:2px 6px 1px}.player-tag.tag-admin{background:linear-gradient(#ff5a4f,#c01a12)}.player-tag.tag-founder{background:linear-gradient(#ffd45a,#c7860b);color:#3a2400;text-shadow:none}.player-tag.tag-vip{background:linear-gradient(#c38cff,#7a33e0);animation:vip-shine 3s ease-in-out infinite}@keyframes vip-shine{50%{filter:brightness(1.25)}}.staff-bar{position:absolute;z-index:29;left:50%;bottom:70px;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:4px 10px;border-radius:999px;background:#0b1520e6;border:1px solid #e8231b88;color:#dfe9f2;font-size:13px;white-space:nowrap;text-decoration:none;box-shadow:0 2px 8px #0008}.staff-bar b{color:#ff6a5f;font-family:"Press Start 2P",monospace;font-size:8px}.staff-bar em{font-style:normal;color:#7fd3ff}.staff-dot{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#34d27b;box-shadow:0 0 5px #34d27b}.home-screen~.staff-bar{top:70px;right:8px;bottom:auto;left:auto;transform:none}.trainer-avatar.with-tag{position:relative;overflow:visible}.trainer-avatar.with-tag .player-tags{position:absolute;left:50%;bottom:-6px;margin:0;transform:translate(-50%);z-index:1}.trainer-avatar.with-tag .player-tag{font-size:6px;padding:1px 3px 0}.staff-battle-line{position:absolute;z-index:9;left:6px;right:6px;top:104px;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;padding:2px 6px;border-radius:4px;background:#0b1520cc;color:#cfe0ee;font-size:11px;pointer-events:auto}.staff-battle-line b{color:#ff6a5f}.staff-battle-line a{color:#7fd3ff}.profile-staff-panel{margin-top:10px;padding:8px 10px;border:2px dashed #e8231b99;border-radius:6px;background:#fff3f2;color:#3a1210}.profile-staff-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.profile-staff-panel header b{color:#c01a12;font-family:"Press Start 2P",monospace;font-size:9px}.profile-staff-panel dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;margin:0}.profile-staff-panel dl div{min-width:0}.profile-staff-panel dt{font-size:12px;color:#8a4b47}.profile-staff-panel dd{margin:0;font-size:14px;font-weight:700;overflow-wrap:anywhere}.profile-staff-panel dd.banned{color:#c01a12}.profile-staff-open{display:block;margin-top:6px;text-align:center;color:#1f6fd1;font-weight:700}.item-icon,.dmg-float-icon,.reward-item-icon{image-rendering:pixelated;flex:0 0 auto;object-fit:contain}.items-screen{color:var(--text);background:var(--panel-fill);padding:8px 9px 24px}.items-header{display:grid;grid-template-columns:31px 1fr auto;align-items:center;gap:8px;margin-bottom:8px}.items-header h1{margin:0;color:var(--text);font-size:26px;line-height:1;text-transform:uppercase}.bag-editor{padding:8px;border:var(--frame);border-radius:4px;background:var(--panel-fill);box-shadow:var(--panel-bevel)}.bag-editor-title{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin-bottom:6px}.bag-editor-title strong{color:var(--text);font-size:20px;text-transform:uppercase;line-height:1}.bag-editor-title small{color:var(--muted);font-size:13px}.bag-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.bag-slot{min-width:0;height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px;border-radius:4px}.bag-slot.filled{border:2px solid #253642;background:radial-gradient(circle at 50% 42%,#fff,#d8e2dc 70%);box-shadow:inset 0 -3px #b1b9b9;color:var(--text)}.bag-slot.filled:active{transform:translateY(1px)}.bag-slot.filled small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.bag-slot.empty{border:2px dashed #8b989c;color:#7c8a92}.bag-slot.empty span{font-size:30px;line-height:1}.bag-slot.empty small{font-size:12px}.items-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0 4px}.items-tabs button{min-height:36px;border:var(--frame);border-radius:3px;background:var(--paper-shade);color:var(--text);font-size:17px;font-weight:700;text-transform:uppercase}.items-tabs button.active{background:var(--blue-fill);color:#fff;text-shadow:0 1px #0b3b5c}.items-hint{margin:2px 0 6px;color:var(--muted);font-size:13px;line-height:1.2}.items-message{margin:4px 0;padding:5px 8px;border-radius:3px;background:#152635;color:#ffe38a;font-size:14px}.item-list{display:flex;flex-direction:column;gap:5px}.item-row{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:6px;padding:5px 6px;border:1px solid #8b989c;border-left:4px solid var(--rarity-color, #8b989c);border-radius:3px;background:#e0e5e0}.item-row.not-owned .item-row-icon img{opacity:.55;filter:grayscale(.4)}.item-row-icon{position:relative;display:grid;place-items:center;width:64px;height:60px}.item-row-icon b{position:absolute;right:0;bottom:0;padding:1px 4px;border-radius:3px;background:#152635;color:#fff;font-family:"Press Start 2P",monospace;font-size:9px}.item-row-text{min-width:0;display:flex;flex-direction:column}.item-row-text strong{color:#162737;font-size:18px;line-height:1.05}.item-row-text strong em{font-style:normal;font-size:12px;color:var(--rarity-color, #5b6a72);text-transform:uppercase}.item-row-text small{color:#31424e;font-size:13px;line-height:1.15}.item-row-text .item-holders{color:#1c6f98;font-weight:700}.item-row-actions{display:flex;flex-direction:column;gap:4px}.item-row-actions button{min-width:74px;min-height:30px;padding:2px 6px;border:2px solid #253642;border-radius:3px;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:3px}.item-row-actions button:disabled{opacity:.45}.item-pack{background:var(--blue-fill);color:#fff}.item-buy{background:var(--yellow-fill);color:#3a2400}.item-buy .coin{width:15px;height:15px}.rarity-common{--rarity-color: #8b989c}.rarity-uncommon{--rarity-color: #3fa65a}.rarity-rare{--rarity-color: #2f86d8}.rarity-epic{--rarity-color: #9c52d8}.rarity-legendary{--rarity-color: #e39a1c}.deck-slot-wrap{position:relative;min-width:0;display:grid}.deck-held-badge{position:absolute;z-index:3;top:-6px;right:-6px;width:30px;height:30px;padding:1px;border:2px solid #253642;border-radius:50%;background:#fff;box-shadow:0 2px #12202e;pointer-events:none}.bag-strip{width:100%;display:flex;align-items:center;gap:8px;margin:2px 0 10px;padding:5px 8px;border:var(--frame);border-radius:4px;background:var(--panel-fill);box-shadow:var(--panel-bevel);color:var(--text)}.bag-strip-label{display:flex;flex-direction:column;align-items:flex-start;line-height:1}.bag-strip-label strong{font-size:18px;text-transform:uppercase}.bag-strip-label small{color:var(--muted);font-size:12px}.bag-strip-slots{display:flex;gap:4px}.bag-strip-slots img,.bag-strip-empty{width:30px;height:30px;border-radius:4px;background:#fff;border:1px solid #9aa6aa}.bag-strip-empty{display:block;background:#d0d7d3;border-style:dashed}.bag-strip-cta{margin-left:auto;display:flex;align-items:center;gap:2px;font-size:16px;font-weight:700;text-transform:uppercase;color:#1c6f98}.bag-strip-cta svg{width:16px;height:16px}.store-items-banner{width:100%;display:flex;align-items:center;gap:8px;padding:8px;text-align:left}.store-items-icons{display:flex;flex:0 0 auto}.store-items-icons img{width:42px;height:42px;margin-right:-8px}.store-items-banner>span:nth-child(2){display:flex;flex-direction:column;min-width:0;margin-left:8px}.store-items-banner strong{font-size:19px}.store-items-banner small{font-size:13px;opacity:.8}.store-items-banner svg{margin-left:auto;width:20px;height:20px;flex:0 0 auto}.held-item-current{min-height:64px}.held-empty-slot{width:60px;height:60px;display:grid;place-items:center;border:2px dashed #8b989c;border-radius:4px;color:#7c8a92;font-size:22px}.held-picker{display:flex;flex-direction:column;gap:4px;margin-top:6px}.held-choice{display:flex;align-items:center;gap:6px;padding:4px 6px;border:1px solid #8b989c;border-left:4px solid var(--rarity-color, #8b989c);border-radius:3px;background:#eef1ec;color:var(--text);text-align:left}.held-choice.selected{background:#fff6cf;border-color:#caa23b}.held-choice span{min-width:0;display:flex;flex-direction:column}.held-choice strong{font-size:16px;line-height:1.05}.held-choice strong b{color:var(--muted);font-size:13px}.held-choice small{font-size:13px;color:#31424e;line-height:1.15}.held-picker-actions{display:flex;gap:6px;justify-content:flex-end;align-items:center}.held-picker-actions .friend-reject{min-height:34px;padding:0 12px}.held-picker-actions .modal-cancel{margin-top:0}.turn-fighter .fighter-held{width:18px;height:18px;margin-left:3px;vertical-align:-3px}.move-grid .bag-action{--move-color: #e8b33a}.move-grid .bag-action strong{display:flex;align-items:center;gap:4px}.move-grid .bag-action strong b{margin-left:auto;padding:1px 5px;border-radius:3px;background:#152635;color:#fff;font-size:11px}.bag-modal .bag-list{display:flex;flex-direction:column;gap:5px;text-align:left}.bag-modal .bag-list button{display:flex;align-items:center;gap:8px;min-height:52px;padding:5px 8px;border:2px solid #69868c;border-radius:4px;background:#d3e2dc;color:#243b48;box-shadow:inset 0 0 0 1px #fff}.bag-modal .bag-list button img{width:42px;height:42px}.bag-modal .bag-list span{min-width:0;display:flex;flex-direction:column}.bag-modal .bag-list strong{font-size:18px;line-height:1.05}.bag-modal .bag-list small{font-size:13px;line-height:1.15;color:#3d6254}.bag-modal h2{display:flex;align-items:center;justify-content:center;gap:6px}.bag-modal h2 img{width:36px;height:36px}.bag-targets button:disabled{opacity:.5;filter:grayscale(.6)}.bag-targets button:disabled small{color:#8a3b30}.dmg-float-icon{width:36px;height:36px;filter:drop-shadow(0 2px 0 #0008);animation:item-pop .45s cubic-bezier(.3,1.8,.5,1) both}.dmg-float.item-used small,.dmg-float.held-used small{background:linear-gradient(#2d6f4b,#1a4a31)}.dmg-float.held-used small{background:linear-gradient(#6b4aa8,#45307a)}.dmg-float.heal b,.dmg-float.heal.on-mine b{color:#7df08a}@keyframes item-pop{0%{transform:scale(0) rotate(-30deg)}to{transform:scale(1) rotate(0)}}.language-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:6px 2px;font-size:19px}.language-options{display:flex;gap:4px;margin-left:auto}.language-options button{min-height:32px;padding:0 10px;border:2px solid #253642;border-radius:3px;background:var(--paper-shade);color:var(--text);font-size:15px;font-weight:700}.language-options button.active{background:var(--blue-fill);color:#fff}.emote-art{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto;-webkit-user-select:none;user-select:none}.emote-picker{grid-template-columns:repeat(4,56px);gap:5px;max-height:min(300px,55dvh);overflow-y:auto}.emote-picker button{width:56px;height:56px;padding:3px;background:linear-gradient(#f8f3dc,#d6e0dc);border:2px solid #79909a}.emote-picker button:hover,.emote-picker button:focus-visible{border-color:#ffc944;background:#fff0b4;outline:2px solid #ffc944;outline-offset:1px}.emote-bubble{width:90px;height:90px;padding:0;background:transparent;box-shadow:none;filter:drop-shadow(0 3px 2px #00111d66)}.profile-emote .emote-art{padding:2px}.reward-emote-glyph{display:block;width:52px;height:52px}.reward-item.large .reward-emote-glyph{width:126px;height:126px}.reward-item-art .reward-emote-glyph .emote-art{width:100%;height:100%;image-rendering:auto}.chest-contents-icon .emote-art{width:28px;height:28px}@media (prefers-reduced-motion: reduce){.emote-bubble{animation:none}}.battle-mode-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.battle-mode-option{gap:5px;padding:5px}.battle-mode-option input{width:14px;height:14px}.battle-mode-option>span{min-width:0}.battle-mode-option strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-mode-option small{font-size:12px}.battle-mode-option.nearby{position:relative;border-color:#2a7f62;background:#cfe9d9}.battle-mode-option.nearby.selected{border-color:#946800;background:#ffe08a}.battle-mode-new{position:absolute;top:-8px;right:8px;padding:1px 6px;border:1px solid #1c4d3b;border-radius:3px;background:#3ecf8e;color:#0d2b20;font-size:11px;font-style:normal;font-weight:800;letter-spacing:.5px}.nearby-mm{gap:14px}.nearby-radar{position:relative;width:132px;height:132px;border-radius:50%;border:2px solid #7df0b8aa;background:radial-gradient(circle,#3ecf8e33,#0b2a2066 70%);overflow:hidden}.nearby-radar i{position:absolute;top:50%;right:50%;bottom:50%;left:50%;border:2px solid #7df0b8;border-radius:50%;opacity:0;animation:nearby-ping 2.4s ease-out infinite}.nearby-radar i:nth-child(2){animation-delay:.8s}.nearby-radar i:nth-child(3){animation-delay:1.6s}.nearby-radar b{position:absolute;top:50%;left:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#ffe169;box-shadow:0 0 10px #ffe169}.nearby-radar.error i{animation:none}.nearby-radar.error{border-color:#f07a70aa;background:radial-gradient(circle,#f07a7033,#2a0b0b66 70%)}@keyframes nearby-ping{0%{top:50%;right:50%;bottom:50%;left:50%;opacity:.9}to{top:0;right:0;bottom:0;left:0;opacity:0}}.nearby-status{margin:0;max-width:300px;font-size:19px;text-shadow:1px 1px #132837}.nearby-error{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:310px;font-size:18px;line-height:1.2;text-shadow:1px 1px #132837}.nearby-retry{padding:6px 22px;border:2px solid #1c4d3b;border-radius:4px;background:linear-gradient(#6fe0a8,#2fa874);color:#0d2b20;font-size:19px;font-weight:700}.nearby-privacy{margin:0;max-width:310px;padding:6px 9px;border:1px solid #9dbbad60;border-radius:4px;background:#15382e8c;color:#d7efe3;font-size:14px;line-height:1.25}.rival-distance{color:#1f7a55;font-weight:700}.rival-distance:before{content:"";display:inline-block;width:8px;height:8px;margin-right:3px;border-radius:50% 50% 50% 0;background:currentColor;transform:rotate(-45deg);vertical-align:1px}.nearby-stakes-banner{position:absolute;top:58px;left:50%;z-index:9;width:max-content;max-width:calc(100% - 24px);margin:0;padding:5px 10px;border:2px solid #21323e;border-radius:4px;background:#fff3c4;color:#3d2b00;font-size:15px;line-height:1.2;text-align:center;transform:translate(-50%);pointer-events:none;animation:nearby-banner 6s ease forwards}@keyframes nearby-banner{0%,85%{opacity:1}to{opacity:0;visibility:hidden}}.nearby-stakes-note{margin:8px 0 0;padding:6px 9px;border:1px solid #c9a93a;border-radius:4px;background:#fff3c4;color:#3d2b00;font-size:15px;line-height:1.25;text-align:center}.creature-card.shiny{box-shadow:inset 0 0 0 2px #ffe27a,0 0 0 1px #9a6a00,0 0 10px #ffd84d99}.shiny-sparkles{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none;border-radius:inherit;background:radial-gradient(circle,#fff 0 1px,transparent 1.5px) 12% 18% / 100% 100% no-repeat,radial-gradient(circle,#fff6b0 0 1.5px,transparent 2px) 82% 26% / 100% 100% no-repeat,radial-gradient(circle,#fff 0 1px,transparent 1.5px) 70% 62% / 100% 100% no-repeat,radial-gradient(circle,#ffe27a 0 1.5px,transparent 2px) 24% 58% / 100% 100% no-repeat;animation:shiny-twinkle 2.2s steps(2) infinite}@keyframes shiny-twinkle{50%{opacity:.25}}.shiny-badge{position:absolute;top:3px;left:3px;z-index:4;display:grid;place-items:center;width:17px;height:17px;border:1px solid #6b4a00;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff7c2,#ffd23f 60%,#d19a00);color:#5a3a00;font-size:11px;line-height:1;text-shadow:0 1px #fff6;box-shadow:0 1px 2px #0006}.shiny-name-tag,.reward-shiny-tag,.tcg-shiny-mark{display:inline-block;padding:1px 6px;border:1px solid #6b4a00;border-radius:3px;background:linear-gradient(135deg,#fff2a8,#f0b429 45%,#ffe27a 60%,#d99a00);color:#4a2a00;font-weight:800;letter-spacing:.04em;text-shadow:0 1px #fff7;white-space:nowrap}.shiny-name-tag{margin-left:8px;font-size:14px;vertical-align:middle}.reward-shiny-tag{position:absolute;left:50%;bottom:4px;z-index:3;transform:translate(-50%);font-size:11px}.reward-item-art .creature-artwork,.reward-card .creature-artwork{width:100%;height:100%}.tcg-shiny-mark{position:absolute;top:.4em;left:.45em;z-index:3;font-size:.7em}.tcg-front.is-shiny .tcg-foil{opacity:.7}.shiny-announce{margin:4px 0 0;font-size:22px;font-weight:800;color:#ffe27a;text-shadow:0 2px #6b4a00,0 0 12px #ffd23f;animation:shiny-pop .6s cubic-bezier(.2,1.6,.4,1)}@keyframes shiny-pop{0%{transform:scale(.4);opacity:0}}html.reduce-motion .shiny-sparkles,html.reduce-motion .shiny-announce{animation:none}
