@font-face{font-family:"Exo 2 Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/exo-2-cyrillic-ext-wght-normal-Duf7tWJ7.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Exo 2 Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/exo-2-cyrillic-wght-normal-DINSYtDx.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:"Exo 2 Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/exo-2-vietnamese-wght-normal-DlPkZmYr.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Exo 2 Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/exo-2-latin-ext-wght-normal-B5pmZ151.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Exo 2 Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/exo-2-latin-wght-normal-CQ1lLIdm.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-wght-normal-BzFMHfZw.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,sans-serif}html,body{color:#e8eaf0;background:#14161c;height:100%;margin:0}#app{height:100%;position:relative;overflow:hidden}.message{text-align:center;margin:0;padding:24px}.stage{position:absolute;inset:0 0 0 294px}.stage canvas{display:block}.weather-overlay{opacity:0;pointer-events:none;background-position:50%;position:absolute;inset:0}.effect-veil{opacity:0;pointer-events:none;mix-blend-mode:screen;position:absolute;inset:0}.panel{box-sizing:border-box;background:#14161cd1;border:1px solid #2c3140;border-radius:8px;width:270px;padding:12px;font-size:13px;position:absolute;top:12px;bottom:12px;left:12px;overflow-y:auto}.panel h1{margin:0 0 8px;font-size:16px}.panel h2{margin:0 0 4px;font-size:13px;font-weight:600}.slot{margin-bottom:12px}.slot input{box-sizing:border-box;width:100%;padding:4px 6px}.states,.actions{gap:4px;margin-top:4px;display:flex}.states button,.actions button{cursor:pointer;flex:1;padding:4px 2px;font-size:12px}.panel p.effect-state{color:#0b2a14;background:#6fe39a;border-radius:999px;padding:4px 10px;font-weight:700;display:inline-block}.panel p.effect-state.computed{color:#3a2400;background:#ffc35a}.states button.computed{opacity:.8;font-style:italic}.details,.stats{color:#aab1c4;margin:4px 0 0}.stats{font-variant-numeric:tabular-nums;margin-top:10px}.stage-battle{inset:0}.hud{pointer-events:none;font-size:14px;position:absolute;inset:0}.hud>*{pointer-events:auto}.top-bar{background:#14161cc7;border-radius:8px;align-items:center;gap:12px;padding:6px 10px;display:flex;position:absolute;top:8px;left:8px;right:8px}.field-turn{font-weight:600}.field-state{color:#cfd6e6;flex:1}.field-seed{color:#8d95a8;font-size:12px}.plates{gap:8px;display:flex}.opponent-zone{flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:56px;right:12px}.roster{background:#14161ccc;border-radius:6px;flex-wrap:wrap;justify-content:flex-end;gap:4px 8px;max-width:400px;padding:4px 8px;font-size:12px;display:flex}.roster:empty{display:none}.roster-title{color:#aab1c4}.roster-entry{font-weight:600}.plate{background:#14161cd1;border:1px solid #2c3140;border-radius:8px;width:190px;padding:6px 8px}.plate.empty{visibility:hidden}.plate-header{justify-content:space-between;gap:6px;font-weight:600;display:flex}.plate-level{color:#aab1c4;font-weight:400}.hp-track{box-sizing:border-box;background:linear-gradient(#0000008c 0%,#141a2cb3 100%);border:1px solid #ffffff24;border-radius:999px;height:11px;margin:5px 0 3px;padding:1px;overflow:hidden;box-shadow:inset 0 2px 3px #0009,0 1px #ffffff1f}.hp-bar{--hp:#3fd46a;--hp-deep:#17883a;background:linear-gradient(180deg, #fff9 0%, #ffffff26 40%, #fff0 55%, #0000002e 100%), linear-gradient(90deg, var(--hp-deep), var(--hp));height:100%;box-shadow:0 0 8px color-mix(in srgb, var(--hp) 60%, transparent), inset 0 -1px 1px #0000004d;border-radius:999px;transition:width .4s ease-out,background .4s}.hp-bar.medium{--hp:#ffc93d;--hp-deep:#c27c06}.hp-bar.low{--hp:#ff5a5a;--hp-deep:#a51d2d}.plate-hp{color:#cfd6e6;font-variant-numeric:tabular-nums;min-height:1em;font-size:12px}.plate-badges{flex-wrap:wrap;gap:3px;margin-top:2px;display:flex}.badge{background:#3a4052;border-radius:4px;padding:0 5px;font-size:11px}.badge.status-burn{background:#c8552b}.badge.status-paralysis{background:#b89b1f}.badge.status-poison,.badge.status-toxic{background:#8e44ad}.badge.status-sleep{background:#5d6d7e}.badge.status-freeze{background:#3b8fb5}.badge.status-confusion{background:#a04a7a}.badge.stage-up{background:#2e7d4f}.badge.stage-down{background:#8a3a3a}.bottom{pointer-events:none;align-items:stretch;gap:8px;height:170px;display:flex;position:absolute;bottom:12px;left:12px;right:12px}.plates-own{flex-direction:column;justify-content:flex-end}.bottom>*{pointer-events:auto}.banner,.menu-host{box-sizing:border-box;background:var(--glass-sheen), var(--glass-tint);border:1px solid var(--glass-edge);min-width:0;box-shadow:var(--glass-depth);-webkit-backdrop-filter:blur(8px)saturate(1.4);backdrop-filter:blur(8px)saturate(1.4);border-radius:14px;flex:1;padding:12px 14px;overflow-y:auto}.banner{font-size:18px}.hud.choosing .banner,.hud:not(.choosing) .menu-host{display:none}.menu-title{margin:0 0 8px;font-weight:600}.menu-moves,.menu-team{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.menu-targets,.menu-actions{flex-wrap:wrap;gap:6px;display:flex}.menu-actions{margin-top:8px}.hud button{color:inherit;font:inherit;cursor:pointer;background:#2b3141;border:1px solid #454d63;border-radius:6px;padding:6px 10px}.hud button:hover:not(:disabled){background:#3a4258}.hud button:disabled{opacity:.45;cursor:default}.menu-move,.menu-member{text-align:left;align-items:center;gap:8px;display:flex}.move-name,.member-name{flex:1;font-weight:600}.move-type{color:#14161c;border-radius:4px;padding:0 6px;font-size:12px}.move-pp,.member-state{color:#cfd6e6;font-variant-numeric:tabular-nums;font-size:12px}.target-opponent{border-color:#a85a5a}.target-ally{border-color:#5a8aa8}.log-panel{box-sizing:border-box;background:#14161ce6;border:1px solid #2c3140;border-radius:8px;width:300px;max-height:45%;padding:8px 10px;font-size:12px;display:none;position:absolute;top:56px;left:12px;overflow-y:auto}.log-panel.open{display:block}.log-panel h2{margin:0 0 4px;font-size:13px}.log{margin:0;padding:0;list-style:none}.log li{color:#cfd6e6;padding:1px 0}.end-screen{box-sizing:border-box;text-align:center;background:#0e1016f0;border:1px solid #454d63;border-radius:10px;flex-direction:column;align-items:center;gap:10px;width:min(520px,80%);padding:20px 24px;display:flex;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.end-reason{color:#cfd6e6}.end-buttons{gap:8px;display:flex}.plate-ability{color:#aab1c4;font-size:12px}.menu-move{flex-wrap:wrap}.move-details{color:#aab1c4;flex-basis:100%;font-size:12px}.overlay-host{pointer-events:none;position:absolute;inset:56px 12px 200px}.target-picker{pointer-events:none;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;place-items:center;width:100%;height:100%;display:grid}.hud .target-card{pointer-events:auto;background:#14161ceb;border-width:2px;flex-direction:column;align-items:center;gap:4px;min-width:210px;padding:10px 14px;display:flex}.hud .target-card.target-empty{visibility:hidden}.target-name{font-weight:600}.target-types{gap:4px;display:flex}.target-hp{color:#cfd6e6;font-size:12px}.end-screen h1{margin:0;font-size:40px}.end-screen p{margin:0}.screen{box-sizing:border-box;max-width:1100px;height:100%;margin:0 auto;padding:16px;font-size:14px;overflow-y:auto}.screen h1{margin:0 0 8px;font-size:24px}.screen h2{margin:0 0 8px;font-size:16px}.screen button,.screen input,.screen select{color:inherit;font:inherit;background:#2b3141;border:1px solid #454d63;border-radius:6px;padding:6px 10px}.screen button{cursor:pointer}.screen button:hover:not(:disabled){background:#3a4258}.screen button:disabled{opacity:.45;cursor:default}.screen-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.panel-box{background:#1b1e27;border:1px solid #2c3140;border-radius:8px;margin-bottom:12px;padding:12px 14px}.creature-line{align-items:center;gap:6px;display:inline-flex}.creature-name{font-weight:600}.type-badges{gap:4px;display:inline-flex}.team-row{flex-wrap:wrap;gap:8px 18px;margin-bottom:8px;display:flex}.builder{grid-template-columns:minmax(0,3fr) minmax(260px,2fr);align-items:start;gap:16px;display:grid}.builder-filters{flex-wrap:wrap;gap:8px;margin-bottom:6px;display:flex}.builder-filters input{flex:1}.builder-count{color:#aab1c4;margin:8px 0}.builder-list{flex-direction:column;gap:6px;display:flex}.builder-row{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.builder-row,.team-slot{background:#1b1e27;border:1px solid #2c3140;border-radius:8px;padding:8px 10px}.team-slot{justify-content:space-between;align-items:center;gap:8px;display:flex}.card-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:6px;display:grid}.card-grid .creature-card{background:#1b1e27;border:1px solid #2c3140;border-radius:8px;padding:8px 10px}.creature-card{flex:1;min-width:0}.creature-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.screen .details-toggle{padding:2px 8px;font-size:12px}.creature-summary,.creature-more{color:#aab1c4;margin-top:4px;font-size:12px}.creature-moves{margin:4px 0 0;padding:0;list-style:none}.creature-moves li{flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px;display:flex}.creature-move-name{color:#dfe3ee;font-weight:600}.builder-team{position:sticky;top:0}.team-slots{flex-direction:column;gap:6px;display:flex}.team-slot{flex-wrap:wrap}.team-slot-head{flex:100%;justify-content:space-between;align-items:center;gap:8px;display:flex}.screen .item-picker{flex:100%;padding:3px 6px;font-size:12px}.team-member{flex-direction:column;gap:2px;display:inline-flex}.team-item{color:#aab1c4;font-size:12px}.team-slot.empty{color:#6f778a;border-style:dashed}.citadel-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.lineup-list{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:6px;display:grid}.lineup-member{background:#1b1e27;border:1px solid #2c3140;border-radius:8px;align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.lineup-pick{flex-direction:column;align-items:center;gap:4px;display:flex}.lineup-member.picked{background:#24382c;border-color:#4cc26a}.lineup-order{color:#4cc26a;min-height:1.3em;font-weight:700}.cup-title{margin:16px 0 8px}.badge-line{margin-bottom:8px}.badge-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;display:grid}.badge-card{background:#232838;border:1px solid #4a5168;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:12px;display:flex}.badge-medal{color:#2a2110;background:radial-gradient(circle at 35% 30%,#fff1b0,#e0a82e 70%);border:2px solid #f6d77a;border-radius:50%;place-items:center;width:48px;height:48px;font-size:26px;display:grid}.badge-title{text-align:center;font-weight:600}.badge-team{flex-direction:column;align-items:flex-start;gap:3px;font-size:12px;display:flex}.creature-card.unlocked{border-color:#e0a82e}.unlocked-tag{color:#e0a82e;font-size:11px;font-weight:700}.field-timer{font-weight:700}.field-timer.urgent{color:#ff7a6b}.top-actions{margin-left:auto}:root{--font-title:"Exo 2 Variable", "Segoe UI", sans-serif;--font-text:"Nunito Variable", "Segoe UI", sans-serif;--ink:#eef3ff;--ink-soft:#a9b6d6;--night:#050816;--deep:#0b1230;--panel:#0d1430c7;--panel-edge:#84aaff47;--gold:#ffd23f;--gold-deep:#f59e0b;--sky:#43d1ff;--rose:#ff5c8a;--ok:#3ee38b;--glow:0 0 18px #43d1ff73;--radius:14px;--ease:cubic-bezier(.22, 1, .36, 1);--glass-sheen:linear-gradient(180deg, #fff3 0%, #ffffff0f 46%, #fff0 54%, #ffffff0f 100%);--glass-tint:#0e163866;--glass-edge:#ffffff38;--glass-blur:blur(12px) saturate(1.5);--glass-depth:inset 0 1px 0 #ffffff59, inset 0 -1px 0 #0000004d, 0 2px 4px #00000040, 0 12px 30px #00000059;font-family:var(--font-text)}html,body{background:radial-gradient(120% 80% at 50% 0%, #17245c 0%, transparent 60%), radial-gradient(90% 70% at 100% 100%, #2a0f4d 0%, transparent 55%), var(--night);color:var(--ink)}.screen{max-width:1200px;animation:screen-in .38s var(--ease) both;padding:24px 28px 40px;font-size:15px}@keyframes screen-in{0%{opacity:0;transform:translateY(14px)scale(.99)}}.screen h1{font-family:var(--font-title);letter-spacing:.02em;text-transform:uppercase;background:linear-gradient(#fff 0%,#b9d4ff 100%);color:#0000;filter:drop-shadow(0 3px #00000073);-webkit-background-clip:text;background-clip:text;margin:0 0 14px;font-size:34px;font-style:italic;font-weight:800}.screen h2{font-family:var(--font-title);letter-spacing:.02em;font-size:19px;font-weight:700}.screen-intro,.hint{color:var(--ink-soft)}.panel-box,.builder-row,.team-slot,.lineup-member,.card-grid .creature-card{background:var(--glass-sheen), linear-gradient(160deg, #1e2c649e, var(--panel));border:1px solid var(--glass-edge);border-radius:var(--radius);box-shadow:var(--glass-depth);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.screen button,.hud button,.scene-layer button,.game-button{color:#10131f;font-family:var(--font-title);letter-spacing:.04em;text-transform:uppercase;background:var(--glass-sheen), linear-gradient(180deg, #ffe06ee0 0%, #f59e0bd1 100%);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);text-shadow:0 1px #ffffff73;cursor:pointer;transition:transform .12s var(--ease), box-shadow .12s var(--ease), filter .12s;border:1px solid #fff4c8cc;border-radius:12px;padding:9px 18px;font-size:14px;font-weight:800;box-shadow:inset 0 1px #ffffffbf,inset 0 -3px 6px #823c0059,0 2px 3px #0000004d,0 8px 20px #00000059}.screen button:hover:not(:disabled),.screen button:focus-visible,.hud button:hover:not(:disabled),.hud button:focus-visible,.scene-layer button:hover:not(:disabled),.scene-layer button:focus-visible{background:var(--glass-sheen), linear-gradient(180deg, #ffec96eb 0%, #ffb21fe0 100%);outline:none;transform:translateY(-2px);box-shadow:inset 0 1px #ffffffd9,inset 0 -3px 6px #823c004d,0 0 0 3px #ffe68c4d,0 0 22px #ffc83c59,0 14px 28px #0006}.screen button:active:not(:disabled),.hud button:active:not(:disabled),.scene-layer button:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px 6px #823c0066,0 1px 2px #00000059}.screen button:disabled,.hud button:disabled,.scene-layer button:disabled{filter:grayscale(.9)brightness(.65);cursor:default}.screen .icon-button,.hud .icon-button,.icon-button{width:38px;height:38px;color:var(--ink);border:1px solid var(--glass-edge);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);text-shadow:none;background:radial-gradient(circle at 35% 25%,#ffffff73 0%,#fff0 45%),radial-gradient(circle at 50% 60%,#4c6bd8b3 0%,#22348abf 75%);border-radius:50%;place-items:center;padding:0;display:inline-grid;box-shadow:inset 0 1px #fff6,inset 0 -2px 4px #00000059,0 4px 10px #0006}.screen .icon-button:hover:not(:disabled),.screen .icon-button:focus-visible{background:radial-gradient(circle at 35% 25%,#ffffff8c 0%,#fff0 45%),radial-gradient(circle at 50% 60%,#6f8cffcc 0%,#2c45b0cc 75%);box-shadow:inset 0 1px #ffffff80,0 0 0 3px #43d1ff73,0 0 18px #43d1ff59,0 6px 14px #00000073}.screen .icon-add{color:#04210f;background:radial-gradient(circle at 35% 25%,#ffffff80 0%,#fff0 45%),radial-gradient(circle at 50% 60%,#6ff2a8cc 0%,#0f9a55cc 75%)}.screen .icon-remove{background:radial-gradient(circle at 35% 25%,#ffffff73 0%,#fff0 45%),radial-gradient(circle at 50% 60%,#ff8aa8cc 0%,#c2194acc 75%)}.icon-button .icon{stroke-width:2.6px;width:20px;height:20px}.screen input,.screen select{color:var(--ink);font-family:var(--font-text);border:1px solid var(--panel-edge);background:#050a1eb3;border-radius:10px;padding:9px 12px;font-size:14px}.screen input:focus,.screen select:focus{border-color:var(--sky);box-shadow:var(--glow);outline:none}.sprite-frame{aspect-ratio:1;border-radius:12px;place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #ffffff2e}.sprite-frame:before{content:"";background:radial-gradient(circle at 50% 60%,#fff6 0%,#0000 62%);position:absolute;inset:0}.sprite-image{object-fit:contain;image-rendering:auto;filter:drop-shadow(0 6px 4px #00000059);width:86%;height:86%;position:relative}.sprite-standin{color:#ffffffd9;font-family:var(--font-title);border-radius:50%;place-items:center;font-size:40px;font-weight:800;display:grid}.creature-icon{object-fit:contain;width:34px;height:34px;image-rendering:pixelated}.creature-icon.sprite-standin{font-size:14px}.item-icon{object-fit:contain;width:26px;height:26px;image-rendering:pixelated}.item-icon-missing{color:var(--gold);place-items:center;display:inline-grid}.creature-tile{border:1px solid var(--panel-edge);cursor:pointer;transition:transform .16s var(--ease), border-color .16s, box-shadow .16s;background:linear-gradient(#1a2656cc 0%,#0d1430d9 100%);border-radius:16px;flex-direction:column;gap:6px;padding:6px;display:flex;position:relative;box-shadow:0 8px 20px #00000059}.creature-tile:hover{border-color:var(--sky);transform:translateY(-3px);box-shadow:0 0 0 2px #43d1ff59,0 12px 24px #00000073}.creature-tile.in-team{opacity:.45}.creature-tile .sprite-frame{width:100%}.tile-label{justify-content:space-between;align-items:center;gap:6px;min-height:26px;padding:0 4px;display:flex}.tile-name{font-family:var(--font-title);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:700;overflow:hidden}.item-none{border:2px dashed #ffffff4d;border-radius:50%;width:22px;height:22px;display:inline-block}.tile-tools{opacity:0;flex-direction:column;gap:6px;transition:opacity .16s;display:flex;position:absolute;top:10px;right:10px}.creature-tile:hover .tile-tools,.creature-tile:focus-within .tile-tools,.team-member .tile-tools,.lineup-tile .tile-tools{opacity:1}.screen .tile-tools .icon-button{width:32px;height:32px}.tile-tools .icon-button .icon{width:17px;height:17px}.tile-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px;display:grid}.screen.builder-screen{max-width:1280px}.builder-top{z-index:2;background:linear-gradient(180deg, var(--night) 70%, transparent);grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);gap:18px;margin:0 -10px 18px;padding:10px;display:grid;position:sticky;top:0}.team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.team-member{flex-direction:row;align-items:center;min-height:100px}.team-member .sprite-frame{flex:none;width:88px}.team-member .tile-label{flex-direction:column;flex:1;align-self:flex-start;align-items:flex-start;min-width:0;padding-top:4px}.team-member .tile-name{max-width:100%}.team-member .tile-tools{flex-direction:row;top:auto;bottom:8px;right:8px}.team-slot-empty{min-height:100px;color:var(--ink-soft);font-family:var(--font-title);text-transform:uppercase;border:2px dashed #84aaff4d;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.team-slot-empty .icon{opacity:.6;width:28px;height:28px}.builder-side{flex-direction:column;gap:10px;display:flex}.builder-count{font-family:var(--font-title);color:var(--gold);font-size:34px;font-style:italic;font-weight:800}.builder-side .screen-intro{margin:0;font-size:13px}.builder-tools,.builder-validate{flex-wrap:wrap;gap:10px;display:flex}.screen.prematch-screen{max-width:1280px}.prematch-side{margin-bottom:14px;padding:12px 14px 14px}.prematch-side h2{margin:0;font-size:18px}.prematch-head{align-items:center;gap:14px;margin-bottom:10px;display:flex}.prematch-side>h2{margin-bottom:10px}.ai-chip{font-family:var(--font-title);text-transform:uppercase;border-radius:999px;margin-left:auto;padding:4px 12px;font-size:13px;font-weight:800}.ai-easy{color:#04210f;background:var(--ok)}.ai-normal{color:#2a1a00;background:var(--gold)}.ai-hard{color:#fff;background:var(--rose)}.prematch-tiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}@media (width<=900px){.prematch-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}.prematch-tiles .sprite-frame{max-height:150px}.lineup-tile.picked{border-color:var(--gold);box-shadow:0 0 0 3px #ffd23f8c,0 12px 24px #00000073}.lineup-tile.full{opacity:.5}.lineup-order{color:#2a1a00;width:38px;height:38px;font-family:var(--font-title);background:radial-gradient(circle at 35% 30%, #fff1a6 0%, var(--gold) 55%, var(--gold-deep) 100%);border-radius:50%;place-items:center;font-size:22px;font-weight:900;display:grid;position:absolute;top:10px;left:10px;box-shadow:0 4px 10px #00000073}.prematch-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.prematch-count{font-family:var(--font-title);color:var(--gold);font-size:26px;font-style:italic;font-weight:800}.prematch-actions .game-button{padding:12px 28px;font-size:18px}.lineup-strip{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-top:12px;display:grid}.lineup-place{cursor:grab;background:#ffd23f1a;border:1px solid #ffd23f73;border-radius:12px;align-items:center;gap:6px;min-height:46px;padding:4px 8px;display:flex}.lineup-place.empty{cursor:default;background:0 0;border-style:dashed;border-color:#84aaff4d}.lineup-place.dragging{opacity:.4}.lineup-place.drop{border-color:var(--sky);box-shadow:0 0 0 2px #43d1ff73}.lineup-place-number{color:#2a1a00;width:26px;height:26px;font-family:var(--font-title);background:var(--gold);border-radius:50%;flex:none;place-items:center;font-weight:900;display:grid}.lineup-place.empty .lineup-place-number{color:var(--ink-soft);background:#ffffff1a}.lineup-place-name{min-width:0;font-family:var(--font-title);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:13px;font-weight:700;overflow:hidden}.screen .lineup-place .icon-button{width:28px;height:28px}.lineup-place .icon-button .icon{width:16px;height:16px}.hud .target-power{color:var(--gold);font-size:13px;font-weight:800}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:screen-in .22s var(--ease) both;background:#02040cb3;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-panel{border:1px solid var(--panel-edge);background:linear-gradient(#1a2656 0%,#0d1430 100%);border-radius:18px;flex-direction:column;width:min(760px,100%);max-height:86vh;display:flex;overflow:hidden;box-shadow:0 24px 60px #0009}.modal-head{border-bottom:1px solid var(--panel-edge);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.modal-head h2{font-family:var(--font-title);text-transform:uppercase;margin:0;font-size:22px;font-style:italic}.modal-body{flex-direction:column;gap:12px;padding:16px;font-size:15px;display:flex;overflow-y:auto}.modal-body input{color:var(--ink);font:inherit;border:1px solid var(--panel-edge);background:#05081699;border-radius:10px;padding:9px 12px}.details-head{grid-template-columns:180px 1fr;align-items:start;gap:16px;display:grid}.item-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px;display:grid}.modal-body .item-choice{color:var(--ink);font-family:var(--font-text);text-align:left;cursor:pointer;background:#ffffff0f;border:1px solid #0000;border-radius:10px;align-items:center;gap:8px;padding:6px 10px;font-size:13px;font-weight:600;display:flex}.modal-body .item-choice:hover:not(:disabled),.modal-body .item-choice:focus-visible{border-color:var(--sky);outline:none}.modal-body .item-choice.current{border-color:var(--gold)}.modal-body .item-choice:disabled{opacity:.35;cursor:default}.modal-head .icon-button{cursor:pointer;background:radial-gradient(circle at 35% 30%,#ff8aa8 0%,#c2194a 70%);border:none}.hud .plate,.hud .menu-host,.hud .log-panel,.hud .roster{background:var(--glass-sheen), var(--glass-tint);border:1px solid var(--glass-edge);box-shadow:var(--glass-depth);-webkit-backdrop-filter:blur(8px)saturate(1.4);backdrop-filter:blur(8px)saturate(1.4);border-radius:14px}.hud .plate-header{align-items:center}.plate-name{min-width:0;font-family:var(--font-title);align-items:center;gap:6px;font-size:15px;font-weight:800;display:flex}.plate-name .creature-icon{flex:none;width:32px;height:32px;margin:-6px 0 -6px -4px}.plate-name .creature-icon.sprite-standin{width:24px;height:24px;margin:0;font-size:12px}.hud .menu-move,.hud .menu-member,.hud .target-card{color:var(--ink);font-family:var(--font-text);letter-spacing:0;text-transform:none;border:1px solid #84aaff59;border-left:6px solid var(--move-colour,var(--sky));background:linear-gradient(#23336e 0%,#172256 100%);border-radius:10px;font-size:14px;font-weight:600;box-shadow:0 4px 10px #00000059}.hud .menu-move:hover:not(:disabled),.hud .menu-move:focus-visible,.hud .menu-member:hover:not(:disabled),.hud .menu-member:focus-visible,.hud .target-card:hover:not(:disabled),.hud .target-card:focus-visible{border-color:var(--sky);background:linear-gradient(#2f45924d 0%,#1d2b6b 100%),#23336e;box-shadow:0 0 0 2px #43d1ff73,0 8px 18px #00000073}.hud .move-name,.hud .member-name,.hud .target-name{font-family:var(--font-title);text-transform:uppercase;font-size:15px;font-weight:800}.hud .move-details{color:var(--ink-soft);font-weight:500}.hud .move-type{font-family:var(--font-title);text-transform:uppercase;font-weight:800}.hud .menu-member{gap:8px}.hud .roster{align-items:center;gap:4px;padding:4px 8px}.roster-entry .creature-icon{border-radius:10px;width:34px;height:34px;display:block}.hud .roster-entry{flex-direction:column;align-items:center;gap:2px;font-weight:600;display:flex}.hud .roster-picture{background:var(--glass-sheen), #ffffff0f;border:1px solid #ffffff2e;border-radius:12px;place-items:center;width:40px;height:40px;display:grid;position:relative;box-shadow:inset 0 1px #ffffff40,0 2px 6px #00000059}.hud .roster-state{letter-spacing:.03em;color:var(--ink-soft);font-size:10px}.hud .state-field .roster-picture{border-color:var(--sky);background:var(--glass-sheen), #43d1ff38;box-shadow:inset 0 1px #fff6,0 0 0 2px #43d1ff59,0 0 14px #43d1ff8c}.hud .state-field .roster-state{color:var(--sky)}.hud .state-hidden .creature-icon{filter:brightness(0)opacity(.55)}.hud .state-hidden .roster-picture:after{content:"?";font-family:var(--font-title);color:#ffffffb3;font-size:18px;font-weight:800;position:absolute}.hud .state-hidden .roster-state{color:#a9b6d699}.hud .state-ko{opacity:.5}.hud .state-ko .creature-icon{filter:grayscale()}.hud .state-ko .roster-picture:after{content:"";background:var(--rose);height:3px;position:absolute;inset:50% 2px auto;transform:rotate(-35deg)}.hud .state-ko .roster-state{color:var(--rose)}.hud .log-panel li{border-bottom:1px solid #ffffff0f;padding:2px 0}.challenge{z-index:20;animation:challenge 2.2s var(--ease) both;pointer-events:none;background:radial-gradient(60% 50%,#0a0e28d9 0%,#02040ceb 100%);flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:absolute;inset:0}.challenge .trainer-portrait{width:160px;height:160px;box-shadow:0 0 0 6px var(--gold), 0 0 50px #ffd23f99;animation:challenge-portrait 2.2s var(--ease) both}.challenge-text{font-family:var(--font-title);text-transform:uppercase;background:linear-gradient(#fff 0%,#ffe28a 55%,#ff9f1c 100%);color:#0000;filter:drop-shadow(0 4px #5a2a00);-webkit-background-clip:text;background-clip:text;font-size:clamp(30px,5vw,60px);font-style:italic;font-weight:900}@keyframes challenge{0%{opacity:0}12%,80%{opacity:1}to{opacity:0}}@keyframes challenge-portrait{0%{transform:translate(-60vw)scale(.6)}20%,85%{transform:none}to{transform:scale(1.3)}}.collection-screen .panel-box{margin-bottom:16px;padding:12px 16px 16px}.collection-screen .badge-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.collection-screen .badge-card{background:linear-gradient(135deg,#ffd23f24 0%,#0d1430cc 60%);border:1px solid #ffd23f66;border-radius:14px;grid-template-rows:auto auto;grid-template-columns:64px 1fr;align-items:center;gap:4px 12px;padding:10px;display:grid}.collection-screen .badge-medal{width:auto;height:auto;box-shadow:none;background:0 0;grid-row:span 2}.collection-screen .badge-medal .cup{width:60px;height:70px}.collection-screen .badge-title{text-align:left;font-family:var(--font-title);font-weight:800}.collection-screen .badge-team{flex-flow:wrap;align-items:center;gap:2px;display:flex}.collection-screen .badge-team .creature-icon{width:36px;height:36px}.collection-screen .badge-team .sprite-standin{width:26px;height:26px}.creature-tile.unlocked{border-color:var(--gold)}.creature-tile .unlocked-tag{color:#2a1a00;font-family:var(--font-title);text-transform:uppercase;background:var(--gold);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:800;position:absolute;top:10px;left:10px}.item-list{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px 12px;display:grid}.item-entry{align-items:center;gap:8px;font-size:14px;display:flex}.pvp-fields{align-items:center}.pvp-face .trainer-portrait{width:52px;height:52px}.hud .menu-move{background:var(--glass-sheen), linear-gradient(120deg, color-mix(in srgb, var(--move-colour,#23336e) 55%, transparent) 0%, color-mix(in srgb, var(--move-colour,#23336e) 20%, #141d5073) 60%, #141d5066 100%);border:1px solid color-mix(in srgb, var(--move-colour,#84aaff) 65%, #ffffff4d);text-shadow:none;box-shadow:inset 0 1px #ffffff4d,inset 0 -2px 5px #0000004d,0 2px 3px #00000040,0 8px 18px #0000004d}.hud .menu-move:hover:not(:disabled),.hud .menu-move:focus-visible{background:var(--glass-sheen), linear-gradient(120deg, color-mix(in srgb, var(--move-colour,#2f4592) 75%, transparent) 0%, color-mix(in srgb, var(--move-colour,#2f4592) 35%, #1d2b6b8c) 60%, #1d2b6b80 100%);border-color:var(--move-colour,var(--sky));box-shadow:inset 0 1px 0 #ffffff73, 0 0 0 2px color-mix(in srgb, var(--move-colour,#43d1ff) 55%, transparent), 0 0 20px color-mix(in srgb, var(--move-colour,#43d1ff) 45%, transparent), 0 12px 24px #00000059}.hud .menu-move .move-type{color:#10131f;box-shadow:0 0 10px color-mix(in srgb, var(--move-colour,#fff) 70%, transparent);border-radius:999px;padding:2px 9px;font-size:12px}.hud .menu-move .move-name{text-shadow:0 1px 2px #0009}.hud .banner.accented{border-left:6px solid var(--accent);background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);border-radius:6px;padding-left:12px}.hud .log li.accented{border-left:4px solid var(--accent);padding-left:6px}.hud .badge.substitute{color:#04203a;background:linear-gradient(90deg,#8fdcff,#43d1ff);box-shadow:0 0 8px #43d1ff99}.hud .overlay-host{z-index:6}.modal-body .report-note{color:var(--ink);font:inherit;border:1px solid var(--panel-edge);resize:vertical;background:#05081699;border-radius:10px;padding:10px 12px}.modal-body .game-button{align-self:flex-start}.prematch-screen .prematch-side{margin-bottom:10px;padding:10px 12px 12px}.prematch-screen .prematch-tiles .sprite-frame{aspect-ratio:auto;height:clamp(70px,15vh,150px);max-height:none}.prematch-screen .creature-tile{gap:4px;padding:5px}.prematch-screen .lineup-strip{margin-top:8px}.prematch-screen .prematch-actions{z-index:3;background:linear-gradient(180deg, transparent, var(--night) 35%);padding:10px 12px;position:sticky;bottom:0}.hud .menu-host{flex-wrap:wrap;align-content:flex-start;align-items:center;column-gap:10px;padding:8px 12px;display:flex}.hud .menu-host>.menu-title{flex:1;order:0;margin:0 0 6px}.hud .menu-host>.menu-actions{order:1;margin:0 0 6px}.hud .menu-host>.menu-moves,.hud .menu-host>.menu-team,.hud .menu-host>.menu-targets{flex-basis:100%;order:2}.hud .menu-move{padding:6px 12px}.hud .menu-move .move-details{font-size:12px}.hud .menu-host>.menu-actions button{padding:5px 14px}.hud .top-actions{gap:10px;display:flex}.tile-grid .show-more{grid-column:1/-1;justify-self:center}.hud .plate-name[role=button]{cursor:pointer}.hud .plate-name[role=button]:hover .plate-label,.hud .plate-name[role=button]:focus-visible .plate-label{text-underline-offset:3px;text-decoration:underline}.stat-head{grid-template-columns:140px 1fr;align-items:center;gap:14px;display:grid}.stat-info p{margin:3px 0}.stat-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.stat-table th,.stat-table td{text-align:right;border-bottom:1px solid #ffffff14;padding:5px 8px}.stat-table th:first-child,.stat-table td:first-child{text-align:left}.stat-table th{color:var(--ink-soft);font-family:var(--font-title);text-transform:uppercase;font-size:13px}.stat-table .stat-now{font-weight:800}.stat-table .stage-up td{color:var(--ok)}.stat-table .stage-down td{color:var(--rose)}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}.art{width:100%;height:100%;position:absolute;inset:0}.scene-screen{animation:screen-in .42s var(--ease) both;position:absolute;inset:0;overflow:hidden}.scene-screen>.scene-layer{box-sizing:border-box;pointer-events:none;padding:22px 28px;position:absolute;inset:0;overflow-y:auto}.scene-layer>*{pointer-events:auto}.scene-title{font-family:var(--font-title);letter-spacing:.03em;text-transform:uppercase;color:#fff;text-shadow:0 3px #00000073,0 0 24px #43d1ff73;margin:0;font-size:40px;font-style:italic;font-weight:800}.scene-back{position:absolute;bottom:22px;left:28px}.art-stars circle{animation:3.6s ease-in-out infinite twinkle}@keyframes twinkle{0%,to{opacity:.25}50%{opacity:1}}.art-drift{animation:70s linear infinite alternate drift}@keyframes drift{to{transform:translate(120px)}}.art-shimmer rect{animation:3.2s ease-in-out infinite shimmer}@keyframes shimmer{0%,to{opacity:.05}50%{opacity:.6}}.art-window{animation:5s ease-in-out infinite window}@keyframes window{0%,to{opacity:1}45%{opacity:.55}50%{opacity:1}}.art-flag{transform-box:fill-box;transform-origin:0;animation:1.6s ease-in-out infinite alternate flag}@keyframes flag{to{transform:skewY(-12deg)scaleX(.85)}}.art-pulse circle{transform-box:fill-box;transform-origin:50%;animation:2.4s ease-out infinite pulse}@keyframes pulse{0%{opacity:.9;transform:scale(.4)}to{opacity:0;transform:scale(3.2)}}.art-beam{transform-box:view-box;transform-origin:0 -188px;animation:7s ease-in-out infinite alternate beam}@keyframes beam{0%{opacity:.6;transform:rotate(-24deg)}to{opacity:1;transform:rotate(18deg)}}.art-breathe{animation:3.4s ease-in-out infinite breathe}@keyframes breathe{0%,to{opacity:.55}50%{opacity:1}}.art-sparkles circle{transform-box:fill-box;transform-origin:50%;animation:1.9s ease-in-out infinite sparkle}@keyframes sparkle{0%,to{opacity:.15;transform:scale(.6)}50%{opacity:1;transform:scale(1.5)}}.hub-spot{cursor:pointer;outline:none}.hub-drawing{transition:transform .22s var(--ease), filter .22s;transform-box:fill-box;transform-origin:bottom}.hub-spot:hover .hub-drawing,.hub-spot:focus-visible .hub-drawing,.hub-spot:focus .hub-drawing{filter:drop-shadow(0 0 18px #ffd678bf)}.hub-stadium-aura{opacity:0;transition:opacity .22s}.hub-plate{fill:#080c24c7;stroke:#ffd6788c;stroke-width:2px;transition:fill .2s}.hub-spot:hover .hub-plate,.hub-spot:focus .hub-stadium-aura{opacity:0;transition:opacity .22s}.hub-spot:hover .hub-stadium-aura,.hub-spot:focus .hub-stadium-aura{opacity:1}.hub-plate{fill:#281e0ae0;stroke:#ffd23f}.hub-name{fill:#fff;font-family:var(--font-title);letter-spacing:.04em;text-transform:uppercase;font-size:24px;font-style:italic;font-weight:800}.hub-legend{fill:#c9d6f5;font-family:var(--font-text);font-size:15px}.hub-badge{fill:#ffd23f;font-family:var(--font-title);text-transform:uppercase;font-size:16px;font-weight:800}.hub-spot.disabled{cursor:default;opacity:.45}.hub-city-aura{opacity:0;mix-blend-mode:screen;transition:opacity .26s}.hub-building:hover .hub-city-aura,.hub-building:focus .hub-city-aura{opacity:1}.hub-city-label{opacity:.88;transition:opacity .2s}.hub-building:hover .hub-city-label,.hub-building:focus .hub-city-label{opacity:1}.hub-building:hover .hub-plate,.hub-building:focus .hub-plate{opacity:1;fill:#281e0ae0;stroke:#ffd23f}.hub-running{max-width:420px}.title-screen{cursor:pointer;transition:opacity .35s, transform .35s var(--ease);background:#02040c;position:absolute;inset:0;overflow:hidden}.title-screen.leaving{opacity:0;transform:scale(1.04)}.title-backdrop,.title-demo{position:absolute;inset:0}.title-demo .hud{display:none}.title-demo .stage-battle{inset:0}.title-video{object-fit:cover;width:100%;height:100%}.title-veil{background:radial-gradient(70% 60% at 50% 45%,#0000 0%,#02040c8c 100%),linear-gradient(#02040c1a 0%,#02040cb3 100%);position:absolute;inset:0}.title-logo{text-align:center;animation:logo-in 1.1s var(--ease) both;position:absolute;top:18%;left:0;right:0}@keyframes logo-in{0%{opacity:0;transform:translateY(-30px)scale(.92)}}.title-name{font-family:var(--font-title);text-transform:uppercase;letter-spacing:.01em;background:linear-gradient(#fff 0%,#ffe28a 55%,#ff9f1c 100%);color:#0000;filter:drop-shadow(0 6px #5a2a00)drop-shadow(0 0 30px #ffbe508c);-webkit-background-clip:text;background-clip:text;font-size:clamp(42px,8vw,104px);font-style:italic;font-weight:900;line-height:.95}.title-tagline{font-family:var(--font-title);letter-spacing:.4em;text-transform:uppercase;color:#bfe8ff;text-shadow:0 0 18px #43d1ffb3;margin-top:12px;font-size:clamp(16px,2.4vw,28px);font-weight:700}.title-press{text-align:center;font-family:var(--font-title);letter-spacing:.2em;text-transform:uppercase;color:#fff;text-shadow:0 2px #0009;font-size:22px;font-weight:800;animation:1.4s ease-in-out infinite press;position:absolute;bottom:12%;left:0;right:0}@keyframes press{0%,to{opacity:.25}50%{opacity:1}}.weather>*{animation-timing-function:linear;animation-iteration-count:infinite}.wx-snow{animation-name:wx-fall}@keyframes wx-fall{0%{transform:translate(0)}50%{transform:translate(var(--sway), calc(var(--fall) / 2))}to{transform:translate(0, var(--fall))}}.wx-rain{animation-name:wx-rain}@keyframes wx-rain{to{transform:translate(-30px, var(--fall))}}.wx-flash{opacity:0;animation-name:wx-flash}.wx-bolt{opacity:0;animation-name:wx-bolt}@keyframes wx-flash{0%,60%,64%,to{opacity:0}61%{opacity:.35}62%{opacity:.05}63%{opacity:.25}}@keyframes wx-bolt{0%,60%,64%,to{opacity:0}61%,63%{opacity:1}}.wx-wind{opacity:0;animation-name:wx-wind;animation-timing-function:ease-in-out}@keyframes wx-wind{0%{transform:translateX(var(--start));opacity:0}20%,70%{opacity:.45}to{transform:translateX(var(--travel));opacity:0}}.wx-ember{animation-name:wx-rise;animation-timing-function:ease-out}.wx-bubble{animation-name:wx-rise;animation-timing-function:ease-in}@keyframes wx-rise{0%{opacity:0;transform:translate(0)}15%{opacity:1}50%{transform:translate(var(--sway), calc(var(--rise) / 2))}to{transform:translate(0, var(--rise));opacity:0}}.wx-mist{opacity:.22;animation-name:wx-drift;animation-timing-function:ease-in-out;animation-direction:alternate}@keyframes wx-drift{to{transform:translateX(var(--travel))}}.wx-cloud{animation-name:wx-drift}.art-lava{stroke-dasharray:60 10;filter:drop-shadow(0 0 6px #ff7a2b);animation:2.4s linear infinite lava}@keyframes lava{to{stroke-dashoffset:-140px}}.art-ray{animation:6s ease-in-out infinite shimmer}.art-sway{transform-box:fill-box;transform-origin:bottom;animation:4.5s ease-in-out infinite alternate sway}@keyframes sway{0%{transform:rotate(-2.5deg)}to{transform:rotate(2.5deg)}}.art-float{animation:6s ease-in-out infinite alternate float}@keyframes float{to{transform:translateY(-14px)}}.art-blink{animation:1.6s steps(2,jump-none) infinite blink}@keyframes blink{50%{opacity:.15}}.art-fall{animation:1.4s ease-in-out infinite shimmer}.art-wisps circle{filter:drop-shadow(0 0 10px #9dffd8);animation:7s ease-in-out infinite alternate wisp}@keyframes wisp{0%{opacity:.2;transform:translate(0)}50%{opacity:1}to{opacity:.3;transform:translate(60px,-50px)}}.art-banner{transform-box:fill-box;transform-origin:top;animation:2.2s ease-in-out infinite alternate sway}.art-aurora{animation:6s ease-in-out infinite breathe}.art-birds{animation:40s linear infinite alternate drift}.avatar{clip-path:circle(50%)}.trainer-portrait{width:56px;height:56px;box-shadow:0 0 0 3px var(--gold), 0 6px 16px #00000073;border-radius:50%;flex:none;display:inline-block}.trainer-portrait .avatar{width:100%;height:100%}.trail-road{fill:none;stroke:#ffffff59;stroke-width:10px;stroke-dasharray:2 22;stroke-linecap:round}.trail-walked{fill:none;stroke:var(--gold);stroke-width:9px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px;filter:drop-shadow(0 0 8px #ffd23fcc);animation:walk .7s var(--ease) forwards}@keyframes walk{to{stroke-dashoffset:0}}.trail-ring{fill:#0b1230;stroke:#ffffff8c;stroke-width:4px}.trail-shade{fill:#0000;pointer-events:none}.trail-next .trail-ring,.trail-boss .trail-ring{stroke:var(--gold);stroke-width:6px}.trail-next{filter:drop-shadow(0 0 14px #ffd23fcc)}.trail-ahead .trail-shade{fill:#0508168c}.trail-beaten .avatar{filter:saturate(.35)brightness(.8)}.trail-number{fill:#fff;font-family:var(--font-title);paint-order:stroke;stroke:#050816cc;stroke-width:6px;font-size:26px;font-weight:800}.trail-crown{filter:drop-shadow(0 0 8px #ffd23fe6)}.world-map{box-sizing:border-box;max-width:1240px;margin:0 auto}.world-map-head{flex-wrap:wrap;align-items:baseline;gap:18px;margin-bottom:16px;display:flex}.world-map-head .scene-title{font-size:36px}.world-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}@media (width<=820px){.world-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}.screen .world-card{aspect-ratio:16/8.5;text-align:left;text-transform:none;color:#fff;background:#0b1230;border:2px solid #ffffff2e;border-radius:18px;padding:0;position:relative;overflow:hidden;box-shadow:0 12px 30px #00000073}.screen .world-card:hover:not(:disabled),.screen .world-card:focus-visible{border-color:var(--gold);background:#0b1230;transform:translateY(-4px)scale(1.02);box-shadow:0 0 0 3px #ffd23f59,0 18px 40px #0000008c}.world-card .art{transition:transform .6s var(--ease)}.world-card:hover .art,.world-card:focus-visible .art{transform:scale(1.06)}.world-label{background:linear-gradient(#0000 0%,#050816e0 70%);flex-direction:column;gap:4px;padding:26px 14px 12px;display:flex;position:absolute;bottom:0;left:0;right:0}.world-name{font-family:var(--font-title);text-transform:uppercase;text-shadow:0 2px #00000080;font-size:19px;font-style:italic;font-weight:800}.world-status{font-family:var(--font-text);letter-spacing:.02em;color:var(--ink-soft);align-items:center;gap:6px;font-size:13px;font-weight:700;display:flex}.world-status .icon{width:16px;height:16px}.world-card.cleared .world-status{color:var(--gold)}.world-card.running .world-status{color:var(--sky)}.world-elite{aspect-ratio:32/9;grid-column:1/-1;border-color:var(--gold)!important}button>.icon{vertical-align:-3px;stroke-width:2.6px;width:18px;height:18px;margin-right:8px}.course-view .course-info{max-width:460px;margin-top:10px;padding:12px 16px}.course-info p{margin:4px 0}.course-cleared{color:var(--gold);font-weight:700}.course-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;max-width:70%;display:flex;position:absolute;bottom:22px;right:28px}.course-actions .hint{text-align:right;text-shadow:0 1px 2px #000;flex-basis:100%;margin:0}.scene-layer .course-fight{align-items:center;gap:12px;padding:6px 20px 6px 6px;font-size:16px;display:inline-flex}.course-fight .trainer-portrait{width:46px;height:46px;box-shadow:0 0 0 3px #fff}.stadium-spot{fill:#fff6d8;filter:drop-shadow(0 0 1.5px #ffd1f0);animation:2.4s ease-in-out infinite spot}.stadium-lamp{fill:#ffe0a0}.stadium-flash{fill:#fff;opacity:0;animation:3s step-end infinite flash}@keyframes flash{0%,92%{opacity:0}93%{opacity:1}96%{opacity:.3}}.stadium-screen .cup-list{flex-direction:column;gap:14px;width:min(520px,46%);display:flex;position:absolute;top:50%;right:4%;transform:translateY(-50%)}.cup-card{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:linear-gradient(90deg,#1a0a30e0 0%,#0d1430c7 100%);border:1px solid #ffb4e64d;border-radius:18px;align-items:center;gap:10px;padding:8px 14px 8px 8px;display:flex;box-shadow:0 10px 30px #0006}.cup-card.conquered{border-color:var(--gold)}.scene-layer .cup-main{text-align:left;text-transform:none;color:var(--ink);box-shadow:none;background:0 0;flex:1;align-items:center;gap:12px;padding:0;display:flex}.scene-layer .cup-main:hover:not(:disabled),.scene-layer .cup-main:focus-visible{box-shadow:none;background:0 0;transform:translate(4px)}.cup{filter:drop-shadow(0 6px 10px #00000073);width:74px;height:86px;transition:transform .3s var(--ease);flex:none}.cup-main:hover .cup,.cup-main:focus-visible .cup{transform:rotate(-6deg)scale(1.08)}.cup-shine{animation:2.6s ease-in-out infinite breathe}.cup-label{flex-direction:column;gap:2px;display:flex}.cup-name{font-family:var(--font-title);text-transform:uppercase;font-size:21px;font-style:italic;font-weight:800}.cup-rules{font-family:var(--font-text);letter-spacing:0;color:var(--ink-soft);font-size:13px;font-weight:600}.cup-status{font-family:var(--font-text);letter-spacing:0;color:#ffb3e0;font-size:13px;font-weight:700}.conquered .cup-status{color:var(--gold)}.cup-rounds{gap:6px;display:flex}.scene-layer .cup-round{color:#ffffff73;width:34px;height:34px;box-shadow:none;background:#ffffff14;border:1px solid #ffffff2e;border-radius:50%;place-items:center;padding:0;display:grid}.cup-round .icon{width:18px;height:18px;margin:0}.scene-layer .cup-round.won{color:#5a3a00;background:radial-gradient(circle at 35% 30%, #fff1a6 0%, var(--gold) 55%, var(--gold-deep) 100%);border-color:#fff1a6;box-shadow:0 0 12px #ffd23fb3}.scene-layer .cup-round.next{color:#fff;border-color:var(--gold);animation:1.6s ease-in-out infinite round-glow}@keyframes round-glow{50%{box-shadow:0 0 0 4px #ffd23f59}}@media (width<=820px){.stadium-screen .cup-list{width:auto;margin-top:16px;position:static;transform:none}}.art-crystal{filter:drop-shadow(0 0 10px #aa8cffcc);animation:3.2s ease-in-out infinite breathe}.place-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-top:12px;display:grid}.screen .place-card{aspect-ratio:4/3}.place-creature{aspect-ratio:1;border-radius:50%;width:38%;position:absolute;bottom:24%;left:50%;transform:translate(-50%);box-shadow:0 0 0 4px #ffffffbf,0 10px 24px #0000008c}.encounter-thumb{border-radius:12px;height:150px;margin:8px 0;position:relative;overflow:hidden}.encounter-thumb .place-creature{width:96px;bottom:10px}.stadium-scene{background:linear-gradient(#12052a 0%,#2a0b3f 60%,#4a1350 100%);position:absolute;inset:0;overflow:hidden}.stadium-backdrop{object-fit:cover;opacity:.55;filter:blur(26px);width:calc(100% + 80px);height:calc(100% + 80px);position:absolute;inset:-40px}.stadium-shade{background:#08041873;position:absolute;inset:0}.stadium-halo{background:radial-gradient(closest-side,#ff78c88c 0%,#ff5aaa26 60%,#0000 100%);width:52vw;height:90vh;animation:3.4s ease-in-out infinite breathe;position:absolute;top:50%;left:5%;transform:translate(-12%,-50%)}.stadium-photo{aspect-ratio:640/577;border:3px solid #ffd6f08c;border-radius:28px;height:84%;position:absolute;top:50%;left:5.6%;overflow:hidden;transform:translateY(-50%);box-shadow:0 20px 60px #00000080}.stadium-drift{will-change:transform;animation:50s ease-in-out infinite alternate stadium-drift;position:absolute;inset:0}@keyframes stadium-drift{0%{transform:scale(1.16)translate(-1.6%,1%)}to{transform:scale(1.24)translate(1.6%,-1.2%)}}.stadium-image,.stadium-lights{width:100%;height:100%;position:absolute;inset:0}.stadium-image{object-fit:cover}.stadium-lamp{animation-timing-function:ease-in-out}
