:root{color-scheme:light;--paper:#f6f4ee;--card:#fffefa;--ink:#2c342b;--muted:#85867b;--green:#344f3b;--sage:#dfe5d7;--line:#e2e1d7;--gold:#c3a154;--radius:16px;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;font-synthesis:none}
*{box-sizing:border-box} [hidden]{display:none!important} html{background:var(--paper);scroll-behavior:smooth} body{margin:0;color:var(--ink);font-size:14px;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.43}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b6bc7d;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}button img{pointer-events:none}h1,h2,h3,p{margin:0}img{max-width:100%}button{border:0}input{min-width:0}button,input{min-height:44px}input{border:1px solid var(--line);background:#fbfaf6;border-radius:9px;color:var(--ink);padding:12px 14px;width:100%}button:active:not(:disabled){transform:translateY(1px)}
.rail{position:fixed;inset:0 auto 0 0;width:88px;background:#faf9f4;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:27px 8px;gap:14px;z-index:5}.brand-mark{width:42px;height:42px}.brand-mark img{width:100%;height:100%}.rail-divider{height:1px;width:28px;background:var(--line);margin:14px 0 8px}.rail-link{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:68px;height:68px;border-radius:12px;color:#999c8f;background:transparent}.rail-link>span{font-size:24px;line-height:1}.rail-link small{font-size:9px;font-weight:600}.rail-link.active{background:#e7ecdf;color:var(--green)}.rail-link:hover{color:var(--green);background:#edf0e6}.rail-bottom{margin-top:auto;display:grid;justify-items:center;gap:10px;font-size:9px;letter-spacing:1px;color:#8d9383}.live-dot{display:inline-block;width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#7e9b69;box-shadow:0 0 0 3px #7e9b6913}
.app-shell{margin-left:88px}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:35px;padding:0 4.1%;background:#f8f7f1e8}.wordmark{font-weight:850;letter-spacing:1.7px;font-size:18px;line-height:1.05;position:relative}.wordmark>span{color:#7d9071}.wordmark small{display:block;font-size:7px;letter-spacing:3.1px;font-weight:550;color:#93998a;margin-top:6px}.topbar-path{display:flex;align-items:center;gap:14px;font-size:11px;color:#999c90}.topbar-path b{color:#596650;font-weight:550}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:17px}.connection{font-size:10px;color:#808b76;display:flex;align-items:center;gap:8px;white-space:nowrap}.connection.offline{color:#b57655}.connection.offline .live-dot{background:#bf8a65}.icon-button{border:1px solid var(--line);border-radius:50%;width:35px;height:35px;min-height:35px;background:transparent;color:#87927c;font-size:18px}.icon-button[aria-pressed=true]{background:var(--sage);color:var(--green)}.account-button{display:flex;align-items:center;gap:10px;background:transparent;font-size:11px;min-height:42px;padding:0}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#e5e9dd;border:1px solid #d1d9c7;color:#64785a;font-weight:700;border-radius:50%;font-size:12px}.account-arrow{color:#929784;font-size:15px;margin-left:5px}main{max-width:1440px;margin:0 auto;padding:34px 4.1% 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:#929783;font-weight:650}.page-heading h1{font-weight:650;font-size:29px;letter-spacing:-1px;line-height:1.3;margin-top:7px}.page-heading p{font-size:12px;color:#929486;margin-top:7px}.text-button{display:inline-flex;gap:15px;align-items:center;justify-content:center;padding:5px 2px;background:transparent;font-size:11px;font-weight:550;white-space:nowrap}.text-button>span{font-size:17px}.primary{background:var(--green);color:#f8f8ed;border-radius:9px;padding:13px 20px;font-size:12px;font-weight:550;display:inline-flex;justify-content:space-between;gap:28px;align-items:center;min-height:46px}.primary:hover{background:#426048}.secondary{background:#fffefa;border:1px solid #dadfd1;border-radius:9px;padding:10px 14px;font-weight:550;font-size:12px}.secondary:hover{background:#eff2e9}.full-width{width:100%}
.hero{position:relative;border:1px solid #d9decc;min-height:361px;border-radius:18px;background:#e6ebdc;overflow:hidden;display:flex;isolation:isolate}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 78% 35%,#fbf9d74d,transparent 40%),linear-gradient(120deg,transparent 60%,#c9d5bc36);z-index:-1}.hero-copy{padding:36px 0 51px 35px;width:50%;z-index:2}.season-label{font-size:8px;letter-spacing:1.8px;display:inline-flex;gap:8px;align-items:center;font-weight:650;color:#5f7252}.season-label>span{background:#798e5b;width:5px;height:5px;border-radius:50%}.season-label i{font-style:normal;color:#869575;border-left:1px solid #b7c3a5;padding-left:8px;font-size:9px}.hero h2{font-size:clamp(30px,3.1vw,46px);font-weight:650;line-height:1.18;letter-spacing:-1.7px;margin-top:18px;color:#334933}.hero h2 em{font-style:normal;color:#6b8054}.hero p{font-size:11px;line-height:1.85;margin-top:15px;color:#78836c}.hero-cta{margin-top:22px;min-width:184px;font-size:11px}.hero-cta>span:last-child{font-size:18px}.hero-footnote{display:flex;align-items:center;gap:7px;font-size:9px;color:#80916d;margin-top:12px}.hero-footnote .live-dot{width:4px;height:4px}.hero-art{position:absolute;inset:0 0 23px 45%;overflow:hidden}.hero-island{position:absolute;width:310px;height:154px;left:50%;top:57%;transform:translate(-50%,-50%);filter:drop-shadow(0 30px 22px #68824b28)}.island-top{position:absolute;inset:0;background:repeating-linear-gradient(30deg,transparent 0 36px,#a9bb8826 36px 37px),repeating-linear-gradient(-30deg,transparent 0 36px,#a9bb8826 36px 37px),#beca9b;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}.island-front{position:absolute;inset:50% 0 -22%;background:linear-gradient(90deg,#9eac7a 50%,#8b9e6e 50%);clip-path:polygon(0 0,50% 67%,100% 0,100% 34%,50% 100%,0 34%);z-index:-1}.hero-pokemon{position:absolute;filter:drop-shadow(0 14px 5px #71814b35);animation:float 5s ease-in-out infinite}.hero-pokemon img{width:100%;height:100%;object-fit:contain}.hero-pikachu{width:175px;height:175px;left:46%;top:16%;transform:rotate(-5deg);z-index:3}.hero-bulbasaur{width:144px;height:144px;left:17%;top:36%;animation-delay:-1.4s;z-index:2}.hero-squirtle{width:127px;height:127px;left:60%;top:42%;animation-delay:-3s;z-index:4}.orbit{position:absolute;border:1px solid #aab68f3b;border-radius:50%;width:340px;height:340px;left:50%;top:52%;transform:translate(-50%,-50%)}.orbit-two{width:450px;height:450px}.hero-star{position:absolute;color:#8c9c66;font-size:25px}.star-one{top:18%;left:28%;transform:rotate(-12deg)}.star-two{top:42%;right:12%;font-size:16px;color:#a3aa70}.art-tag{position:absolute;top:75%;left:51%;border:1px solid #e0e3d1;border-radius:7px;background:#f8f7e8e8;box-shadow:0 4px 12px #7f8d6b15;padding:8px 12px;font-size:8px;letter-spacing:1px;display:flex;align-items:center;gap:6px;z-index:4;white-space:nowrap;transform:rotate(-5deg)}.art-tag>span{color:#ba9f43;font-size:18px}.art-tag i{font-style:normal;color:#b6a34f;letter-spacing:0;font-size:8px}.hero-watermark{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);font-size:52px;letter-spacing:5px;font-weight:900;color:#74865f0c;white-space:nowrap;z-index:-1}.hero-index{position:absolute;bottom:0;left:0;right:0;padding:10px 20px;border-top:1px solid #ccd5be7d;display:flex;justify-content:space-between;font-size:7px;letter-spacing:1.7px;color:#889577}.hero-index span:last-child{letter-spacing:2px}
.mode-section{margin-top:29px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.section-heading h2{font-size:14px;font-weight:650;letter-spacing:-.3px}.section-heading>span{color:#979b8e;font-size:9px}.section-heading>span i{font-style:normal;margin-left:10px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.mode-card{text-align:left;background:#fffefa;border:1px solid #e1e2d7;border-radius:13px;padding:19px;display:flex;align-items:center;gap:17px;min-height:108px;transition:border-color .15s,box-shadow .15s}.mode-card:hover{border-color:#a9b394;box-shadow:0 5px 14px #35452f06}.mode-icon{width:47px;height:49px;border-radius:11px;background:#edf0e5;color:#70835e;display:grid;place-items:center;font-size:25px}.friends-icon{background:#f2eee2;color:#a89666;font-size:28px}.mode-text{display:flex;flex-direction:column}.mode-kicker{font-size:7px;letter-spacing:1.6px;color:#a0a28f;font-weight:600}.mode-text strong{font-size:15px;font-weight:600;margin:5px 0}.mode-text small{font-size:10px;color:#999c8f}.mode-arrow{margin-left:auto;align-self:flex-start;color:#8a9580;font-size:19px}.collection-section{margin-top:29px}.count-tag{font-size:7px;font-weight:550;letter-spacing:.6px;border:1px solid #dee1d4;border-radius:4px;padding:4px 6px;color:#8e977f;margin-left:10px;vertical-align:middle}.featured-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.pokemon-card{position:relative;text-align:left;background:#fffefa;border:1px solid #e2e3d8;border-radius:11px;min-width:0;overflow:hidden;padding:10px 12px 11px;transition:border-color .15s,transform .15s}.pokemon-card:hover{border-color:#abb899;transform:translateY(-3px)!important}.pokemon-number{font-size:8px;color:#a1a691;letter-spacing:1px;font-variant-numeric:tabular-nums}.pokemon-type-icon{position:absolute;top:11px;right:11px;font-size:12px;color:var(--type,#a2af8b)}.pokemon-image{height:90px;display:flex;justify-content:center;align-items:center;position:relative;margin-top:1px}.pokemon-image:before{content:"";position:absolute;width:69px;height:69px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--type,#879e6b) 9%,transparent),transparent 70%);z-index:0}.pokemon-image img{width:90px;height:90px;object-fit:contain;z-index:1;filter:drop-shadow(0 4px 3px #65784a10)}.pokemon-card strong{display:block;font-size:11px;font-weight:650;margin:2px 0 5px;overflow:hidden;text-overflow:ellipsis}.pokemon-card .type-label{font-size:8px;color:var(--type);display:inline-flex;align-items:center;gap:4px}.pokemon-card .pokemon-cost{float:right;font-size:9px;color:#b29a5e}.lobby-footer{display:flex;gap:20px;align-items:center;border-top:1px solid var(--line);padding:21px 0;margin-top:28px}.lobby-footer>span:first-child{font-size:8px;letter-spacing:1px;color:#909680;font-weight:600;white-space:nowrap}.footer-symbol{font-size:13px;color:#91a378;margin-right:5px}.lobby-footer p{font-size:9px;color:#a1a493;line-height:1.6}.footer-version{font-size:7px;letter-spacing:1px;white-space:nowrap;margin-left:auto;color:#acaf9e}
.match-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px}.match-header h1{font-weight:650;letter-spacing:-.8px;font-size:26px;margin-top:5px}.match-meta{display:flex;align-items:center;gap:16px}.match-meta #status{font-size:9px;color:#8b9c7c}.timer{font-size:11px;font-variant-numeric:tabular-nums;background:#e8eddf;border:1px solid #d7dfcc;color:#5f7551;border-radius:7px;padding:10px 13px;min-width:125px;text-align:center}.timer.urgent{background:#f3e7da;border-color:#e2c7a8;color:#a26d37}.room-panel{border:1px solid var(--line);padding:44px;background:var(--card);border-radius:16px;margin-bottom:24px}.room-panel h2{font-size:36px;letter-spacing:3px;font-weight:600;margin-top:13px}.room-panel p{font-size:13px;color:var(--muted);line-height:1.8;margin-top:12px}.room-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:25px}#play{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,1fr);gap:22px;align-items:start}.arena-panel{border:1px solid #d5ddc8;border-radius:14px;background:#e9eedf;padding:14px 16px 12px;min-width:0}.arena-top,.arena-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#839477;min-height:25px}.arena-top{padding-bottom:8px}.arena-bottom{padding-top:7px}.arena-top #opponent{color:#93836a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arena-format{font-size:9px;letter-spacing:1.6px;color:#97a889}.board-wrap{position:relative}#board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;isolation:isolate}.cell{position:relative;display:grid;place-items:center;min-width:0;min-height:0;aspect-ratio:1.14;border:1px solid #aebe975f;border-radius:5px;padding:0;background:#cfdbbb}.cell:nth-child(even){background:#c4d3ad}.cell.enemy{background:#d5d8bf;border-color:#c8caaf}.cell.enemy:nth-child(even){background:#cbcfb5}.cell.front{margin-top:6px}.cell:nth-child(n+13):nth-child(-n+18){margin-bottom:6px}.cell:disabled{opacity:1}.cell:not(:disabled):hover{background:#bacd9d;border-color:#94ac76}.cell:focus-visible{z-index:4}.cell.piece:not(:disabled){cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.board-river{position:absolute;left:0;right:0;height:1px;top:50%;background:linear-gradient(90deg,transparent,#8baba380,#8baba380,transparent);pointer-events:none}.sprite{display:block;background-image:var(--sheet);background-repeat:no-repeat;background-size:800% 100%;animation:sprite-cycle .95s steps(8) infinite;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 3px 1px #51683826)}@keyframes sprite-cycle{from{background-position:0 0}to{background-position:114.285714% 0}}.sprite[data-pose=run]{animation-duration:.65s}.sprite[data-pose=attack]{animation-duration:.65s}.sprite[data-pose=skill]{animation-duration:.95s}.cell .sprite{position:absolute;width:143%;height:150%;left:-21.5%;bottom:-19%;z-index:1}.cell.enemy .sprite{transform:scaleX(-1)}.cell .star{position:absolute;left:3px;top:1px;font-size:9px;letter-spacing:-1px;color:#ac8b35;text-shadow:0 1px 1px #fff8;z-index:3;pointer-events:none}.cell .hp{position:absolute;left:9%;right:9%;height:3px;bottom:4px;z-index:3;background:linear-gradient(90deg,#6b9860 var(--health),#82916d55 var(--health));border-radius:2px;pointer-events:none}.cell .mana{position:absolute;left:9%;right:9%;height:2px;bottom:1px;z-index:3;background:linear-gradient(90deg,#76a7b4 var(--mana),transparent var(--mana));pointer-events:none}.cell.enemy .hp{background:linear-gradient(90deg,#b18066 var(--health),#82916d55 var(--health))}.cell.selected{outline:2px solid #667f45;outline-offset:-2px;background:#bbd394}.cell.drag-target{outline:2px solid #fff6b4;outline-offset:-2px;background:#b2c893}.cell.drag-source{opacity:.4}.drag-ghost{position:fixed;z-index:60;pointer-events:none;width:100px;height:100px;translate:-50% -55%;filter:drop-shadow(0 8px 4px #33452b44)}.hit{position:absolute;z-index:8;pointer-events:none;inset:-8%;font-size:15px;display:grid;place-items:center;font-weight:800;color:#fffce7;-webkit-text-stroke:.3px #8b562e;text-shadow:0 2px 2px #69542a88;background:radial-gradient(circle,#efca6c88,transparent 61%);animation:hit .55s ease-out both}.hit.cast{color:#fffbd8;font-size:20px;background:radial-gradient(circle,color-mix(in srgb,var(--fx-color) 55%,transparent),transparent 65%)}.hit.heal{color:#f2ffe5;-webkit-text-stroke:.3px #507040;background:radial-gradient(circle,#8bb96b88,transparent 60%)}@keyframes hit{from{opacity:1;transform:translateY(10%) scale(.7)}to{opacity:0;transform:translateY(-45%) scale(1.05)}}.bench-heading{display:flex;justify-content:space-between;gap:8px;font-size:7px;color:#8e9c80;letter-spacing:.7px;margin:14px 0 8px}.bench-heading span:last-child{letter-spacing:0;font-size:8px}#bench{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}#bench .cell{aspect-ratio:1;min-height:35px;background:#dce5cd;border:1px dashed #bdc9ab}#bench .cell.piece{border-style:solid;background:#d4e0c1}#bench .cell .sprite{width:135%;height:145%;left:-17.5%;bottom:-18%}.manage-panel{border:1px solid var(--line);border-radius:14px;background:var(--card);padding:19px;min-width:0}.trainer-stats{display:flex;justify-content:space-between;gap:15px;margin-bottom:16px}.gold-stat,.health-stat{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px}.stat-label{font-size:7px;letter-spacing:1.1px;color:#969e88;width:100%}.gold-stat strong{font-size:31px;letter-spacing:-1px;color:#ae9352;font-weight:600}.gold-stat strong:before{content:"◈ ";font-size:19px;vertical-align:3px}.gold-stat small{font-size:8px;color:#a2a58f}.health-stat{text-align:right;justify-content:flex-end}.health-stat strong{font-size:25px;font-weight:550;color:#8f9b79}.health-stat strong:after{content:" ♥";font-size:13px;color:#a9b292}.level-row{display:flex;justify-content:space-between;align-items:center;font-size:10px}.level-row strong{font-weight:600}.level-row>span{font-size:8px;color:#9da58f}.xp-track{height:4px;background:#e8ecdf;border-radius:5px;overflow:hidden;margin-top:7px}.xp-track>span{display:block;width:var(--xp,0%);height:100%;background:#9dac81;transition:width .2s}.shop-heading{display:flex;align-items:center;justify-content:space-between;margin-top:18px;margin-bottom:10px}.shop-heading h2{font-size:12px;font-weight:600}.lock-button{font-size:9px;background:transparent;color:#9da78c;min-height:25px;padding:3px 0}.lock-button[aria-pressed=true]{color:#556a42;font-weight:700}#shop{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.offer{background:#f5f6ed;border:1px solid #e3e6d6;border-bottom:2px solid var(--rarity,#b3bf94);border-radius:7px;display:flex;flex-direction:column;align-items:center;padding:7px 2px;min-width:0;min-height:122px;position:relative;overflow:hidden}.offer:hover:not(:disabled){background:#edf1e2;border-color:#b6c49d}.offer img{width:64px;height:64px;object-fit:contain;margin-bottom:1px}.offer>span{font-size:8px;font-weight:650;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.offer .unit-tags{font-size:7px;color:#99a387;margin-top:3px;white-space:nowrap}.offer b{font-size:10px;font-weight:650;color:#b49a59;margin-top:5px}.offer.empty{justify-content:center;font-size:8px;color:#a4ad96;border-style:dashed}.offer:disabled{opacity:.6}.offer.empty:before{content:"✓";font-size:18px;margin-bottom:6px;color:#b1bc9a}.commands{display:flex;gap:6px;margin-top:10px}.commands button{font-size:9px;min-height:38px;padding:8px 9px;flex:1;white-space:nowrap;display:flex;justify-content:center;gap:9px;align-items:center}.commands b{font-size:8px;color:#aa965b}.commands #sell{flex:.8}.trait-panel{border-top:1px solid #e9ebdf;margin-top:17px;padding-top:16px}.trait-panel h2{font-size:11px}.trait-panel .section-heading{margin-bottom:10px}.trait-panel .section-heading>span{font-size:8px}.trait-panel #traits{display:flex;flex-wrap:wrap;gap:5px}.trait{display:flex;align-items:center;gap:5px;min-height:28px;padding:4px 7px;font-size:8px;border:1px solid #e3e7d8;border-radius:5px;background:#f5f7ef;color:#909d7e}.trait.active{background:#e7edda;color:#657a48;border-color:#b4c298}.trait i{font-size:13px;color:var(--type);font-style:normal;opacity:.8}.trait b{font-size:8px;font-weight:550;opacity:.7}.trait-panel p{font-size:8px;color:#9ba38b;line-height:1.7;margin-top:9px}.selection-info{font-size:9px;line-height:1.7;min-height:31px;color:#89967a;margin-top:12px;padding:8px 10px;background:#f3f6ed;border-radius:6px}.ready-button{width:100%;justify-content:center;gap:15px;margin-top:13px;font-size:11px;min-height:44px}.roster-heading{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#8e977d;margin-top:24px;margin-bottom:10px}#roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:0 0 22px;gap:10px}#roster li{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:#fffefa;padding:11px 12px;min-width:0}#roster .me{border-color:#a5b88b;background:#edf2e5}#roster .down{opacity:.45}.rank-avatar{width:30px;height:30px;flex-shrink:0;border-radius:50%;background:#edf0e3;display:grid;place-items:center;font-size:11px;color:#83916c}.rank-name{display:flex;flex-direction:column;gap:3px;min-width:0}.rank-name strong{font-size:10px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.rank-name small{font-size:7px;color:#9aa387}.rank-health{font-size:13px;color:#879872;margin-left:auto;white-space:nowrap}.rank-health small{font-size:8px;margin-left:3px}
.modal{border:1px solid #d9dfcc;border-radius:18px;background:var(--card);color:var(--ink);padding:27px;max-width:calc(100vw - 28px);width:440px;box-shadow:0 30px 110px #26372535;max-height:calc(100dvh - 35px);overflow:auto}.modal::backdrop{background:#26362566;backdrop-filter:blur(5px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.close-dialog{font-size:24px;background:#f0f2e7;border:1px solid #e6eadb;border-radius:50%;width:30px;min-height:30px;height:30px;line-height:1;color:#8a9776;padding:0}.modal h2{font-size:27px;letter-spacing:-1px;font-weight:600}.modal-description{font-size:11px;color:#939b84;line-height:1.7;margin-top:10px}.modal form{display:grid;gap:9px;margin-top:23px}.modal label{font-size:10px;color:#7c896c;margin-top:4px}.modal input{font-size:12px;min-height:45px}.modal input::placeholder{color:#b2b9a3}.account-actions{display:flex;gap:8px;margin-top:7px}.account-actions button{flex:1;font-size:11px;justify-content:center;padding:12px 8px;gap:8px}.http-note{font-size:9px;color:#ad8c58;line-height:1.65;margin-top:4px}.profile-card{display:flex;align-items:center;gap:14px;margin:24px 0}.avatar.large{width:48px;height:48px;font-size:22px}.profile-card strong{font-size:17px;display:block;font-weight:600}.profile-card small{display:block;font-size:9px;color:#98a186;margin-top:5px}.profile-stats{display:flex;gap:20px;font-size:11px;background:#f0f4e7;padding:15px;margin-bottom:20px;border-radius:8px;color:#7b8d64}.join-code{display:flex;gap:7px}.join-code input{font-family:monospace;letter-spacing:3px}.join-code button{white-space:nowrap;font-size:11px}.form-divider{font-size:8px;letter-spacing:1.5px;color:#a2ac92;text-align:center;margin:10px 0}.dex-modal{width:850px}.dex-heading{display:flex;justify-content:space-between;align-items:center}.dex-total{font-size:50px;font-weight:300;letter-spacing:-3px;color:#d2dac4}.search-label{display:flex;align-items:center;background:#f5f7ee;border:1px solid #e1e7d5;border-radius:9px;padding:0 12px;margin-top:20px!important}.search-label>span{font-size:24px;color:#a5b38c}.search-label input{background:transparent;border:0;min-height:42px}.dex-filters{display:flex;gap:5px;flex-wrap:wrap;margin:13px 0 20px}.dex-filters button{border:1px solid #e4e8da;border-radius:6px;padding:5px 9px;min-height:30px;background:transparent;font-size:9px;color:#96a082}.dex-filters button.active{background:var(--green);color:#f4f6eb;border-color:var(--green)}.dex-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.dex-grid .pokemon-card{cursor:default}.dex-grid .pokemon-card:hover{transform:none!important}.dex-grid .pokemon-image{height:80px}.dex-grid .pokemon-image img{height:80px;width:80px}.dex-detail{border-top:1px solid #edf0e4;padding-top:9px;margin-top:9px;color:#a1a98f;font-size:8px;line-height:1.6}.dex-detail>b{color:#82946b;font-size:9px;display:block;font-weight:600;margin-bottom:3px}.dex-detail .dex-stat{display:flex;gap:7px;font-size:7px;color:#97a685;margin-bottom:5px}.dex-empty{grid-column:1/-1;color:#9aa78a;text-align:center;padding:45px;font-size:12px}.guide-steps{list-style:none;padding:0;margin:25px 0}.guide-steps li{display:flex;gap:18px;margin-bottom:21px}.guide-steps li>span{font-size:24px;font-weight:300;color:#bdc9a8;line-height:1.2}.guide-steps h3{font-size:13px;font-weight:600;margin-bottom:6px}.guide-steps p{font-size:11px;line-height:1.85;color:#919d81}.guide-tip{background:#eff3e5;border:1px solid #e2e9d4;border-radius:9px;padding:12px;font-size:10px;line-height:1.8;color:#8a9876;margin-bottom:20px}.toast{position:fixed;z-index:100;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#354a32;color:#f6f6e8;border:1px solid #677c54;border-radius:10px;font-size:12px;padding:13px 19px;max-width:calc(100vw - 28px);width:max-content;box-shadow:0 10px 40px #233b2922;line-height:1.6} @keyframes float{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media(min-width:1500px){main{padding-top:43px}.hero{min-height:410px}.hero-copy{padding:43px 0 58px 45px}.hero h2{font-size:52px}.hero p{font-size:13px}.hero-pikachu{width:210px;height:210px}.hero-bulbasaur{width:165px;height:165px}.hero-squirtle{width:155px;height:155px}.hero-island{width:360px;height:180px}.pokemon-image{height:109px}.pokemon-image img{width:105px;height:105px}.pokemon-card strong{font-size:13px}}
@media(max-width:1100px){.rail{width:73px}.rail-link{width:57px}.app-shell{margin-left:73px}.topbar{padding-inline:3%;gap:24px}.topbar-actions{gap:13px}main{padding-inline:3%}.hero-copy{padding-left:27px}.hero h2{font-size:36px}.hero-pikachu{width:156px;height:156px;left:43%;top:19%}.hero-bulbasaur{width:130px;height:130px;left:7%;top:39%}.hero-squirtle{width:119px;height:119px;left:61%}.hero-island{width:270px;height:135px}.hero-art{left:48%}.featured-grid{gap:8px}.pokemon-card{padding-inline:9px}.pokemon-image{height:78px}.pokemon-image img{width:79px;height:79px}.mode-card{padding:16px;gap:12px}.mode-text small{font-size:9px}.lobby-footer{gap:15px}.footer-version{display:none}#play{gap:14px;grid-template-columns:minmax(0,1.05fr) minmax(300px,1fr)}.manage-panel{padding:14px}.arena-panel{padding:11px}.commands button{gap:6px;padding-inline:7px}.offer img{width:53px;height:53px}.offer{min-height:112px}.offer>span{font-size:7px}.offer .unit-tags{font-size:6px}.trait{font-size:7px;padding-inline:5px}.trait-panel{margin-top:13px;padding-top:12px}}
@media(max-width:850px){.topbar-path{display:none}.connection{font-size:9px}.hero-copy{width:54%;padding-left:24px}.hero p{font-size:10px}.hero h2{font-size:32px}.hero-art{left:47%}.hero-pikachu{left:35%;width:145px;height:145px;top:23%}.hero-bulbasaur{left:0;width:112px;height:112px;top:43%}.hero-squirtle{left:59%;width:99px;height:99px;top:47%}.hero-island{width:229px;height:114px;top:61%}.art-tag{left:40%;top:78%}.mode-text strong{font-size:13px}.mode-text small{font-size:8px}.mode-icon{width:37px;height:42px;font-size:23px;flex-shrink:0}.mode-card{padding:14px;gap:12px}.mode-arrow{font-size:16px}.featured-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pokemon-image{height:90px}.pokemon-image img{width:94px;height:94px}.pokemon-card{padding:12px}.pokemon-card strong{font-size:12px}.pokemon-card .type-label{font-size:9px}.lobby-footer{flex-wrap:wrap;gap:9px}.lobby-footer p{font-size:8px}.dex-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#play{grid-template-columns:minmax(0,1fr)}.arena-panel{padding:13px 18px;max-width:560px;width:100%;margin:0 auto}.cell{aspect-ratio:1.3}.manage-panel{max-width:560px;width:100%;margin:0 auto;padding:18px}.offer img{width:68px;height:68px}.offer{min-height:126px}.offer>span{font-size:10px}.offer .unit-tags{font-size:8px}.commands button{font-size:11px;min-height:44px}.trait{font-size:10px;min-height:33px}.trait-panel p{font-size:10px}.selection-info{font-size:10px}.trait-panel h2{font-size:13px}.ready-button{font-size:12px}.trainer-stats{margin-bottom:11px}.trainer-stats strong{font-size:26px}.stat-label{font-size:8px}.gold-stat small{font-size:9px}#roster{grid-template-columns:repeat(2,minmax(0,1fr))}.match-meta{gap:9px}.match-meta #status{display:none}}
@media(max-width:600px){.rail{display:none}.app-shell{margin-left:0}.topbar{height:70px;padding:0 21px;gap:10px}.wordmark{font-size:16px;letter-spacing:1.4px}.wordmark small{font-size:6px;letter-spacing:2.8px}.topbar-actions{gap:10px}.connection{font-size:0;gap:0}.connection .live-dot{width:6px;height:6px}.icon-button{width:31px;height:31px;min-height:31px;font-size:16px}.account-button .avatar{width:31px;height:31px;font-size:11px}#account-label,.account-arrow{display:none}main{padding:25px 19px 0}.page-heading{margin-bottom:20px}.page-heading .eyebrow{font-size:7px;letter-spacing:1.1px}.page-heading h1{font-size:25px;margin-top:6px;letter-spacing:-.7px}.page-heading p{font-size:10px;margin-top:6px}.page-heading .text-button{font-size:9px;gap:8px;align-self:flex-end}.hero{display:block;min-height:503px;border-radius:15px}.hero-copy{width:100%;padding:26px 24px 0}.season-label{font-size:7px;letter-spacing:1.3px}.hero h2{font-size:36px;margin-top:16px;line-height:1.15;letter-spacing:-1.4px}.hero p{font-size:10px;max-width:270px;line-height:1.8;margin-top:12px}.hero-cta{margin-top:18px;min-width:168px;min-height:43px;padding:10px 16px;font-size:10px}.hero-footnote{font-size:8px;margin-top:10px}.hero-art{inset:256px 0 22px 0}.hero-island{width:270px;height:129px;top:55%}.hero-pikachu{width:145px;height:145px;left:43%;top:1%}.hero-bulbasaur{width:117px;height:117px;left:13%;top:24%}.hero-squirtle{width:100px;height:100px;left:63%;top:34%}.art-tag{left:45%;top:72%;padding:6px 9px;font-size:7px}.art-tag i{font-size:7px}.orbit{width:300px;height:300px;left:56%;top:39%}.orbit-two{width:430px;height:430px}.hero-star.star-one{top:2%;left:22%;font-size:21px}.star-two{right:10%;top:35%}.hero-watermark{font-size:39px;bottom:3px;letter-spacing:4px}.hero-index{padding:9px 13px;font-size:6px}.mode-section{margin-top:25px}.section-heading{gap:7px;margin-bottom:12px}.section-heading h2{font-size:13px}.mode-section .section-heading>span{font-size:7px}.mode-section .section-heading>span i{display:none}.mode-grid{grid-template-columns:1fr;gap:10px}.mode-card{min-height:89px;padding:15px 17px;gap:16px}.mode-icon{width:43px;height:44px;font-size:24px}.mode-text strong{font-size:14px;margin:5px 0}.mode-text small{font-size:9px}.mode-kicker{font-size:6px}.mode-arrow{font-size:19px;margin-top:3px}.collection-section{margin-top:25px}.collection-section>.section-heading h2{font-size:12px}.count-tag{font-size:6px;padding:3px 4px;margin-left:5px}.collection-section>.section-heading .text-button{font-size:9px;gap:5px;min-height:30px}.collection-section>.section-heading .text-button>span{font-size:13px}.featured-grid{gap:8px}.pokemon-card{padding:9px}.pokemon-number{font-size:7px}.pokemon-type-icon{top:8px;right:8px;font-size:11px}.pokemon-image{height:76px}.pokemon-image img{width:80px;height:80px}.pokemon-card strong{font-size:10px}.pokemon-card .type-label{font-size:8px}.pokemon-card .pokemon-cost{font-size:8px}.lobby-footer{padding:20px 0;margin-top:23px}.lobby-footer>span:first-child{font-size:7px}.lobby-footer p{font-size:8px;max-width:300px;line-height:1.8}.modal{padding:22px;border-radius:15px}.modal h2{font-size:25px}.modal-description{font-size:10px}.dex-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dex-grid .pokemon-image{height:98px}.dex-grid .pokemon-image img{width:105px;height:105px}.dex-grid .pokemon-card strong{font-size:12px}.dex-detail{font-size:9px}.dex-detail>b{font-size:10px}.dex-detail .dex-stat{font-size:8px}.dex-filters{gap:5px}.dex-filters button{font-size:8px;padding-inline:7px}.match-header{margin-bottom:16px;align-items:flex-start}.match-header h1{font-size:23px}.match-header .eyebrow{font-size:7px;letter-spacing:1px}.match-meta{gap:4px;flex-direction:column;align-items:flex-end}.timer{font-size:10px;padding:8px 10px;min-width:110px}.match-meta .text-button{font-size:9px;min-height:28px}.arena-panel{padding:9px 10px;border-radius:12px}.arena-top,.arena-bottom{font-size:9px}.arena-format{font-size:8px}.cell{aspect-ratio:1.17;border-radius:4px}.cell .star{font-size:8px;left:2px;top:0}.cell .hp{height:3px;bottom:3px}.cell .mana{height:2px;bottom:0}.cell .sprite{width:149%;height:157%;left:-24.5%;bottom:-21%}.bench-heading{margin-top:12px;letter-spacing:.5px;font-size:6px}.bench-heading span:last-child{font-size:7px}#bench{gap:3px}#bench .cell{min-height:31px}.manage-panel{padding:14px;border-radius:12px}.gold-stat strong{font-size:29px}.health-stat strong{font-size:24px}.gold-stat small{font-size:8px}.level-row{font-size:10px}.shop-heading{margin-top:15px}.shop-heading h2{font-size:12px}.offer{min-height:107px;padding:5px 1px;border-radius:6px}.offer img{width:53px;height:53px}.offer>span{font-size:8px}.offer .unit-tags{font-size:6px}.offer b{font-size:10px}.commands{gap:5px}.commands button{font-size:9px;gap:6px;min-height:42px;padding:8px 5px}.commands b{font-size:8px}.trait-panel h2{font-size:11px}.trait{font-size:8px;min-height:30px;padding-inline:6px}.trait i{font-size:12px}.trait-panel p{font-size:9px}.selection-info{font-size:9px;min-height:35px}.ready-button{margin-top:11px}.roster-heading{margin-top:20px;font-size:7px}#roster{gap:7px}#roster li{gap:8px;padding:10px}.rank-avatar{width:27px;height:27px}.rank-name strong{font-size:9px}.rank-health{font-size:12px}.room-panel{padding:25px}.room-panel h2{font-size:30px}.room-panel p{font-size:11px}.room-actions{gap:8px}.room-actions button{font-size:10px}.toast{font-size:11px;bottom:max(15px,env(safe-area-inset-bottom));padding:11px 15px}}
@media(max-width:360px){main{padding-inline:13px}.topbar{padding-inline:15px}.hero-copy{padding-inline:20px}.hero h2{font-size:32px}.hero{min-height:490px}.hero-art{top:253px}.hero-pikachu{left:40%;width:132px;height:132px}.hero-bulbasaur{left:7%}.hero-squirtle{left:63%;width:92px;height:92px}.hero-island{width:245px;height:119px}.count-tag{display:none}.offer>span{font-size:7px}.offer img{width:48px;height:48px}.offer .unit-tags{font-size:6px}.offer{min-height:100px}.commands button{font-size:8px}.bench-heading span:last-child{font-size:6px}.trait{font-size:7px}.trait b{font-size:7px}.cell{aspect-ratio:1.1}}
@media(orientation:landscape) and (max-height:600px){.rail{width:60px;padding-top:15px}.rail-link{width:48px;height:52px}.rail-link small{font-size:8px}.rail-divider{margin:3px 0}.brand-mark{width:33px;height:33px}.app-shell{margin-left:60px}.topbar{height:55px;padding-inline:20px}.wordmark{font-size:14px}.wordmark small{font-size:5px}.connection{font-size:0}.topbar-path{display:none}main{padding:17px 20px 0}.hero{min-height:330px}.hero-copy{padding-top:23px;padding-bottom:45px}.hero h2{font-size:32px}.hero-art{inset:0 0 24px 46%}.hero-pikachu{top:15%}.hero-bulbasaur{top:36%}.hero-squirtle{top:42%}.page-heading{margin-bottom:16px}.page-heading h1{font-size:24px}.match-header{margin-bottom:12px}.match-header h1{font-size:22px}.match-meta{flex-direction:row}.timer{min-width:110px}.match-meta .text-button{min-height:32px}#play{grid-template-columns:minmax(0,1fr) minmax(260px,.95fr);gap:11px}.arena-panel{padding:8px 10px}.cell{aspect-ratio:1.5}.arena-top,.arena-bottom{font-size:8px;min-height:18px}.arena-top{padding-bottom:4px}.arena-bottom{padding-top:4px}.bench-heading{margin-top:9px;margin-bottom:5px;font-size:6px}.bench-heading span:last-child{font-size:6px}#bench .cell{min-height:25px;aspect-ratio:1.1}.manage-panel{padding:11px}.trainer-stats{margin-bottom:7px}.gold-stat strong{font-size:23px}.health-stat strong{font-size:21px}.stat-label{font-size:6px}.gold-stat small{font-size:7px}.shop-heading{margin-top:10px;margin-bottom:6px}.shop-heading h2{font-size:10px}.offer{min-height:89px;padding-top:3px}.offer img{width:44px;height:44px}.offer>span{font-size:7px}.offer .unit-tags{font-size:6px}.offer b{font-size:9px}.commands{margin-top:7px;gap:4px}.commands button{min-height:32px;font-size:8px;padding:6px 4px;gap:4px}.commands b{font-size:7px}.trait-panel{margin-top:9px;padding-top:9px}.trait-panel h2{font-size:10px}.trait-panel .section-heading{margin-bottom:7px}.trait-panel #traits{gap:4px}.trait{min-height:25px;font-size:7px;padding:3px 5px}.trait i{font-size:10px}.trait-panel p{font-size:7px;margin-top:6px}.selection-info{font-size:8px;margin-top:8px;padding:6px 8px;min-height:25px}.ready-button{min-height:36px;margin-top:9px;font-size:10px}.roster-heading{margin-top:15px}#roster{grid-template-columns:repeat(4,minmax(0,1fr))}.rank-name strong{font-size:8px}.rank-health{font-size:11px}#roster li{padding:8px;gap:6px}.rank-avatar{width:24px;height:24px;font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
.mobile-only{display:none}.room-panel h2{overflow-wrap:anywhere}.trait-panel summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:11px;font-weight:600;min-height:24px;gap:8px}.trait-panel summary::-webkit-details-marker{display:none}.trait-panel summary>span:last-child{font-size:8px;font-weight:400;color:#9aa68a}.trait-panel summary>span:last-child:after{content:"⌄";font-size:12px;margin-left:8px;color:#a1ad91}.trait-panel[open] summary{margin-bottom:10px}.trait-panel[open] summary>span:last-child:after{content:"⌃"}
@media(max-width:600px) and (orientation:portrait){.mobile-only{display:grid;place-items:center}.in-match .topbar{height:51px}.in-match main{padding-top:11px}.in-match .match-header{margin-bottom:10px;align-items:center}.in-match .match-header h1{font-size:20px;margin-top:3px}.in-match .match-header .eyebrow{font-size:6px;letter-spacing:.8px}.in-match .match-meta{flex-direction:row;gap:8px}.in-match .match-meta .text-button{font-size:8px;min-height:30px}.in-match .timer{font-size:9px;min-width:94px;padding:8px}.in-match .arena-panel{padding:6px 9px 8px}.in-match .arena-top,.in-match .arena-bottom{min-height:17px;font-size:8px}.in-match .arena-top{padding-bottom:5px}.in-match .arena-bottom{padding-top:5px}.in-match .cell{aspect-ratio:1.58}.in-match .cell .sprite{width:139%;height:172%;left:-19.5%;bottom:-23%}.in-match .cell.front{margin-top:4px}.in-match .cell:nth-child(n+13):nth-child(-n+18){margin-bottom:4px}.in-match .bench-heading{margin:8px 0 5px}.in-match #bench .cell{aspect-ratio:1.2;min-height:27px}.in-match #bench .cell .sprite{width:130%;height:150%;left:-15%;bottom:-18%}.in-match #play{gap:10px}.in-match .manage-panel{padding:10px 12px}.in-match .trainer-stats{margin-bottom:7px}.in-match .gold-stat strong{font-size:24px}.in-match .gold-stat strong:before{font-size:15px;vertical-align:2px}.in-match .health-stat strong{font-size:22px}.in-match .stat-label{font-size:6px;letter-spacing:.9px}.in-match .gold-stat small{font-size:7px}.in-match .level-row{font-size:9px}.in-match .level-row>span{font-size:7px}.in-match .xp-track{height:3px;margin-top:5px}.in-match .shop-heading{margin:11px 0 7px}.in-match .shop-heading h2{font-size:10px}.in-match .lock-button{font-size:8px;min-height:22px}.in-match .offer{min-height:93px;padding:4px 1px}.in-match .offer img{width:47px;height:47px}.in-match .offer>span{font-size:8px}.in-match .offer .unit-tags{font-size:6px;margin-top:2px}.in-match .offer b{font-size:9px;margin-top:4px}.in-match .commands{margin-top:7px}.in-match .commands button{min-height:35px;font-size:8px;padding:7px 4px}.in-match .commands b{font-size:7px}.in-match .trait-panel{padding-top:7px;margin-top:9px}.in-match .trait-panel summary{min-height:27px;font-size:9px}.in-match .trait-panel summary>span:last-child{font-size:7px}.in-match .selection-info:not(.has-selection){display:none}.in-match .selection-info{font-size:8px;min-height:0;padding:6px 8px;margin-top:7px}.in-match .ready-button{margin-top:8px;min-height:40px;font-size:10px}.in-match .roster-heading{margin-top:17px}}
@media(orientation:landscape) and (max-height:600px){.in-match .topbar{height:46px}.in-match main{padding-top:10px}.in-match .match-header{margin-bottom:9px}.in-match .match-header h1{font-size:19px}.in-match .match-header .eyebrow{font-size:6px}.in-match .arena-panel{padding:6px 9px 8px}.in-match .cell{aspect-ratio:1.7}.in-match .selection-info:not(.has-selection){display:none}.in-match .trait-panel{padding-top:6px;margin-top:8px}.in-match .trait-panel summary{min-height:24px;font-size:9px}.in-match .ready-button{margin-top:7px}.in-match .commands button{min-height:34px}.in-match .trainer-stats{margin-bottom:7px}.in-match .stat-label{font-size:6px}.in-match .shop-heading{margin:7px 0 6px}.in-match .offer{min-height:86px}.in-match .offer img{width:41px;height:41px}}
