:root{color-scheme:dark;--ink: #281e32;--metal: #202c42;--white: #fff9e8;--gold: #ffd245;--shadow: #2c1b32;--pad: clamp(22px, 4.3vw, 80px);--head: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif;font-weight:650;color:var(--white);background:#291d2a}*{box-sizing:border-box}html,body,#app,#app>section{margin:0;width:100%;height:100%;height:100dvh;overflow:hidden}body{overscroll-behavior:none;-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #fffda0;outline-offset:4px}button:disabled{cursor:default}button,img{user-select:none;-webkit-user-select:none}button img{pointer-events:none}button:active:not(:disabled){filter:brightness(1.15)}h1,h2,h3,p{margin:0}button,strong,b,h2,h3{font-family:var(--head)}.ico{display:inline-block;vertical-align:middle;flex:none;width:1.45em;height:1.45em}img{display:block}button{position:relative}[hidden]{display:none!important}.camp{position:relative;isolation:isolate;background:#a5604b}.landscape,.vignette,.dust{position:absolute;inset:0;pointer-events:none}.landscape{z-index:-4;background:url(../art/lobby.webp) center 60% / cover no-repeat}.vignette{z-index:-3;background:linear-gradient(0deg,rgba(31,14,29,.75),transparent 26%,transparent 87%,rgba(27,20,48,.31)),linear-gradient(90deg,rgba(38,21,39,.52),rgba(47,20,29,.12) 31%,transparent 47%,transparent 74%,rgba(45,21,37,.13))}.dust{z-index:-1;overflow:hidden}.dust i{position:absolute;left:var(--left, 12%);bottom:22%;width:4px;height:4px;border-radius:50%;background:#ffe89e;opacity:0;box-shadow:0 0 6px #ffd471;animation:dust 8s linear infinite}.dust i:nth-child(2){--left: 35%;animation-delay:-1.3s}.dust i:nth-child(3){--left: 62%;animation-delay:-4s}.dust i:nth-child(4){--left: 79%;animation-delay:-6.5s}.dust i:nth-child(5){--left: 49%;animation-delay:-3.8s}@keyframes dust{15%,65%{opacity:.8}to{transform:translate(72px,-240px);opacity:0}}.mast{position:absolute;top:max(23px,env(safe-area-inset-top));left:max(var(--pad),env(safe-area-inset-left));right:max(var(--pad),env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;gap:12px;z-index:5}.mast h1{line-height:0}.mast h1 img{width:clamp(168px,20vw,295px);height:auto;filter:drop-shadow(0 4px 1px #291a2c66)}.wallet{display:flex;align-items:center;gap:12px;padding-top:5px}.counter,.square,.metal-label,.forge-entry,.mini{background:linear-gradient(#4a6078,#35475f 49%,#2b3a52 51%,#34445c);border:3px solid var(--ink);border-radius:9px;box-shadow:inset 0 2px #a4bad366,0 4px #1d1629}.counter{height:38px;min-width:82px;padding:0 12px 0 34px;border-radius:8px;background:linear-gradient(135deg,#283247,#42475a);font:900 21px/1 system-ui,sans-serif;text-shadow:0 2px #151724}.counter>.ico,.counter>img{position:absolute;left:-8px;top:50%;transform:translateY(-50%);height:39px;width:39px;object-fit:contain;filter:drop-shadow(0 2px #3c2630)}.square{width:45px;height:43px;display:grid;place-items:center;padding:6px}.square>.ico{width:29px;height:29px}.square.close{height:37px;width:38px;color:#f7f1df}.square.close .ico{width:20px;height:20px}.character{position:absolute;left:54%;bottom:17.2%;transform:translate(-50%);height:clamp(245px,62vh,720px);max-width:54vw;aspect-ratio:1;z-index:-1;pointer-events:none}.standee{width:100%;height:100%;object-fit:contain;position:relative;filter:drop-shadow(0 5px 1px #63351b4f);transform-origin:50% 95%;animation:breathe 4.8s ease-in-out infinite}.hero-shadow{position:absolute;bottom:0;left:13%;width:72%;height:9%;background:#5d372d88;border-radius:50%;filter:blur(8px);transform:skew(-18deg)}@keyframes breathe{50%{transform:translateY(-3px) rotate(-.5deg) scale(1.006,1.009)}}.identity{position:absolute;left:var(--pad);top:28%;max-width:min(30vw,330px);text-shadow:0 2px 3px #281421}.role{display:inline-flex;align-items:center;gap:7px;padding:5px 16px 5px 11px;background:#2e2834;color:var(--hero-color);font-size:clamp(13px,1.15vw,18px);font-weight:900;letter-spacing:.1em;transform:skew(-7deg);border-left:4px solid var(--hero-color);box-shadow:0 3px #191423aa}.role .ico{width:17px;height:17px}.identity h2{font-size:clamp(65px,min(7.4vw,11.2vh),124px);letter-spacing:-.065em;font-weight:1000;line-height:1.17;transform:skew(-6deg);margin:8px 0 1px;color:#fffaf0;-webkit-text-stroke:clamp(3px,.45vw,7px) #2b2030;paint-order:stroke fill;text-shadow:1px 6px #291c2e,2px 9px #301d2a80}.callsign{display:block;font:1000 italic clamp(15px,1.75vw,27px) / 1.22 system-ui,sans-serif;letter-spacing:.055em;color:#ffcf54;text-shadow:1px 2px #38242a,0 0 2px #38242a}.identity p{margin-top:14px;font-size:clamp(14px,1.11vw,18px);line-height:1.55;color:#fff;text-shadow:0 2px 2px #2d1425,0 0 8px #291524;font-weight:750;max-width:17em}.roster{position:absolute;left:var(--pad);bottom:24.5%}.roster h3{font-size:clamp(15px,1.35vw,23px);font-weight:950;text-shadow:0 2px #231a28,1px 0 #231a28;letter-spacing:.045em;margin-bottom:10px}.roster small{margin-left:7px;vertical-align:1px;font:850 12px/1 system-ui;color:#ffdf8d}.portraits{display:flex;gap:11px}.portrait{width:clamp(50px,5.4vw,78px);aspect-ratio:1;overflow:visible;border:3px solid #302233;border-radius:11px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 83%,white),color-mix(in srgb,var(--accent) 48%,#2a173a));box-shadow:inset 0 2px #fff6,0 4px #2f1c29;isolation:isolate}.portrait:before{content:"";position:absolute;inset:3px;border:1px solid #ffffff4a;border-radius:6px;pointer-events:none}.portrait img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:top;clip-path:inset(0 round 7px);transform:none}.portrait span{position:absolute;inset:auto 0 0;display:grid;place-items:center;background:linear-gradient(transparent,#1c182ec9 65%);color:#fff;font-size:12px;font-weight:900;text-shadow:0 1px #281d27;border-radius:0 0 7px 7px}.portrait.chosen{border-color:#ffe676;box-shadow:0 0 0 2px #5e391b,0 5px #452a1f}.portrait i{position:absolute;top:-7px;right:-6px;background:#ffce44;color:#38291e;border:2px solid #492c27;width:22px;height:21px;display:grid;place-items:center;border-radius:7px 6px 8px 5px}.portrait i .ico{height:14px;width:14px}.equipment{position:absolute;right:var(--pad);width:clamp(140px,15.8vw,222px);bottom:26%;display:flex;flex-direction:column;align-items:center;gap:19px}.deck-cover{width:100%;background:none;padding:0;display:flex;flex-direction:column;align-items:center}.fan{height:clamp(72px,8.5vw,135px);width:100%;position:relative;display:block;margin-bottom:1px}.fan .card-face{position:absolute;bottom:0;left:50%;height:97%;aspect-ratio:.76;transform:translate(-50%);z-index:2}.fan .card-face:first-child{transform:translate(-96%) rotate(-16deg) scale(.92);z-index:1}.fan .card-face:last-child{transform:translate(-5%) rotate(16deg) scale(.92);z-index:1}.card-face{display:block;position:relative;border:3px solid #291d36;background:var(--card);border-radius:8px;box-shadow:inset 0 0 0 3px var(--card),0 3px #1c182b;isolation:isolate}.card-face img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);object-fit:cover;border-radius:4px}.card-face b{position:absolute;bottom:3px;left:3px;right:3px;text-align:center;background:linear-gradient(transparent,#211226ce);padding:4px 0 2px;color:#fff9e9;text-shadow:0 2px #1c1624;font-size:clamp(11px,1.05vw,16px);line-height:1.2}.drop-cost{position:absolute;top:-6px;left:-5px;background:linear-gradient(#edb9ff,#b755fd 55%,#7d29c1);border:2px solid #382147;border-radius:53% 50% 52% 48%;min-width:22px;height:23px;padding:0 3px;line-height:18px;font-style:normal;font-family:system-ui;font-size:15px;font-weight:1000;color:#fff;text-shadow:0 1px 1px #462264;box-shadow:inset 0 1px #ffdefa}.metal-label,.forge-entry{display:flex;align-items:center;justify-content:center;gap:7px;padding:6px 12px;min-height:40px;font-size:clamp(14px,1.25vw,20px);font-weight:950;letter-spacing:.04em;text-shadow:0 2px #1f1c2d;z-index:3}.metal-label .ico:last-child,.forge-entry .ico{width:13px;height:13px;color:#d8dcea}.forge-entry{min-width:83%;background:linear-gradient(#674656,#493442);font-size:clamp(13px,1.08vw,16px);padding:5px 10px}.forge-entry img{height:25px;width:25px;object-fit:cover;border:1px solid #281e28;border-radius:5px}.camp-dock{position:absolute;left:var(--pad);right:var(--pad);bottom:max(4.1vh,env(safe-area-inset-bottom));display:flex;align-items:stretch;justify-content:space-between;gap:22px}.contract,.battle-cta{border:4px solid var(--ink);border-radius:13px;box-shadow:0 6px #201825,0 9px 12px #25142040;min-height:clamp(73px,10.8vh,110px)}.contract{display:flex;align-items:center;gap:16px;overflow:hidden;padding:0 16px 0 0;text-align:left;min-width:clamp(250px,30vw,440px);background:linear-gradient(130deg,#34465e,#243049 75%);box-shadow:inset 0 3px #6f849c,0 6px #201825}.contract-art{align-self:stretch;width:clamp(70px,9vw,135px);background:linear-gradient(110deg,transparent 65%,#28384b88),url(../art/lobby.webp) 13% 69% / 340% auto;border-right:3px solid var(--ink);transform:skew(-8deg);margin-left:-10px;filter:saturate(1.13)}.contract-txt{display:block;line-height:1.15;flex:1}.contract small{font-size:clamp(12px,.95vw,15px);display:flex;align-items:center;gap:6px;color:#88e7e3;font-weight:800;letter-spacing:.04em}.contract small i{display:inline-block;background:#84ece3;width:6px;height:6px;transform:rotate(45deg)}.contract b{font-size:clamp(22px,2.3vw,35px);display:block;margin-top:4px;text-shadow:0 3px #171c2b}.contract>.ico{width:17px;height:17px;color:#aebdd2}.battle-cta,.gold{color:#382334;background:linear-gradient(176deg,#ffe979,#ffd539 48%,#ffbd14 49%,#ffae14);border:4px solid #39222e;box-shadow:inset 0 4px #fff1a5,inset 0 -5px #e9940b,0 6px #291b29,0 9px 12px #29182b40}.battle-cta{min-width:clamp(234px,26vw,398px);padding:8px 30px;display:flex;align-items:center;justify-content:center;gap:14px;color:#fff9e9;font:1000 italic clamp(28px,3.1vw,47px) / 1 var(--head);letter-spacing:.025em;-webkit-text-stroke:4px #3e2430;paint-order:stroke fill;text-shadow:0 4px #44232a}.battle-cta .ico{height:.82em;width:.82em;color:#fff9e9;filter:drop-shadow(0 2px #63342a)}.battle-cta:hover,.gold:hover:enabled{filter:brightness(1.05)}.scrim{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#171528be;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);padding:calc(16px + env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom))}.sheet{width:min(100%,550px);max-height:100%;display:flex;flex-direction:column;background:linear-gradient(150deg,#384c64,#26354b 60%,#273246);border:4px solid #1d182a;border-radius:18px;box-shadow:inset 0 0 0 2px #8190a258,0 7px #171624,0 20px 70px #11132577;overflow:hidden}.sheet>header{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:linear-gradient(160deg,#48647c,#35465f);border-bottom:3px solid #20293d;box-shadow:inset 0 3px #7890a355}.sheet h2{font-size:clamp(23px,3vw,31px);font-weight:1000;text-shadow:0 3px #262337;letter-spacing:.04em}.sheet-body{overflow:auto;overscroll-behavior:contain;padding:20px}.sheet-body p,.intro{font-size:15px;line-height:1.65;color:#dce5ec}.intro{margin:0 0 15px}.center{text-align:center}.mini{padding:8px 14px;min-height:40px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:5px}.mini.gold{color:#3c2730;border-width:3px;box-shadow:inset 0 2px #ffeea4,inset 0 -2px #e3a11b,0 3px #231e2a}.mini:disabled{filter:saturate(.3);opacity:.65}.mini .coin-icon{width:22px;height:22px;object-fit:contain}.actions{display:flex;justify-content:center;gap:12px;margin:20px 0 3px}.actions .mini{flex:1}.sheet .card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.collect-card{background:linear-gradient(#40536b,#2a394f);border:2px solid #1d2839;border-radius:10px;padding:8px 7px 6px;text-align:center}.collect-card .card-face{width:70%;aspect-ratio:1;margin:auto auto 6px}.collect-card .card-face b{display:none}.collect-card strong,.collect-card small{display:block}.collect-card strong{font-size:15px}.collect-card small{font-size:12px;color:#c0ccd6}.collect-card.equipped small{color:#99f3af}.collect-card.viewing{outline:3px solid var(--card);outline-offset:-2px}.card-detail,.how,.pause-note{margin-top:14px;padding:12px 14px;background:#1e2c40;border-radius:8px;border:1px solid #516278}.card-detail b,.subhead{color:#ffdc79}.card-detail p{margin-top:4px}.replace{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:7px;font-size:14px}.replace .mini{padding:3px 9px;min-height:32px}.forge-balance,.payout{display:flex;gap:7px;align-items:center}.forge-balance>img,.payout img{height:31px;width:31px;object-fit:contain}.forge-balance b{font:900 24px system-ui;color:#ffda65}.forge-balance span{font-size:14px;margin-left:5px;color:#dbe4ef}.forge-list,.bounties,.pick-list{display:grid;gap:10px}.forge-list{margin-top:16px}.forge-list article,.bounty,.pick{display:flex;align-items:center;gap:12px;background:#243248;border:2px solid #192438;border-radius:10px;padding:8px;text-align:left}.forge-list article>img,.pick>img{width:59px;height:59px;border-radius:6px;border:2px solid #172234}.forge-list article>div,.pick>span,.bounty>span:nth-child(2){flex:1}.forge-list article h3,.pick b,.bounty b{font-size:18px}.forge-list article p,.pick small,.bounty em{font-size:13px;color:#c7d5de;font-style:normal}.forge-list article small{font-size:12px;color:#ffd679}.bounty{padding:12px 14px}.bounty span>*{display:block}.bounty .bounty-icon{width:43px;height:46px;display:grid;place-items:center;color:#ffdc70;background:#3d4d64;border-radius:8px}.bounty small{color:#ffc866;font-size:12px}.bounty b{padding:3px 0}.bounty:disabled{opacity:.56}.bounty.active{border-color:#e7b24f}.bounty>.ico,.pick>.ico{width:16px;height:16px}.record-emblem,.result-hero{display:flex;align-items:center;justify-content:center;gap:12px}.record-emblem{flex-direction:column;gap:0;color:#ffe38f}.record-emblem .ico{width:72px;height:72px}.record-emblem b{font:900 38px system-ui}.stats{display:flex;gap:8px;justify-content:center;margin-top:15px}.stats div{background:#1e2c40;border-radius:8px;text-align:center;padding:10px 5px;flex:1}.stats b,.stats small{display:block}.stats b{font:900 22px system-ui;color:#f9e4ad}.stats small{font-size:13px;margin-top:3px}.toggles{display:grid;gap:8px}.toggle{display:flex;align-items:center;justify-content:space-between;background:#243247;border-radius:8px;padding:12px}.toggle span{border-radius:5px;color:#c9d5dd;background:#3a4654;padding:3px 10px}.toggle[aria-checked=true] span{background:#27654a;color:#aaffbe}.subhead{margin-top:17px;font-size:17px}.how{margin-top:8px}.how p+p{margin-top:7px}.how b{color:#ffdb78}.pause-note{margin-top:0;text-align:center;color:#ffdf8c}.pick{border-left:5px solid var(--card)}.pick span>*{display:block}.pick b{margin-bottom:4px}.result-hero>img{width:100px;height:110px;object-fit:contain}.result-hero h3{font-size:23px;margin:3px 0;color:#ffe090}.payout{justify-content:center;font:900 22px system-ui;color:#ffdd73;margin-top:14px}.payout .ico{margin-left:10px}.result .sheet-body{padding-bottom:22px}#toast{position:fixed;left:50%;bottom:max(14%,35px);transform:translate(-50%,8px);z-index:35;pointer-events:none;opacity:0;transition:opacity .1s,transform .15s;background:#201c2de8;color:#ffedbf;font-weight:800;border:2px solid #c49d60;border-radius:6px;padding:7px 14px;white-space:nowrap}#toast.show{opacity:1;transform:translate(-50%)}.battle-screen{position:relative;background:#d7934e;isolation:isolate;touch-action:none}.battle-screen:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#51312c51,transparent 18%,transparent 88%,#482d3655);z-index:0}#field{position:absolute;inset:0;touch-action:none;cursor:crosshair}#field canvas{display:block;width:100%;height:100%}.hud{position:absolute;z-index:2;top:max(14px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));display:flex;align-items:flex-start;justify-content:space-between;gap:8px;pointer-events:none}.hud .square{pointer-events:auto}.vitals,.wave-time,.kills{background:linear-gradient(155deg,#35465bea,#212e43f4);border:3px solid #2e2032;box-shadow:inset 0 2px #6e839357,0 3px #2d1c2abf;border-radius:8px}.vitals{display:flex;align-items:center;gap:8px;padding:4px 9px 5px 4px}.mini-face{width:38px;height:38px;background:linear-gradient(#80c794,#2e684f);border-radius:5px;overflow:hidden}.mini-face img{width:135%;margin-left:-15%}.vitals>div>b{display:block;font-size:14px;line-height:1.25}.vitals small{color:#ffe892;font-family:system-ui;font-size:11px}.hp{position:relative;width:100px;height:12px;overflow:hidden;background:#1d292a;border:1px solid #1b2831;border-radius:3px}.hp i,.xp i{position:absolute;inset:0;transform-origin:left;transition:transform .1s linear}.hp i{background:linear-gradient(#90f472,#40b35d)}.hp span{position:absolute;inset:0;text-align:center;font:900 9px/10px system-ui;text-shadow:0 1px #1b4221}.wave-time{position:absolute;left:50%;top:0;transform:translate(-50%);padding:3px 15px 5px;text-align:center}.wave-time span{display:block;color:#ffdc81;font-size:12px;letter-spacing:.1em}.wave-time b{font:1000 23px/1 system-ui;letter-spacing:.03em}.xp{position:absolute;z-index:1;pointer-events:none;inset:0 0 auto;height:5px;background:#17283ba6}.xp i{background:linear-gradient(to right,#48ce9b,#adfc72)}.kills{position:absolute;left:20px;top:calc(max(14px,env(safe-area-inset-top)) + 64px);z-index:1;display:flex;align-items:center;gap:5px;padding:2px 7px;pointer-events:none;font:900 16px system-ui}.kills .ico{width:20px;height:20px}#stick{position:fixed;z-index:2;margin:-39px 0 0 -39px;width:78px;height:78px;border:3px solid #fff6dd91;border-radius:50%;background:#291b3040;display:grid;place-items:center;pointer-events:none}#stick i{width:29px;height:29px;border:2px solid #fff9dccc;border-radius:50%;background:#fff0c55c}#banner{position:absolute;z-index:1;top:18%;left:50%;transform:translate(-50%,-4px);opacity:0;padding:6px 17px;background:linear-gradient(90deg,transparent,#281f35d9 12% 88%,transparent);white-space:nowrap;pointer-events:none;color:#ffebac;font-weight:900;text-shadow:0 2px #3e2631;transition:.18s}#banner.on{transform:translate(-50%);opacity:1}#boss{position:absolute;top:calc(max(14px,env(safe-area-inset-top)) + 59px);left:50%;transform:translate(-50%);width:min(44%,330px);text-align:center;pointer-events:none;z-index:1}#boss strong{font-size:14px;color:#fff;text-shadow:0 1px 3px #2a192a}#boss>i{display:block;margin-top:2px;height:12px;border:2px solid #2c1a2b;background:#2d2030;border-radius:6px;overflow:hidden}#boss i b{display:block;height:100%;background:linear-gradient(#ff9366,#e3425d)}#loading{position:absolute;z-index:6;inset:0;background:linear-gradient(#2b233477,#332235b8),url(../art/lobby.webp) center/cover;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;text-shadow:0 2px #2f1d2a}.loader{width:34px;height:34px;border-radius:50%;border:4px solid #ffe29166;border-top-color:#ffe378;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-aspect-ratio:19/10)and (min-width:801px){.character{height:68vh;bottom:14%}.identity{top:24%}.roster{bottom:24%}.equipment{bottom:25%}.fan{height:12vh}.portrait{width:8.5vh}.mast h1 img{max-height:16vh;width:auto;max-width:24vw}}@media(max-width:800px)and (orientation:portrait){:root{--pad: clamp(14px, 4.4vw, 30px)}.mast{top:max(14px,env(safe-area-inset-top))}.mast h1 img{width:clamp(136px,40vw,232px)}.wallet{gap:8px;padding-top:4px}.counter{height:30px;min-width:48px;padding:0 6px 0 20px;border-width:2px;font-size:16px}.counter>.ico,.counter>img{height:27px;width:27px;left:-8px}.square{width:34px;height:32px;border-width:2px;border-radius:7px;padding:4px}.square>.ico{width:22px;height:22px}.landscape{background-position:52% center}.vignette{background:linear-gradient(0deg,#281829bf,transparent 30%,transparent 83%,#342a4545),linear-gradient(95deg,#39203945,transparent 66%)}.character{left:52%;bottom:25%;height:auto;width:min(94vw,52dvh);max-width:none;aspect-ratio:1}.identity{top:clamp(79px,13vh,160px);max-width:63vw}.role{font-size:13px;padding:3px 10px 4px 7px}.role .ico{height:14px;width:14px}.identity h2{font-size:clamp(44px,min(13vw,7.8dvh),78px);margin:4px 0 0;-webkit-text-stroke:3px #2b2030;text-shadow:0 4px #291c2e}.callsign{font-size:clamp(13px,3.5vw,20px)}.identity p{display:none}.equipment{bottom:auto;top:clamp(92px,14.4vh,178px);right:var(--pad);width:clamp(90px,23vw,138px);gap:11px}.fan{height:clamp(51px,13vw,81px)}.fan .card-face{border-width:2px;border-radius:5px}.fan .card-face img{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);border-radius:2px}.fan .card-face b{display:none}.fan .drop-cost{font-size:10px;line-height:13px;min-width:15px;height:16px;border-width:1px;top:-3px;left:-3px}.metal-label,.forge-entry{min-height:31px;gap:3px;font-size:12px;padding:3px 5px;border-width:2px;border-radius:6px;white-space:nowrap}.metal-label .ico{width:15px;height:15px}.metal-label .ico:last-child,.forge-entry .ico{width:10px;height:10px}.forge-entry img{width:18px;height:18px}.roster{bottom:calc(max(16px,env(safe-area-inset-bottom)) + clamp(64px,9vh,87px) + 17px);left:var(--pad)}.roster h3{font-size:14px;margin:0 0 6px}.roster small{font-size:10px}.portraits{gap:8px}.portrait{width:clamp(43px,12.2vw,67px);border-radius:8px}.portrait span{font-size:10px}.portrait i{width:17px;height:16px;right:-5px;top:-5px}.portrait i .ico{width:11px;height:11px}.camp-dock{bottom:max(16px,env(safe-area-inset-bottom));gap:9px;left:var(--pad);right:var(--pad)}.contract,.battle-cta{border-width:3px;border-radius:10px;min-height:clamp(64px,9vh,87px);min-width:0}.contract{flex:1;gap:6px;padding:0 7px 0 0}.contract-art{width:19%;min-width:25px;background-size:auto 120%;background-position:12% center;border-right-width:2px}.contract small{font-size:10px;letter-spacing:0;gap:3px}.contract small i{width:4px;height:4px}.contract b{font-size:clamp(18px,4.9vw,26px);white-space:nowrap}.contract>.ico{width:12px;height:12px}.battle-cta{flex:1.05;gap:5px;font-size:clamp(22px,6vw,36px);letter-spacing:0;padding:4px 6px;-webkit-text-stroke:2.5px #402431;text-shadow:0 3px #44232a}.battle-cta .ico{width:16px}.hud{left:10px;right:10px}.vitals{gap:4px;padding:3px}.mini-face{width:26px;height:30px}.vitals>div>b{font-size:12px}.hp{width:64px;height:10px}.hp span{font-size:8px;line-height:8px}.wave-time{padding:3px 9px}.wave-time b{font-size:18px}.wave-time span{font-size:10px}.kills{left:12px;top:calc(max(14px,env(safe-area-inset-top)) + 46px);font-size:13px}}@media(max-height:660px)and (orientation:portrait){.character{bottom:24%;width:min(78vw,48vh)}.equipment{top:13.7vh}.fan{height:40px}.identity{top:13.5vh}.identity h2{font-size:40px}.portrait{width:38px}.roster{bottom:90px}.roster h3{font-size:12px}.camp-dock{bottom:12px}.contract,.battle-cta{min-height:58px}}@media(max-height:540px)and (orientation:landscape){:root{--pad: 3vw}.mast{top:max(8px,env(safe-area-inset-top))}.mast h1 img{width:124px}.wallet{gap:9px}.counter{height:26px;min-width:52px;font-size:15px;padding-left:21px}.counter>.ico,.counter>img{width:27px;height:27px}.square{width:32px;height:30px;padding:3px}.square .ico{width:20px;height:20px}.identity{top:22%}.identity h2{font-size:clamp(36px,11vh,56px);margin:2px 0}.callsign{font-size:13px}.role{font-size:10px;padding:2px 6px}.role .ico{width:12px;height:12px}.identity p{display:none}.roster{bottom:23%}.roster h3{font-size:12px;margin-bottom:4px}.portrait{width:clamp(32px,9vh,47px);border-width:2px}.portrait span{font-size:9px}.portraits{gap:7px}.equipment{width:105px;bottom:27%;gap:8px}.fan{height:49px}.fan .card-face b{display:none}.fan .drop-cost{font-size:10px;min-width:14px;height:15px;line-height:12px}.metal-label,.forge-entry{min-height:25px;padding:1px 5px;font-size:11px;border-width:2px}.forge-entry img{height:17px;width:17px}.character{height:66vh;bottom:15%}.camp-dock{bottom:3vh}.contract,.battle-cta{min-height:49px;border-width:3px;border-radius:8px}.contract{min-width:205px;gap:9px}.contract b{font-size:18px}.contract small{font-size:10px}.contract-art{width:52px}.battle-cta{min-width:175px;font-size:23px}.sheet>header{padding:7px 12px}.sheet-body{padding:12px}.sheet .card-grid{grid-template-columns:repeat(6,1fr)}.collect-card .card-face{width:90%}.collect-card{padding:5px 2px}.collect-card strong{font-size:12px}}@media(max-width:420px){.sheet-body{padding:13px}.sheet>header{padding:10px 13px}.forge-list article{gap:6px;padding:6px}.forge-list article>img{width:42px;height:44px}.forge-list article .mini{font-size:12px;padding:6px}.sheet .card-grid{gap:7px}.collect-card{padding:6px 3px}.collect-card strong{font-size:13px}.sheet-body p{font-size:14px}.forge-balance span{font-size:12px}.replace{gap:5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}}.calm *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}.contract-art{background-size:cover;background-position:25% 30%}.bounty .bounty-icon{position:relative;width:65px;height:57px;overflow:hidden}.bounty-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.bounty-icon .ico{position:relative;filter:drop-shadow(0 1px 2px #301b2a)}.next-bounty{text-align:center;margin-top:10px;color:#ffdd82!important}.pick em{font-style:normal;font-weight:800;font-size:11px;letter-spacing:.06em;color:var(--card);margin-bottom:2px}.pick small{line-height:1.4}.evolution-choice{border:2px solid color-mix(in srgb,var(--card) 72%,#34283e);background:linear-gradient(115deg,color-mix(in srgb,var(--card) 18%,#182438),#202a40 78%);box-shadow:inset 0 1px #fff3,0 3px #172231}.evolution-choice>img{width:clamp(56px,15vw,76px);height:auto;aspect-ratio:1;border-color:var(--card)}.support-choice em{color:#c3cdd6}.build-list{margin:12px 0}.build-list h3{font-size:13px;color:#f4d78b;margin:0 0 6px}.build-list>div{display:flex;flex-wrap:wrap;gap:6px}.build-list span{display:inline-flex;align-items:center;gap:5px;padding:3px 8px 3px 3px;background:#233046;border-radius:5px;font-size:12px}.build-list img{width:23px;height:23px;border-radius:3px}#hero-evo{color:#fae494;font-size:10px;margin-left:4px}.evo-preview strong{color:#f7d786}#hurt-frame{position:absolute;inset:0;pointer-events:none;z-index:1;opacity:0;box-shadow:inset 0 0 40px 8px #da352cbf;border:3px solid #f36b57}.passive-tray{position:absolute;bottom:max(17px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:2;pointer-events:none;text-align:center;color:#ffedbf}.passive-tray>small{display:table;margin:0 auto -1px;background:#273347ec;border:2px solid #152131;border-bottom:0;padding:1px 7px;border-radius:5px 5px 0 0;font:800 11px system-ui}.passive-tray>div{display:flex;gap:4px;padding:4px;border:2px solid #142335;background:#25334aec;border-radius:8px;box-shadow:0 3px #1019259c}.passive-tile{position:relative;display:block;width:34px;height:34px;overflow:hidden;border:1px solid #96a6b3;border-radius:5px;background:#182338}.passive-tile img{width:100%;height:100%;object-fit:cover}.passive-tile .rank{position:absolute;top:0;left:0;background:#1a2339e8;color:#fae5ac;padding:0 3px;font:800 10px system-ui;font-style:normal;border-radius:0 0 3px}.passive-tile .cd{position:absolute;inset:auto 0 0;background:#131b2bd4;color:#fff;font:800 11px/13px system-ui}.passive-tile.awakened{border-color:#ffcd56}.passive-tile.fired{box-shadow:0 0 7px #f8dfa9;border-color:#fff2bd}.nova-button{position:absolute;z-index:3;right:max(21px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));padding:0;display:flex;flex-direction:column;align-items:center;background:none;touch-action:manipulation;color:#fff1c6}.nova-disc{position:relative;display:grid;place-items:center;width:clamp(65px,8vw,86px);aspect-ratio:1;background:conic-gradient(#ffdc79 var(--charge,100%),#44506a var(--charge,100%));border:3px solid #1c263a;border-radius:50%;box-shadow:0 4px #101a28,0 0 0 2px #ffe1a2a8}.nova-disc img{width:calc(100% - 8px);height:calc(100% - 8px);object-fit:cover;border-radius:50%;border:1px solid #44273a}.nova-disc strong{position:absolute;font:1000 23px system-ui;color:#fff;text-shadow:0 2px 2px #182234,1px 0 2px black}.nova-button:disabled{opacity:1;cursor:default}.nova-button:disabled img{filter:saturate(.55) brightness(.55)}.nova-button>b{position:relative;margin-top:-5px;padding:1px 8px 3px;border:2px solid #20293b;border-radius:5px;background:#503b37;font:900 13px system-ui}.sound-check{margin-top:9px}.wave-time span{white-space:nowrap}.card-face .drop-cost{font-size:12px;min-width:25px}@media(max-width:420px){.passive-tray{bottom:max(11px,env(safe-area-inset-bottom))}.passive-tile{width:30px;height:31px}.nova-button{right:max(13px,env(safe-area-inset-right));bottom:max(13px,env(safe-area-inset-bottom))}.wave-time span{letter-spacing:0}.vitals #hero-evo{display:block;font-size:10px;margin:0}.vitals #hero-evo[hidden]{display:none}}@media(max-height:470px){.nova-disc{width:55px}.nova-button{bottom:8px}.passive-tray{bottom:6px}.passive-tile{width:27px;height:27px}}
