.squad-card.battle-draft-card{aspect-ratio:2/3;background-image:url(/assets/ui/battle-selection-card.webp);background-size:136.6% 111.3%;background-position:50% 50%;border-radius:10%;container-type:inline-size}.battle-draft-card .draft-class-crest{position:absolute;left:38%;top:3.5%;width:24%;height:14%;display:grid;place-items:center;mix-blend-mode:multiply}.draft-class-crest svg{display:block;width:100%;height:100%;overflow:hidden}.squad-card.battle-draft-card .portrait{left:18%;top:24%;width:64%;height:32%}.squad-card.battle-draft-card .portrait img{width:100%;height:100%;object-fit:contain}.squad-card.battle-draft-card .card-details{inset:59% 7% 12%;gap:4px}.squad-card.battle-draft-card .card-label{font-size:clamp(12px,13cqw,22px);line-height:1.1;white-space:nowrap}.squad-card.battle-draft-card .card-type{font-size:clamp(10px,9cqw,15px);line-height:1.2}.battle-card-meta{display:flex;justify-content:center;gap:7px;font:700 clamp(9px,8cqw,13px)/1.2 var(--font);color:var(--card-type-ink)}.squad-card.battle-draft-card .card-count{font:inherit}.squad-card.battle-draft-card.facedown .draft-class-crest,.squad-card.battle-draft-card.facedown .portrait,.squad-card.battle-draft-card.facedown .card-details{visibility:hidden}.squad-card.battle-draft-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.squad-card.battle-draft-card .card-label{text-transform:capitalize}:root{--battle-count-fill: #dba85f;--battle-count-ink: #613716}.squad-card.battle-draft-card .card-type{font-size:clamp(9px,8cqw,13px);line-height:1.15;font-weight:700}.battle-card-meta{width:84%;display:block;margin-top:2px;padding:4px 2px;background:var(--battle-count-fill);color:var(--battle-count-ink);border-radius:5px;clip-path:polygon(6% 0,94% 0,100% 22%,100% 78%,94% 100%,6% 100%,0 78%,0 22%);font:900 clamp(10px,10cqw,16px)/1.1 var(--font)}.squad-card.battle-draft-card .card-count{text-transform:capitalize}#panel.drafting .sheet.comeback-sheet{position:relative;isolation:isolate;overflow:visible;padding:22px 12px 26px}.comeback-sheet:before,.comeback-sheet:after{content:"";position:absolute;inset:0 -18px;z-index:-2;pointer-events:none;clip-path:polygon(0 3%,3% 0,6% 3%,9% 0,12% 3%,15% 0,18% 3%,21% 0,24% 3%,27% 0,30% 3%,33% 0,36% 3%,39% 0,42% 3%,45% 0,48% 3%,51% 0,54% 3%,57% 0,60% 3%,63% 0,66% 3%,69% 0,72% 3%,75% 0,78% 3%,81% 0,84% 3%,87% 0,90% 3%,93% 0,96% 3%,100% 0,100% 97%,97% 100%,94% 97%,91% 100%,88% 97%,85% 100%,82% 97%,79% 100%,76% 97%,73% 100%,70% 97%,67% 100%,64% 97%,61% 100%,58% 97%,55% 100%,52% 97%,49% 100%,46% 97%,43% 100%,40% 97%,37% 100%,34% 97%,31% 100%,28% 97%,25% 100%,22% 97%,19% 100%,16% 97%,13% 100%,10% 97%,7% 100%,4% 97%,0 100%);background:#1f4f95}.comeback-sheet:after{inset:4px -18px;z-index:-1;background:linear-gradient(180deg,#5da6ee,#3a7fd8 48%,#2c66bc)}.comeback-sheet .draft-turn{position:relative;margin-top:-36px;margin-bottom:12px;align-self:center;padding:7px 24px;background:linear-gradient(#6aaef0,#3f86dc);border:2px solid #1f4f95;box-shadow:0 3px #24579766;clip-path:polygon(0 0,100% 0,97% 50%,100% 100%,0 100%,3% 50%);color:#fff;text-shadow:0 2px 2px #173c70}.comeback-sheet .draft-turn .comeback-title{color:#fff}.comeback-sheet .draft-turn small{color:#eff9ff}@media(max-width:480px){#panel.drafting .sheet.comeback-sheet{padding:18px 6px 22px}.comeback-sheet:before,.comeback-sheet:after{left:-8px;right:-8px}.comeback-sheet .draft-turn{padding:6px 18px}}.wallet-axie-img{transform:translateY(6%) scale(1.7);transform-origin:49% 44%}.opponent-deck-button{position:absolute;right:9px;top:calc(132px + env(safe-area-inset-top));z-index:25;width:48px;height:48px;padding:4px;background:transparent;border:0;border-radius:0;box-shadow:none}.opponent-deck-button img{width:100%;height:100%;object-fit:contain}.opponent-deck-button span{position:absolute;left:50%;bottom:-2px;transform:translate(-50%);padding:1px 6px;border:2px solid #4a2a14;border-radius:8px;background:linear-gradient(#ffe27a,#ffb21a);font:900 9px/1.2 var(--font);color:#4a2e00;letter-spacing:.04em}.opponent-deck-button:active{transform:scale(.94)}.opponent-deck-button[hidden]{display:none}.scout-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px 0 22px}.scout-grid .squad-card{width:100%;min-width:0;container-type:inline-size}.scout-grid .card-label{font-size:clamp(8px,12cqw,14px)}.scout-grid .card-type{font-size:clamp(7px,8cqw,10px)}.scout-level{position:absolute;bottom:-18px;left:0;right:0;text-align:center;font-size:11px;color:#fff}.opponent-deck-dialog form{position:absolute;top:-16px;right:-12px;margin:0}.opponent-deck-dialog .unit-detail-panel>h3{text-align:left;font-size:22px;padding-right:15px}.opponent-deck-dialog .unit-detail-panel>p{font-size:13px}.public-profile-dialog{width:min(510px,calc(100vw - 28px));overflow:visible;border-radius:8px}.public-profile-content{max-height:calc(85dvh - 44px);overflow:auto;scrollbar-width:none;padding:8px 0}.public-player-heading{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:16px}.public-player-avatar{width:84px;height:84px;border-radius:50%;object-fit:cover;border:3px solid #ffdf83;background:#12345b}.public-player-heading h2{margin:0;padding:0 8px;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;font:400 24px/1.3 var(--font-battle);color:#fff}.public-player-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.public-player-records>span{display:grid;grid-template-columns:28px auto;justify-content:center;align-items:center;gap:6px;background:#092c59;border-radius:8px;padding:10px}.public-player-records img{width:28px;height:28px;object-fit:contain}.public-player-records strong{color:#ffe08a}.public-player-records small{grid-column:1/-1;font:12px/1.3 Arial,sans-serif;text-align:center;color:#d3e5ff}.public-profile-content h3{font:400 18px var(--font-battle);margin:0 0 6px}.public-player-note{font:12px/1.4 Arial,sans-serif;color:#b9d4ed;margin:8px 0 0}.public-empty-slot{display:grid;place-items:center;min-width:0;aspect-ratio:2/3;background:#092c59;border:1px dashed #4778ac;border-radius:8px;color:#a9c8e8;font:12px Arial,sans-serif}.public-player-deck .squad-card{pointer-events:none}.public-player-deck .scout-level{font:11px Arial,sans-serif}.leaderboard-row[role=button],.leaderboard-podium-card[role=button]{cursor:pointer}.leaderboard-row[role=button]:focus-visible,.leaderboard-podium-card[role=button]:focus-visible{outline:2px solid #fff0b6;outline-offset:3px}.leaderboard-name,.leaderboard-podium-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leaderboard-dialog{width:min(510px,calc(100vw - 28px));overflow:visible;border-radius:8px}.leaderboard-content{max-height:calc(85dvh - 44px);overflow:auto;scrollbar-width:none;display:flex;flex-direction:column;gap:12px}.leaderboard-content>*{flex-shrink:0}.leaderboard-content h2{margin:0;text-align:left;font:400 clamp(17px,5.4vw,25px) var(--font-battle);padding-right:34px}.leaderboard-content p{margin:0;font:400 14px/1.4 var(--font-battle);color:#d3e5ff;letter-spacing:.02em}.leaderboard-row{display:grid;grid-template-columns:34px 36px minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:9px 10px;background:linear-gradient(180deg,#11549f,#0a3272);border:2px solid #2e63a8;border-radius:10px;margin-bottom:6px;font:400 13px/1.3 var(--font-battle);box-shadow:0 2px #061c3f}.leaderboard-row img{width:36px;height:36px;object-fit:contain}.leaderboard-name{overflow-wrap:anywhere;color:#fff}.leaderboard-rank,.leaderboard-row strong{color:#fff;font-weight:700}.leaderboard-trophy{width:20px;height:20px;object-fit:contain}.leaderboard-row.is-you{background:#ffd21f;border-color:#b98a00;box-shadow:0 2px #9c7300}.leaderboard-row.is-you .leaderboard-rank,.leaderboard-row.is-you .leaderboard-name,.leaderboard-row.is-you strong{color:#143a75}.leaderboard-self{position:sticky;bottom:0;background:#0b3a75;padding-top:5px}.leaderboard-self p{margin-bottom:5px}.leaderboard-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;align-items:start;margin:0 0 18px;padding-bottom:12px}.leaderboard-podium-card{position:relative;min-width:0;aspect-ratio:1;filter:drop-shadow(0 3px 2px #041b4580)}.leaderboard-podium-card[data-place="2"]{grid-column:1}.leaderboard-podium-card[data-place="1"]{grid-column:2}.leaderboard-podium-card[data-place="3"]{grid-column:3}.leaderboard-podium-card.empty{visibility:hidden}.leaderboard-podium-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.leaderboard-podium-avatar{position:absolute;top:10%;left:50%;transform:translate(-50%);width:27%;aspect-ratio:1;object-fit:cover;border-radius:50%;background:#16325c;border:2px solid #13284e;box-shadow:0 1px #ffffff80}.leaderboard-podium-name{position:absolute;top:40%;left:7%;right:7%;text-align:center;color:#fff;font:400 clamp(9px,2.7vw,13px)/1.3 var(--font-battle);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-text-stroke:2px #18324b;paint-order:stroke fill;text-shadow:0 1px #18324b}.leaderboard-podium-score{position:absolute;top:57%;left:3%;right:3%;display:flex;justify-content:center;align-items:center;gap:3px;color:#fff;font:400 clamp(10px,2.8vw,14px)/1 var(--font-battle);-webkit-text-stroke:2px #18324b;paint-order:stroke fill}.leaderboard-podium-score .leaderboard-trophy{width:18px;height:18px;object-fit:contain;flex:none}.leaderboard-podium-medal{position:absolute;bottom:-5%;left:50%;transform:translate(-50%);width:30%;height:auto;object-fit:contain;filter:drop-shadow(0 2px 1px #041b4580)}.leaderboard-row .leaderboard-trophy{width:22px;height:22px}@media(max-width:360px){.leaderboard-row{grid-template-columns:25px 30px minmax(0,1fr) 18px auto;gap:5px;padding:8px 6px;font-size:11px}.leaderboard-row>img{width:30px;height:30px}.leaderboard-row .leaderboard-trophy{width:18px;height:18px}.leaderboard-podium-score .leaderboard-trophy{width:15px;height:15px}}.leaderboard-dialog .leaderboard-refresh{align-self:center;width:160px;min-height:0;aspect-ratio:3/1;padding:7px;background:transparent url(/assets/ui/pve-button-green.webp) center/contain no-repeat;color:#fff;text-shadow:0 2px #173765;font:400 14px var(--font-battle);box-shadow:none;border:0}#screen-menu .menu-leaderboard{position:absolute;right:14px;top:calc(162px + env(safe-area-inset-top));z-index:5;width:44px;height:44px;min-height:44px;padding:0;border:0;background:none;box-shadow:none}.menu-leaderboard img{width:56px;height:56px;max-width:none;object-fit:contain;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}@media(max-height:600px){#screen-menu .menu-leaderboard{top:calc(130px + env(safe-area-inset-top))}}.leaderboard-row .leaderboard-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leaderboard-row>img:not(.leaderboard-trophy){border-radius:50%;object-fit:cover}.leaderboard-row.is-unranked{grid-template-columns:66px 30px minmax(0,1fr) 20px auto;gap:6px}.leaderboard-row.is-unranked .leaderboard-rank{font-size:10px;white-space:nowrap}.feedback-form{display:flex;flex-direction:column;gap:8px}.feedback [hidden]{display:none}.feedback .feedback-label{margin:0;font:400 13px/1.3 var(--font-battle);color:#d3e5ff}.feedback-chips{display:flex;flex-wrap:wrap;gap:6px}.feedback .feedback-chip,.feedback .feedback-reply{min-height:44px;height:auto;white-space:normal;padding:6px 12px;font:400 13px/1.2 var(--font-battle);color:#fff;background:#0a3272;border:2px solid #2e63a8;border-radius:10px;box-shadow:none;text-shadow:none;cursor:pointer}.feedback .feedback-chip[aria-pressed=true]{background:#2e8fe0;border-color:#9fd2ff}.feedback textarea,.feedback select,.feedback-contact{width:100%;min-height:44px;padding:8px 10px;font:400 16px/1.35 system-ui,sans-serif;color:#fff;background:#07224f;border:2px solid #2e63a8;border-radius:10px}.feedback textarea::placeholder,.feedback-contact::placeholder{color:#8fa9d6}.feedback textarea{resize:vertical}.feedback .feedback-reply{align-self:flex-start;background:none;border-style:dashed;color:#d3e5ff}.feedback .feedback-status{min-height:1.4em;margin:0;font-size:13px}.feedback .feedback-status.is-error{color:#ffb0b5}.feedback .feedback-status.is-ok{color:#9fffc0}.feedback-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:4px}.feedback .feedback-send:disabled{opacity:.6}#screen-menu .menu-feedback{position:absolute;right:14px;top:calc(274px + env(safe-area-inset-top));z-index:5;width:44px;height:44px;min-height:44px;padding:0;border:0;background:none;box-shadow:none;transform-origin:top right}#screen-menu .menu-feedback:hover{filter:brightness(1.15)}@media(max-height:600px){#screen-menu .menu-feedback{top:calc(242px + env(safe-area-inset-top))}}@media(max-width:364px){#screen-menu .menu-feedback{transform:scale(.82)}}@media(min-width:365px)and (max-width:394px){#screen-menu .menu-feedback{transform:scale(.88)}}@media(min-width:395px)and (max-width:419px){#screen-menu .menu-feedback{transform:scale(.92)}}@media(min-width:420px)and (max-width:479px){#screen-menu .menu-feedback{transform:scale(.95)}}.feedback-dialog .leaderboard-content{padding-inline:4px;overflow-x:hidden}.feedback-dialog .feedback,.feedback-dialog .feedback-form{min-width:0;max-width:100%}.feedback :is(textarea,select,input,button):focus-visible,.feedback :is(textarea,select,input):focus{outline:3px solid #ffe9a8;outline-offset:-3px}.feedback :is(textarea,select,input,button){box-sizing:border-box;max-width:100%}.feedback .feedback-actions button{flex:0 0 auto;width:128px;height:52px;min-height:52px;padding:0 0 3px;border:0;border-radius:0;box-shadow:none;background:transparent center / 100% 100% no-repeat;font:400 15px var(--font-battle);color:#fff}.feedback .feedback-actions .feedback-send{background-image:url(/assets/ui/pve-button-blue.webp);text-shadow:0 2px 0 #123a78}.feedback .feedback-actions button:focus-visible{outline:3px solid #ffe9a8;outline-offset:0;border-radius:12px}.feedback-dialog .leaderboard-content>p{padding-right:40px}.feedback .feedback-actions .feedback-send{background-size:111.5% 136.4%;background-position:center calc(50% + 1px)}.feedback .feedback-send.is-loading,.feedback .feedback-send.is-loading:disabled{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 14px 3px 16px;font-size:12px;opacity:1;filter:none;cursor:progress}.feedback .feedback-send.is-loading:before{content:"";flex:none;width:14px;height:14px;border:3px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:feedback-spin .8s linear infinite}@keyframes feedback-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.feedback .feedback-send.is-loading:before{animation-duration:2.4s}}#screen-menu .menu-missions{position:absolute;right:14px;top:calc(218px + env(safe-area-inset-top));z-index:5;width:44px;height:44px;min-height:44px;padding:0;border:0;background:none;box-shadow:none;transform-origin:top right}#screen-menu .menu-missions img,#screen-menu .menu-feedback img{position:absolute;left:50%;top:50%;width:48px;height:48px;max-width:none;object-fit:contain;transform:translate(-50%,-50%);pointer-events:none}#screen-menu .menu-missions:hover{filter:brightness(1.15)}.menu-badge{position:absolute;top:-2px;right:-4px;width:22px;height:22px;display:grid;place-items:center;border:2px solid #0e5a1c;border-radius:6px;background:linear-gradient(#6df05f,#2fb83a);color:#fff;font:700 14px/1 var(--font-battle);text-shadow:0 1px 0 #0e5a1c;animation:menu-badge-pop 1.6s ease-in-out infinite;pointer-events:none}.menu-badge[hidden]{display:none}@keyframes menu-badge-pop{50%{transform:scale(1.12)}}@media(prefers-reduced-motion:reduce){.menu-badge{animation:none}}@media(max-height:600px){#screen-menu .menu-missions{top:calc(186px + env(safe-area-inset-top))}}@media(max-width:364px){#screen-menu .menu-missions{transform:scale(.82)}}@media(min-width:365px)and (max-width:394px){#screen-menu .menu-missions{transform:scale(.88)}}@media(min-width:395px)and (max-width:419px){#screen-menu .menu-missions{transform:scale(.92)}}@media(min-width:420px)and (max-width:479px){#screen-menu .menu-missions{transform:scale(.95)}}.account-dialog{width:min(440px,calc(100vw - 28px));max-height:88dvh;padding:22px;background:linear-gradient(#493263,#2b1d43);color:#fff1d2;border:2px solid #b68a4e;border-radius:15px;z-index:250;overflow-y:auto}.account-dialog.account-linking:not(.account-entry){position:fixed;inset:0;margin:auto;height:fit-content;box-shadow:0 0 0 100vmax #100a20cf}.account-dialog::backdrop{background:#100a20cf}.account-content{display:flex;flex-direction:column;gap:12px;position:relative}.account-content h2,.account-content h3{margin:0;text-align:left;font-family:var(--font-battle);font-weight:400}.account-content h2{font-size:26px;padding-inline:16px}.account-content p{font-size:13px;line-height:1.5;margin:0}.account-content form{display:flex;flex-direction:column;gap:12px}.account-content label{display:flex;flex-direction:column;gap:5px;font-size:13px}.account-content input{width:100%;padding:12px;border:1px solid #af936f;border-radius:7px;background:#21162f;color:#fff;font-size:16px;-webkit-user-select:text;user-select:text}.account-content button{min-height:44px;font-size:14px;white-space:normal}.account-content .account-close{position:absolute;right:-12px;top:-12px;width:40px;height:40px;padding:0;background:none;border:0;min-height:0;z-index:1}.account-close img{width:100%;height:100%;object-fit:contain}.account-avatars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;max-height:155px;overflow:auto;grid-auto-rows:max-content}.account-avatars button{padding:0;background:none;border:2px solid transparent;border-radius:0;min-height:0;box-shadow:none}.account-avatars img{width:100%;display:block}.account-avatars [aria-pressed=true]{border-color:#9de666}.account-status{color:#ffda9d;min-height:1.4em}.account-dialog .account-avatars button{display:block;min-width:0;min-height:0;width:100%;aspect-ratio:1;padding:0;background:none;border:2px solid transparent;border-radius:0;box-shadow:none}.account-dialog .account-avatars button[aria-pressed=true]{position:relative;border-color:#9de666;border-radius:50%;box-shadow:0 0 8px #9de666aa}.account-dialog .account-avatars button[aria-pressed=true]:after{content:"✓";position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;background:#4fae2b;border:2px solid #fff;color:#fff;font:800 10px/12px var(--font);text-align:center}.account-dialog .account-avatars img{width:100%;height:100%;object-fit:contain;min-width:0}.account-dialog .account-content>.account-close{min-width:0;background:none;padding:0;box-shadow:none}.account-dialog:not(.account-entry){width:min(480px,calc(100vw - 28px));padding:20px;overflow:visible;border-radius:8px;background:#0b3a75;border:2px solid #0a2c58;color:#fff;box-shadow:0 12px 32px #000000b3,inset 0 2px #2a63a8,inset 0 -3px #06234a}.account-dialog:not(.account-entry) .account-content{max-height:calc(85dvh - 44px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.account-dialog>.account-close{position:absolute;top:-16px;right:-12px;z-index:3;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent url(/assets/ui/close.webp) center/160% 160% no-repeat;box-shadow:none}.account-dialog>.account-close img{display:none}.account-dialog>.account-close:focus-visible{outline:2px solid #fff0b6;outline-offset:2px}.account-dialog:not(.account-entry) .account-content.has-footer{overflow:hidden}.account-content.has-footer .account-scroll{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.account-content.has-footer .account-footer{flex:0 0 auto}.account-dialog:not(.account-entry) .account-content input{box-sizing:border-box;background:#0a2c58;border-color:#2a63a8}.account-dialog:not(.account-entry) .account-content>button,.account-dialog:not(.account-entry) .account-content form>button{align-self:center;width:100%;max-width:210px;min-height:0;aspect-ratio:3/1;padding:7px 10px;border:0;background:transparent url(/assets/ui/pve-button-green.webp) center/contain no-repeat;box-shadow:none;color:#fff2dc;text-shadow:0 2px 0 #173765;font:400 14px/1.1 var(--font-battle)}.account-content form[data-account-form=ign]{align-items:flex-start}.account-dialog:not(.account-entry) .account-content form[data-account-form=ign]>button{align-self:flex-start;width:auto;min-width:170px}.account-break{width:100%;border:0;border-top:2px solid #b68a4e66;margin:14px 0 10px}.account-dialog:not(.account-entry) .account-content .account-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}.account-dialog:not(.account-entry) .account-content .account-actions>button{flex:1;width:auto;max-width:none;min-width:0;aspect-ratio:auto;background:transparent url(/assets/ui/pve-button-yellow.webp?v=2) center/112% 137% no-repeat;color:#4a2e00;text-shadow:0 1px 0 #c79a12}.account-dialog:not(.account-entry) .account-content .account-actions>button[data-account=logout-confirm],.account-dialog:not(.account-entry) .account-content .account-actions>button[data-account=logout]{background-image:url(/assets/ui/pve-button-red.webp);color:#fff2d3;text-shadow:0 2px 0 #641c30}.account-dialog .account-signup-prompt{text-align:center;font:14px/1.5 Trebuchet MS,Arial,sans-serif;color:#d3e5ff}.account-dialog .account-signup-prompt .account-text-link{display:inline;min-width:0;min-height:0;width:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-shadow:none;color:#ffe08a;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.account-dialog .account-signup-prompt .account-text-link:focus-visible{outline:2px solid #fff0b6;outline-offset:3px}.account-dialog:not(.account-entry) .account-content .account-actions>button{flex:0 0 calc(50% - 5px);min-height:0;aspect-ratio:3/1;padding:7px 8px;border:0;border-radius:0;background-size:contain;font:400 13px/1.1 var(--font-battle);letter-spacing:0;display:flex;align-items:center;justify-content:center;box-shadow:none}.account-dialog:not(.account-entry) .account-content form[data-account-form=ign]{align-items:flex-start}.account-dialog:not(.account-entry) .account-content form[data-account-form=ign]>label{width:100%}.account-dialog:not(.account-entry) .account-content form[data-account-form=ign]>button{flex:0 0 auto;align-self:flex-start;display:block;width:170px;max-width:100%;min-width:0;margin:0 auto 0 0;border-radius:0;background-position:left center}.account-dialog:not(.account-entry) .account-content .account-actions>button{aspect-ratio:3.3/1}.account-dialog:not(.account-entry) .account-content .account-actions>button[data-account=logout-confirm],.account-dialog:not(.account-entry) .account-content .account-actions>button[data-account=logout]{background-image:url(/assets/ui/pve-button-red.webp?v=2);color:#fff2d3;text-shadow:0 2px 0 #641c30}.account-wallet{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 6px}.account-wallet button{flex:0 0 auto;width:130px}.account-wallet-linked{flex-direction:column;align-items:flex-start;gap:6px}.account-wallet-label{font-size:13px}.account-wallet-address{max-width:100%;font-size:13px;color:#cfe2ff;letter-spacing:.3px;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.account-dialog:not(.account-entry) .account-content .account-wallet-linked>button{align-self:flex-start;width:auto;min-width:170px;max-width:210px;min-height:0;aspect-ratio:3/1;margin:4px 0 0;padding:7px 10px;border:0;background:transparent url(/assets/ui/pve-button-green.webp) center/contain no-repeat;box-shadow:none;color:#fff2dc;text-shadow:0 2px 0 #173765;font:400 14px/1.1 var(--font-battle)}.account-dialog:not(.account-entry) .account-content .account-wallet-linked>button{background-image:url(/assets/ui/pve-button-red.webp?v=2);color:#fff2d3;text-shadow:0 2px 0 #641c30}.account-oauth-label{margin:4px 0 0;font-size:13px;color:#cfe2ff}.account-dialog .account-content .account-oauth>button.oauth-logo,.account-dialog:not(.account-entry) .account-content .account-oauth>button.oauth-logo{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:56px;height:56px;min-height:0;aspect-ratio:auto;padding:0;border:2px solid #0a2c58;border-radius:12px;background:#fff;background-image:none;box-shadow:0 3px #0a2c58;color:inherit;text-shadow:none}.account-dialog .account-content .account-oauth>button.oauth-logo[data-provider=skymavis],.account-dialog:not(.account-entry) .account-content .account-oauth>button.oauth-logo[data-provider=skymavis]{background:#14214a}.account-dialog .account-content .account-oauth>button.oauth-logo img,.account-dialog:not(.account-entry) .account-content .account-oauth>button.oauth-logo img{height:30px;width:auto;max-width:38px;object-fit:contain;pointer-events:none}.account-dialog .account-content .account-oauth>button.oauth-logo:active,.account-dialog:not(.account-entry) .account-content .account-oauth>button.oauth-logo:active{transform:translateY(2px);box-shadow:0 1px #0a2c58}.account-dialog .account-content .account-oauth>button.oauth-logo:focus-visible,.account-dialog:not(.account-entry) .account-content .account-oauth>button.oauth-logo:focus-visible{outline:3px solid #fff0b6;outline-offset:2px}.account-dialog .account-content .account-oauth{flex-wrap:nowrap;justify-content:center;gap:10px}.account-or{display:flex;align-items:center;gap:12px;margin:4px 0;font-size:13px;color:#cfe2ff}.account-or:before,.account-or:after{content:"";flex:1;height:1px;background:currentColor;opacity:.55}.account-oauth-label{display:flex;align-items:center;gap:8px}.account-dialog .account-content button.account-info{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;color:#cfe2ff;cursor:pointer}.account-info svg{width:100%;height:100%;pointer-events:none}.account-dialog .account-content button.account-info[aria-expanded=true]{color:#fff0b6}.account-info-text{position:relative;margin:2px 0 4px;padding:8px 10px;border:1px solid #2a63a8;border-radius:8px;background:#06234a;color:#fff;font-size:12px;line-height:1.4}.account-info-text:before{content:"";position:absolute;top:-6px;left:120px;width:10px;height:10px;border-left:1px solid #2a63a8;border-top:1px solid #2a63a8;background:#06234a;transform:rotate(45deg)}.account-dialog.account-entry{position:fixed;inset:auto 0 max(7dvh,24px);width:min(330px,calc(100vw - 42px));margin:0 auto;background:none;border:0;box-shadow:none;padding:4px;overflow:visible}.account-entry::backdrop{background:transparent}.account-entry .account-content{gap:12px}.account-entry h2{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.account-entry .account-content>button{display:flex;align-items:center;justify-content:center;align-self:center;width:min(240px,100%);min-height:46px;border:2px solid #1c1723;border-radius:9px;background:#fffef6;box-shadow:0 4px #1c1723;color:#201a26;text-shadow:none;font:800 13px/1.2 var(--font);padding:10px 14px}.account-entry .account-content>p{text-align:center;color:#fff;text-shadow:0 1px 3px #171123;font-size:12px}.account-entry .account-status:empty{display:none}@media(max-height:550px){.account-dialog.account-entry{bottom:15px}.account-entry .account-content{gap:8px}.account-entry .account-content>button{width:min(214px,100%)}.account-entry .account-content>p{font-size:11px}}.account-entry button{outline:none;-webkit-tap-highlight-color:transparent}.account-entry button:focus:not(:focus-visible){outline:none}.account-entry button:focus-visible{outline:none}.account-entry .account-content>button.ghost-btn{aspect-ratio:1;width:64px;min-height:0;margin:0 auto;padding:8px;border-radius:16px;background:#22304e;border-color:#1c1723}.account-entry .account-content>button.ghost-btn:before{display:none}.account-entry .account-content>button.ghost-btn img{width:100%;height:100%;object-fit:contain;display:block}.account-entry .account-content>button:before{content:"";flex:none;width:22px;height:22px;margin-right:8px;background:url(/assets/ui/ghost.svg?v=2) center / contain no-repeat}.account-entry .account-content>button.ghost-btn{width:auto;aspect-ratio:auto;padding:10px 14px}.account-entry .account-content>button.ghost-btn img{display:none}.account-dialog:focus,.account-dialog:focus-visible{outline:none}.account-dialog.account-entry{outline:none}.account-entry .account-content>button{font-family:Trebuchet MS,Arial,sans-serif;font-size:14px;white-space:nowrap;text-transform:none}.account-entry .account-content>.account-version{margin:4px 0 0;text-align:center;color:#fff;opacity:.75;font:400 12px/1.4 var(--font-battle);text-shadow:0 1px 3px #171123;pointer-events:none}.account-entry .account-content>.account-oauth-label{margin:2px 0 0;text-align:center}.account-entry .account-content>.account-oauth{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;width:100%}.account-entry .account-or:before,.account-entry .account-or:after{opacity:.95;box-shadow:0 1px 2px #171123}.account-entry .account-oauth-label{justify-content:center}#emotes{position:absolute;left:12px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:40}#emote-btn{width:52px;height:52px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer;transition:transform .12s,opacity .2s}#emote-btn img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 3px rgba(0,0,0,.45))}#emote-btn:active{transform:scale(.92)}#emote-btn:disabled{opacity:.45}#emote-tray{position:absolute;left:0;bottom:calc(100% + 8px);display:grid;grid-template-columns:repeat(3,90px);gap:8px;padding:12px;border:0;border-radius:14px;background:#0b3a75;box-shadow:0 6px 16px #00000080;animation:emote-tray-in .14s ease-out;max-height:min(310px,calc(100dvh - 190px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4f86c6 transparent}.emote-choice{display:flex;align-items:center;justify-content:center;width:90px;height:90px;padding:5px;border:0;border-radius:10px;background:#ffffff14;box-shadow:none;cursor:pointer}.emote-choice:hover,.emote-choice:focus-visible{background:#ffffff38;outline:none}.emote-choice img{width:100%;height:100%;object-fit:contain;pointer-events:none}#emote-pops{position:absolute;inset:0;pointer-events:none;z-index:41}.emote-pop{position:absolute;top:calc(106px + env(safe-area-inset-top));width:84px;animation:emote-pop 2.6s ease-out forwards;filter:drop-shadow(0 4px 4px rgba(0,0,0,.5))}.emote-pop.player{left:10px}.emote-pop.ai{right:78px}.emote-pop img{display:block;width:100%;height:auto}@keyframes emote-pop{0%{transform:scale(.3) rotate(-8deg);opacity:0}12%{transform:scale(1.12) rotate(3deg);opacity:1}22%{transform:scale(1) rotate(0)}80%{opacity:1}to{transform:scale(1);opacity:0}}@keyframes emote-tray-in{0%{transform:translateY(6px);opacity:0}}@media(prefers-reduced-motion:reduce){.emote-pop{animation:emote-fade 2.6s linear forwards}#emote-tray{animation:none}@keyframes emote-fade{0%,80%{opacity:1}to{opacity:0}}}.guest-coach{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#fff;pointer-events:none;overflow:visible}.guest-coach-card{position:fixed;left:50%;transform:translate(-50%);width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:16px 20px;overflow:visible;pointer-events:auto}.guest-coach .guest-coach-card{overflow:visible}.guest-coach-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}.guest-coach-card h2{margin:10px 0 6px;font-size:20px}.guest-coach-card p{margin:0 0 10px;font:14px/1.5 sans-serif}.guest-coach-card small{font:11px/1.4 sans-serif;opacity:.8}.guest-coach-card>small{display:block;margin-top:10px}.guest-coach .guest-coach-card>button{min-height:38px;padding:8px 14px;font-size:12px}.guest-coach-card button:focus-visible{outline:3px solid #ffdb7b}.guest-coach-scrim{position:fixed;inset:0;background:#04101f;opacity:.72}.guest-coach-ring{position:fixed;border:3px solid #ffdb7b;border-radius:14px;box-sizing:border-box;box-shadow:0 0 18px #ffdb7b88,0 0 0 9999px #04101fb8}.guest-coach.no-dim .guest-coach-scrim{display:none}.guest-coach.no-dim .guest-coach-ring{box-shadow:0 0 18px #ffdb7b88}.guest-coach.fighting .guest-coach-card{display:none}.guest-coach-hand{position:fixed;width:66px;height:66px;object-fit:contain;animation:guest-coach-tap 1s ease-in-out infinite}@keyframes guest-coach-tap{50%{transform:translate(-5px,-8px)}}@media(prefers-reduced-motion:reduce){.guest-coach-hand{animation:none}}@media(max-width:600px){.guest-coach-card{width:min(320px,calc(100vw - 24px));padding:12px 14px}.guest-coach-card header small,.guest-coach-card>small{display:none}.guest-coach .guest-coach-card h2{margin:0 20px 8px 0;font-size:15px;line-height:1.35}.guest-coach-card p{font-size:12px;line-height:1.45;margin:0}.guest-coach-card>button{margin-top:10px}.guest-coach-hand{width:54px;height:54px}}.units-page{width:100%;max-width:540px;margin:auto;color:var(--paper);padding:0 0 16px}.units-heading{display:flex;align-items:center;justify-content:space-between;margin:12px 2px;gap:12px}.units-heading h1,.units-heading h2{font:700 clamp(17px,4.5vw,24px)/1.2 var(--font);margin:0}.units-heading>span{font:700 16px var(--font);color:var(--accent)}.equipped-grid,.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.collection-grid{row-gap:12px}.units-page .collection-card{min-width:0;isolation:isolate}.units-page .collection-card .card-label{font-size:clamp(10px,2.8vw,14px)}.units-page .collection-card .card-type,.units-page .collection-card .card-class{font-size:clamp(8px,2.2vw,11px);line-height:1.15}.units-page .collection-card .card-details{top:59%;bottom:12%;gap:2px}.units-page .unit-level{position:absolute;top:5%;left:6%;right:auto;z-index:3;max-width:65%;padding:3px 4px;border-radius:5px;background:#273d35;color:#fff5ce;text-align:center;font:700 clamp(8px,2.1vw,11px)/1 var(--font)}.equipped-check{position:absolute;right:5%;top:3%;z-index:2;background:#315934;color:#fff6ce;border:2px solid #f3d17b;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:14px}.is-locked .portrait{filter:grayscale(1);opacity:.45}.is-locked{filter:saturate(.55) brightness(.8)}.empty-unit{aspect-ratio:2/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#15233199;border:2px dashed #a6a07c;border-radius:12px;color:#ede0c3;padding:4px;font-size:11px;min-height:44px}.empty-unit>span{font-size:26px}.units-hint{font-size:12px;line-height:1.45;margin:12px 2px 22px;color:#e0d5bc}.unit-detail-portrait{display:flex;flex-direction:column;align-items:center;gap:5px;font-family:var(--font)}.unit-detail-portrait img{width:120px;height:120px;object-fit:contain}.unit-detail-portrait span{font-size:12px;text-transform:capitalize}.unit-stats{width:100%;font-size:13px;border-collapse:collapse;margin:16px 0}.unit-stats th,.unit-stats td{padding:7px 5px;border-bottom:1px solid #ffffff20;text-align:right}.unit-stats th:first-child{text-align:left}.units-actions{display:flex;flex-wrap:wrap;gap:10px}.units-actions button{flex:1;min-height:44px}.units-price{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;white-space:nowrap}.units-price img{width:22px;height:22px;object-fit:contain}.units-swaps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.units-swaps button{display:flex;align-items:center;flex-direction:column;gap:4px;padding:8px;min-height:44px}.units-swaps img{width:60px;height:60px;object-fit:contain}.units-status{min-height:1.5em}button:disabled{cursor:default}.units-page button:focus-visible{outline:3px solid #fff3b0;outline-offset:2px}@media(prefers-reduced-motion:reduce){.units-page .squad-card{transition:none}}.units-heading{background:#192d46e8;border-radius:8px;padding:9px 10px;color:#fff4dc}.units-hint{background:#192d46e8;border-radius:8px;padding:10px;color:#fff4dc}#screen-menu #intro:has(.units-page){margin-top:142px;margin-bottom:0;padding-top:0;padding-bottom:calc(96px + env(safe-area-inset-bottom));min-height:0;scroll-padding-block:12px}.units-page{flex:none}@media(max-height:500px){#screen-menu #intro:has(.units-page){margin-top:128px;margin-bottom:0;padding-bottom:calc(76px + env(safe-area-inset-bottom))}}#screen-menu:has(.units-page){background:linear-gradient(180deg,#236cc1,#15539b 55%,#103e79)}#screen-menu:has(.units-page) .menu-player,#screen-menu:has(.units-page) .menu-settings{display:none}#screen-menu #intro:has(.units-page){margin-top:calc(78px + env(safe-area-inset-top))}.units-page .collection-card .card-label{font-size:clamp(8px,12cqw,15px);line-height:1.1}.units-page .collection-card .card-type{font-size:clamp(7px,8cqw,11px)}.units-page .collection-card .battle-card-meta{font-size:clamp(7px,9cqw,12px);padding:2px;margin-top:0}.units-page .equipped-check{width:18px;height:18px;font-size:11px;right:3%;top:3%}.units-page .collection-card .card-type{text-transform:capitalize;font-size:clamp(6px,7cqw,10px);white-space:nowrap}dialog:has(.unit-detail-panel){width:min(480px,calc(100% - 28px));padding:20px;overflow-y:auto;border-radius:8px}dialog:has(.unit-detail-panel)>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0;margin:0}.unit-detail-header{display:flex;align-items:center;gap:15px;padding-right:26px;margin-bottom:18px;text-align:left}.unit-detail-avatar{width:86px;height:86px;flex:none;display:grid;place-items:center;border:2px solid #3980bb;border-radius:12px;background:radial-gradient(circle,#3977b4,#112e60);box-shadow:inset 0 2px 6px #071b3899}.unit-detail-avatar img{width:100%;height:100%;object-fit:contain}.unit-detail-header h3{margin:5px 0;color:#fff4da;font:400 28px/1.1 var(--font-battle);text-shadow:0 2px 0 #112544}.unit-detail-class{color:#9aceff;font:700 11px/1.3 var(--font);text-transform:capitalize}.unit-detail-level{font:700 12px var(--font);color:#e3eaff}.unit-detail-panel>.axie-xp{display:block;width:calc(100% - 8px);margin:10px 0 18px 8px}.unit-stat-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.unit-stat-chip{border-radius:6px;background:#092956;padding:8px 12px;display:flex;flex-direction:column;gap:3px;text-align:left}.unit-stat-chip>span{color:#a7d3ff;font:700 11px var(--font)}.unit-stat-chip>strong{color:#fff;font:400 22px/1.1 var(--font-battle)}dialog .unit-ability{font-size:12px;line-height:1.5;margin:12px 0}.unit-more-stats{font-size:12px;color:#b8d8ff;margin:12px 0 20px}.unit-more-stats summary{cursor:pointer;padding:8px 0;min-height:32px}dialog .unit-detail-actions{margin-top:24px}dialog .unit-detail-panel .units-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch;margin:0}dialog .unit-detail-panel button[data-action]{min-width:0;min-height:58px;padding:10px 9px 13px;font:400 15px/1.15 var(--font-battle);letter-spacing:0;text-transform:none;border:0;box-shadow:none;background:transparent url(/assets/ui/pve-button-green.webp) center/112% 137% no-repeat;color:#fff2dc;text-shadow:0 2px 0 #173765}dialog .unit-detail-panel button[data-action=unit-upgrade]{grid-column:1;grid-row:1}dialog .unit-detail-panel button[data-action=unit-equip],dialog .unit-detail-panel button[data-action=unit-unequip]{grid-column:2;grid-row:1;background-image:url(/assets/ui/pve-button-yellow.webp?v=2);color:#4a2e00;text-shadow:0 1px 0 #deb550}.unit-detail-actions .units-price{justify-content:center}.unit-detail-actions button .units-price{display:flex;margin-top:4px}dialog .unit-detail-panel button:disabled{filter:grayscale(.7) brightness(.7);opacity:.8;cursor:not-allowed}dialog .unit-detail-panel .units-swaps button{background:#102e5d;padding:8px}dialog .unit-detail-panel .unit-detail-back{min-height:44px;margin-top:8px}dialog .unit-detail-panel .units-status:empty{display:none}dialog:has(.unit-detail-panel)>form{position:absolute;top:5px;right:5px;margin:0}dialog:has(.unit-detail-panel)>form>button{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;background:#405679;border:2px solid #142e50;border-radius:6px;color:#fff;font:700 26px/1 var(--font);text-shadow:0 2px 0 #142440}@media(max-width:360px){dialog:has(.unit-detail-panel){padding:16px}.unit-detail-avatar{width:72px;height:72px}.unit-detail-header{gap:10px}.unit-detail-header h3{font-size:25px}}.unit-detail-avatar{position:relative;overflow:hidden}.unit-detail-avatar canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.unit-detail-avatar.has-idle-animation>img{visibility:hidden}.unit-detail-avatar{border:0;border-radius:0;background:none;box-shadow:none}.unit-detail-panel .unit-stat-chips{gap:8px}.unit-detail-panel .unit-stat-chip{display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px;min-width:0}.unit-stat-chip>img{width:34px;height:34px;object-fit:contain;flex:none}.unit-stat-chip>div{min-width:0;display:flex;flex-direction:column;gap:3px}.unit-stat-chip>div>span{color:#a7d3ff;font:700 11px/1.2 var(--font)}.unit-stat-chip>div>strong{color:#fff;font:400 19px/1.2 var(--font-battle);overflow-wrap:anywhere}.unit-stat-next{color:#a7ed85;white-space:nowrap;font-size:.85em}dialog .unit-upgrade-caption{font-size:11px;color:#b9e7a5;margin-bottom:4px}@media(max-width:360px){.unit-stat-chip>img{width:28px;height:28px}.unit-detail-panel .unit-stat-chip{gap:6px}.unit-stat-chip>div>strong{font-size:17px}}dialog:has(.unit-detail-panel){overflow:visible}.unit-detail-panel{max-height:calc(85dvh - 44px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}dialog:has(.unit-detail-panel)>form{top:-16px;right:-12px;z-index:2}dialog:has(.unit-detail-panel)>form>button.unit-modal-close{flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent url(/assets/ui/close.webp) center/160% 160% no-repeat;box-shadow:none;text-shadow:none}dialog:has(.unit-detail-panel)>form>button.unit-modal-close:hover{filter:brightness(1.15)}dialog:has(.unit-detail-panel)>form>button.unit-modal-close:focus-visible{outline:2px solid #fff0b6;outline-offset:2px}dialog .unit-detail-panel button[data-action]:not([data-action^=unit-slot]):not(.unit-tab){width:100%;max-width:210px;min-height:0;aspect-ratio:3/1;padding:7px 10px;background-size:contain;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:clamp(11px,3vw,14px);line-height:1.1}dialog .unit-detail-panel .avatar-picker button[data-action]:not([data-action^=unit-slot]):not(.unit-tab){width:auto;max-width:none;min-height:0;aspect-ratio:1;padding:0;border:2px solid transparent;border-radius:0;background:none;box-shadow:none;display:block}dialog .unit-detail-panel .avatar-picker button[data-action][aria-pressed=true]:not([data-action^=unit-slot]):not(.unit-tab){position:relative;border:3px solid #9de666;border-radius:50%;outline:none;box-shadow:0 0 10px #9de666aa}dialog .unit-detail-panel .avatar-picker button[data-action][aria-pressed=true]:after{content:"✓";position:absolute;right:-4px;bottom:-4px;width:20px;height:20px;border-radius:50%;background:#4fae2b;border:2px solid #fff;color:#fff;font:800 12px/16px var(--font);text-align:center}dialog .unit-detail-panel .units-actions button[data-action]{max-width:none}dialog .unit-detail-panel button[data-action] .units-price{display:inline-flex;margin:0;gap:3px}dialog .unit-detail-panel button[data-action] .units-price img{width:18px;height:18px}dialog:has(.unit-detail-header)>h2.unit-modal-title{display:none}.unit-detail-panel>.axie-xp .xp-level{display:none}.unit-detail-panel>.axie-xp{padding-left:10px}.origin-parts{margin:0}.origin-parts-list{display:flex;flex-direction:column;gap:8px}.origin-part-card{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:8px;border:1px solid #3980bb;border-radius:8px;background:#0a2148;box-shadow:inset 0 2px 6px #071b3899;text-align:left}.origin-part-art{flex:0 0 auto;display:grid;place-items:center;width:68px;height:68px;border-radius:6px;background:radial-gradient(circle,#3977b4,#112e60)}.origin-part-art img{width:100%;height:100%;object-fit:contain}.origin-part-body{display:flex;flex:1 1 auto;flex-direction:column;gap:5px;min-width:0}.origin-part-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0}.origin-part-slot{font:700 9px/1 var(--font);color:#9aceff;text-transform:uppercase;letter-spacing:.06em}.origin-part-name{font:400 14px/1.15 var(--font-battle);color:#fff4da;text-shadow:0 1px 0 #112544;overflow-wrap:anywhere}.origin-part-desc{margin:4px 0 0;font:400 10.5px/1.45 var(--font);color:#dfeaff;overflow-wrap:anywhere}dialog .unit-detail-panel .unit-tabs{display:flex;gap:3px;margin:8px 0;padding:2px;border:1px solid #3980bb;border-radius:7px;background:linear-gradient(#0b2450,#071b3c);box-shadow:inset 0 2px 6px #04122bcc}dialog .unit-detail-panel .unit-tabs .unit-tab{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:none;min-height:50px;min-width:0;aspect-ratio:auto;padding:6px 10px 8px;border:0;border-radius:6px;background:none;box-shadow:none;color:#93b5e0;font:400 13px/1 var(--font-battle);text-shadow:0 1px 0 #06152cf0;transition:background .15s ease,color .15s ease}dialog .unit-detail-panel .unit-tabs .unit-tab img{width:32px;height:32px;object-fit:contain;filter:saturate(.45) brightness(.85);transition:filter .15s ease}dialog .unit-detail-panel .unit-tabs .unit-tab:not([aria-selected=true]):hover{background:#0d2a55;color:#cfe2ff}dialog .unit-detail-panel .unit-tabs .unit-tab[aria-selected=true]{background:linear-gradient(#1b3f74,#12305d);color:#fff4da}dialog .unit-detail-panel .unit-tabs .unit-tab[aria-selected=true] img{filter:none}dialog .unit-detail-panel .unit-tabs .unit-tab[aria-selected=true]:after{content:"";position:absolute;left:12%;right:12%;bottom:2px;height:3px;border-radius:3px;background:linear-gradient(90deg,#2f8fff,#6cc4ff);box-shadow:0 0 10px #3fa9ffcc}dialog .unit-detail-panel .unit-tabs .unit-tab:focus-visible{outline:2px solid #6cc4ff;outline-offset:2px}.unit-tab-panel{text-align:left}dialog[open]:has(>.unit-detail-panel){display:flex;flex-direction:column;max-height:86dvh}dialog:has(>.unit-detail-panel)>h2.unit-modal-title{flex:none}dialog:has(>.unit-detail-panel)>.unit-detail-panel{flex:1 1 auto;min-height:0;max-height:none}@media(max-width:400px){dialog[open]:has(>.unit-detail-panel){max-height:107.5dvh}}dialog button[aria-label$="Sound FX"],dialog button[aria-label$=Music],dialog:has(.unit-detail-panel)>form>button.unit-modal-close{position:relative}dialog>button.unit-modal-close:after,dialog:has(.unit-detail-panel)>form>button.unit-modal-close:after,dialog button[aria-label$="Sound FX"]:after,dialog button[aria-label$=Music]:after{content:"";position:absolute;inset:-4px}@media(max-width:400px){dialog>button.unit-modal-close:after,dialog:has(.unit-detail-panel)>form>button.unit-modal-close:after{inset:-10px}dialog button[aria-label$="Sound FX"]:after,dialog button[aria-label$=Music]:after{inset:-12px -16px}}:root{--xp-track: #253b5a;--xp-edge: #332b3d;--xp-gold: #ffce58;--xp-orange: #e9932c;--xp-green: #89e737;--xp-green-dark: #4c9c22;--xp-ink: #fff7d6;--xp-divider: #41395240;--xp-lock: #9ca8b8}.axie-xp{position:relative;display:block;height:22px;border:2px solid var(--xp-edge);border-radius:8px;background:var(--xp-track);color:var(--xp-ink);font:700 10px/18px var(--font);isolation:isolate;text-align:center}.units-page .collection-card .axie-xp{position:absolute;left:3%;right:3%;bottom:-3%;height:20px;font-size:clamp(8px,1.9vw,10px);line-height:16px}.xp-fill{position:absolute;inset:0 auto 0 0;max-width:100%;border-radius:5px;background:linear-gradient(var(--xp-gold),var(--xp-orange));z-index:-2;transition:width .3s ease}.axie-xp:after{content:"";position:absolute;inset:0;border-radius:5px;z-index:-1;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(12.5% - 2px),var(--xp-divider) calc(12.5% - 2px),var(--xp-divider) 12.5%)}.xp-level{position:absolute;left:-7px;top:50%;transform:translateY(-50%);width:26px;height:26px;display:grid;place-items:center;border:2px solid var(--xp-edge);border-radius:50%;background:linear-gradient(var(--xp-gold),var(--xp-orange));font:700 14px/1 var(--font);text-shadow:0 1px 2px var(--xp-edge)}.xp-label{display:block;padding-left:16px;white-space:nowrap;text-shadow:0 1px 2px var(--xp-edge),1px 0 var(--xp-edge);font-variant-numeric:tabular-nums}.xp-ready .xp-fill,.xp-ready .xp-level,.xp-max .xp-fill{background:linear-gradient(var(--xp-green),var(--xp-green-dark))}.xp-ready-arrow{display:inline-block;width:16px;height:14px;vertical-align:-2px;margin-right:4px;background:url(/assets/ui/arrow-up.webp?v=1) center/contain no-repeat;color:transparent}.xp-locked{color:var(--xp-lock)}.xp-locked .xp-level{background:var(--xp-track);color:var(--xp-lock)}.units-page .collection-card{margin-bottom:10px}.units-page .collection-grid{row-gap:18px}.axie-xp.xp-detail{max-width:300px;margin:18px auto 12px;height:27px;font-size:12px;line-height:23px}.xp-detail .xp-level{width:32px;height:32px;font-size:17px}.xp-help{line-height:1.5}@media(prefers-reduced-motion:reduce){.xp-fill{transition:none}}.axie-xp{position:relative}.axie-xp.xp-ready .xp-ready-arrow{position:absolute;left:13px;top:50%;width:30px;height:30px;transform:translateY(-50%);margin:0;filter:drop-shadow(0 1px 1px rgba(0,0,0,.45))}.squad-collection{padding:0 4px 24px}.squad-tabs{display:flex;gap:5px;padding:0 8px;position:relative;z-index:1}.squad-tabs button{flex:1;min-width:0;min-height:42px;border:2px solid #63452f;border-bottom:0;border-radius:15px 15px 0 0;background:linear-gradient(#59456f,#49365f);color:#fff1d2;font:400 23px/1 var(--font-battle);text-shadow:0 2px 2px #263345;padding:9px 12px}.squad-tabs button[aria-selected=true]{background:linear-gradient(#bd935b,#a97843);color:#fff1d2;text-shadow:0 2px 1px #79482c;margin-bottom:-3px;padding-bottom:12px}.squad-equipped{background:linear-gradient(#a97843,#bd935b);border:2px solid #63452f;border-radius:3px 3px 8px 8px;box-shadow:0 5px #17366a55;padding:10px 8px 17px}.squad-equipped-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px;color:#754127}.squad-equipped-heading h1{font:400 17px/1.2 var(--font-battle);margin:0}.squad-equipped-heading>span{font:700 13px var(--font)}.squad-collection .equipped-grid,.squad-collection .collection-grid{gap:7px}.squad-collection .collection-grid{row-gap:17px;padding:0 3px}.collection-tile{position:relative;display:block;min-width:0;width:100%;aspect-ratio:.68;padding:0;border:2px solid #63452f;border-radius:11px;background:radial-gradient(ellipse at 50% 38%,#ddc398,#c9aa78 64%,#a17c50);box-shadow:inset 0 0 0 2px #d5b17b,0 3px #624632;isolation:isolate;color:#fff1d2;container-type:inline-size;margin-bottom:7px}.collection-tile .collection-portrait{position:absolute;top:18%;left:8%;width:84%;height:48%;display:grid;place-items:center}.collection-portrait img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 1px #6c472d44)}.collection-tile .draft-class-crest{position:absolute;top:-7%;right:-4%;width:30%;height:23%;z-index:2;filter:drop-shadow(0 1px 1px #244a77);background:#aad9f8;clip-path:polygon(50% 0,65% 18%,91% 18%,87% 48%,100% 67%,76% 79%,65% 100%,42% 89%,18% 98%,17% 70%,0 54%,18% 33%,23% 9%);padding:3px;box-sizing:border-box}.collection-name{position:absolute;left:2%;right:2%;top:68%;font:400 clamp(10px,17cqw,20px)/1.05 var(--font-battle);text-align:center;text-shadow:0 2px 1px #49372f,1px 0 #49372f,-1px 0 #49372f;white-space:nowrap}.collection-role{position:absolute;left:1%;right:1%;top:82%;font:700 clamp(6px,9cqw,10px)/1 var(--font);text-transform:capitalize;color:#69452e;text-align:center}.squad-collection .collection-tile .axie-xp{position:absolute;left:2%;right:-2%;bottom:-5%;height:18px;font-size:clamp(7px,9cqw,10px);line-height:14px;border-radius:6px}.collection-tile .xp-level{width:22px;height:22px;font-size:13px;left:-5px}.collection-tile .xp-label{padding-left:13px}.squad-collection .equipped-check{left:0;right:auto;top:-3%;width:22px;height:22px;background:transparent;border:0;color:#87e446;font-size:26px;text-shadow:1px 2px #386b27,-1px -1px #386b27}.collection-tile.is-locked{background:linear-gradient(#89735f,#5e534b);box-shadow:inset 0 0 0 2px #9a8875,0 3px #493e39;filter:none}.collection-tile.is-locked .collection-portrait{filter:saturate(.6) brightness(.75)}.collection-tile.is-locked .collection-role{color:#e6d6c7}.collection-lock{position:absolute;left:7%;top:2%;width:22%;height:21%;z-index:3;color:#473f3c;background:#c3b9ab;border:2px solid #6e6159;border-radius:5px;display:grid;place-items:center}.collection-lock svg{width:70%;height:70%}.collection-ribbon{display:flex;align-items:center;justify-content:center;margin:22px auto 20px;width:88%;min-height:37px;background:linear-gradient(#bd935b,#a97843);border:2px solid #63452f;box-shadow:0 3px #16375f55;clip-path:polygon(0 0,100% 0,97% 50%,100% 100%,0 100%,3% 50%);color:#fff1d2;text-shadow:0 2px #78442b}.collection-ribbon h2{font:400 clamp(16px,4vw,21px)/1.1 var(--font-battle);margin:0;padding:7px 13px;flex:1;text-align:center}.collection-ribbon>span{border-left:2px solid #63452f;padding:7px 15px;font:700 15px var(--font)}.squad-incomplete{color:#754127;font-size:11px;text-align:center;margin:14px 0 0}.spells-placeholder{min-height:220px;text-align:center;color:#754127;padding-top:36px}.spells-placeholder h1{font:400 30px var(--font-battle);margin:0 0 18px}.spells-placeholder p{font-weight:700}.spells-placeholder small{font-size:13px}.squad-collection button:focus-visible{outline:3px solid #d4f2ff;outline-offset:3px}@media(max-width:360px){.squad-collection{padding-inline:0}.squad-equipped{padding-inline:5px}.squad-tabs button{font-size:20px}.squad-collection .equipped-grid,.squad-collection .collection-grid{column-gap:5px}.collection-ribbon{width:94%}}#screen-menu #intro:has(.squad-collection){padding-left:0;padding-right:0}.units-page.squad-collection{max-width:none;padding-left:0;padding-right:0}.squad-collection .squad-equipped{border-left:0;border-right:0;border-radius:0}.squad-collection .squad-equipped-heading,.squad-collection .equipped-grid{max-width:524px;margin-left:auto;margin-right:auto}.squad-collection .squad-tabs{max-width:540px;margin:0 auto}.squad-collection .collection-grid{max-width:540px;margin:0 auto;padding-left:12px;padding-right:12px}.squad-collection .collection-ribbon{max-width:475px}.squad-tabs button,.squad-equipped-heading h1,.collection-ribbon h2,.spells-placeholder h1{-webkit-text-stroke:1px #674126;paint-order:stroke fill;text-shadow:0 2px 0 #674126}.squad-equipped-heading h1{color:#fff1d2}#screen-menu:has(.squad-collection){--menu-star: #291b50;background:radial-gradient(ellipse at 50% 38%,#625091,#4e3b79 58%,#39275f)}#screen-menu:has(.squad-collection) .menu-star-field{display:block;animation-duration:70s}#screen-menu:has(.squad-collection) .menu-star-field i{opacity:.24;clip-path:none;-webkit-mask:url(/assets/stages/bg-star.webp) center / contain no-repeat;mask:url(/assets/stages/bg-star.webp) center / contain no-repeat}@media(prefers-reduced-motion:reduce){#screen-menu:has(.squad-collection) .menu-star-field{animation:none}}.squad-collection .collection-lock{left:2%;top:-3%;width:30%;height:28%;background:none;border:0;border-radius:0}.squad-collection .equipped-check{width:28%;height:24%;text-shadow:none}.collection-lock img,.equipped-check img{display:block;width:100%;height:100%;object-fit:contain}.squad-collection .collection-tile .draft-class-crest{left:2%;right:auto;top:2%;width:25%;height:20%;background:none;border:0;box-shadow:none;filter:none;clip-path:none;padding:0}.squad-collection .collection-lock,.squad-collection .equipped-check{left:auto;right:0;top:-3%}.squad-collection .collection-tile .draft-class-crest{mix-blend-mode:multiply}.squad-wallet-note{margin:8px 0;font-size:13px;opacity:.85}.collection-name.is-wallet-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.squad-collection .collection-grid:not(.spell-grid){row-gap:38px}.squad-collection .collection-grid:not(.spell-grid) .collection-tile .axie-xp{left:2%;right:-2%;bottom:-24px;height:20px;border-radius:8px;background:var(--xp-track)}.squad-collection .collection-grid:not(.spell-grid) .collection-tile .axie-xp .xp-level{left:-4px}.squad-collection .squad-equipped .collection-tile:not(.spell-tile) .axie-xp{display:none}.collection-ribbon h2:has(.collection-info){display:flex;align-items:center;justify-content:center}.collection-ribbon h2 .collection-info{flex:0 0 auto;min-height:0;width:24px;height:24px;margin-left:6px;padding:0;border:0;background:none;box-shadow:none;color:#fff1d2;filter:drop-shadow(0 2px 0 #78442b);cursor:pointer}.collection-ribbon h2 .collection-info svg{width:100%;height:100%;stroke-width:2;pointer-events:none}.unit-detail-panel h3{margin:12px 0 4px;font:700 14px/1.2 var(--font);color:#fff0b6}.unit-detail-panel h3:first-child{margin-top:0}.squad-collection .collection-ribbon{min-height:52px;box-sizing:border-box}.spell-glyph{display:inline-grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;font-weight:800;font-size:15px;line-height:1;color:#fff;letter-spacing:.03em;border:2px solid rgb(255 255 255 / .55);background:radial-gradient(circle at 35% 30%,#7ee0ff,#2672c4);box-shadow:0 2px 6px #0006}.spell-glyph.curse{background:radial-gradient(circle at 35% 30%,#ff9d9d,#b02a37)}.spell-glyph.mixed{background:radial-gradient(circle at 35% 30%,#ffd37e,#b86a14)}.spell-tab{position:relative;align-self:flex-end;margin:-52px 8px 0 0;flex:none;display:flex;align-items:center;gap:6px;height:36px;padding:0;background:transparent;border:0;box-shadow:none}.spell-tab img{width:28px;height:28px;object-fit:contain}.spell-tab span{font:400 15px/1 var(--font-battle);color:#fff2d3;text-shadow:0 2px 0 #39263d,1px 0 #39263d,-1px 0 #39263d}.spell-tab:active{transform:scale(.94)}.spell-deck.comeback-sheet:after{background:url(/assets/ui/spell-star-field.webp) 0 0 / 390px 844px,linear-gradient(180deg,#5da6ee,#3a7fd8 48%,#2c66bc);animation:spell-dash 18s steps(180) infinite}@keyframes spell-dash{to{background-position:-390px 0,0 0}}@media(prefers-reduced-motion:reduce){.spell-deck.comeback-sheet:after{animation:none}}.spell-pick{position:relative;aspect-ratio:1088 / 1456;min-width:0;color:#45260f;text-align:center;border:0;border-radius:13%;background:url(/assets/ui/spell-card.webp) center/100% 100% no-repeat;filter:drop-shadow(0 4px 2px #27180e55)}.spell-pick .spell-glyph,.spell-pick .spell-art{position:absolute;left:50%;top:9%;height:54%;width:auto;aspect-ratio:1;transform:translate(-50%);font-size:24px}.spell-pick b{position:absolute;left:2%;right:2%;top:73%;font:400 clamp(9px,2.9vw,13px)/1.05 var(--font-battle);text-shadow:0 1px 0 #fff4d6,1px 0 #fff4d6,-1px 0 #fff4d6;white-space:nowrap}.spell-pick em{position:absolute;left:0;right:0;top:calc(73% + 15px);font:normal 800 clamp(8px,2.6vw,11px)/1 var(--font);color:#69452e}.spell-pick small{position:absolute;left:50%;bottom:12%;transform:translate(-50%);padding:2px 8px;border-radius:999px;background:#c98f55;color:#fff4d6;font:800 11px var(--font)}.spell-pick:disabled{opacity:.5;filter:grayscale(.6)}.spell-tile .collection-portrait .spell-glyph{width:64%;height:auto;aspect-ratio:1;font-size:18cqw}.spell-tile.selected{outline:3px solid #fff6a6;outline-offset:1px}.spell-empty{display:grid;place-items:center;align-content:center;aspect-ratio:.68;margin-bottom:7px;cursor:default}.spell-effects{margin:8px 0;padding-left:18px;font-size:13px}.spell-tile .collection-name{font-size:clamp(8px,9.5cqw,14px);letter-spacing:0}.spell-copies-line{margin:4px 0;font-weight:700}.chest-spell{display:inline-flex;align-items:center;gap:8px}.chest-spell .spell-glyph{width:34px;height:34px;font-size:13px}.spell-glyph.spell-art{border:0;border-radius:0;background:none;box-shadow:none;object-fit:contain;filter:drop-shadow(0 2px 3px rgb(0 0 0 / .45))}.spell-tile .collection-portrait{top:12%;height:54%}.spell-tile .collection-portrait .spell-art{width:100%;height:92%;max-width:none;aspect-ratio:auto}.shop-note{margin:0 12px 4px;font-size:13px;color:#fff;text-align:center}.shop-status{min-height:18px;margin:0 12px 8px;font-size:13px;font-weight:700;color:#ffe08a;text-align:center}.shop-coin{width:14px;height:14px;margin-right:3px;vertical-align:-2px}.shop-tile:disabled:not(.is-locked){filter:saturate(.7)}.collection-ribbon.shop-ribbon{position:relative;background:linear-gradient(#5db4e8,#2f78bd);border-color:#153f6e;box-shadow:0 3px #0b2a4a66;color:#fff;text-shadow:0 2px #153f6e}.shop-ribbon h2{display:inline-flex;align-items:center;justify-content:center;gap:8px}.shop-info{flex:none;width:24px;height:24px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;filter:drop-shadow(0 1px 1px #153f6e)}.shop-info svg{width:100%;height:100%;pointer-events:none}.shop-info[aria-expanded=true]{color:#fff0b6}.shop-tip{position:relative;margin:2px auto 16px;width:84%;max-width:420px;box-sizing:border-box;padding:8px 10px;border:1px solid #2a63a8;border-radius:8px;background:#06234a;color:#fff;font-size:12px;line-height:1.4}.shop-tip:before{content:"";position:absolute;top:-6px;left:var(--tip-x, 120px);width:10px;height:10px;border-left:1px solid #2a63a8;border-top:1px solid #2a63a8;background:#06234a;transform:rotate(45deg)}.shop-tip[hidden]{display:none}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 4px;max-width:460px;margin:0 auto 20px;padding:0 8px}.shop-item{display:grid;justify-items:center;align-content:start;gap:3px;min-width:0;color:#fff;text-align:center}.shop-item b{font:400 clamp(11px,3.4vw,14px) / 1.1 var(--font-battle);text-shadow:0 2px 1px #2a1a4a}.shop-item small{min-height:12px;font-size:10px;opacity:.85}.shop-art{width:108px;height:108px;object-fit:contain;font-size:28px}.shop-buy,.shop-lock{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:70px;min-height:28px;padding:2px 12px;border-radius:999px;font:400 13px/1 var(--font-battle)}.shop-buy{border:2px solid #2c6b1a;color:#fff;background:linear-gradient(#7fe14b,#3fae26);text-shadow:0 1px 1px #2c6b1a;box-shadow:0 2px #2c6b1a;cursor:pointer}.shop-buy:disabled{filter:grayscale(.85) brightness(.7);cursor:default}.shop-buy img{width:16px;height:16px}.shop-lock{color:#e6d6ff;background:#0000004d;font-size:11px}.shop-item b{display:flex;align-items:center;justify-content:center;min-height:2.3em}.shop-buy{width:92px;height:31px;min-width:0;min-height:0;padding:0 0 2px;border:0;background:transparent url(/assets/ui/pve-button-green.webp) center / 100% 100% no-repeat;box-shadow:none;text-shadow:0 2px 1px #1c4a0e}.shop-buy:disabled{filter:grayscale(1) brightness(.65)}.shop-buy{width:108px;height:38px;gap:5px;font-size:16px;padding-bottom:3px}.shop-buy img{width:20px;height:20px}.shop-head{position:relative;z-index:3}.shop-tip{position:absolute;top:calc(100% - 14px);left:8%;width:84%;max-width:none;margin:0;box-shadow:0 6px 16px #00000080}.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 2px;padding:0 4px}.shop-art{width:80px;height:80px;font-size:24px}.shop-item b{font-size:clamp(8px,2.3vw,10.5px);padding:0;overflow-wrap:normal}.shop-item small{font-size:9px}.shop-buy{width:84px;height:32px;font-size:14px;gap:3px;padding-bottom:2px}.shop-buy img{width:17px;height:17px}.shop-grid{box-sizing:border-box;width:88%;max-width:475px;padding:0;gap:16px 8px}.shop-art{width:100%;max-width:96px;height:auto;aspect-ratio:1}.shop-buy{width:100%;max-width:96px}@media(max-width:360px){.shop-grid{width:94%}}.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}.shop-item{gap:0}.shop-art,.shop-buy{width:88%;max-width:none}.shop-item b{min-height:2em;margin-top:-10px;font-size:clamp(10px,3.1vw,13px)}.shop-buy{height:42px;margin-top:2px;font-size:16px;padding-bottom:4px}.spell-tab.open img{width:36px;height:36px;margin:-4px -4px -4px -2px}.spell-pick.picked{animation:spell-picked .45s ease-out forwards;pointer-events:none}@keyframes spell-picked{40%{transform:translateY(-12px) scale(1.12);filter:drop-shadow(0 0 14px #fff6a6) drop-shadow(0 4px 2px #27180e55)}to{transform:translateY(-6px) scale(1.06);filter:drop-shadow(0 0 10px #fff6a6) drop-shadow(0 4px 2px #27180e55)}}.spell-log{position:absolute;z-index:24;display:flex;gap:6px;pointer-events:none}.spell-log[hidden]{display:none}.spell-log.player{left:6px;top:66%;flex-direction:column}.spell-log.ai{right:70px;top:calc(100px + env(safe-area-inset-top))}.spell-log-item{position:relative;width:52px;height:52px;padding:0;border:0;background:none;filter:drop-shadow(0 2px 2px #00000080);pointer-events:auto;animation:spell-badge-pop .5s cubic-bezier(.2,1.6,.4,1)}.spell-log.ai .spell-log-item{width:42px;height:42px}.spell-log-item img,.spell-log-item .spell-glyph,.spell-log-item .spell-art{width:100%;height:100%;font-size:10px;object-fit:contain}.spell-log-item span{position:absolute;top:50%;left:calc(100% + 6px);transform:translateY(-50%);padding:2px 7px;border-radius:6px;background:#173c70e6;color:#fff;font:400 12px/1.2 var(--font-battle);white-space:nowrap;display:none}.spell-log.ai .spell-log-item span{left:auto;right:calc(100% + 6px)}.spell-log-item:hover span,.spell-log-item:focus-visible span,.spell-log-item.named span{display:block}@keyframes spell-badge-pop{0%{transform:scale(.2);opacity:0}}@media(prefers-reduced-motion:reduce){.spell-pick.picked,.spell-log-item{animation:none}}.shop-qty{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 6px}dialog .unit-detail-panel .shop-qty button{flex:0 0 52px!important;width:52px!important;min-width:52px!important;max-width:52px!important;height:48px!important;min-height:48px!important;padding:0 0 4px!important;display:grid;place-items:center;border:2px solid #1f5fae;border-radius:12px;background:linear-gradient(#7ccbff,#3f93e8 55%,#2f78d0);box-shadow:inset 0 2px #c4eaff99,0 3px #1a4c8c;color:#fff;font-size:0;position:relative}dialog .unit-detail-panel .shop-qty button:before,dialog .unit-detail-panel .shop-qty button[data-action="shop-qty:1"]:after{content:"";position:absolute;left:50%;top:calc(50% - 2px);width:20px;height:5px;border-radius:3px;background:#fff;box-shadow:0 2px #1b4f8f;transform:translate(-50%,-50%)}dialog .unit-detail-panel .shop-qty button[data-action="shop-qty:1"]:after{width:5px;height:20px}dialog .unit-detail-panel .shop-qty button:disabled{opacity:.4;filter:grayscale(.7);cursor:default;transform:none}dialog .unit-detail-panel .shop-qty button:active{transform:translateY(2px);box-shadow:inset 0 2px #c4eaff99,0 1px #1a4c8c}.shop-qty input{width:84px;height:44px;text-align:center;font:800 20px var(--font);border:2px solid #63452f;border-radius:8px;background:#fff6dc;color:#45260f}.shop-qty-note{margin:0 0 8px;text-align:center;font-size:13px}.shop-qty-buy img{vertical-align:-4px}.collection-tile.spell-tile{aspect-ratio:1088 / 1456;border:0;border-radius:13%;background:url(/assets/ui/spell-card.webp) center / 100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 4px 2px #27180e55);color:#45260f}.collection-tile.spell-tile.is-locked{filter:grayscale(.85) brightness(.8) drop-shadow(0 4px 2px #27180e55)}.collection-tile.spell-tile .collection-portrait{top:9%;left:14%;width:72%;height:50%}.collection-tile.spell-tile .collection-name{left:2%;right:2%;top:74%;background:none;padding:0;color:#45260f;font-size:clamp(7px,9cqw,13px);letter-spacing:-.01em;text-shadow:0 1px 0 #fff4d6,1px 0 #fff4d6,-1px 0 #fff4d6}.collection-tile.spell-tile .collection-role{display:none;top:83%;color:#69452e;font-weight:800;text-transform:none}.squad-collection .spell-tile .collection-lock{left:auto;right:-3%;top:2%;width:30%;height:23%;transform:none;z-index:2}.squad-collection .spell-tile .axie-xp{bottom:-11px}.squad-collection .spell-tile.is-locked .xp-fill{width:0}.squad-collection .squad-equipped.spell-equipped{background:linear-gradient(#5da6ee,#3a7fd8);border-color:#1f4f95}.squad-tabs #squad-tab-spells[aria-selected=true]{background:linear-gradient(#6aaef0,#3f86dc);border-color:#1f4f95;text-shadow:0 2px 0 #1a3f78;-webkit-text-stroke-color:#1a3f78}.squad-equipped .spell-empty{border:3px dashed #cfe6ffaa;border-radius:14px;background:#fff3;color:#e2f0ff;box-shadow:none}.squad-equipped .spell-tile .axie-xp{display:none}.squad-collection .squad-equipped.spell-equipped{padding-bottom:12px}.squad-equipped .collection-tile.spell-tile{aspect-ratio:.68;margin-bottom:7px}.squad-equipped .collection-tile.spell-tile .collection-portrait{top:6%;left:5%;width:90%;height:58%}.squad-equipped .collection-tile.spell-tile .collection-name{top:74%}.squad-collection .collection-grid.spell-grid{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:6px;row-gap:38px}.spell-grid .collection-tile.spell-tile .collection-portrait{top:6%;left:5%;width:90%;height:58%}.spell-grid .collection-tile.spell-tile .collection-name{top:75%;font-size:clamp(7px,9.4cqw,13px)}.collection-tile.spell-tile .spell-art,.spell-pick .spell-art{filter:drop-shadow(0 0 3px #fffbe6) drop-shadow(0 0 7px #fff3b0cc) drop-shadow(0 2px 2px #45260f55)}.collection-tile.spell-tile.is-locked .spell-art{filter:drop-shadow(0 0 3px #ffffffaa)}.collection-tile.spell-tile .collection-name,.spell-grid .collection-tile.spell-tile .collection-name,.squad-equipped .collection-tile.spell-tile .collection-name{top:66%;bottom:auto;color:#fff;text-shadow:0 2px 0 #6b3d14,1px 0 #6b3d14,-1px 0 #6b3d14,0 -1px #6b3d14}.collection-tile.spell-tile .collection-role.spell-tag,.spell-pick .spell-tag{display:block;position:absolute;left:50%;top:80%;transform:translate(-50%);width:auto;right:auto;padding:2px 7px;border-radius:999px;border:1.5px solid #fff4d6;color:#fff;font:800 clamp(6px,7.4cqw,10px) / 1.1 var(--font);font-style:normal;text-transform:none;text-shadow:0 1px 0 #00000066;white-space:nowrap;background:#3f9a52}.spell-tag.curse{background:#7a55c8}.spell-tag.mixed{background:#2d9aa3}.spell-pick b{top:66%;bottom:auto;color:#fff;text-shadow:0 2px 0 #6b3d14,1px 0 #6b3d14,-1px 0 #6b3d14,0 -1px #6b3d14}.spell-pick .spell-tag{font-size:10px}.collection-tile.spell-tile .collection-portrait,.spell-grid .collection-tile.spell-tile .collection-portrait,.squad-equipped .collection-tile.spell-tile .collection-portrait{top:4%;left:4%;width:92%;height:56%}.collection-tile.spell-tile .collection-name,.spell-grid .collection-tile.spell-tile .collection-name,.squad-equipped .collection-tile.spell-tile .collection-name,.spell-pick b{top:61%;color:#5a3314;text-shadow:0 1px 0 #fff4d6,1px 0 #fff4d6,-1px 0 #fff4d6,0 -1px #fff4d6}.collection-tile.spell-tile .collection-role.spell-tag,.spell-pick .spell-tag{top:73%;border:0;padding:2px 10px;color:#2f6b1c;text-shadow:none;background:linear-gradient(#e4f6cf,#b9e394)}.spell-tag.curse{color:#4b2a8a!important;background:linear-gradient(#e6dcfa,#c4b0f0)!important}.spell-tag.mixed{color:#17606a!important;background:linear-gradient(#d3f1f3,#a3dde2)!important}.squad-collection .spell-tile .axie-xp{left:2%;right:-2%;bottom:-24px;height:20px;border-radius:8px;background:var(--xp-track)}.squad-collection .spell-tile .axie-xp .xp-level{left:-4px}.collection-tile.spell-tile .collection-name,.spell-grid .collection-tile.spell-tile .collection-name,.squad-equipped .collection-tile.spell-tile .collection-name{top:62%;font-size:clamp(8px,9.6cqw,14px);letter-spacing:-.02em}.collection-tile.spell-tile .collection-role.spell-tag{top:77%;padding:3px 12px;font-size:clamp(8px,9.5cqw,12px)}.spell-pick b{top:63%;font-size:clamp(10px,3.2vw,14px)}.spell-pick .spell-tag{top:78%;padding:3px 12px;font-size:12px}.collection-tile.spell-tile .collection-role.spell-tag,.spell-pick .spell-tag{max-width:86%;overflow:hidden;text-overflow:ellipsis}.collection-tile.spell-tile .collection-name{overflow:hidden;text-overflow:clip}.collection-tile.spell-tile .collection-role.spell-tag,.spell-pick .spell-tag,.spell-tag.curse,.spell-tag.mixed{display:flex;gap:2px;align-items:center;justify-content:center;padding:0;border:0;background:none!important;max-width:none;overflow:visible;pointer-events:auto;top:76%}.spell-tag img{width:clamp(16px,20cqw,26px);height:clamp(16px,20cqw,26px);object-fit:contain;filter:drop-shadow(0 1px 1px #45260f66)}.spell-pick .spell-tag img{width:26px;height:26px}.spell-tag:after{content:attr(data-label);position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%);padding:2px 8px;border-radius:6px;background:#2a1a4aee;color:#fff;font:400 11px/1.2 var(--font-battle);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s;z-index:5}.spell-tag:hover:after{opacity:1}.shop-qty input[type=number]{appearance:textfield;-moz-appearance:textfield}.shop-qty input::-webkit-inner-spin-button,.shop-qty input::-webkit-outer-spin-button{display:none}dialog .unit-detail-panel .unit-detail-actions button.btn-green,dialog .unit-detail-panel .unit-detail-actions button.btn-red,dialog .unit-detail-panel .unit-detail-actions button.btn-yellow{background-color:transparent;background-position:center;background-size:100% auto!important;background-repeat:no-repeat;font:800 15px var(--font-battle)}dialog .unit-detail-panel .unit-detail-actions button.btn-green{background-size:110% auto!important;background-image:url(/assets/ui/pve-button-green.webp);color:#fff;text-shadow:0 2px 0 #1c4a0e}dialog .unit-detail-panel .unit-detail-actions button.btn-red{background-size:100% auto!important;background-image:url(/assets/ui/pve-button-red.webp);color:#fff2d3;text-shadow:0 2px 0 #641c30}dialog .unit-detail-panel .unit-detail-actions button.btn-yellow{background-image:url(/assets/ui/pve-button-yellow.webp?v=2);color:#4a2e00;text-shadow:0 1px 0 #deb550}dialog .unit-detail-panel button:disabled:hover,dialog .unit-detail-panel button:disabled:active,dialog button.primary:disabled:hover,dialog button:not(.primary):disabled:hover,dialog button:disabled:active,.shop-buy:disabled:hover,.shop-buy:disabled:active,.spell-pick:disabled:hover{filter:grayscale(.7) brightness(.7);opacity:.8;transform:none;cursor:not-allowed}dialog .unit-detail-panel .shop-qty button:disabled:hover{opacity:.4;filter:grayscale(.7)}#panel.drafting .sheet.comeback-sheet.spell-deck{padding:30px 14px}.spell-deck.comeback-sheet:before{inset:-10px -28px}.spell-deck.comeback-sheet:after{inset:-6px -28px}.spell-pick b{top:66%}.spell-pick .spell-desc{position:absolute;left:4%;right:4%;top:77%;white-space:pre-line;text-align:center;overflow-wrap:anywhere;font:700 clamp(7px,2.3vw,9.5px) / 1.15 var(--font);color:#6b4a1f;font-weight:800;text-shadow:0 1px 0 #fff1c9}.spell-pick .spell-lv{position:absolute;top:5%;right:3%;z-index:1;width:26px;height:26px;display:grid;place-items:center;border:2px solid #fff4d6;border-radius:50%;background:linear-gradient(#ffd23d,#f08a14);box-shadow:0 2px #8a4308;color:#fff;font:normal 400 14px/1 var(--font-battle);text-shadow:0 1px 0 #8a4308}#panel.drafting.draft-center{top:0;max-height:none;justify-content:center}#panel.drafting.draft-center .draft-cards{width:88%;margin-inline:auto}.spell-pick b{font-size:clamp(8.5px,2.7vw,12px);letter-spacing:-.02em}#quest-screen .quest-panel.quest-selection .quest-draft.draft-cards{width:88%!important;margin-inline:auto}.collection-tile.spell-tile .collection-role.spell-tag,.spell-pick .spell-tag,.spell-tag.curse,.spell-tag.mixed{display:block;padding:2px 12px;border-radius:999px;color:#2f6b1c;background:linear-gradient(#e4f6cf,#b9e394)!important;font:800 clamp(8px,9.5cqw,12px) / 1.2 var(--font);white-space:nowrap}.spell-tag.curse{color:#4b2a8a;background:linear-gradient(#e6dcfa,#c4b0f0)!important}.spell-tag.mixed{color:#17606a;background:linear-gradient(#d3f1f3,#a3dde2)!important}.spell-tag:after{content:none}.spell-pick .spell-info{position:absolute;top:5px;left:5px;z-index:3;width:24px;height:24px;color:#17408a;cursor:pointer;filter:drop-shadow(0 0 1px #fff4d6) drop-shadow(0 1px 0 #fff4d6)}.spell-pick .spell-info svg{width:100%;height:100%;stroke-width:2.3;pointer-events:none}.collection-tile.spell-tile .collection-role.spell-tag.mixed,.spell-pick .spell-tag.mixed{background:none!important;padding:0;top:73%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1px 3px;width:90%;white-space:normal}.spell-tag.mixed .pill{font-style:normal;padding:1px 9px;border-radius:999px;color:#2f6b1c;background:linear-gradient(#e4f6cf,#b9e394)}.spell-tag.mixed .pill.curse{color:#4b2a8a;background:linear-gradient(#e6dcfa,#c4b0f0);flex-basis:auto}.spell-tag.mixed em{font-style:normal;color:#fff4d6;font:800 14px/1 var(--font);text-shadow:0 1px 0 #6b3d14}.spell-tag.mixed .pill.curse{order:3}.spell-tag.mixed:before{content:"";order:2;flex-basis:100%;height:0}.spell-empty.slot-locked{display:grid;place-items:center;align-content:center;gap:4px;opacity:.85}.spell-empty.slot-locked img{width:28px;height:auto}.spell-empty.slot-locked{text-align:center;padding:0 6px;font-size:11px;line-height:1.25}.spell-empty.slot-locked span{display:block;white-space:nowrap;font-size:11px;padding:0}.spell-empty.slot-locked span{font-size:9px!important;letter-spacing:0}.spell-deck-cards.draft-cards{display:flex;justify-content:center}.spell-deck-cards .spell-pick{flex:0 0 calc((100% - 12px) / 3)}.spell-pick .spell-tag.mixed em{position:static;font:800 13px/1 var(--font);color:#5a3314;text-shadow:none}.spell-pick .spell-tag{font-size:10px;padding:2px 10px}.spell-pick .spell-tag.mixed .pill{padding:1px 8px}.chaos-tabs{display:flex;align-items:center;width:252px;height:42px;margin:0 auto;padding:0 8px;box-sizing:border-box;isolation:isolate;background:url(/assets/chaos-tabs/tabs-bg.webp) center / 100% 100% no-repeat}.chaos-tabs .chaos-tab{position:relative;flex:1;min-height:0;height:31px;padding:0;border:0;background:none;color:#c3cfee;font:900 13px/1 var(--font);letter-spacing:.04em;text-transform:uppercase;text-shadow:0 1px 2px #0a1430}.chaos-tab:before{content:"";position:absolute;inset:0;z-index:-1;opacity:0;background:url(/assets/chaos-tabs/tab-active.webp) center / 100% 100% no-repeat}.chaos-tab:first-child:before{transform:scaleX(-1)}.chaos-tab.active{color:#fff;text-shadow:0 2px 0 #8a4300}.chaos-tab.active:before{opacity:1}.stage-map{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column-reverse;padding:96px 14px 66px 72px;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 78px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 78px),transparent)}.stage-loading{text-align:center;color:#fff}.stages-header{position:absolute;z-index:2;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:26px 18px 22px;background:#0000008c;text-shadow:0 2px 2px #241635}.stages-title{margin:0;font:900 22px/1.2 var(--font)}.stages-total{display:flex;align-items:center;gap:6px;min-height:34px;padding:2px 14px 2px 8px;border:2px solid #1d1740;border-radius:20px;background:#2b2160;font:800 14px/1 var(--font);color:#cfd0f5}.stages-total img{width:24px;height:auto}.stages-total strong{color:#fff;font-size:16px}.stage-row{position:relative;flex:none;display:flex;align-items:center;gap:8px;min-height:104px;padding-right:4px;padding-left:30px}.stage-row:before{content:"";position:absolute;left:6px;top:-1px;bottom:-1px;width:8px;background:#1b1436}.stage-row:first-child:before{bottom:50%}.stage-row:last-child:before{top:50%}.stage-row.is-open:before,.stage-row.is-done:before{background:#5fe3f5}.stage-row.is-current:before{background:linear-gradient(#1b1436 50%,#5fe3f5 50%)}.stage-row.is-current:first-child:before{background:#1b1436}.stage-node{position:absolute;left:2px;top:50%;width:16px;height:16px;margin-top:-8px;transform:rotate(45deg);border:3px solid #1d1740;background:#5b5290}.stage-row.is-open .stage-node,.stage-row.is-done .stage-node{background:#5fe3f5}.stage-row.is-current .stage-node{background:#ffe04a;box-shadow:0 0 8px #ffe04a}.stage-card{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:0;border:0;background:none;color:#fff;font:800 13px/1 var(--font);text-shadow:0 2px 2px #1b1436}.stage-card:disabled{filter:grayscale(.5)}.stage-plate{position:relative;width:100%;height:70px;background:url(/assets/stages/plate.webp) center bottom / 100% 100% no-repeat}.stage-label{position:absolute;left:12px;top:-15px;font:800 12px/1 var(--font)}.stage-label strong{font:900 20px/1 var(--display);margin-left:3px}.stage-row.is-current .stage-plate{filter:drop-shadow(0 0 10px #ffd23fcc)}.stage-row.is-current .stage-label{color:#ffe04a}.stage-foes{position:absolute;left:8%;right:34%;bottom:20px;display:flex;align-items:flex-end;justify-content:flex-start;gap:2px}.stage-foes img{height:44px;width:auto;max-width:52px;object-fit:contain}.stage-chest{position:absolute;right:8%;bottom:20px;width:54px;height:54px;line-height:0}.stage-chest>img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.stage-row.is-locked .stage-plate{filter:saturate(.3) brightness(.92)}.stage-row.is-done .stage-plate{filter:saturate(.8) brightness(.9)}.stage-stars{display:flex;gap:3px}.stage-star{width:22px;height:auto}.stage-lock,.stage-check{position:absolute;object-fit:contain;filter:drop-shadow(0 1px 2px #0008)}.stage-lock{right:-4px;bottom:-4px;width:18px;height:18px}.stage-check{right:-6px;top:-6px;width:26px;height:26px}.stage-next{position:absolute;z-index:1;right:12px;top:-6px;padding:2px 8px;border-radius:4px 8px 8px 0;background:#e8344a;color:#fff;font:900 10px/1.3 var(--font);text-transform:uppercase}.stages-back{position:absolute;z-index:3;left:12px;bottom:calc(10px + env(safe-area-inset-bottom));display:block;padding:0;border:0;background:none;line-height:0}.stages-back img{width:76px;height:auto}#stages-screen{position:absolute;inset:0;z-index:44;display:flex;flex-direction:column;container-type:size;isolation:isolate;overflow:hidden;--menu-star: #291b50;background:radial-gradient(ellipse at 50% 38%,#625091,#4e3b79 58%,#39275f);color:#fff8e5;padding-top:env(safe-area-inset-top)}#stages-screen[hidden]{display:none}#stage-curtain{position:absolute;inset:0;z-index:70;overflow:hidden}#stage-curtain[hidden]{display:none}#stage-curtain .result-shutter{transition:transform .6s ease;will-change:transform,translate}#stage-curtain .shutter-ai{animation:shutter-close-top .65s cubic-bezier(.65,0,.35,1) both}#stage-curtain .shutter-player{animation:shutter-close-bottom .65s cubic-bezier(.65,0,.35,1) both}#stage-curtain .shutter-ai{clip-path:polygon(0 0,100% 0,100% 49%,0 55%)}#stage-curtain .shutter-player{clip-path:polygon(0 54%,100% 48%,100% 100%,0 100%)}#stage-curtain.opening{pointer-events:none}#stage-curtain.opening .shutter-ai{transform:translateY(-100%)}#stage-curtain.opening .shutter-player{transform:translateY(100%)}@media(prefers-reduced-motion:reduce){#stage-curtain .result-shutter{animation:none;transition:none}}#stages-screen .menu-star-field{animation-duration:70s}#stages-screen .menu-star-field i{background:var(--menu-star);-webkit-mask:url(/assets/stages/bg-star.webp) center / contain no-repeat;mask:url(/assets/stages/bg-star.webp) center / contain no-repeat;clip-path:none;transform:translate(-50%,-50%) rotate(12deg);opacity:.24}@media(prefers-reduced-motion:reduce){#stages-screen .menu-star-field{animation:none}}#stages-screen .stages-body{position:relative;display:flex;flex-direction:column;height:100%}.chest-reveal{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:16px;text-align:center}.chest-rewards{position:absolute;z-index:2;left:0;right:0;top:-16px;margin:0;display:flex;justify-content:center;gap:18px;pointer-events:none}.chest-rewards span{display:flex;align-items:center;gap:6px;color:#fff;font:900 34px/1 var(--font);-webkit-text-stroke:1.5px #1c1723;paint-order:stroke fill;text-shadow:0 3px 0 #1c1723;animation:chest-reward-pop .9s cubic-bezier(.2,1.2,.35,1) both}.chest-rewards span:nth-child(2){animation-delay:.18s}.chest-rewards img{width:38px;height:38px;filter:drop-shadow(0 2px 0 #1c1723)}@keyframes chest-reward-pop{0%{opacity:0;transform:translateY(110px) scale(.3)}55%{opacity:1;transform:translateY(-26px) scale(1.15)}to{opacity:1;transform:translateY(-14px) scale(1)}}.chest-stage{position:relative;width:220px;height:220px;display:grid;place-items:end center}.chest-stage>img{width:200px;height:auto;max-height:210px;object-fit:contain;filter:drop-shadow(0 8px 10px #0006)}.chest-closed.shaking{transform-origin:50% 100%;animation:chest-shake .28s ease-in-out infinite}@keyframes chest-shake{0%,to{transform:rotate(0) scale(1)}25%{transform:rotate(-7deg) scale(1.04)}75%{transform:rotate(7deg) scale(1.04)}}.chest-stage.opened:before{content:"";position:absolute;inset:-20px;border-radius:50%;background:radial-gradient(#fff6b0cc,#ffd23f00 68%);animation:chest-flash .7s ease-out both}@keyframes chest-flash{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.5)}}.chest-open{animation:chest-pop .35s cubic-bezier(.3,1.6,.5,1) both}@keyframes chest-pop{0%{transform:scale(.8)}to{transform:scale(1)}}.chest-rays{position:absolute;left:50%;top:50%;width:360px;height:360px;margin:-180px 0 0 -180px;pointer-events:none;background:repeating-conic-gradient(from 0deg,#fff3a8d9 0deg 9deg,#ffd23f00 9deg 24deg);-webkit-mask:radial-gradient(circle,#000 12%,transparent 68%);mask:radial-gradient(circle,#000 12%,transparent 68%);animation:chest-rays-in .5s ease-out both,chest-rays-turn 14s linear infinite}@keyframes chest-rays-in{0%{opacity:0;scale:.3}to{opacity:1;scale:1}}@keyframes chest-rays-turn{to{rotate:360deg}}.chest-stage>img{position:relative}.chest-reveal .chest-skip{position:relative;z-index:6;margin-top:26px;width:200px;height:auto;min-height:0;aspect-ratio:3.35 / 1;border:0;border-radius:0;padding:0 0 8px;box-shadow:none;background:transparent url(/assets/ui/pve-button-yellow.webp?v=2) center / 100% 100% no-repeat;font:400 18px var(--font-battle);color:#4a2e00;text-shadow:0 1px 0 #c79a12}.chest-reveal .chest-skip:disabled{opacity:.55;filter:grayscale(.4)}@media(prefers-reduced-motion:reduce){.chest-closed.shaking,.chest-open,.chest-stage.opened:before,.chest-rewards span,.chest-rays{animation:none}}.quest-panel.quest-run-xp[data-result-step=chest]{inset:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none}#quest-screen .opponent-picking .quest-boss-intro.stage-boss{font-size:clamp(28px,8vw,46px)}.quest-stars{display:flex;justify-content:center;gap:8px;margin:0 0 6px}.quest-stars img{width:54px;height:auto;filter:drop-shadow(0 3px 0 #0005)}.pvp-rewards h2 .quest-stars{margin:0}.stage-countdown h2{margin:0;font:900 24px/1.3 var(--font);text-shadow:0 2px 2px #241635}.stage-countdown b{display:inline-block;min-width:1ch;color:#ffd23f;font-size:34px}.star-slots{gap:10px}.star-slot{position:relative;width:62px;height:59px}.star-slot img{position:absolute;inset:0;width:100%;height:100%}.star-slot .star-on{opacity:0}.star-slot.filled .star-on{animation:star-drop .55s cubic-bezier(.3,1.5,.5,1) both}@keyframes star-drop{0%{opacity:0;transform:translateY(-120px) scale(1.7) rotate(-25deg)}25%{opacity:1}75%{transform:translateY(6px) scale(.92) rotate(4deg)}to{opacity:1;transform:none}}.pvp-rewards.stage-seq>p{opacity:0;transition:opacity .3s}.pvp-rewards.stage-seq.cards-on>p{opacity:1}.pvp-rewards.stage-seq .pvp-xp-card{opacity:0;transform:translateY(18px)}.pvp-rewards.stage-seq .pvp-xp-card.shown{opacity:1;transform:none;transition:opacity .35s,transform .35s cubic-bezier(.3,1.4,.5,1)}.pvp-rewards.stage-seq .pvp-reward-continue{opacity:0;pointer-events:none;transform:scale(.85)}.pvp-rewards.stage-seq.ready .pvp-reward-continue{opacity:1;pointer-events:auto;transform:none;transition:opacity .3s,transform .35s cubic-bezier(.3,1.6,.5,1)}@media(prefers-reduced-motion:reduce){.star-slot.filled .star-on{animation:none;opacity:1}}.quest-loading{position:absolute;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#0b0716f0}.quest-loading[hidden]{display:none}.quest-loading .splash-loading{position:static;width:100%}.stage-chest>.stage-lock{inset:60% auto auto 44%;width:32px;height:32px;margin:0;transform:translate(-50%,-50%)}.stage-chest>.stage-check{right:-4px;top:auto;bottom:-4px;width:28px;height:28px}.stages-counts{display:flex;align-items:center;gap:6px}.stages-played{padding-left:12px}.chest-rewards .chest-sticker img{width:56px;height:56px;object-fit:contain;filter:drop-shadow(0 2px 2px #00000066)}.chest-rewards .chest-sticker{display:inline-flex;align-items:center;gap:4px}.chest-rewards .chest-sticker.is-duplicate>img:first-child{opacity:.55;filter:grayscale(.6)}.chest-rewards .chest-sticker .chest-sticker-coin{width:22px;height:22px}#screen-menu .menu-actions>.chaos-tabs{margin:0 auto -54px;transform:translateY(-54px)}.chest-rewards .chest-spell{flex-direction:column;gap:2px}.chest-rewards .chest-spell .spell-glyph{width:52px;height:52px;margin:-7px 0 -4px;font-size:14px}.chest-rewards .chest-spell small{font:700 11px/1.15 var(--font);-webkit-text-stroke:0;text-shadow:0 1px 2px #000;white-space:nowrap}.chest-rewards .chest-sticker img{width:38px;height:38px}.chest-rewards .chest-spell{position:relative;pointer-events:auto;cursor:default}.chest-rewards .chest-spell .spell-glyph{width:92px;height:92px;margin:-22px 0}.chest-rewards .chest-spell small{position:absolute;top:100%;left:50%;transform:translate(-50%);padding:2px 8px;border-radius:6px;background:#1c1723e6;opacity:0;transition:opacity .12s;pointer-events:none}.chest-rewards .chest-spell:hover small,.chest-rewards .chest-spell:active small,.chest-rewards .chest-spell:focus-within small{opacity:1}.chest-rewards .chest-sticker img:first-child{width:80px;height:80px}:root{--bg1: #2b1d10;--bg2: #4a3016;--panel: #3a2a16;--ink: #241635;--paper: #f7f2ff;--muted: #b7a6d9;--line: #4d3576;--accent: #ffcf3f;--accent2: #ff9f2e;--player: #3fc3dd;--ai: #f0655a;--heart: #ff5a63;--guardian: #7fd6b2;--fighter: #ffc95e;--artillery: #7cd0e8;--support: #d8a8e8;--raider: #b5d97a;--swarm: #ff9d84;--font: "YouBlockhead", "Trebuchet MS", Arial, sans-serif;--display: "YouBlockhead", "Arial Black", "Trebuchet MS", sans-serif}*{box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}html,body{margin:0;height:100%;background:var(--bg1);color:var(--paper);font-family:var(--font);line-height:1.45;overflow-x:clip}input,textarea{user-select:text;-webkit-user-select:text}#app{height:100dvh;max-width:min(100vw,56vh);margin:0 auto;display:flex;flex-direction:column;background:radial-gradient(120% 90% at 50% 0%,var(--bg2),var(--bg1));box-shadow:0 0 60px #0009}button,a{-webkit-tap-highlight-color:transparent}button{font:800 15px var(--font);min-height:48px;padding:12px 20px;border:3px solid var(--ink);border-radius:14px;background:var(--paper);color:var(--ink);cursor:pointer;white-space:nowrap;transition:transform .12s;touch-action:manipulation}button:hover{transform:translateY(-2px)}button:active{transform:translateY(2px)}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:disabled{opacity:.55;cursor:wait}button.primary{background:var(--accent);box-shadow:0 5px 0 var(--accent2);font-size:18px;padding:16px 30px;border-radius:18px;min-height:56px}button.quiet{background:var(--panel);color:var(--paper);border-color:var(--line)}h1,h2,h3,p{margin:0}.eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--muted);margin-bottom:8px}.coral{color:var(--ai)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}#screen-menu{flex:1;display:flex;flex-direction:column;min-height:0}.masthead{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 6px}.wordmark{text-decoration:none;font:900 26px/.9 var(--display);letter-spacing:-.05em;color:var(--accent)}.wordmark span{display:block;font:800 9px var(--font);letter-spacing:.2em;color:var(--muted);margin-top:4px}.wordmark.corner{position:absolute;top:14px;left:14px;z-index:30;font-size:15px;color:var(--accent);text-shadow:0 2px 0 var(--ink)}.round-btn{min-width:48px;min-height:48px;padding:0;border-radius:50%;font-size:16px}#intro{flex:1;overflow-y:auto;padding:12px 24px 32px;display:flex;flex-direction:column}.menu-hero{flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center;gap:10px}.menu-hero h1{font:900 clamp(44px,13vw,64px)/.95 var(--display);letter-spacing:-.04em;margin:10px 0;color:var(--paper);text-shadow:0 4px 0 var(--ink)}.menu-hero h1 span{color:var(--accent)}.mascot-row{display:flex;gap:14px;justify-content:center;margin:18px 0 26px}.mascot{display:grid;place-items:center;width:74px;height:78px;border:4px solid var(--ink);border-radius:24px;color:var(--ink);font:900 30px var(--display);box-shadow:0 7px 0 var(--ink);animation:bob 2.4s ease-in-out infinite}.mascot.guardian{background:var(--guardian);transform:rotate(-8deg)}.mascot.artillery{background:var(--artillery);animation-delay:-.8s}.mascot.swarm{background:var(--swarm);animation-delay:-1.6s}.menu-actions{display:flex;flex-direction:column;gap:12px;align-items:stretch;max-width:320px;margin:0 auto;width:100%}.menu-note{font-size:12px;color:var(--muted);margin-top:16px}#screen-game{position:relative;flex:1;display:flex;flex-direction:column;min-height:0}#screen-game:not(:has(#intro:empty)){gap:0}#hud{position:absolute;top:0;left:0;right:0;z-index:15;padding:0;pointer-events:none}.hud-banner{position:relative;height:64px}.hud-half{position:absolute;inset:0;display:flex;align-items:center;gap:10px;padding:10px 14px 8px;background:linear-gradient(#57b7f2,#3b8fd6);clip-path:polygon(0 0,56% 0,48% 22%,53% 47%,46% 72%,50% 100%,0 100%);transition:clip-path .7s cubic-bezier(.4,0,.2,1)}.hud-half.player{padding-left:52px}.hud-half.ai{background:linear-gradient(#f4725f,#e8574a);justify-content:flex-end;clip-path:polygon(56% 0,100% 0,100% 100%,50% 100%,46% 72%,53% 47%,48% 22%)}.hud-half .hud-stack{display:flex;flex-direction:column;gap:2px;min-width:0}.hud-name{font:900 13px var(--display);letter-spacing:.06em;color:#fff;text-shadow:0 2px 4px #00000060;white-space:nowrap}.hearts{color:#fff;font-size:14px;letter-spacing:2px;text-shadow:0 2px 4px #00000060;white-space:nowrap}.player-score,.ai-score{font:900 16px var(--display);color:#fff;text-shadow:0 2px 4px #00000060}.hud-crack{position:absolute;inset:0;background:var(--ink);clip-path:polygon(51% 0,45% 22%,50% 47%,43% 72%,47% 100%,63% 100%,53% 72%,60% 47%,55% 22%,65% 0);transition:clip-path .7s cubic-bezier(.4,0,.2,1);z-index:1}.vs-badge{position:absolute;top:0;left:50%;transform:translate(-50%);background:var(--ink);border:3px solid var(--line);border-top:none;border-radius:0 0 12px 12px;padding:8px 12px;font:900 13px var(--display);color:#fff;z-index:3;box-shadow:0 3px #00000040}.hud-side{display:flex;align-items:center;gap:8px;min-width:0}.hud-side.ai{flex-direction:row-reverse}.hud-name{font:900 13px var(--display);letter-spacing:.06em;background:var(--panel);border:2px solid var(--line);border-radius:10px;padding:6px 10px;white-space:nowrap}.hud-side.player .hud-name{color:var(--player)}.hud-side.ai .hud-name{color:var(--ai)}.hearts{font-size:18px;letter-spacing:2px;color:var(--heart);text-shadow:0 2px 0 var(--ink)}.vs-banner{font:900 15px var(--display);color:#fff;background:var(--ai);border:3px solid var(--ink);border-radius:10px;padding:6px 10px;transform:rotate(-4deg);box-shadow:0 3px 0 var(--ink)}.round-label{position:absolute;top:calc(84px + env(safe-area-inset-top));left:0;right:0;z-index:15;text-align:center;pointer-events:none;text-shadow:0 2px 6px #1a0e2e}.round-label h1{font:900 20px var(--display);color:var(--paper)}.round-label .eyebrow{margin-bottom:2px;font-size:9px}#arena-wrap{position:absolute;inset:0;padding:0;overflow:hidden}#arena canvas{display:block!important;width:100%!important;height:100%!important;border-radius:0}#battle-controls{position:absolute;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:25;display:flex;gap:10px;align-items:center;background:#241635e0;border:3px solid var(--line);border-radius:20px;padding:8px 12px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}#battle-controls:empty{display:none}#battle-controls strong{font:900 18px var(--display);font-variant-numeric:tabular-nums;color:var(--accent);padding:0 4px}#battle-controls .playback{display:flex;gap:8px}#battle-controls .quiet{min-height:44px;min-width:44px;padding:8px 14px;border-radius:12px}#panel{position:absolute;inset:auto 0 0;z-index:20;max-height:62%;overflow-y:auto;padding:14px 16px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;pointer-events:none}#panel>*{pointer-events:auto}#panel.drafting{top:12%;justify-content:center}#panel.drafting .sheet{box-shadow:0 10px 24px #00000059}#panel:empty{display:none}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.enemy-section{background:var(--panel);border:3px solid var(--line);border-radius:18px;padding:16px}.enemy-cards{display:grid;gap:8px;width:100%}.enemy-mini{display:flex;align-items:center;gap:10px;background:#241635;border:2px solid var(--line);border-radius:14px;padding:8px 10px}.enemy-mini strong{font-size:14px}.enemy-mini small{font-size:10px}.enemy-mini .quiet{margin-left:auto;min-height:44px;padding:6px 12px;border-radius:10px;font-size:12px}.mini-symbol{width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:var(--role);border:2px solid var(--ink);font-weight:900}.locked{font-size:9px;letter-spacing:.08em;background:var(--accent);color:var(--ink);padding:5px 8px;border-radius:8px}.pick-dots{display:flex;gap:6px}.pick-dots span{display:grid;place-items:center;width:28px;height:28px;border:2px solid var(--line);border-radius:50%;font-size:12px;color:var(--muted)}.pick-dots .filled{background:var(--accent);color:var(--ink);border-color:var(--ink);font-weight:900}.draft-section{display:flex;flex-direction:column;gap:12px}.draft-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.squad-card{background:linear-gradient(#f9e7bd,#e9c07a);color:#3c2410;border:3px solid #5a3c1a;border-radius:18px;padding:10px 8px;display:flex;flex-direction:column;gap:6px;align-items:center;box-shadow:0 5px #0007;cursor:pointer;min-height:0}.squad-card:active{transform:translateY(2px);box-shadow:0 3px #0007}.squad-card .portrait{width:100%;aspect-ratio:1;background:radial-gradient(#fff2ce,#f3d492);border:2px solid #5a3c1a;border-radius:12px;display:grid;place-items:center;overflow:hidden}.squad-card .portrait img{width:84%;height:84%;object-fit:contain}.squad-card .card-label{font:900 15px var(--display);color:#3c2410}.squad-card .ability{font-size:10px;color:#6b4a22;line-height:1.4}.role-guardian{--role: var(--guardian)}.role-fighter{--role: var(--fighter)}.role-artillery{--role: var(--artillery)}.role-support{--role: var(--support)}.role-raider{--role: var(--raider)}.role-swarm{--role: var(--swarm)}.role-shillin{--role: #9fd8c8}.role-temujin{--role: #d8a25f}.role-shufen{--role: #c9b3e6}.role-machito{--role: #86b8a2}.role-hope{--role: #f5e3a8}.role-bard{--role: #b5c9a0}.role-xia{--role: #e69aa8}.role-bing{--role: #9fc7ee}.role-noir{--role: #8f8fb8}.role-rouge{--role: #e08a9b}.role-mit{--role: #a8e0b0}.card-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.08em;color:var(--muted)}.role-name{text-transform:uppercase;font-weight:900}.portrait{display:grid;place-items:center;font:900 24px var(--display);color:var(--ink)}.squad-card h3{font-size:16px}.chips{display:flex;justify-content:center;gap:5px;flex-wrap:wrap}.chip{font-size:10px;font-weight:800;background:#241635;border:1px solid var(--line);border-radius:8px;padding:4px 7px;color:var(--paper)}.ability{font-size:11px;color:var(--muted);line-height:1.5;flex:1}.section-description{font-size:13px;color:var(--muted)}.bonus-banner{background:#2c1e4a;border:2px solid var(--accent);border-radius:12px;padding:10px 12px;font-size:13px;color:var(--paper);text-align:center}.deployment{display:flex;flex-direction:column;gap:14px}.formation-grid{display:grid;grid-template-columns:44px 1fr 1fr;gap:8px;align-items:center}.lane-name{font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--muted)}.slot{background:#241635;border:2px dashed var(--line);border-radius:12px;text-align:center;padding:10px 4px;font-size:13px;min-height:56px;width:100%;color:var(--paper)}.slot small{display:block;color:var(--muted);font-size:10px}.empty{color:var(--muted);font-size:11px}.slot.destination{border-color:var(--accent);border-style:dashed}.slot.selected{background:var(--accent);color:var(--ink);border:3px solid var(--ink)}.slot.selected small{color:var(--ink)}.enemy-slot{border-style:solid;background:var(--panel)}.results{background:var(--panel);border:3px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 8px #0007;margin:auto 0}.results h2{font:900 30px var(--display);margin:10px 0;color:var(--accent)}.results p{color:var(--muted);font-size:13px}.result-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.stats-wrap{overflow:auto;border:2px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}caption{text-align:left;font-size:11px;color:var(--muted);padding:10px 12px 4px}th,td{padding:9px 12px;border-bottom:1px solid var(--line)}th{background:#241635;color:var(--paper);font-size:10px;letter-spacing:.1em}td small{display:block;color:var(--muted);font-size:9px}tr:last-child td{border-bottom:0}dialog{border:3px solid var(--line);border-radius:20px;background:var(--panel);color:var(--paper);width:min(460px,calc(100% - 28px));max-height:85dvh;padding:24px}dialog::backdrop{background:#120a20;opacity:.8}dialog h2{margin-bottom:16px;font:900 22px var(--display);color:var(--accent)}dialog p{font-size:13px;margin:12px 0;color:var(--paper)}dialog form{margin-top:20px}.instructions{padding-left:20px;font-size:13px}.instructions li{padding:6px}.instructions strong{display:block}@keyframes bob{50%{translate:0 -10px}}@media(max-width:360px){.draft-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.squad-card{padding:6px 4px;gap:4px}.squad-card .card-label{font-size:11px}.squad-card .ability{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.portrait img,.mini-symbol img{width:100%;height:100%;object-fit:contain;border-radius:inherit}#arena{position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%);aspect-ratio:540/960;height:100%}#slot-hotspots{position:absolute;inset:0}.slot-hotspot{position:absolute;transform:translate(0);background:transparent;border:2px dashed #ffffff66;border-radius:12px;min-height:0;padding:0;cursor:pointer;box-shadow:none}.slot-hotspot.empty{border:none;pointer-events:auto;cursor:pointer}.slot-hotspot.occupied{border-style:solid;border-color:transparent;pointer-events:none;cursor:default}.slot-hotspot.occupied.movable{pointer-events:auto;cursor:pointer}.slot-hotspot.occupied.movable .slot-chip{border-style:dashed;border-color:#ffe27a}.slot-hotspot.occupied.movable.selected .slot-chip{border-style:solid;border-color:#ffe27a;box-shadow:0 0 0 4px #ffcf3f50}.slot-hotspot .slot-chip{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:900 13px var(--font);letter-spacing:.03em;background:#241635e0;color:#fff;border:2px solid var(--line);border-radius:10px;padding:6px 9px;white-space:nowrap}.slot-hotspot.empty .slot-chip{width:auto;height:auto;background:none;border:none;font-size:46px;font-weight:700;color:#ffe27a;text-shadow:0 2px 6px #1a0e2ec0}.slot-hotspot.occupied .slot-chip{border-color:var(--ink)}.sheet{background:#1c1030f0;border:3px solid var(--line);border-radius:18px;padding:14px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);pointer-events:none}.sheet button,.sheet [data-action]{pointer-events:auto}.hint-sheet{text-align:center}.lineup{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}:root{--hud-outline: #583e32;--hud-shadow: #271e2866;--hud-white: #fff9e9;--hud-blue-top: #9db5ff;--hud-blue: #687ee9;--hud-blue-bottom: #b1c7ff;--hud-red-top: #ff9c98;--hud-red: #e65d67;--hud-red-bottom: #ffb0a4;--hud-ribbon-player: #e1dcff;--hud-ribbon-ai: #ffdbca;--hud-heart-dark: #39242d;--hud-heart-edge: #702f36;--hud-heart-light: #ff8a88;--hud-clear: transparent}#hud{top:calc(22px + env(safe-area-inset-top));left:12px;right:12px;filter:drop-shadow(0 3px 1px var(--hud-shadow))}.hud-banner{height:48px;border:3px solid var(--hud-outline);border-radius:11px;background:var(--hud-outline);isolation:isolate}.hud-half,.hud-half.player,.hud-half.ai{inset:0 auto 0 0;width:50%;padding:0 13px 0 48px;gap:0;clip-path:none;background:linear-gradient(var(--hud-blue-top),var(--hud-blue) 65%,var(--hud-blue-bottom));border-radius:7px 0 0 7px;box-shadow:inset 0 2px 0 var(--hud-blue-bottom);transition:none}.hud-half.ai{left:auto;right:0;padding:0 48px 0 13px;border-radius:0 7px 7px 0;background:linear-gradient(var(--hud-red-top),var(--hud-red) 65%,var(--hud-red-bottom));box-shadow:inset 0 2px 0 var(--hud-red-bottom)}.hud-name{padding:0;border:0;border-radius:0;background:none;font:900 14px var(--font);letter-spacing:0;color:var(--hud-white);text-shadow:0 2px 0 var(--hud-outline),1px 0 0 var(--hud-outline),-1px 0 0 var(--hud-outline)}.hud-avatar{position:absolute;left:5px;top:4px;width:34px;height:34px;display:grid;place-items:center;border:2px solid var(--hud-outline);border-radius:8px;background:var(--hud-ribbon-player);box-shadow:inset 0 2px 0 var(--hud-white);z-index:2;overflow:hidden}.hud-avatar img{width:112%;height:112%;object-fit:cover;filter:drop-shadow(0 1px 0 var(--hud-outline))}.ai .hud-avatar{left:auto;right:5px;background:var(--accent2)}.vs-badge{top:50%;left:50%;transform:translate(-50%,-50%) rotate(-7deg);padding:0;background:none;border:0;border-radius:0;box-shadow:none;font:900 23px/1 var(--display);color:var(--hud-white);text-shadow:0 3px 0 var(--hud-outline),2px 0 0 var(--hud-outline),-2px 0 0 var(--hud-outline)}.score-ribbon{position:absolute;top:100%;left:5px;width:30px;height:47px;display:flex;align-items:center;flex-direction:column;padding-top:2px;gap:4px;background:var(--hud-outline);clip-path:polygon(0 0,100% 0,100% 87%,50% 100%,0 87%)}.score-ribbon:before{content:"";position:absolute;inset:0 2px 3px;background:var(--hud-ribbon-player);clip-path:polygon(0 0,100% 0,100% 87%,50% 100%,0 87%);z-index:-1}.ai .score-ribbon{left:auto;right:5px}.ai .score-ribbon:before{background:var(--hud-ribbon-ai)}.player-score,.ai-score{font:900 15px/1.3 var(--font);color:var(--hud-white);text-shadow:0 1px 0 var(--hud-outline),1px 0 0 var(--hud-outline),-1px 0 0 var(--hud-outline)}.score-chevron{width:16px;height:10px;background:var(--hud-outline);clip-path:polygon(0 45%,50% 0,100% 45%,100% 100%,50% 55%,0 100%);position:relative}.score-chevron:after{content:"";position:absolute;inset:2px;background:var(--accent2);clip-path:inherit}.hearts{position:absolute;top:calc(100% + 7px);left:42px;display:flex;gap:0;font-size:0;letter-spacing:0;text-shadow:none}.ai .hearts{left:auto;right:42px;flex-direction:row-reverse}.hud-heart{display:block;width:25px;height:26px;filter:drop-shadow(0 2px 0 var(--hud-shadow))}.hud-heart svg{width:100%;height:100%;overflow:visible}.heart-body{fill:var(--hud-heart-dark);stroke:var(--hud-heart-edge);stroke-width:2.5;stroke-linejoin:round}.heart-shine{fill:none;stroke:var(--hud-clear);stroke-width:3;stroke-linecap:round}.won .heart-body{fill:var(--heart)}.won .heart-shine{stroke:var(--hud-heart-light)}.wordmark.corner{top:6px;left:16px;font-size:11px}.round-label{top:calc(126px + env(safe-area-inset-top))}.round-label .eyebrow{font-size:8px;letter-spacing:.09em}@media(max-width:360px){#hud{left:8px;right:8px}.hud-half.player{padding-left:44px}.hud-half.ai{padding-right:44px}.hud-name{font-size:12px}.hud-heart{width:22px}.hearts{left:39px}.ai .hearts{right:39px}}.hud-balance{position:absolute;inset:0;border-radius:7px;overflow:hidden;background:linear-gradient(var(--hud-red-top),var(--hud-red) 65%,var(--hud-red-bottom))}.hud-balance-player{position:absolute;inset:0;background:linear-gradient(var(--hud-blue-top),var(--hud-blue) 65%,var(--hud-blue-bottom));clip-path:polygon(0 0,52% 0,49% 25%,51% 48%,48% 73%,50% 100%,0 100%);transition:clip-path .2s linear}.hud-half.player,.hud-half.ai{background:none;box-shadow:none}.hud-crack{background:var(--hud-outline);transition:clip-path .2s linear}@media(prefers-reduced-motion:reduce){.hud-balance-player,.hud-crack{transition:none}}#panel.drafting .sheet{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0;width:100%}:root{--card-ink: #45260f;--card-type-ink: #67401e;--card-shadow: #27180e55}.draft-cards{gap:6px}.squad-card{position:relative;display:block;width:100%;aspect-ratio:1088/1456;padding:0;border:0;border-radius:13%;background:url(/assets/ui/selection-card.webp) center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 4px 2px var(--card-shadow));color:var(--card-ink);transition:transform .15s ease,filter .15s ease}.squad-card:hover{transform:translateY(-5px)}.squad-card:active{transform:translateY(1px);box-shadow:none}.squad-card .portrait{position:absolute;left:12%;top:10%;width:76%;height:49%;aspect-ratio:auto;border:0;border-radius:0;background:none;overflow:visible}.squad-card .portrait img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 1px var(--card-shadow))}.squad-card .card-details{position:absolute;inset:72% 6% 12%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;line-height:1.05}.squad-card .card-label{font:900 clamp(10px,2.8vw,16px)/1 var(--font);color:var(--card-ink)}.card-count{font:900 clamp(9px,2.3vw,13px)/1 var(--font)}.card-type{font:800 clamp(8px,2vw,10px)/1 var(--font);color:var(--card-type-ink);text-transform:capitalize}@media(prefers-reduced-motion:reduce){.squad-card{transition:none}}.squad-card .card-details{top:72%;bottom:12%}#screen-game .wordmark.corner,#hud .score-ribbon{display:none}#hud{top:calc(12px + env(safe-area-inset-top));left:8px;right:8px}.hud-banner{height:56px;border-radius:12px}.hud-avatar{top:4px;width:42px;height:42px;border-radius:9px}.hud-half.player{padding-left:56px}.hud-half.ai{padding-right:56px}.hud-name{font-size:16px}.vs-badge{font-size:27px}.hearts{left:8px;top:calc(100% + 7px)}.hud-heart{width:28px;height:29px}@media(max-width:360px){.hud-name{font-size:14px}.hud-heart{width:26px;height:27px}}.hearts{gap:0;left:9px;top:calc(100% + 6px)}.ai .hearts{right:9px}.hud-heart{position:relative;width:34px;height:30px;flex:0 0 34px;background-position:center;background-repeat:no-repeat;background-size:140% 172%;filter:drop-shadow(0 2px 1px var(--hud-shadow))}.hud-heart.full{background-image:url(/assets/ui/heart-full.webp)}.hud-heart.empty{background-image:url(/assets/ui/heart-empty.webp)}.player .hud-heart+.hud-heart{margin-left:-9px}.ai .hud-heart+.hud-heart{margin-right:-9px}.hud-heart:nth-child(1){z-index:3}.hud-heart:nth-child(3){z-index:1}.hearts{left:8px;top:calc(100% + 5px)}.ai .hearts{right:8px}.hud-heart{width:24px;height:21px;flex-basis:24px}.player .hud-heart+.hud-heart{margin-left:-7px}.ai .hud-heart+.hud-heart{margin-right:-7px}.hud-heart:nth-child(1){z-index:1}.hud-heart:nth-child(2){z-index:2}.hud-heart:nth-child(3){z-index:3}.player .hud-heart+.hud-heart{margin-left:-3px}.ai .hud-heart+.hud-heart{margin-right:-3px}:root{--cue-scrim: #35221333;--cue-shadow: #442914}#round-cue{position:absolute;inset:0;z-index:24;display:grid;place-items:center;background:var(--cue-scrim);pointer-events:auto}.round-cue-text{font:900 clamp(30px,8vw,46px)/1.1 var(--display);color:var(--hud-white);text-align:center;text-shadow:0 3px 0 var(--cue-shadow),0 5px 14px var(--hud-shadow);animation:round-cue-fade 1.2s ease both}:is(#round-cue,.quest-cue)[data-cue=round] .round-cue-text{animation-duration:1.4s}.round-cue-text.countdown-text{font-size:clamp(72px,20vw,104px);color:var(--accent);animation:countdown-fade 1s ease both}:is(#round-cue,.quest-cue)[data-cue=countdown-0] .round-cue-text{animation-duration:.45s}@keyframes round-cue-fade{0%{opacity:0;transform:translateY(8px)}20%,75%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-5px)}}@keyframes countdown-fade{0%{opacity:0;transform:scale(1.12)}15%,75%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@media(prefers-reduced-motion:reduce){.round-cue-text,.round-cue-text.countdown-text{animation:none}}:is(#round-cue,.quest-cue)[data-cue=countdown-0] .round-cue-text{font-size:clamp(44px,12vw,64px)}#screen-game[data-phase=draft]:after{content:"";position:absolute;inset:0;z-index:19;background:var(--cue-scrim);pointer-events:none}#screen-game[data-phase=draft]:has(#round-cue:not([hidden])):after{display:none}#round-result{position:absolute;inset:0;z-index:40;overflow:hidden;isolation:isolate}.result-shutter{position:absolute;inset:-2px;transition:transform .65s cubic-bezier(.65,0,.35,1);pointer-events:none}.shutter-ai{background:linear-gradient(var(--hud-red),var(--hud-red-top));clip-path:polygon(0 0,100% 0,100% 48%,0 54%);animation:shutter-close-top .65s ease both}.shutter-player{background:linear-gradient(var(--hud-blue-bottom),var(--hud-blue));clip-path:polygon(0 54.5%,100% 48.5%,100% 100%,0 100%);animation:shutter-close-bottom .65s ease both}#round-result:before{content:"";position:absolute;inset:0;background:var(--hud-outline);clip-path:polygon(0 54%,100% 48%,100% 48.6%,0 54.6%);opacity:0;transition:opacity .2s}#round-result[data-stage=loss]:before,#round-result[data-stage=complete]:before{opacity:1}.result-summary{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;opacity:1;transition:opacity .2s}#round-result[data-stage=closing] .result-summary{animation:result-reveal .65s ease both}.result-side{width:76%;display:flex;flex-direction:column;align-items:center;gap:12px}.result-identity{width:100%;min-height:78px;display:flex;align-items:center;gap:14px;padding:10px 16px;border:3px solid var(--hud-outline);border-radius:14px;background:linear-gradient(135deg,var(--accent2),var(--hud-ribbon-ai));box-shadow:0 3px 0 var(--hud-shadow);color:var(--hud-white);font:900 22px var(--font);text-shadow:0 2px 0 var(--hud-outline)}.result-identity img{width:56px;height:56px;object-fit:contain;border:2px solid var(--hud-outline);border-radius:12px;background:var(--hud-ribbon-player)}.result-hearts{display:flex;justify-content:center;gap:6px}.result-hearts .hud-heart{width:38px;height:34px;flex-basis:38px}.result-hearts.heart-lost .draining{animation:heart-drain .65s ease both}.result-verdict{font:900 28px var(--display);text-align:center;color:var(--hud-white);text-shadow:0 2px 0 var(--hud-outline)}.result-verdict small{display:block;font:800 12px var(--font);margin-top:4px}.curtain-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}#round-result[data-stage=opening] .shutter-ai{transform:translateY(-100%)}#round-result[data-stage=opening] .shutter-player{transform:translateY(100%)}#round-result[data-stage=opening] .result-summary{opacity:0;pointer-events:none}@keyframes shutter-close-top{0%{translate:0 -100%}to{translate:0 0}}@keyframes shutter-close-bottom{0%{translate:0 100%}to{translate:0 0}}@keyframes result-reveal{0%,65%{opacity:0}to{opacity:1}}@keyframes heart-drain{0%{transform:scale(1.3);filter:brightness(2)}50%{transform:scale(.8)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.result-shutter,.result-summary{animation:none!important;transition:none}.result-hearts.heart-lost .draining{animation:none}}.result-shutter{animation:none}#round-result[data-stage=closing] .shutter-ai{animation:shutter-close-top .65s ease both}#round-result[data-stage=closing] .shutter-player{animation:shutter-close-bottom .65s ease both}#screen-game:has(#round-result:not([hidden])) .round-cue-text{animation-play-state:paused}.result-shutter{transition:transform .9s cubic-bezier(.65,0,.25,1);will-change:transform}#round-result[data-stage=closing] .shutter-ai,#round-result[data-stage=closing] .shutter-player{animation-duration:.85s;animation-timing-function:cubic-bezier(.65,0,.25,1)}#round-result[data-stage=closing] .result-summary{animation-duration:.85s}.result-summary{transition:opacity .35s ease,transform .55s ease}#round-result[data-stage=opening] .result-summary{transform:scale(.97)}.result-hearts.heart-lost .draining{animation:none}.result-hearts .draining:after{content:"";position:absolute;inset:0;background:url(/assets/ui/heart-full.webp) center/140% 172% no-repeat;animation:heart-empty-fade .85s ease-in-out both}@keyframes heart-empty-fade{0%,15%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.result-hearts .draining:after{animation:none;display:none}.result-shutter{will-change:auto}}.result-seam-space{height:52px;flex-shrink:0}.result-hearts.heart-lost .draining{animation:lost-heart-bounce .95s cubic-bezier(.3,0,.3,1) both}.result-hearts .draining:after{animation:heart-empty-fade 1.2s ease-in-out both}@keyframes lost-heart-bounce{0%{transform:translateY(0) scale(1)}25%{transform:translateY(-14px) scale(1.12)}50%{transform:translateY(0) scale(.92)}70%{transform:translateY(-5px) scale(1.04)}to{transform:translateY(0) scale(1)}}@keyframes heart-empty-fade{0%,40%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.result-hearts.heart-lost .draining{animation:none}}.draft-cards.picking .squad-card{pointer-events:none;cursor:default;transition:opacity .5s ease-in-out,transform .5s ease-in-out;opacity:0;transform:translateY(8px) scale(.97)}.draft-cards.picking .squad-card.picked{opacity:1;transform:translateY(-5px) scale(1.04);z-index:1}.draft-cards.dealing .squad-card{animation:deal-card-in .3s ease-in-out both}@keyframes deal-card-in{0%{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.draft-cards.picking .squad-card{transition:none;transform:none}.draft-cards.dealing .squad-card{animation:none}}@media(max-width:768px){#app{width:100%;max-width:none;margin:0;padding:0;box-shadow:none}#arena{left:0;transform:none;width:100%;height:100%;aspect-ratio:auto}}#round-result[data-stage=complete]{overflow-y:auto;overscroll-behavior:contain}#round-result[data-stage=complete] .result-summary{position:relative;min-height:100%;height:auto;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(150px,1fr) minmax(150px,1fr) auto;justify-items:center;align-items:center;gap:24px;padding:calc(24px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom))}#round-result[data-stage=complete] .result-seam-space{display:none}#round-result[data-stage=complete] .result-side{width:min(100%,340px);flex-shrink:0}#round-result[data-stage=complete] .curtain-actions{width:min(100%,340px);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:8px}#round-result[data-stage=complete] .curtain-actions button{width:100%;min-width:0;padding:14px 8px;font-size:15px}#round-result[data-stage=complete] .result-summary{grid-template-rows:repeat(3,max-content);align-content:center;gap:24px}#round-result[data-stage=complete] .result-player{margin-top:28px}#round-result[data-stage=complete] .curtain-actions{padding-top:0}#round-result[data-stage=complete] .result-summary{min-height:max(100%,560px);grid-template-rows:minmax(0,1fr) minmax(0,1fr);align-content:stretch;gap:0;padding:0 16px}#round-result[data-stage=complete] .result-ai{grid-row:1;align-self:end;margin:0 0 48px}#round-result[data-stage=complete] .result-player{grid-row:2;align-self:start;margin:48px 0 0}#round-result[data-stage=complete] .curtain-actions{position:absolute;top:calc(50% + 204px);left:50%;transform:translate(-50%);width:min(calc(100% - 32px),340px);padding:0 0 calc(16px + env(safe-area-inset-bottom))}#round-result:not([data-stage=complete]) .result-summary{display:grid;grid-template-rows:1fr 1fr;justify-items:center;gap:0}#round-result:not([data-stage=complete]) .result-seam-space{display:none}#round-result:not([data-stage=complete]) .result-ai{align-self:end;margin-bottom:max(40px,6dvh)}#round-result:not([data-stage=complete]) .result-player{align-self:start;margin-top:max(40px,6dvh)}#round-result[data-stage=complete] .result-ai{margin-bottom:max(40px,6dvh)}#round-result[data-stage=complete] .result-player{margin-top:max(40px,6dvh)}#round-result[data-stage=complete] .curtain-actions{top:calc(50% + max(40px,6dvh) + 156px)}#round-result .result-side,#round-result[data-stage=complete] .result-side{width:calc(100% - 32px);max-width:none}#round-result[data-stage=complete] .result-side{width:100%}.result-identity{min-height:96px;padding:14px 18px}.result-identity img{width:60px;height:60px;flex-shrink:0}#round-result[data-stage=complete] .curtain-actions{top:calc(50% + max(40px,6dvh) + 176px)}#round-result[data-stage=complete] .result-summary{min-height:max(100%,600px)}#round-result .result-summary{padding-left:16px;padding-right:16px}#round-result[data-stage=closing] .result-side,#round-result[data-stage=loss] .result-side,#round-result[data-stage=opening] .result-side,#round-result[data-stage=complete] .result-side{width:100%;max-width:none;min-width:0}#round-result .result-identity{width:100%;min-height:112px;padding:18px 20px}#round-result .result-identity img{width:64px;height:64px}#round-result[data-stage=complete] .curtain-actions{top:calc(50% + max(40px,6dvh) + 192px)}#round-result[data-stage=complete] .result-summary{min-height:max(100%,640px)}#reinforcement-notices{position:absolute;inset:0;z-index:26;pointer-events:none}.reinforcement-notice{position:absolute;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;min-width:110px;padding:7px 18px;border:2px solid var(--hud-outline);border-radius:24px;background:linear-gradient(var(--hud-blue-top),var(--hud-blue));color:var(--hud-white);font:900 16px/1.2 var(--font);text-shadow:0 2px 0 var(--hud-outline);box-shadow:0 3px 0 var(--hud-shadow);white-space:nowrap;animation:reinforcement-rise 2.2s ease-in-out both}.reinforcement-notice:after{content:"";position:absolute;bottom:-7px;width:10px;height:10px;background:var(--hud-blue);border-right:2px solid var(--hud-outline);border-bottom:2px solid var(--hud-outline);transform:rotate(45deg)}.reinforcement-notice.notice-ai{background:linear-gradient(var(--hud-red-top),var(--hud-red))}.notice-ai:after{background:var(--hud-red)}.reinforcement-notice small{font-size:11px;margin-top:2px}@keyframes reinforcement-rise{0%{opacity:0;translate:0 8px}15%,75%{opacity:1;translate:0 0}to{opacity:0;translate:0 -12px}}@media(prefers-reduced-motion:reduce){.reinforcement-notice{animation:none}}#round-result .result-summary,#round-result[data-stage=complete] .result-summary{padding-left:0;padding-right:0}#round-result .result-side,#round-result[data-stage=closing] .result-side,#round-result[data-stage=loss] .result-side,#round-result[data-stage=opening] .result-side,#round-result[data-stage=complete] .result-side{width:100%;max-width:none;margin-left:0;margin-right:0}#round-result .result-identity{width:100%;max-width:none;border-radius:0;border-left:0;border-right:0;padding-left:calc(20px + env(safe-area-inset-left));padding-right:calc(20px + env(safe-area-inset-right))}#round-result .result-summary,#round-result:not([data-stage=complete]) .result-summary,#round-result[data-stage=complete] .result-summary{width:100%;grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:stretch}#round-result .result-side{justify-self:stretch}#round-result[data-stage=opening] .result-summary{transform:none}#round-result .result-side,#round-result[data-stage=closing] .result-side,#round-result[data-stage=loss] .result-side,#round-result[data-stage=opening] .result-side,#round-result[data-stage=complete] .result-side{width:min(340px,calc(100% - 32px));max-width:none;justify-self:center}#round-result .result-identity{min-height:80px;padding:10px 16px;border:3px solid var(--hud-outline);border-radius:14px}#round-result .result-identity img{width:56px;height:56px}#round-result[data-stage=complete] .curtain-actions{top:calc(50% + max(40px,6dvh) + 160px)}:root{--menu-background: #7261b0;--menu-center: #8d7ac4;--menu-edge: #594993;--menu-star: #51428c;--menu-text: #eee5ff}#screen-menu{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,var(--menu-center),var(--menu-background) 60%,var(--menu-edge))}#screen-menu:before{content:"";position:absolute;inset:-300px 0 0;z-index:-1;pointer-events:none;background:var(--menu-star);opacity:.25;-webkit-mask:url(/assets/ui/menu-stars.svg) repeat 0 0/240px 300px;mask:url(/assets/ui/menu-stars.svg) repeat 0 0/240px 300px;animation:menu-stars-down 28s linear infinite}#screen-menu .eyebrow,#screen-menu .menu-note,#screen-menu .wordmark span{color:var(--menu-text)}@keyframes menu-stars-down{0%{transform:translateY(0)}to{transform:translateY(300px)}}#screen-menu:before{inset:-300px -240px 0 0;animation-name:menu-stars-diagonal}@keyframes menu-stars-diagonal{0%{transform:translate(0)}to{transform:translate(-240px,300px)}}#screen-menu{container-type:size}#screen-menu:before{inset:-100cqh -100cqw 0 0;-webkit-mask-image:url(/assets/ui/menu-stars-diagonal.svg);mask-image:url(/assets/ui/menu-stars-diagonal.svg);-webkit-mask-size:100cqw 100cqh;mask-size:100cqw 100cqh;animation:menu-twelve-stars 60s linear infinite}@keyframes menu-twelve-stars{0%{transform:translate(0)}to{transform:translate(-33.333333cqw,100cqh)}}@media(prefers-reduced-motion:reduce){#screen-menu:before{animation:none;transform:none}}#screen-menu:before{display:none}.menu-star-field{position:absolute;inset:-100% -100% 0 0;z-index:-1;pointer-events:none;animation:menu-star-field-drift 70s linear infinite}.menu-star-field i{position:absolute;display:block;width:clamp(32px,9cqw,46px);height:clamp(32px,9cqw,46px);transform:translate(-50%,-50%);background:var(--menu-star);opacity:.22;clip-path:polygon(50% 0,61% 34%,98% 35%,69% 57%,79% 93%,50% 72%,21% 93%,31% 57%,2% 35%,39% 34%)}@keyframes menu-star-field-drift{0%{translate:0 0}to{translate:-100cqw 100cqh}}@media(prefers-reduced-motion:reduce){.menu-star-field{animation:none}}:root{--menu-background: #7969b0;--menu-center: #8a79b9;--menu-edge: #64549d;--menu-star: #594793}.menu-star-field i{width:clamp(38px,12.5cqw,58px);height:clamp(38px,12.5cqw,58px);opacity:.23;transform:translate(-50%,-50%) rotate(12deg)}.menu-star-field{animation-duration:90s}.hud-heart{background-size:130% 155%}.result-hearts .draining:after{background-size:130% 155%}#screen-menu .masthead{position:absolute;top:env(safe-area-inset-top);left:0;right:0;justify-content:flex-end;z-index:2}#screen-menu .masthead .wordmark{display:none}#screen-menu #intro{padding:64px 16px calc(130px + env(safe-area-inset-bottom))}#screen-menu .menu-hero{gap:22px}.menu-island{display:block;width:min(100%,440px,54dvh);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto;filter:drop-shadow(0 10px 8px var(--hud-shadow))}#screen-menu .menu-actions{position:relative;max-width:252px;padding:0 24px}#screen-menu .menu-actions .primary{font-size:22px;min-height:58px}#screen-menu .menu-help{position:fixed;right:16px;bottom:calc(128px + env(safe-area-inset-bottom));width:44px;min-height:44px;padding:0;border-radius:50%;font-size:22px}@media(max-height:500px){.menu-island{width:min(48dvh,240px)}#screen-menu #intro{padding-top:16px}#screen-menu .menu-hero{gap:10px}}#screen-menu .menu-actions{position:static}#screen-menu .menu-help{position:absolute}.menu-island{width:min(72%,315px,40dvh)}@media(max-height:500px){.menu-island{width:min(36dvh,180px)}}:root{--menu-background: #65528f;--menu-center: #9782bd;--menu-edge: #443366;--menu-star: #382957}#screen-menu{background:radial-gradient(ellipse at 50% 47%,var(--menu-center) 0%,var(--menu-background) 48%,var(--menu-edge) 100%)}.menu-star-field i{opacity:.13}.menu-star-field{animation-duration:110s}#screen-menu .menu-actions{max-width:270px;padding:0 16px}#screen-menu .menu-actions .primary{min-height:68px;aspect-ratio:3.3;padding:11px 25px 14px;border:0;border-radius:20px;background:url(/assets/ui/battle-button.webp) center/118% 150% no-repeat;box-shadow:none;color:var(--hud-white);font:900 23px/1 var(--display);text-shadow:0 2px 0 var(--hud-outline),2px 0 0 var(--hud-outline),-2px 0 0 var(--hud-outline);filter:drop-shadow(0 3px 2px var(--hud-shadow))}@font-face{font-family:YouBlockhead;src:url(/assets/fonts/YouBlockhead.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}:root{--font-battle: "YouBlockhead", var(--display)}#screen-menu .menu-actions .primary{font-family:var(--font-battle);font-weight:400;font-size:27px;letter-spacing:.02em;line-height:1;padding:12px 28px 16px;text-shadow:0 2px 0 var(--hud-outline),1px 0 0 var(--hud-outline),-1px 0 0 var(--hud-outline)}:root{--battle-text-outline: #000}#screen-menu .menu-actions .primary{-webkit-text-stroke:1.5px var(--battle-text-outline);paint-order:stroke fill;text-shadow:0 2px 0 var(--battle-text-outline)}#screen-menu .menu-actions .primary{-webkit-text-stroke-width:3px}.menu-location{position:relative;width:min(72%,315px,40dvh);margin:0 auto}.menu-location .menu-island{width:100%;height:auto}.map-arrow{position:absolute;top:50%;width:13.5%;aspect-ratio:1;padding:0;border:0;background:none;cursor:pointer;transform:translateY(-50%) scale(1);transition:transform .15s ease;filter:drop-shadow(0 3px 3px var(--hud-shadow))}.map-arrow.right{right:-9%}.map-arrow.left{left:-9%;transform:translateY(-50%) scaleX(-1)}.map-arrow.right:active{transform:translateY(-50%) scale(.9)}.map-arrow.right:hover{transform:translateY(-50%) scale(1.06)}.map-arrow.left:hover{transform:translateY(-50%) scale(-1.06,1.06)}.map-arrow.left:active{transform:translateY(-50%) scale(-.9,.9)}.map-arrow img{display:block;width:100%;height:auto}.map-arrow.disabled{cursor:default;opacity:.75;filter:drop-shadow(0 2px 2px var(--hud-shadow))}.map-arrow:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:50%}#splash:not(.done)~#app .menu-nav{visibility:hidden}.menu-nav{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(100%,540px);display:flex;align-items:flex-end;justify-content:center;gap:12px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#101423eb;box-shadow:0 -4px 12px #00000059;z-index:5}.menu-nav .nav-tab{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:0;padding:8px 12px 5px;border:0;border-radius:14px;background:none;box-shadow:none;color:var(--hud-white);font:700 11px/1 var(--font);white-space:nowrap}.menu-nav .nav-tab img{width:52px;height:52px;object-fit:contain;transition:transform .15s ease}.menu-nav .nav-tab:hover{filter:brightness(1.12)}.menu-nav .nav-tab:hover img{transform:translateY(-2px)}.menu-nav .nav-tab:active{transform:translateY(2px)}.menu-nav .nav-tab.active{background:linear-gradient(180deg,#8a7bff,#6a5bd8);box-shadow:0 3px #00000059}.menu-nav .nav-tab.active img{width:56px;height:56px}.menu-nav .nav-tab.active span{color:#ffd75e;font-size:12px}.menu-nav .nav-tab.active span{text-shadow:0 1px 0 var(--battle-text-outline)}@media(max-height:500px){.menu-nav{gap:10px;padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}.menu-nav .nav-tab img{width:30px;height:30px}.menu-nav .nav-tab{padding:7px 9px 5px;font-size:10px}.menu-nav .nav-tab.battle img{width:40px;height:40px}.menu-nav .nav-tab.battle{padding:9px 13px 7px;margin-bottom:4px}}.forest-nameplate{display:block;margin-top:2px;text-align:center;background:none;color:var(--hud-white);font:400 clamp(19px,5.6vw,26px)/1.1 var(--font-battle);white-space:nowrap;-webkit-text-stroke:2.5px var(--battle-text-outline);paint-order:stroke fill;text-shadow:0 3px 0 var(--battle-text-outline),0 5px 8px var(--hud-shadow)}#screen-menu{background:#66512c url(/assets/ui/menu-background-forest-entrance.webp) center/cover no-repeat}#screen-menu.shadow-maw{background:#251343 url(/assets/ui/menu-background-shadow-maw.webp) center/cover no-repeat}#screen-menu.shadow-maw .menu-star-field{display:none}#screen-menu .menu-location{width:min(88%,390px,48dvh);aspect-ratio:1;flex-shrink:0}#screen-menu .menu-location .menu-island{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;animation:none}#screen-menu .map-arrow.left{left:-5%}#screen-menu .map-arrow.right{right:-5%}@media(max-height:500px){#screen-menu .menu-location{width:min(44dvh,220px)}}#screen-menu .forest-nameplate{position:absolute;left:3%;bottom:-8%;display:flex;align-items:center;justify-content:center;width:94%;aspect-ratio:2048/683;margin:0;padding:0 12% 1%;background:url(/assets/ui/menu-nameplate-forest-entrance.webp) center/contain no-repeat;font-size:clamp(13px,4.5vw,22px)}#screen-menu.shadow-maw .forest-nameplate{background-image:url(/assets/ui/menu-nameplate-shadow-maw.webp);font-size:clamp(13px,4.5vw,22px)}@media(max-height:500px){.menu-location{width:min(36dvh,180px)}.forest-nameplate{font-size:18px}}#screen-menu .menu-hero{gap:30px}@media(max-height:500px){.forest-nameplate{font-size:13px}#screen-menu .menu-hero{gap:18px}}:root{--nav-rail: #20233d;--nav-edge: #11182b;--nav-active: #4c4dcc;--nav-active-light: #8586ff}#screen-menu #intro{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.menu-nav{position:absolute;left:0;right:0;bottom:0;transform:none;width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:0;padding:0 0 env(safe-area-inset-bottom);background:var(--nav-rail);border-top:3px solid var(--nav-edge);box-shadow:none}.menu-nav .nav-tab{width:100%;height:70px;min-height:48px;min-width:0;justify-content:center;gap:0;padding:7px 3px;border:0;border-right:1px solid var(--nav-edge);border-radius:0;background:none;transition:filter .15s,transform .15s}.menu-nav .nav-tab img{width:48px;height:48px}.menu-nav .nav-tab.active{height:82px;margin-top:-12px;margin-bottom:0;padding:2px 3px 7px;border:2px solid var(--nav-edge);border-bottom:0;border-radius:10px 10px 0 0;background:linear-gradient(var(--nav-active-light),var(--nav-active) 28%);box-shadow:inset 0 2px 0 var(--nav-active-light)}.menu-nav .nav-tab.active img{width:50px;height:50px}.menu-nav .nav-tab.active span{font:400 12px/1 var(--font-battle);text-transform:uppercase;color:var(--hud-white);-webkit-text-stroke:2px var(--nav-edge);paint-order:stroke fill}@media(max-height:500px){.menu-nav .nav-tab{height:54px}.menu-nav .nav-tab img{width:36px;height:36px}.menu-nav .nav-tab.active{height:66px}.menu-nav .nav-tab.active img{width:40px;height:40px}#screen-menu #intro{padding-bottom:72px}}.menu-nav .nav-tab{height:88px}.menu-nav .nav-tab img{width:56px;height:56px}.menu-nav .nav-tab[aria-label=Clan] img{width:80px;height:80px;max-width:none}.menu-nav .nav-tab.active{height:102px;margin-top:-14px}.menu-nav .nav-tab.active img{width:62px;height:62px}.menu-nav .nav-tab.active span{font-size:14px}#screen-menu #intro{padding-bottom:calc(122px + env(safe-area-inset-bottom))}#screen-menu .menu-help{bottom:calc(146px + env(safe-area-inset-bottom))}@media(max-height:500px){.menu-nav .nav-tab{height:64px}.menu-nav .nav-tab img{width:42px;height:42px}.menu-nav .nav-tab[aria-label=Clan] img{width:60px;height:60px}.menu-nav .nav-tab.active{height:78px}.menu-nav .nav-tab.active img{width:46px;height:46px}#screen-menu #intro{padding-bottom:86px}}.menu-nav .nav-tab[aria-label=Shop] img{width:80px;height:80px;max-width:none}@media(max-height:500px){.menu-nav .nav-tab[aria-label=Shop] img{width:60px;height:60px}}.menu-placeholder{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;color:var(--hud-white)}.menu-placeholder h1{margin:0;font:400 clamp(28px,7vw,38px)/1.2 var(--font-battle);-webkit-text-stroke:3px var(--nav-edge);paint-order:stroke fill}.menu-placeholder p{margin:0;font:600 18px/1.5 var(--font);color:var(--hud-white)}.menu-nav .nav-tab.active span{font-size:clamp(9px,2.8vw,14px)}.menu-nav .nav-tab:is([aria-label=Clan],[aria-label=Shop]).active img{width:80px;height:70px;object-fit:contain}@media(max-height:500px){.menu-nav .nav-tab:is([aria-label=Clan],[aria-label=Shop]).active img{width:60px;height:50px}}#screen-menu .masthead{justify-content:space-between;gap:16px}.menu-currencies{display:flex;align-items:center;gap:20px;padding-left:10px}.currency-counter{position:relative;display:flex;align-items:center;justify-content:flex-end;min-width:88px;height:28px;padding:0 10px 0 33px;border:2px solid #151727;border-radius:5px;background:#25283f;box-shadow:0 2px #171827;color:#fff}.currency-counter img{position:absolute;left:-16px;top:50%;transform:translateY(-50%);width:52px;height:52px;object-fit:contain;max-width:none}.currency-counter.shard img{width:56px;height:56px;left:-18px}.currency-counter span{font:400 16px/1 var(--font-battle);-webkit-text-stroke:2px #11121b;paint-order:stroke fill}@media(max-width:360px){.menu-currencies{gap:16px}.currency-counter{min-width:78px}}.menu-currencies{gap:16px}.currency-counter{min-width:70px;height:24px;padding:0 8px 0 30px}.currency-counter img{width:40px;height:40px;left:-12px}.currency-counter.shard img{width:44px;height:44px;left:-14px}.currency-counter span{font-size:13px;-webkit-text-stroke-width:1.5px}@media(max-width:360px){.currency-counter{min-width:64px}}#screen-menu .masthead{gap:10px;min-height:58px}#screen-menu #sound{position:absolute;left:16px;top:66px}.energy-display{display:flex;align-items:center;flex-shrink:0;padding-left:5px}.energy-counter{min-width:76px;padding-right:0}.energy-counter img{width:44px;height:44px;left:-15px}.energy-plus{display:grid;place-items:center;width:36px;min-height:44px;padding:0;border:0;background:none;box-shadow:none;margin-left:-2px}.energy-plus img{width:42px;height:42px;max-width:none;object-fit:contain}.energy-plus:hover{filter:brightness(1.15)}.energy-plus:focus-visible{outline:2px solid #fff;outline-offset:1px;border-radius:6px}@media(max-width:360px){#screen-menu .masthead{padding-left:16px;padding-right:12px}.energy-counter{min-width:76px}.menu-currencies{gap:12px}}.energy-counter{min-width:88px;padding-right:8px}.energy-plus{margin-left:-10px}@media(max-width:360px){.energy-counter{min-width:88px}}.menu-player{position:absolute;top:calc(64px + env(safe-area-inset-top));left:20px;width:calc(100% - 40px);height:38px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 10px;border:2px solid #11131e;border-radius:6px;background:#33374d;box-shadow:inset 0 1px #646980,0 2px #8a77b6;color:#fff}.menu-player-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 17px/1.2 var(--font-battle);-webkit-text-stroke:2px #151621;paint-order:stroke fill}.menu-player-trophies{display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;gap:3px;align-self:stretch;min-width:78px;margin-right:-10px;padding:0 9px 0 5px;border-radius:0 4px 4px 0;background:#171923;color:#fff;font:800 14px/1 Arial,sans-serif;-webkit-text-stroke:1.5px #10111a;paint-order:stroke fill}.menu-player-trophies img{width:35px;height:35px;object-fit:contain}#screen-menu #sound{left:auto;right:16px;top:128px}#screen-menu #intro{padding-top:132px}@media(max-width:360px){.menu-player{left:16px;width:calc(100% - 28px)}}@media(max-height:500px){.menu-player{top:calc(56px + env(safe-area-inset-top))}#screen-menu #sound{top:116px}#screen-menu #intro{padding-top:118px}}.menu-player{height:46px}.menu-player-name{font-size:18px}.menu-player-trophies{position:relative;isolation:isolate;min-width:112px;padding-left:0;justify-content:space-between;background:none;font-size:16px}.menu-player-trophies:before{content:"";position:absolute;inset:0 0 0 -16px;z-index:-1;background:#171923;clip-path:polygon(16px 0,100% 0,100% 100%,0 100%);border-radius:0 4px 4px 0}.menu-player-trophies img{width:42px;height:42px}#screen-menu #sound{top:138px}#screen-menu #intro{padding-top:142px}@media(max-height:500px){#screen-menu #sound{top:126px}#screen-menu #intro{padding-top:128px}}#screen-menu .menu-player{left:16px;width:calc((100% - 78px)*.72);height:auto;align-items:center;padding:6px 14px 6px 6px;gap:6px;border:0;border-radius:0;aspect-ratio:2170/725;background:url(/assets/ui/player-plate-orange-v4.webp?v=4) center/100% 100% no-repeat;box-shadow:none}#screen-menu.menu-pve .menu-player{background-image:url(/assets/ui/player-plate-pve.webp?v=1)}.menu-avatar{position:relative;width:52px;height:52px;flex-shrink:0;display:grid;place-items:center}.menu-avatar:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#18223f}.menu-avatar>img{position:relative;width:37px;height:37px;object-fit:contain;border-radius:50%}.menu-avatar>img.menu-avatar-frame{position:absolute;inset:0;width:100%;height:100%;border-radius:0}.menu-player-details{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;align-items:flex-start}#screen-menu .menu-player-name{font-size:19px;line-height:1.1;-webkit-text-stroke:2.5px #5b3317;paint-order:stroke fill;text-shadow:0 2px 0 #5b3317}.menu-player-level{display:flex;align-items:center;gap:3px;height:12px;max-width:88px;border-radius:0 0 5px 5px;background:#0a142a;box-shadow:0 1px #556aa5;color:#ffe36a;font:800 10px/1 Arial,sans-serif}.menu-player-level>span{font-size:18px;color:#ffd243}#screen-menu .menu-player-trophies{min-width:0;align-self:flex-start;margin:0;padding:1px 10px 2px 4px;gap:4px;border-radius:999px;background:linear-gradient(#8a5a30,#6e421f);box-shadow:inset 0 1px #b07c46;font-size:15px}#screen-menu .menu-player-trophies:before{content:none}#screen-menu .menu-player-trophies img{width:32px;height:32px}.menu-settings{position:absolute;right:14px;top:calc(94px + env(safe-area-inset-top));z-index:2;width:44px;height:44px;min-height:44px;padding:0;border:2px solid #101a36;border-radius:8px;background:linear-gradient(#526397,#273660);box-shadow:inset 0 0 0 1px #8396d4,0 2px #0c1429;display:grid;place-items:center}.menu-settings img{width:44px;height:44px;max-width:none;object-fit:contain}.menu-settings:hover{filter:brightness(1.15)}@media(max-width:360px){#screen-menu .menu-player{left:12px;width:calc(100% - 72px);gap:3px}.menu-settings{right:10px}.menu-avatar{width:46px;height:46px}#screen-menu .menu-player-trophies{min-width:54px}}@media(max-height:500px){.menu-settings{top:calc(82px + env(safe-area-inset-top))}}#screen-menu .menu-player{padding-left:18px;gap:7px}#screen-menu .menu-avatar{width:70px;height:70px;margin-left:-14px;margin-right:0}#screen-menu .menu-avatar>img:not(.menu-avatar-frame){width:54px;height:54px;object-fit:cover}#screen-menu .menu-avatar:before{inset:9px}#screen-menu .menu-player-trophies{min-width:0;padding:1px 12px 2px 5px;gap:5px;font-size:17px;align-self:flex-start;height:auto;transform:none}#screen-menu .menu-player-trophies img{width:24px;height:24px}#screen-menu .menu-settings{border:0;background:none;box-shadow:none;border-radius:0}#screen-menu .menu-settings img{width:56px;height:56px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}@media(max-width:360px){#screen-menu .menu-player-trophies{min-width:0;padding-right:9px;gap:5px}#screen-menu .menu-avatar{width:60px;height:60px}}.squad-card .card-details{top:69%;bottom:10%;gap:2px}.squad-card .card-type{font-size:clamp(10px,2.6vw,13px);font-weight:900;color:#45260f}.squad-card .card-class{position:absolute;bottom:calc(100% + 8px);font:800 clamp(9px,2.2vw,11px)/1 Arial,sans-serif;text-transform:capitalize;color:#45260f;background:#fff0c6;border:1px solid #b57a35;border-radius:8px;padding:2px 6px}.draft-turn{font:900 15px var(--display);color:var(--paper);text-align:center;letter-spacing:.06em;text-transform:uppercase;margin-bottom:2px;text-shadow:0 2px 0 var(--ink)}.draft-turn .p1{color:#ffd166}.draft-turn .p2{color:#ff6b9d}#panel.drafting .opponent-picking-sheet{background:#2a1d42a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);height:auto;align-self:stretch;border-radius:0;margin-top:8px;margin-bottom:8px}#panel.drafting:has(.opponent-picking-sheet){padding-left:0;padding-right:0;top:0;max-height:none;justify-content:center}.opponent-picking{display:flex;align-items:center;justify-content:center;gap:.15em;width:100%;padding:24px 0;font:400 clamp(16px,4vw,26px)/1 var(--font-battle);color:var(--hud-white);letter-spacing:.08em;-webkit-text-stroke:2.5px var(--battle-text-outline);paint-order:stroke fill;text-shadow:0 3px 0 var(--battle-text-outline),0 5px 8px var(--hud-shadow)}.opponent-picking>span:first-child{white-space:nowrap}.opp-dots:after{content:"";animation:opp-dots 1.2s steps(4) infinite}@keyframes opp-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}@media(prefers-reduced-motion:reduce){.opp-dots:after{animation:none}}@media(max-width:560px){.hud-half{width:50%;padding:0 10px 0 44px}.hud-name{font-size:11px;max-width:32vw;overflow:hidden;text-overflow:ellipsis}}@media(max-width:400px){#app{zoom:.8;height:125dvh}#arena-wrap{zoom:1.25;width:100%;height:100dvh;top:0;left:0}}.squad-card.facedown{filter:brightness(.45) saturate(.35);pointer-events:none}.searching{display:flex;align-items:center;gap:10px;justify-content:center;font:900 15px var(--display);color:var(--paper);margin-top:10px}.searching-dot{width:10px;height:10px;border-radius:50%;background:#ffd166;animation:pulse-dot 1s ease-in-out infinite}.searching .quiet{font-size:12px;padding:4px 10px}@keyframes pulse-dot{0%,to{opacity:.3;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}button.primary.queueing{position:relative;animation:queue-pulse 1.2s ease-in-out infinite}.queue-dots{display:inline-block}.queue-dots:after{content:"";animation:queue-dots 1.2s steps(4,end) infinite}@keyframes queue-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}@keyframes queue-pulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.18)}}.energy-counter{position:relative}.energy-timer{position:absolute;left:50%;top:100%;transform:translate(-50%);margin-top:4px;font:700 10px var(--font);color:var(--muted);background:var(--panel);border:2px solid var(--line);border-radius:8px;padding:2px 8px;white-space:nowrap}.menu-player-trophies span{font:900 17px/1 var(--display);color:#ffd243;margin-left:0}.ign-row{display:flex;align-items:center;gap:8px;justify-content:center;font:900 13px var(--display);color:var(--paper);margin:10px 0}.ign-row input{background:var(--panel);border:3px solid var(--line);border-radius:10px;color:var(--paper);font:400 15px var(--font-battle);padding:8px 10px;width:170px}#splash{position:fixed;top:0;left:50%;transform:translate(-50%);width:min(100vw,56vh);height:100dvh;z-index:100;overflow:hidden;background:#7ec8f0;transition:opacity .6s ease,visibility .6s}@media(max-width:768px){#splash{width:100%;left:0;transform:none}}#splash.done{pointer-events:none;animation:splash-exit .6s ease forwards}#splash.done .splash-logo{animation:splash-zoom .7s cubic-bezier(.22,1,.36,1) forwards}@keyframes splash-exit{to{opacity:0;visibility:hidden}}@keyframes splash-zoom{to{transform:scale(1.35);opacity:0}}.splash-bg,.splash-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.splash-logo{position:absolute;top:max(3vh,18px);left:0;right:0;margin:0 auto;width:min(83%,325px);animation:splash-pop .8s cubic-bezier(.34,1.56,.64,1) both;filter:drop-shadow(0 10px 24px #1c2b4a55)}.splash-logo img{width:100%;height:auto;display:block}@keyframes splash-pop{0%{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}.splash-loading{position:absolute;bottom:8vh;left:0;right:0;text-align:center;font:400 clamp(22px,7vw,40px) "YouBlockhead",var(--display);color:#fff;letter-spacing:.08em;text-shadow:0 3px 0 #1c2b4a99,0 6px 14px #1c2b4a55;display:flex;justify-content:center;align-items:baseline}.splash-dots:after{content:"";animation:splash-dots 1.2s steps(4) infinite}@keyframes splash-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}#app{position:relative}#queue-curtain{position:absolute;inset:0;z-index:60;overflow:hidden;isolation:isolate;outline:none}#queue-curtain .shutter-ai{animation:shutter-close-top .65s cubic-bezier(.65,0,.35,1) both}#queue-curtain .shutter-player{animation:shutter-close-bottom .65s cubic-bezier(.65,0,.35,1) both}#queue-curtain.opening .shutter-ai{transform:translateY(-100%)}#queue-curtain.opening .shutter-player{transform:translateY(100%)}#queue-curtain .result-shutter{transition:transform .6s ease}#queue-curtain:before{content:"";position:absolute;inset:0;background:#111;clip-path:polygon(0 54%,100% 48%,100% 48.6%,0 54.6%);animation:result-reveal .65s ease both}#queue-curtain.opening:before{opacity:0;animation:none}.queue-opponent,.queue-player{position:absolute;left:8%;right:8%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;color:var(--hud-white);text-shadow:0 2px 0 var(--hud-outline);animation:result-reveal .65s ease both;transition:opacity .2s}.queue-opponent{top:19%}.queue-player{top:61%}.queue-opponent h2{font:900 clamp(18px,4.5vw,24px)/1.3 var(--font);max-width:280px}.queue-avatar,.queue-player>img{width:76px;height:76px;border:3px solid var(--hud-outline);border-radius:18px;background:var(--hud-ribbon-player);object-fit:contain}.queue-avatar{display:grid;place-items:center;background:var(--hud-ribbon-ai);font:900 48px/1 var(--display)}.queue-player-name{font:900 24px/1.2 var(--font);max-width:100%;overflow-wrap:anywhere}.queue-player>span{font-weight:700}.queue-player button{margin-top:12px;min-width:210px;font-size:14px}.queue-player button:disabled{cursor:default}#queue-curtain.opening{pointer-events:none}#queue-curtain.opening .queue-opponent,#queue-curtain.opening .queue-player{opacity:0;animation:none;pointer-events:none}@media(max-height:600px){.queue-opponent{top:10%;gap:8px}.queue-player{top:55%;gap:6px}.queue-avatar,.queue-player>img{width:48px;height:48px}.queue-player button{margin-top:2px}}@media(prefers-reduced-motion:reduce){#queue-curtain .result-shutter,.queue-opponent,.queue-player{animation:none!important;transition:none}}#queue-curtain:before{background:#000}@media(prefers-reduced-motion:reduce){#queue-curtain:before{animation:none}}.queue-avatar img{width:100%;height:100%;object-fit:contain}.queue-opponent h2{overflow-wrap:anywhere}#quest-screen{position:absolute;inset:0;z-index:45;overflow:hidden;background:#394b31 url(/assets/ui/menu-background-forest-entrance.webp) center/cover;color:#fff8e5}.quest-header{position:absolute;top:calc(14px + env(safe-area-inset-top));left:12px;right:12px;display:flex;align-items:center;gap:12px;z-index:5;text-shadow:0 2px 2px #241635}.quest-header>strong{font:900 19px/1.2 var(--font);text-align:center;flex:1}.quest-header small{display:block;font-size:12px;margin-top:5px}.quest-header button{padding:8px 12px;font-size:14px}.quest-panel>small{font:900 12px var(--font);color:#ffd887;letter-spacing:.04em}.quest-first{color:#ffe08a}.quest-enemies{display:flex;justify-content:center;height:45px;gap:8px}.quest-enemies img{width:45px;height:45px;object-fit:contain}.quest-arena{position:absolute;inset:0}.quest-battle-hud{position:absolute;top:13%;left:5%;right:5%;text-align:center;padding:7px;background:#241635cc;border-radius:12px;font-weight:900;z-index:2}.quest-panel{position:absolute;left:4%;right:4%;top:30%;padding:20px 12px;text-align:center;background:#302719ed;border:3px solid #c29355;border-radius:18px;z-index:4}.quest-panel h2{font:900 25px var(--font);margin-bottom:10px}.quest-panel p{font:700 14px/1.5 var(--font);margin-bottom:12px}.quest-panel>button{margin:6px}.quest-draft{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.quest-status{position:absolute;bottom:0;left:5%;right:5%;z-index:8;text-align:center;background:#241635ef;font:700 13px var(--font);border-radius:8px}.quest-status:empty{display:none}@media(max-height:650px){.quest-enemies{height:32px}.quest-enemies img{width:32px;height:32px}.quest-header>strong{font-size:15px}.quest-panel{top:24%;padding:10px}}.quest-battle-hud{top:auto;bottom:calc(14px + env(safe-area-inset-bottom));left:8%;right:8%;font-size:13px;pointer-events:none}.quest-panel{max-height:65%;overflow-y:auto}.menu-currencies{flex-shrink:0;width:max-content}.menu-currencies .currency-counter{flex:0 0 auto;width:max-content}.menu-currencies .currency-counter span{white-space:nowrap;font-variant-numeric:tabular-nums}#quest-screen{--quest-surface: #252b23f2;--quest-line: #b49b65;--quest-muted: #ced2bf;--quest-accent: #ffe0a0}.quest-cue{position:absolute;inset:0;z-index:3;display:grid;place-items:center;pointer-events:none}.quest-cue[hidden]{display:none}.quest-panel h2{font:900 clamp(24px,6vw,32px)/1.1 var(--display);color:var(--hud-white);text-shadow:0 3px 0 var(--cue-shadow)}.quest-draft.draft-cards{position:static;inset:auto;width:100%;padding:0;margin:14px 0 0;gap:8px;transform:none}#quest-screen{--quest-tray: #202a25f5;--quest-tray-edge: #a98c54;--quest-soft: #d5d9c9}.quest-panel.quest-selection{top:auto;bottom:calc(16px + env(safe-area-inset-bottom));left:3%;right:3%;max-height:68%;padding:16px 12px 10px;border:1px solid var(--quest-tray-edge);border-radius:16px;background:var(--quest-tray);text-align:left}.quest-draft-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.quest-draft-heading small{color:var(--quest-accent);font:700 10px var(--font);letter-spacing:.08em}.quest-draft-heading h2{font:400 clamp(20px,5.6vw,28px)/1.1 var(--font-battle);margin:5px 0 12px}.quest-picks-left{flex-shrink:0;color:var(--quest-soft);font:700 11px var(--font)}.quest-army-heading{display:flex;justify-content:space-between;color:var(--quest-soft);font:700 10px var(--font);margin:0 0 5px}.quest-army-strip{display:flex;align-items:center;gap:4px;min-height:38px;border-bottom:1px solid var(--quest-tray-edge);padding-bottom:8px}.quest-army-strip>span{flex:0 1 36px;min-width:0;aspect-ratio:1;background:url(/assets/ui/avatar-plate.webp) center/contain no-repeat}.quest-army-strip img{width:100%;height:100%;object-fit:contain;padding:3px}.quest-army-strip p{font:400 12px var(--font);color:var(--quest-soft);margin:0}.quest-selection .quest-draft.draft-cards{margin-top:10px;gap:6px}.quest-selection .quest-draft-hint{font:400 11px/1.4 var(--font);text-align:center;color:var(--quest-soft);margin:12px 0 2px}.quest-selection>button{display:block;margin:8px auto 0}#quest-screen.in-encounter .quest-battle-hud{inset:86px 5% auto;display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--quest-tray);border:1px solid var(--quest-tray-edge);font:400 14px var(--font-battle)}#quest-screen .quest-battle-hud[hidden]{display:none}.quest-saved{display:flex;align-items:center;gap:5px;font:400 14px var(--font-battle)}.quest-saved img{width:23px;height:23px;object-fit:contain}@media(max-height:650px){.quest-panel.quest-selection{padding:8px;bottom:6px}.quest-army-strip{min-height:26px}.quest-army-strip>span{flex-basis:26px}.quest-draft-heading h2{font-size:19px;margin-bottom:6px}.quest-selection .quest-draft.draft-cards{width:85%;margin:6px auto 0}.quest-selection .quest-draft-hint{margin-top:6px}}.quest-panel .sheet{width:100%;background:none;border:0;padding:0;pointer-events:none}.quest-panel .sheet button,.quest-panel .sheet [data-quest]{pointer-events:auto}.quest-panel.opponent-phase{inset:22% 0 auto;background:none;border:0;box-shadow:none;padding:0;text-align:center;overflow:visible}.quest-panel.opponent-phase .opponent-picking-sheet{background:#2a1d42a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);border-radius:0;padding:28px 0}.quest-panel.opponent-phase .opponent-picking{font-size:clamp(26px,9vw,48px);-webkit-text-stroke-width:3px}.quest-panel.quest-selection{text-align:center}.quest-panel.quest-selection .draft-turn{font:900 clamp(18px,5.5vw,26px) var(--display);color:var(--hud-white);text-shadow:0 3px 0 var(--battle-text-outline);letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}.quest-panel.quest-selection .quest-draft.draft-cards{width:92%;margin:0 auto}@media(min-width:480px){.quest-panel.quest-selection .quest-draft.draft-cards{width:70%}}#screen-menu{--sky-top: #536c82;--sky-mid: #8ba0ad;--sky-bottom: #b7c4cb;--sky-cloud: #eef3f5;--sky-forest: #668e7a;--sky-maw: #75668f}#screen-menu,#screen-menu.shadow-maw{background:linear-gradient(180deg,var(--sky-top),var(--sky-mid) 55%,var(--sky-bottom))}#screen-menu:before{content:"";display:block;position:absolute;inset:0;z-index:-1;pointer-events:none;-webkit-mask:none;mask:none;transform:none;animation:none;opacity:.4;background:radial-gradient(ellipse 65% 7% at 0% 26%,var(--sky-cloud),transparent 100%),radial-gradient(ellipse 54% 6% at 100% 33%,var(--sky-cloud),transparent 100%),radial-gradient(ellipse 90% 13% at 15% 94%,var(--sky-cloud),transparent 100%),radial-gradient(ellipse 65% 8% at 100% 83%,var(--sky-cloud),transparent 100%)}#screen-menu:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 50%,transparent 15%,var(--sky-forest) 100%);opacity:.2;transition:background-color .42s ease,opacity .42s ease;background-color:transparent}#screen-menu.shadow-maw:after{background-color:var(--sky-maw);opacity:.28}#screen-menu .menu-star-field{display:none}@media(prefers-reduced-motion:reduce){#screen-menu:after{transition:none}}#screen-menu,#screen-menu.shadow-maw{background:#73b5e4 url(/assets/ui/menu-background-arena.webp) center/cover no-repeat}#screen-menu.menu-pve{background:#0d2f52 url(/assets/ui/pve-bg.webp?v=2) center bottom/cover no-repeat}#screen-menu.menu-pve:before,#screen-menu.menu-pve:after{display:none}#screen-menu:before,#screen-menu:after{display:none}#screen-menu .menu-hero{position:absolute;inset:0;gap:0;pointer-events:none}#screen-menu .menu-location{position:absolute;top:18%;left:0;right:0;width:100%;height:50%;aspect-ratio:auto;margin:0;pointer-events:none}#screen-menu .menu-location .menu-island{filter:drop-shadow(0 8px 8px var(--hud-shadow))}#screen-menu .menu-actions{position:absolute;top:69%;left:50%;transform:translate(-50%);width:62%;max-width:310px;padding:0;pointer-events:auto}#screen-menu .menu-actions .primary{width:100%;font-size:clamp(25px,7vw,34px);min-height:64px}@media(max-height:600px){#screen-menu .menu-location{top:25%;height:43%}#screen-menu .menu-actions{top:69%;width:52%}#screen-menu .menu-actions .primary{min-height:48px;font-size:24px}}#screen-menu button.menu-avatar{padding:0;border:0;background:none;box-shadow:none;min-height:0;cursor:pointer}#screen-menu button.menu-avatar:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.avatar-picker{display:grid;grid-template-columns:repeat(6,minmax(0,64px));justify-content:center;gap:10px;max-height:50dvh;overflow-y:auto;padding:6px;grid-auto-rows:max-content}.avatar-picker button{padding:0;min-height:0;aspect-ratio:1;border:0;background:none;box-shadow:none}.avatar-picker img{width:100%;height:100%;object-fit:contain;display:block}.avatar-save-status{min-height:1.5em}@media(max-width:364px){#screen-menu .menu-settings{transform:scale(.82);transform-origin:top right}}@media(min-width:365px)and (max-width:394px){#screen-menu .menu-settings{transform:scale(.88);transform-origin:top right}}@media(min-width:395px)and (max-width:419px){#screen-menu .menu-settings{transform:scale(.92);transform-origin:top right}}@media(min-width:420px)and (max-width:479px){#screen-menu .menu-settings{transform:scale(.95);transform-origin:top right}}#screen-menu .menu-leaderboard{transform-origin:top right}@media(max-width:364px){#screen-menu .menu-leaderboard{transform:scale(.82)}}@media(min-width:365px)and (max-width:394px){#screen-menu .menu-leaderboard{transform:scale(.88)}}@media(min-width:395px)and (max-width:419px){#screen-menu .menu-leaderboard{transform:scale(.92)}}@media(min-width:420px)and (max-width:479px){#screen-menu .menu-leaderboard{transform:scale(.95)}}#quest-screen .quest-panel:is(.quest-selection,.opponent-phase){inset:50% 0 auto;transform:translateY(-50%);max-height:calc(100% - 180px);padding:16px 12px;border:0;border-radius:0;background:none;box-shadow:none;text-align:center}#quest-screen .quest-panel.quest-selection .sheet{max-width:460px;margin:0 auto;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}#quest-screen .quest-selection .quest-draft.draft-cards{width:100%;margin:12px auto 0;gap:6px}#quest-screen .quest-selection .draft-turn small{display:block;margin-top:8px;font:700 13px/1.4 var(--font);letter-spacing:0;text-transform:none}#quest-screen .quest-panel.opponent-phase{padding:0;overflow:visible}#quest-screen .quest-header{display:block;text-align:center;top:calc(12px + env(safe-area-inset-top));pointer-events:none}#quest-screen .quest-header>strong{display:block;font:400 clamp(18px,4.8vw,24px)/1.1 var(--font-battle);color:#fff2d3;letter-spacing:.025em;text-shadow:0 3px 0 #39263d,0 5px 12px #0009}#quest-screen .quest-header>button{position:absolute;top:58px;left:0;pointer-events:auto}#quest-screen.in-encounter .quest-battle-hud{top:calc(40px + env(safe-area-inset-top));bottom:auto;left:50%;right:auto;transform:translate(-50%);display:flex;flex-direction:column;gap:0;padding:0 6px;background:none;border:0;border-radius:0;box-shadow:none;min-width:0}.quest-enemy-counter{display:flex;align-items:center;justify-content:center;gap:4px}.quest-enemy-counter img{width:40px;height:40px;object-fit:contain;margin:-6px}.quest-enemies-left{font:400 18px/1 var(--font-battle);font-variant-numeric:tabular-nums;color:#fff2d3;text-shadow:0 2px 0 #39263d}.quest-enemy-counter[hidden]{display:none}.quest-wave-label{margin-right:16px;white-space:nowrap;font:400 18px/1 var(--font-battle);color:#fff2d3;text-shadow:0 2px 0 #39263d}.quest-draft-actions{display:flex;justify-content:center;gap:12px;margin-top:20px}.quest-draft-actions button{flex:1;max-width:210px;font-size:14px;padding:10px 8px}.quest-draft .squad-card[aria-pressed=true],#quest-screen .quest-draft .squad-card[aria-pressed=true]{transform:translateY(-6px);filter:drop-shadow(0 0 9px #ffd76c99)}#quest-screen .quest-draft-actions button{min-width:0;min-height:52px;padding:12px 6px 15px;border:0;border-radius:12px;box-shadow:none;background-color:transparent;background-position:center;background-size:112% 137%;background-repeat:no-repeat;color:#4a2e00;font:400 clamp(11px,3.2vw,15px)/1 var(--font-battle);text-shadow:0 1px 0 #c79a12;transition:filter .15s,transform .15s;cursor:pointer}#quest-screen .quest-draft-actions [data-quest=confirm]{background-image:url(/assets/ui/pve-button-yellow.webp?v=2)}#quest-screen .quest-draft-actions [data-quest=confirm-upgrade]{background-image:url(/assets/ui/pve-button-blue.webp);color:#fff2d3;text-shadow:0 2px 0 #123a63}#quest-screen .quest-draft-actions [data-quest=cashout]{background-image:url(/assets/ui/pve-button-red.webp);color:#fff2d3;text-shadow:0 2px 0 #641c30}#quest-screen .quest-draft-actions button:disabled{filter:grayscale(.85) brightness(.65);opacity:.65;cursor:not-allowed;transform:none}#quest-screen .quest-draft-actions button:not(:disabled):hover{filter:brightness(1.12)}#quest-screen .quest-draft-actions button:not(:disabled):active{transform:translateY(2px)}#quest-screen .quest-draft-actions button:focus-visible{outline:3px solid #ffe09a;outline-offset:3px}.quest-upgrade-heading{color:var(--hud-white)}.quest-upgrade-sheet.is-boss .quest-upgrade-heading{color:#ffd0c4;text-shadow:0 3px 0 #641c30}.quest-upgrade-sheet.is-boss .draft-turn{border-radius:14px}.draft-cards.dealing .skill-upgrade-cell{animation:deal-card-in .3s ease-in-out both}@media(prefers-reduced-motion:reduce){.draft-cards.dealing .skill-upgrade-cell{animation:none}}.skill-upgrade-cell{position:relative;min-width:0;display:flex}.skill-upgrade-card{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 4px;background:linear-gradient(#f5dfac,#c99b57);border:2px solid #8b5c35;border-radius:12px;box-shadow:0 3px #39263d;color:#49301e;cursor:pointer;transition:transform .15s,filter .15s}.quest-upgrade-sheet.is-boss .skill-upgrade-card{background:linear-gradient(#ffd9d2,#d9907f);border-color:#8b3a35}.skill-upgrade-card.picked{transform:translateY(-6px);filter:drop-shadow(0 0 9px #ffd76c99)}.quest-upgrade-sheet.is-boss .skill-upgrade-card.picked{filter:drop-shadow(0 0 9px #ff8a8a99)}.skill-upgrade-card.is-confirmed{animation:skill-confirm .35s ease}@keyframes skill-confirm{0%{transform:translateY(-6px) scale(1)}45%{transform:translateY(-8px) scale(1.06)}to{transform:translateY(-6px) scale(1)}}.skill-upgrade-art{width:100%;aspect-ratio:1;display:grid;place-items:center;background:#2416352e;border-radius:8px;overflow:hidden}.skill-upgrade-art img{width:100%;height:100%;object-fit:contain}.skill-upgrade-axie{font:700 10px/1 var(--font);text-transform:capitalize;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.skill-upgrade-skill{font:900 clamp(9px,2.6vw,13px)/1.15 var(--font);text-align:center;text-transform:uppercase;letter-spacing:.02em}.skill-upgrade-meta{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.skill-upgrade-rank{font:700 9px/1.4 var(--font);background:#4a2e00;color:#ffe09a;border-radius:8px;padding:1px 6px;white-space:nowrap}.skill-upgrade-level{font:700 9px/1 var(--font);opacity:.7;white-space:nowrap}.skill-upgrade-values{display:flex;align-items:center;justify-content:center;gap:3px;font:700 11px/1 var(--font);font-variant-numeric:tabular-nums;white-space:nowrap}.skill-upgrade-after{color:#123f1c;background:#ffe08a;border-radius:6px;padding:1px 4px}.skill-upgrade-info{position:absolute;top:4px;right:4px;width:22px;height:22px;min-height:0;padding:0;border-radius:50%;border:2px solid #39263d;background:#ffe08a;color:#4a2e00;font:900 12px/1 var(--font);display:grid;place-items:center;cursor:pointer;z-index:1}.skill-upgrade-info:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){.skill-upgrade-card.is-confirmed{animation:none}}@media(max-height:650px){.skill-upgrade-art{aspect-ratio:auto;height:42px}}.quest-upgrade-info{text-align:left}.quest-upgrade-info .draft-turn{text-align:center}.quest-info-effect{margin:8px 0;font:700 13px/1.5 var(--font);color:var(--hud-white, #fff);text-align:center}.quest-info-recipients{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}.quest-info-recipients li{display:flex;justify-content:space-between;gap:10px;padding:5px 8px;border-radius:8px;background:#00000038;font:700 12px var(--font);color:#ffe9b8}.quest-info-recipients strong{font-weight:700;color:var(--hud-white, #fff)}.quest-info-note{margin:6px 0 0;font:700 11px/1.45 var(--font);color:var(--quest-soft, #ced2bf);text-align:center}dialog .quest-upgrade-info{text-align:left;color:#fff;min-width:0;overflow-wrap:anywhere}dialog .quest-info-hero{display:flex;align-items:center;gap:12px;background:#0a2c58;border-radius:10px;padding:10px 12px;margin-bottom:10px}dialog .quest-info-hero img{width:64px;height:64px;object-fit:contain;background:#24163533;border-radius:8px;padding:4px;flex-shrink:0}dialog .quest-info-hero strong{display:block;color:#fff;font:400 18px var(--font-battle)}dialog .quest-info-hero span{display:block;color:#cfe2ff;font:700 11px var(--font);text-transform:uppercase;letter-spacing:.06em;margin-top:2px}dialog .quest-info-effect{margin:8px 0;font:700 13px/1.5 var(--font);color:#fff;text-align:center}dialog .quest-info-values{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;padding:8px;border-radius:10px;background:#0a2c58;margin-bottom:8px;min-width:0}dialog .quest-info-values-label{width:100%;text-align:center;font:700 10px var(--font);color:#9fc3ee;text-transform:uppercase;letter-spacing:.06em}dialog .quest-info-before{font:700 16px var(--font);color:#fff}dialog .quest-info-arrow{color:#9fc3ee}dialog .quest-info-after{font:700 16px var(--font);color:#123f1c;background:#ffe08a;border-radius:6px;padding:1px 6px}dialog .quest-info-metric{font:700 11px var(--font);color:#cfe2ff;text-transform:uppercase;letter-spacing:.05em}dialog .quest-info-recipients{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}dialog .quest-info-recipients li{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:5px 8px;border-radius:8px;background:#0d3370;font:700 12px var(--font);color:#e8f1ff}dialog .quest-info-recipients li>span{text-align:right;min-width:0;flex:1 1 auto}dialog .quest-info-recipients li>strong{min-width:0}dialog .quest-info-recipients strong{font-weight:700;color:#fff}dialog .quest-info-note{margin:6px 0 0;font:700 11px/1.45 var(--font);color:#cfe2ff;text-align:center}.pvp-rewards.is-chaos h2{color:#ffdb78}.pvp-rewards.is-chaos .pvp-reward-continue{background-image:url(/assets/ui/pve-button-blue.webp);color:#fff2d3;text-shadow:0 2px 0 #123a63}#quest-screen .opponent-picking .quest-boss-intro{display:block;font:400 clamp(38px,11vw,64px)/1.1 var(--font-battle);color:#ff6268;-webkit-text-stroke:1px #691e30;paint-order:stroke fill;text-shadow:0 3px 0 #641c30,0 0 22px #ef334d66;letter-spacing:.025em}#quest-screen .quest-boss-intro small{display:block;margin-top:12px;font:400 clamp(20px,5vw,28px)/1.2 var(--font-battle);color:#ffe3d7;-webkit-text-stroke:0;text-shadow:0 2px 0 #4a2030;letter-spacing:.08em}#quest-screen .opponent-picking-sheet:has(.quest-boss-intro){background:linear-gradient(90deg,#571c3000,#701e38cc 25% 75%,#571c3000)}.menu-nav .nav-tab[data-action="tab:units"] img{width:72px;height:62px;max-width:none;object-fit:contain}.menu-nav .nav-tab[data-action="tab:quest"] img{width:96px;height:70px;max-width:none;object-fit:contain}.menu-nav .nav-tab[data-action="tab:units"].active img{width:78px;height:68px}.menu-nav .nav-tab[data-action="tab:quest"].active img{width:104px;height:76px}@media(max-height:500px){.menu-nav .nav-tab[data-action="tab:units"] img{width:54px;height:46px}.menu-nav .nav-tab[data-action="tab:quest"] img{width:72px;height:52px}.menu-nav .nav-tab[data-action="tab:units"].active img{width:58px;height:50px}.menu-nav .nav-tab[data-action="tab:quest"].active img{width:78px;height:57px}}#quest-screen .quest-panel.quest-cleared{inset:0;max-height:none;transform:none;border:0;border-radius:0;padding:24px 16px;display:grid;place-items:center;background:var(--cue-scrim);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}.quest-clear-content{width:100%;max-width:460px;text-align:center}#quest-screen .quest-clear-content h2{font:400 clamp(30px,8vw,44px)/1.15 var(--font-battle);color:#ffe5a0;margin:0 0 16px;text-shadow:0 3px 0 #39263d}#quest-screen .quest-clear-content p{max-width:350px;margin:0 auto 24px;font:400 14px/1.6 var(--font);color:#fff1d6}#quest-screen .quest-clear-actions button{min-height:70px}#quest-screen .quest-clear-actions [data-quest=next]{background-image:url(/assets/ui/pve-button-yellow.webp?v=2)}#quest-screen .quest-clear-actions [data-quest=cashout]{background-image:url(/assets/ui/pve-button-red.webp);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#fff2d3;text-shadow:0 2px 0 #641c30}.quest-clear-rewards{display:flex;justify-content:center;align-items:center;gap:8px;font:700 12px/1 var(--font);animation:reward-rise .45s cubic-bezier(.2,.9,.3,1) both}.quest-clear-rewards .reward img{animation:reward-pop .55s cubic-bezier(.2,.9,.3,1) both}@keyframes reward-rise{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}@keyframes reward-pop{0%{transform:scale(.5)}60%{transform:scale(1.2)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.quest-clear-rewards,.quest-clear-rewards .reward img{animation:none}}.quest-clear-rewards>span{display:flex;align-items:center;gap:4px}.quest-clear-rewards img{width:30px;height:30px;object-fit:contain}.quest-clear-rewards b{font:700 19px/1 var(--font)}#quest-screen .quest-panel.quest-cleared[hidden]{display:none}#quest-screen .quest-panel.quest-selection{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding-top:24px;padding-bottom:24px}#quest-screen:has(.quest-panel:is(.quest-selection,.opponent-phase):not([hidden])):after{content:"";position:absolute;inset:0;z-index:3;background:var(--cue-scrim);pointer-events:none}#quest-screen .quest-panel.opponent-phase .opponent-picking-sheet{background:#2a1d42a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#quest-screen .quest-clear-actions [data-quest=lobby]{background-image:url(/assets/ui/pve-button-yellow.webp?v=2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:170px}#quest-screen .quest-panel.opponent-phase .opponent-picking-sheet:has(.quest-boss-intro){background:linear-gradient(90deg,#571c3000,#701e38cc 25% 75%,#571c3000)}#quest-screen.in-encounter{background:#0d2f52}#quest-screen .quest-panel.quest-cleared{background:var(--cue-scrim);-webkit-backdrop-filter:none;backdrop-filter:none;padding:0}#quest-screen .quest-clear-content{width:100%;max-width:none;padding:28px 16px;background:#2a1d42a6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#quest-screen .quest-clear-content .quest-clear-actions{max-width:460px;margin:20px auto 0}.round-menu-plate{width:100%;aspect-ratio:2170/725;display:flex;align-items:center;gap:8px;padding:6px 24px 6px 12px;background:url(/assets/ui/player-plate-orange-v4.webp?v=4) center/100% 100% no-repeat}.round-menu-avatar{position:relative;display:grid;place-items:center;flex:0 0 27%;aspect-ratio:1}.round-menu-avatar>img{width:77%;height:77%;object-fit:cover;border-radius:50%;background:#18223f}.round-menu-avatar>.round-avatar-frame{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background:none;object-fit:contain}.round-menu-details{min-width:0;display:flex;flex-direction:column;gap:5px;color:#fff2d3}.round-menu-details strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:400 clamp(17px,5vw,23px)/1.2 var(--font-battle);-webkit-text-stroke:2px #5b3317;paint-order:stroke fill;text-shadow:0 2px 0 #5b3317}.round-menu-details small{align-self:flex-start;border-radius:20px;padding:3px 10px;background:linear-gradient(#8a5a30,#6e421f);font:700 10px/1 var(--font);color:#ffe5a0}#round-result[data-stage=complete]{background:var(--cue-scrim);overflow-y:auto}#round-result[data-stage=complete]:before{display:none}#round-result[data-stage=complete] .result-shutter{z-index:2;pointer-events:none;animation:final-curtain-top .65s cubic-bezier(.65,0,.35,1) forwards}@keyframes final-curtain-top{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes final-curtain-bottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}#round-result[data-stage=complete] .shutter-player{animation-name:final-curtain-bottom}.pvp-rewards{position:relative;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;gap:18px;background:#20182ee8;color:#fff2d3;text-align:center}.pvp-rewards h2{font:400 clamp(38px,11vw,64px)/1 var(--font-battle);color:#ffdb78;text-shadow:0 3px 0 #5b3317;margin:0}.pvp-rewards>p{margin:0;font:700 14px var(--font)}.pvp-xp-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;max-width:440px}.pvp-xp-card{min-width:0;padding:8px 12px;background:#ffffff0c;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:5px}.pvp-xp-card>img{width:70px;height:70px;object-fit:contain}.pvp-xp-card>strong{font:400 18px var(--font-battle)}.pvp-xp-gain{font:700 11px var(--font);color:#ffdb78}.pvp-xp-card .axie-xp{width:100%;margin:9px 0;height:23px;font-size:10px;line-height:19px}.pvp-xp-card .xp-level{width:26px;height:26px;font-size:14px}.pvp-xp-card .xp-fill{transition:none}button.pvp-reward-continue{width:200px;height:auto;min-height:0;aspect-ratio:3.35 / 1;border:0;border-radius:0;padding:0 0 8px;box-shadow:none;background:transparent url(/assets/ui/pve-button-yellow.webp?v=2) center/100% 100% no-repeat;font:400 18px var(--font-battle);color:#4a2e00;text-shadow:0 1px 0 #c79a12}@media(prefers-reduced-motion:reduce){#round-result[data-stage=complete] .result-shutter{display:none}}#queue-curtain .round-menu-plate{max-width:340px;text-align:left}#queue-curtain .round-menu-details{flex:1}#queue-curtain .round-menu-details h2{margin:0;font:400 clamp(15px,4.5vw,21px)/1.2 var(--font-battle);color:#fff2d3;-webkit-text-stroke:2px #5b3317;paint-order:stroke fill;text-shadow:0 2px 0 #5b3317;overflow-wrap:anywhere}#queue-curtain .round-menu-avatar .queue-avatar{width:77%;height:77%;display:grid;place-items:center;border:0;border-radius:50%;background:#18223f;font:400 34px var(--font-battle);overflow:hidden}#queue-curtain .queue-avatar img{width:100%;height:100%;object-fit:cover}#queue-curtain .queue-player-name{overflow-wrap:normal}.curtain-vs{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;font:400 clamp(40px,12vw,66px)/1 var(--font-battle);color:#ffe39a;-webkit-text-stroke:3px #5b3317;paint-order:stroke fill;text-shadow:0 4px 0 #291931;pointer-events:none}#queue-curtain.opening>.curtain-vs{opacity:0;transition:opacity .2s}#queue-curtain:not(.opponent-found) .queue-opponent .round-menu-details{visibility:hidden}#queue-curtain .queue-opponent-trophies{display:flex;align-items:center;gap:4px}#queue-curtain .queue-opponent-trophies[hidden]{display:none}.queue-opponent-trophies img{width:22px;height:22px;object-fit:contain}#queue-curtain.opponent-found .queue-opponent .round-menu-details{animation:opponent-details-in .45s ease both}#queue-curtain.opponent-found .queue-avatar img{animation:opponent-details-in .35s ease both}#queue-curtain.opponent-found .queue-opponent-trophies{animation:opponent-details-in .45s .15s ease both}@keyframes opponent-details-in{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){#queue-curtain.opponent-found .queue-opponent .round-menu-details,#queue-curtain.opponent-found .queue-avatar img,#queue-curtain.opponent-found .queue-opponent-trophies{animation:none}}#queue-curtain [data-action=cancel-search]{width:230px;min-width:0;max-width:100%;min-height:58px;padding:14px 12px 17px;border:0;border-radius:12px;background:transparent url(/assets/ui/pve-button-red.webp) center/112% 137% no-repeat;box-shadow:none;color:#fff2d3;font:400 15px/1.2 var(--font-battle);text-shadow:0 2px 0 #641c30;transition:filter .15s,opacity .15s}#queue-curtain [data-action=cancel-search]:disabled{opacity:.65;filter:grayscale(.75) brightness(.75);cursor:not-allowed}#queue-curtain [data-action=cancel-search]:not(:disabled):hover{filter:brightness(1.12)}#queue-curtain [data-action=cancel-search]:focus-visible{outline:3px solid #ffe09a;outline-offset:3px}#round-result[data-stage=opening]>.curtain-vs{opacity:0;transition:opacity .2s}#round-result[data-stage=closing]>.curtain-vs{animation:search-vs-reveal .25s ease .8s both}#queue-curtain:not(.opening)>.curtain-vs{animation:search-vs-reveal .2s ease .65s both}#queue-curtain.opening>.curtain-vs{animation:none;opacity:0}@keyframes search-vs-reveal{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){#round-result[data-stage=closing]>.curtain-vs,#queue-curtain:not(.opening)>.curtain-vs{animation:none}}#queue-curtain .queue-self-trophies{display:flex;align-items:center;gap:4px}.queue-self-trophies img{width:22px;height:22px;object-fit:contain}.pvp-xp-cards{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:8px;max-width:600px}.pvp-xp-card{padding:0;background:none;gap:8px}.pvp-xp-card>.squad-card{width:100%;cursor:default}.pvp-xp-card .battle-draft-card .card-label{font-size:clamp(8px,12cqw,20px)}.pvp-xp-card .battle-draft-card .card-type{font-size:clamp(7px,8cqw,12px)}.pvp-xp-card .battle-card-meta{font-size:clamp(7px,9cqw,14px);padding:2px}.pvp-xp-card .battle-draft-card .card-details{gap:2px}.pvp-xp-card .axie-xp{font-size:clamp(7px,1.8vw,10px);margin:4px 0}.pvp-xp-card .xp-level{width:22px;height:22px;font-size:12px;left:-3px}.pvp-xp-card .xp-label{padding-left:15px}.pvp-xp-gain{font-size:clamp(8px,2vw,11px);min-height:2.5em;display:grid;place-items:center}.pvp-rewards.is-defeat h2{color:#ff6268;text-shadow:0 3px 0 #641c30,0 0 22px #ef334d55}.pvp-rewards.is-defeat>p{line-height:1.6;color:#f0d9d6}dialog,.guest-coach-card{background:#0b3a75;color:#fff;border:2px solid #0a2c58;border-radius:12px;box-shadow:0 12px 32px #000000b3,inset 0 2px #2a63a8,inset 0 -3px #06234a;padding:18px 18px 20px;max-height:85dvh;overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:#04101f;opacity:.85}dialog h2{color:#fff;text-align:left;font:800 20px/1.2 var(--display);letter-spacing:.02em;border-bottom:2px solid #0a2c58;padding-bottom:10px;margin-bottom:14px}dialog p,.guest-coach-card p{color:#cfe2ff}dialog .unit-detail-portrait{display:flex;align-items:center;gap:12px;background:#0a2c58;border-radius:10px;padding:10px 12px;margin-bottom:12px}dialog .unit-detail-portrait strong,dialog .unit-detail-portrait span{color:#fff}dialog .unit-stats{background:none;border:0}dialog .unit-stats th,dialog .unit-stats td{background:#0a2c58;color:#fff;border-color:#0a2c58}dialog .unit-stats tr{border-radius:8px;overflow:hidden}dialog .unit-stats tbody tr:nth-child(odd) th,dialog .unit-stats tbody tr:nth-child(odd) td{background:#0d3370}dialog .units-actions{display:flex;gap:12px;justify-content:space-between;margin-top:16px}dialog form{margin-top:18px;display:flex;gap:12px;justify-content:space-between}dialog button,.guest-coach-card button{border:0;border-radius:8px;font:800 14px var(--display);text-transform:uppercase;letter-spacing:.03em;cursor:pointer}dialog button.primary,dialog form button.primary,.guest-coach-card>button{flex:1;border:0;min-height:52px;padding:12px 20px 15px;box-shadow:none;background:transparent url(/assets/ui/pve-button-yellow.webp?v=2) center/112% 137% no-repeat;color:#4a2e00;font:800 15px var(--font-battle);text-transform:uppercase;letter-spacing:.03em;text-shadow:0 1px 0 #c79a12}.guest-coach-card>button.guest-coach-exit{background-image:url(/assets/ui/pve-button-red.webp);color:#fff2d3;text-shadow:0 2px 0 #641c30}dialog button.primary:hover{filter:brightness(1.08)}dialog button.primary:active{transform:translateY(2px)}dialog button:not(.primary){background:transparent url(/assets/ui/pve-button-yellow.webp?v=2) center/112% 137% no-repeat;color:#4a2e00;box-shadow:none;min-height:52px;padding:12px 20px 15px;text-shadow:0 1px 0 #c79a12}dialog button:not(.primary):hover{filter:brightness(1.08)}dialog button:not(.primary):active{transform:translateY(2px);box-shadow:0 1px #c79a12}dialog button:disabled{filter:saturate(.3) brightness(.75);cursor:default;transform:none}dialog .avatar-picker button{background:none;border:2px solid transparent;border-radius:0;box-shadow:none;padding:0}.nav-tab[data-action="tab:clan"]{filter:saturate(.45) brightness(.7)}.nav-tab[data-action="tab:clan"] img{opacity:.85}dialog .locked-tab-note{color:#ffe08a;font-weight:700}.pvp-pick-timer{display:flex;align-items:center;justify-content:center;gap:5px;align-self:center;margin-top:16px;color:#fff2d3;font:400 22px/1 var(--font-battle);text-shadow:0 2px 0 #39263d;font-variant-numeric:tabular-nums}.pvp-pick-timer img{width:36px;height:36px;object-fit:contain}.pvp-pick-timer.urgent{color:#ff7676;animation:pick-timer-shake .45s ease-in-out infinite}@keyframes pick-timer-shake{0%,to{transform:rotate(0)}25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}@media(prefers-reduced-motion:reduce){.pvp-pick-timer.urgent{animation:none}}#quest-screen .quest-panel.quest-run-xp{inset:0;max-height:none;transform:none;padding:0;border:0;border-radius:0;background:var(--cue-scrim)}#quest-screen .quest-run-xp .pvp-rewards{background:#2a1d42a6}#quest-screen .quest-run-xp h2{font-size:clamp(30px,8vw,48px)}.card-unit-bonus{color:#ffe781;font-weight:700;margin-left:5px}.card-unit-extra{display:block;font-size:.8em;color:#725325}.draft-turn .comeback-title{color:#ffe781}.draft-turn small{display:block;font-size:14px;margin-top:5px}dialog>h2.unit-modal-title,.guest-coach-card h2{position:static;clip-path:none;width:auto;height:auto;overflow:visible;padding:0;border:0;margin:0 26px 14px 0;color:#fff4da;font:400 26px/1.1 var(--font-battle);text-shadow:0 2px 0 #112544;text-align:left}dialog .unit-detail-panel>button{display:block;margin:10px auto 0;min-width:200px}dialog .unit-detail-panel>p{font-size:13px;line-height:1.55}dialog>button.unit-modal-close{position:absolute;top:-16px;right:-12px;z-index:3;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent url(/assets/ui/close.webp) center/160% 160% no-repeat;color:transparent;font:0/0 a;text-shadow:none;box-shadow:none;cursor:pointer}dialog>button.unit-modal-close:hover{filter:brightness(1.15)}dialog>button.unit-modal-close:before{content:"✕";position:absolute;color:#fff;font:700 16px var(--font);visibility:hidden}dialog form{display:block}.pvp-rewards h2.pvp-result-art{width:min(360px,90%);margin:0;padding:0;line-height:0;flex-shrink:0}.pvp-result-art img{display:block;width:100%;height:auto;max-height:160px;object-fit:contain}@media(max-height:550px){.pvp-result-art img{max-height:90px}}*{scrollbar-width:none!important}*::-webkit-scrollbar{display:none;width:0;height:0}dialog .unit-detail-panel .volume-row{display:grid;grid-template-columns:28px 94px minmax(0,1fr);align-items:center;gap:10px;background:none;border:0;border-bottom:1px solid #3674a766;border-radius:0;padding:14px 4px;margin:0;width:100%;box-sizing:border-box;min-height:76px}dialog .unit-detail-panel .volume-row button.volume-icon[data-action]{display:grid;place-items:center;width:28px;height:40px;aspect-ratio:auto;min-width:0;min-height:0;padding:0;border:0;background:none;box-shadow:none;color:#fff;cursor:pointer}.volume-icon svg{width:24px;height:24px}.volume-icon[aria-pressed=false]{color:#8fabc7!important}.volume-row .volume-name{font:400 13px/1.2 var(--font-battle);color:#fff}.volume-slider{position:relative;min-width:0;height:54px;touch-action:none}.volume-bars{position:absolute;inset:0 15px;display:flex;align-items:center;justify-content:space-between;gap:3px;pointer-events:none}.volume-bars span{flex:1;max-width:4px;height:20px;border-radius:1px;background:#052c50}.volume-bars span.on{background:#ffc41d}dialog .volume-slider input[type=range]{appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:54px;margin:0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;touch-action:none;box-shadow:none}.volume-slider input::-webkit-slider-runnable-track{height:54px;background:transparent}.volume-slider input::-moz-range-track{height:54px;background:transparent}.volume-slider input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:30px;height:54px;border:0;border-radius:0;background:transparent url(/assets/ui/volume-lever.webp) center/74px 74px no-repeat;filter:drop-shadow(0 2px 1px #061a35)}.volume-slider input::-moz-range-thumb{width:30px;height:54px;border:0;border-radius:0;background:transparent url(/assets/ui/volume-lever.webp) center/74px 74px no-repeat;filter:drop-shadow(0 2px 1px #061a35)}.volume-slider input:focus-visible{outline:2px solid #ffe08a;outline-offset:3px}@media(max-width:360px){dialog .unit-detail-panel .volume-row{grid-template-columns:24px 76px minmax(0,1fr);gap:6px}.volume-row .volume-name{font-size:11px}.volume-bars{gap:2px}}#screen-menu .menu-player{left:16px;width:min(320px,calc(100% - 86px));height:auto;min-height:0;box-sizing:border-box;aspect-ratio:2170/725;padding:6px 12px 6px 6px;gap:7px;transform:none}#screen-menu .menu-avatar{flex:0 0 25%;width:25%;height:auto;aspect-ratio:1;margin:0}#screen-menu .menu-avatar>img:not(.menu-avatar-frame){width:77%;height:77%;object-fit:cover}#screen-menu .menu-avatar:before{inset:13%}#screen-menu .menu-player-name{max-width:100%;font-size:clamp(14px,4.5vw,19px)}.menu-player-name-row{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}.menu-player-name-row .menu-player-name{flex:0 1 auto}.menu-profile-edit{flex-shrink:0;display:grid;place-items:center;width:22px;height:22px;min-height:0;box-sizing:border-box;padding:0;border:0;background:none;box-shadow:none;color:#fff;cursor:pointer}.menu-profile-edit svg{width:18px;height:18px;filter:drop-shadow(0 1px 0 #5b3317)}.menu-profile-edit:active{transform:translateY(1px)}@media(max-width:400px){#screen-menu .menu-player{zoom:1.25}}#screen-menu.menu-pve .menu-location .menu-island{transform:translateY(10%) scale(1.15);transform-origin:center;pointer-events:none}.quest-run-summary{margin:0 0 8px;font:700 13px/1.5 var(--font);color:var(--quest-soft, #ced2bf)}.quest-clear-rewards{flex-wrap:wrap}#hud .hud-banner{height:48px;border-width:2px;border-radius:8px 8px 0 0}#hud .hud-avatar{top:3px;width:38px;height:38px;border-width:2px;border-radius:6px}#hud .hud-half.player{padding-left:50px}#hud .hud-half.ai{padding-right:50px}#hud .hud-name{font-size:13px}#hud .vs-badge{font-size:18px}#hud .hearts{top:calc(100% + 4px)}#hud .hud-heart{width:27px;height:23px;flex-basis:27px}.hud-trophy{--flag: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);position:absolute;top:28px;left:0;width:46px;height:86px;display:flex;flex-direction:column;align-items:center;padding-top:29px;background:var(--hud-outline);clip-path:var(--flag);font:900 12px/1.1 var(--font);color:var(--hud-white);text-shadow:0 1px 0 var(--hud-outline);z-index:0}.hud-trophy:before{content:"";position:absolute;inset:2px;background:linear-gradient(var(--hud-blue-top),var(--hud-blue) 60%,var(--hud-blue-bottom));clip-path:var(--flag);z-index:-1}.hud-trophy[hidden]{display:none}.hud-trophy img{width:22px;height:22px;object-fit:contain}.hud-trophy.ai{left:auto;right:0}.hud-trophy.ai:before{background:linear-gradient(var(--hud-red-top),var(--hud-red) 60%,var(--hud-red-bottom))}#hud .hearts{left:58px;top:calc(100% + 3px)}#hud .ai .hearts{left:auto;right:58px}#hud .hud-banner{z-index:1}#hud .hud-balance{border-radius:6px 6px 0 0}#hud .hud-half.player{border-radius:6px 0 0}#hud .hud-half.ai{border-radius:0 6px 0 0}#hud{--frame-dark: #2b2347;--frame-blue: #9bbcff;--frame-blue-shade: #5f86e6;--frame-red: #ffa59c;--frame-red-shade: #e0606c}#hud .hud-banner{height:54px;border:6px solid transparent;border-radius:0;background:none;box-shadow:none;filter:drop-shadow(0 3px 3px #0005)}#hud .hud-banner:after{content:"";position:absolute;inset:-6px;padding:6px;border-radius:10px 10px 0 0;background:linear-gradient(90deg,var(--frame-blue-shade) 0 47%,var(--frame-red-shade) 53% 100%);box-shadow:inset 0 0 0 2px var(--frame-dark),inset 0 4px #ffffff80;-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);pointer-events:none;z-index:3}#hud .hud-balance{border-radius:3px}#hud .hud-half.player,#hud .hud-half.ai{border-radius:0}#hud .hud-avatar{top:3px;left:0}#hud .ai .hud-avatar{left:auto;right:0}#hud .hearts{top:calc(100% + 9px)}.hud-trophy{--flag: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);top:48px;width:50px;height:68px;padding-top:11px;z-index:4;background:linear-gradient(transparent 6px,var(--frame-dark) 6px);clip-path:var(--flag)}.hud-trophy:after{content:"";position:absolute;inset:0 2px 2px;background:linear-gradient(var(--frame-blue-shade),var(--frame-blue-shade));clip-path:var(--flag);z-index:-2}.hud-trophy.ai:after{background:linear-gradient(var(--frame-red-shade),var(--frame-red-shade))}.hud-trophy:before{inset:0 6px 6px;clip-path:var(--flag);background:var(--hud-blue-bottom)}.hud-trophy.ai:before{background:var(--hud-red-bottom)}#hud{--hud-blue-top: #6aa3ff;--hud-blue: #3b78f2;--hud-blue-bottom: #2d5fd6;--hud-red-top: #ff8a80;--hud-red: #f0475a;--hud-red-bottom: #cc3047}.hud-trophy[data-digits="5"]{font-size:9.5px}.hud-trophy[data-digits="6"],.hud-trophy[data-digits="7"]{font-size:8px}.queue-status .splash-dots{display:inline-block;min-width:1.4em;text-align:left}#reconnecting{position:fixed;inset:0;z-index:200;display:grid;place-items:center;background:#241640b8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}#reconnecting[hidden]{display:none}#reconnecting .splash-loading{position:static;font-size:clamp(20px,6.2vw,36px);letter-spacing:.03em;white-space:nowrap}.pvp-rewards.has-intro .result-rays{position:absolute;left:50%;top:50%;width:520px;height:520px;margin:-260px 0 0 -260px;pointer-events:none;background:repeating-conic-gradient(from 0deg,#fff3a8d9 0deg 9deg,#ffd23f00 9deg 24deg);-webkit-mask:radial-gradient(circle,#000 10%,transparent 66%);mask:radial-gradient(circle,#000 10%,transparent 66%);opacity:0}.pvp-rewards.has-intro:not(.is-playing) h2.pvp-result-art,.pvp-rewards.has-intro:not(.is-playing) .pvp-xp-card,.pvp-rewards.has-intro:not(.is-playing) .pvp-reward-continue,.pvp-rewards.has-intro:not(.is-playing)>p{opacity:0}.pvp-rewards.has-intro.is-playing .result-rays{animation:result-rays-show 2.3s ease-out both,chest-rays-turn 14s linear infinite}.pvp-rewards.has-intro.is-playing h2.pvp-result-art{animation:result-art-rise 2.3s cubic-bezier(.3,.9,.3,1) both}.pvp-rewards.has-intro.is-playing>p,.pvp-rewards.has-intro.is-playing .pvp-xp-card,.pvp-rewards.has-intro.is-playing .pvp-reward-continue{animation:result-fade-up .45s ease-out both}.pvp-rewards.has-intro.is-playing>p{animation-delay:2.3s}.pvp-rewards.has-intro.is-playing .pvp-xp-card:nth-child(1){animation-delay:2.5s}.pvp-rewards.has-intro.is-playing .pvp-xp-card:nth-child(2){animation-delay:2.75s}.pvp-rewards.has-intro.is-playing .pvp-xp-card:nth-child(3){animation-delay:3s}.pvp-rewards.has-intro.is-playing .pvp-xp-card:nth-child(4){animation-delay:3.25s}.pvp-rewards.has-intro.is-playing .pvp-reward-continue{animation-delay:3.6s}@keyframes result-art-rise{0%{opacity:0;transform:translateY(var(--art-dy, 0)) scale(.4)}22%{opacity:1;transform:translateY(var(--art-dy, 0)) scale(1.85)}62%{transform:translateY(var(--art-dy, 0)) scale(1.85)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes result-rays-show{0%{opacity:0;scale:.3}20%,62%{opacity:1;scale:1}to{opacity:0;scale:1.15}}@keyframes result-fade-up{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.pvp-rewards.is-defeat.has-intro.is-playing .pvp-reward-continue{animation-delay:2.7s}.menu-nav .nav-ico{position:relative;display:block;line-height:0}.menu-nav .nav-up{position:absolute;top:18%;left:58%;width:52%;aspect-ratio:1;background:url(/assets/ui/arrow-up.webp?v=1) center / contain no-repeat;pointer-events:none;filter:drop-shadow(0 1px 1px #0008);animation:nav-up-bob 1.6s ease-in-out infinite}.menu-nav .nav-up[hidden]{display:none}@keyframes nav-up-bob{50%{transform:translateY(-2px)}}@media(prefers-reduced-motion:reduce){.menu-nav .nav-up{animation:none}}
