@font-face{font-family:Lilita One;src:url(../fonts/LilitaOne-Regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:block}@font-face{font-family:Mobolo Accents;src:url(../fonts/MoboloAccents-Regular.ttf)format("truetype");font-weight:400;font-style:normal;font-display:block;unicode-range:U+A0,U+11E-11F,U+130,U+15E-15F,U+202F}:root{--font-game:"Lilita One", "Mobolo Accents", "Arial Rounded MT Bold", "Arial Black", system-ui, sans-serif;--font-ui:var(--font-game);--ink:#1b1b2f;--paper:#fffdf2;--gold:#ffd23f;--gold-hi:#fff6b3;--gold-lo:#e89a1a;--red:#e8403a;--red-lo:#b32a33;--green:#8fd14f;--green-lo:#5e9e3a;--teal:#2ec4b6;--purple:#a66cd8;--pink:#ff5d8f;--orange:#ff9f1c;--stone:#9aa6bd;--panel:#2a2540;--panel-hi:#3a3456;--backdrop:#1d1a2e;--r-common:#c9d2e3;--r-uncommon:#2ec4b6;--r-rare:#a66cd8;--r-legendary:#ffd23f}html,body{width:100%;height:100%;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;height:100dvh;margin:0;padding:0;overflow:hidden}#game{position:fixed;inset:0}#game canvas{display:block}body{background-color:#1d1a2e;background-image:radial-gradient(#0f0d1a00 35%,#0f0d1ad9 100%),repeating-linear-gradient(135deg,#262238 0 18px,#1d1a2e 18px 36px)}body.boxed #game canvas{box-shadow:0 0 0 4px #1b1b2f,0 0 0 8px #3a3456,0 0 40px 12px #000000b3}#perf,#perf-summary{z-index:50;color:#e9ff70;white-space:pre;pointer-events:none;background:#141423b8;border-radius:4px;padding:4px 6px;font:11px/1.35 ui-monospace,Menlo,Consolas,monospace;position:fixed;left:6px}#perf{top:60px}#perf-summary{white-space:pre-wrap;color:#9bf6ff;display:none;bottom:6px;right:6px}#splash{z-index:100;background:#1d1a2e;flex-direction:column;justify-content:center;align-items:center;gap:18px;transition:opacity .3s;display:flex;position:fixed;inset:0}#splash.hide{opacity:0;pointer-events:none}#ui{z-index:10;pointer-events:none;font-family:var(--font-ui);font-size:calc(16px * var(--k,1));color:var(--paper);letter-spacing:.02em;line-height:1.1;position:absolute;overflow:hidden}#ui button,#ui .hit{pointer-events:auto}#ui img,#ui svg{-webkit-user-drag:none;display:block}.layer{position:absolute;inset:0}.safe{padding:max(.6em, env(safe-area-inset-top)) max(.6em, env(safe-area-inset-right)) max(.6em, env(safe-area-inset-bottom)) max(.6em, env(safe-area-inset-left));box-sizing:border-box;position:absolute;inset:0}.ol{text-shadow:0 .1em 0 var(--ink), .07em .07em 0 var(--ink), -.07em .07em 0 var(--ink), .07em -.05em 0 var(--ink), -.07em -.05em 0 var(--ink), .1em 0 0 var(--ink), -.1em 0 0 var(--ink), 0 -.07em 0 var(--ink)}.btn{font:inherit;color:var(--paper);border:.16em solid var(--ink);background:var(--panel-hi);box-shadow:inset 0 -.22em 0 #00000040, 0 .22em 0 var(--ink);cursor:pointer;white-space:nowrap;touch-action:manipulation;border-radius:.8em;justify-content:center;align-items:center;gap:.4em;padding:.5em 1em;transition:transform 60ms;display:inline-flex}.btn:active,.btn.pressed{box-shadow:inset 0 -.1em 0 #00000040, 0 .07em 0 var(--ink);transform:translateY(.15em)}.btn:focus-visible{outline:.14em solid var(--gold-hi);outline-offset:.1em}.btn.primary{background:var(--green);color:var(--paper)}.btn.gold{background:var(--gold);color:var(--ink)}.btn.red{background:var(--red)}.btn.big{padding:.5em 1.3em;font-size:1.35em}.btn:disabled,.btn.off{filter:saturate(.25)brightness(.8);cursor:default}.btn .ic{flex:none;width:1.15em;height:1.15em}.hud-top{justify-content:space-between;align-items:flex-start;gap:.5em;display:flex}.hud-left,.hud-right{flex-direction:column;flex:1 1 0;gap:.4em;min-width:0;display:flex}.hud-right{align-items:flex-end}.hud-center{flex-direction:column;flex:none;align-items:center;margin-top:-.1em;display:flex}.hp{box-sizing:border-box;border:.16em solid var(--ink);width:10.5em;max-width:100%;height:1.55em;box-shadow:0 .16em 0 var(--ink);background:#3b1f2e;border-radius:.8em;position:relative;overflow:hidden}.hp-fill{transform-origin:0;background:linear-gradient(#ff7a6e, var(--red) 55%, var(--red-lo));transition:transform .12s ease-out;position:absolute;inset:0}.hp-ghost{transform-origin:0;background:var(--paper);opacity:.55;transition:transform .5s ease-in .15s;position:absolute;inset:0}.hp-text{justify-content:center;align-items:center;font-size:.9em;display:flex;position:absolute;inset:0}.hp.low .hp-fill{animation:.5s ease-in-out infinite alternate hp-low}@keyframes hp-low{to{filter:brightness(1.45)}}.goo{--goo:#8be04e;box-sizing:border-box;border:.13em solid var(--ink);width:10.5em;max-width:100%;height:.62em;box-shadow:0 .12em 0 var(--ink);background:#25331f;border-radius:.4em;margin-top:-.15em;position:relative;overflow:hidden}.goo-fill{transform-origin:0;background:linear-gradient(#ffffff73, #fff0 60%), var(--goo);transition:transform .25s ease-out;position:absolute;inset:0;transform:scaleX(0)}.goo.full{animation:.45s ease-in-out infinite alternate goo-full;overflow:visible}.goo.full .goo-fill{background:linear-gradient(#fffc, #fff0 70%), var(--goo);border-radius:.3em}@keyframes goo-full{0%{box-shadow:0 .12em 0 var(--ink), 0 0 .2em .05em var(--goo)}to{box-shadow:0 .12em 0 var(--ink), 0 0 .7em .25em var(--goo)}}.weapons-row{flex-wrap:wrap;gap:.2em;max-width:10.5em;display:flex}.wslot{border:.12em solid var(--ink);background:#2a2540d9;border-radius:.45em;justify-content:center;align-items:center;width:1.9em;height:1.9em;display:flex;position:relative}.wslot img{width:88%;height:auto}.wslot.t2{background:#1f5f5a}.wslot.t3{background:#553a78}.wslot.t4{background:#7a5a12}.tier-badge{background:var(--ink);color:var(--gold);border-radius:.4em;padding:0 .25em;font-size:.73em;position:absolute;bottom:-.3em;right:-.25em}.wave-label{color:var(--gold);font-size:1.05em}.wave-timer{font-size:2.3em;line-height:1}.wave-timer.hurry{color:#ff8a7a}.coins{background:#1b1b2f8c;border-radius:1em;align-items:center;gap:.25em;padding:.1em .45em .1em .2em;font-size:1.35em;display:inline-flex}.coins img{width:1.2em;height:1.2em}.coins.bump{animation:.25s ease-out bump}@keyframes bump{0%{transform:scale(1)}35%{transform:scale(1.28)}to{transform:scale(1)}}.icon-btn{border-radius:50%;width:2.5em;height:2.5em;padding:0}.icon-btn svg{width:1.1em;height:1.1em}.banner{pointer-events:none;opacity:0;flex-direction:column;align-items:center;display:flex;position:absolute;top:30%;left:0;right:0}.banner .b1{color:var(--gold);font-size:3.2em}.banner .b2{margin-top:.2em;font-size:1.3em}.banner.show{animation:1.5s ease-out forwards banner}@keyframes banner{0%{opacity:0;transform:scale(.4)}12%{opacity:1;transform:scale(1.15)}22%{transform:scale(1)}78%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.05)translateY(-.6em)}}.overlay{pointer-events:auto;background:#141122bd;animation:.18s ease-out fade-in}@keyframes fade-in{0%{opacity:0}}.center-col{flex-direction:column;justify-content:center;align-items:center;gap:.8em;height:100%;display:flex}.panel{background:var(--panel);border:.18em solid var(--ink);box-shadow:inset 0 .2em 0 #ffffff0f, 0 .3em 0 var(--ink);border-radius:1.1em;padding:1em 1.4em}.title{color:var(--gold);font-size:2.6em}.shop{box-sizing:border-box;flex-direction:column;gap:.6em;height:100%;display:flex}.shop-head{flex:none;justify-content:space-between;align-items:center;gap:.5em;display:flex}.shop-title{color:var(--gold);font-size:2em;line-height:1}.shop-sub{color:var(--r-common);margin-top:.15em;font-size:.95em}.shop-head-right{align-items:center;gap:.5em;display:flex}.cards{flex:auto;grid-template-columns:repeat(4,minmax(0,1fr));place-content:center;gap:.6em;min-height:0;display:grid}.portrait .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.landscape .cards{width:100%;max-width:64em;margin:0 auto}.card{background:var(--panel);border:.18em solid var(--ink);box-shadow:inset 0 0 0 .16em var(--rc), 0 .25em 0 var(--ink);--rc:var(--r-common);border-radius:1em;flex-direction:column;align-items:center;gap:.3em;min-width:0;padding:.55em .55em .6em;display:flex;position:relative}.card.r1{--rc:var(--r-uncommon)}.card.r2{--rc:var(--r-rare)}.card.r3{--rc:var(--r-legendary)}.card-top{text-transform:uppercase;color:var(--rc);justify-content:space-between;align-self:stretch;align-items:center;font-size:.72em;display:flex}.keycap{color:var(--stone);border:.12em solid var(--stone);border-radius:.35em;padding:0 .35em;line-height:1.3}.portrait .keycap{display:none}.card-icon{border:.14em solid var(--rc);background:radial-gradient(circle at 40% 35%,#ffffff29,#0000002e);border-radius:50%;flex:none;justify-content:center;align-items:center;width:3.4em;height:3.4em;display:flex}.card-icon img{width:86%}.card-icon{position:relative}.badge{white-space:nowrap;border:.14em solid var(--ink);color:var(--paper);border-radius:.8em;padding:.28em .55em;font-size:.73em;line-height:1;position:absolute;bottom:-.55em;left:50%;transform:translate(-50%)}.badge.merge{background:var(--green-lo);animation:.9s ease-in-out infinite alternate badge-glow}.badge.blocked{background:var(--red-lo)}.badge.owned{background:#1f5f5a}.card-icon svg.struct{width:90%;height:90%}.wslot.schip{background:#1f4a48;position:relative}.wslot.schip svg{width:92%;height:92%}@keyframes badge-glow{to{background:var(--green)}}.card.merges{box-shadow:inset 0 0 0 .16em var(--green), 0 .25em 0 var(--ink)}.card.blocked .card-icon>img,.card.blocked .card-name,.card.blocked .card-desc{opacity:.45}.card.blocked .card-icon{border-style:dashed}.btn.buy.blocked{background:var(--panel-hi);color:#ff8a7a;cursor:not-allowed}.card-actions .buy.blocked span{text-shadow:0 .08em 0 var(--ink), .06em 0 0 var(--ink), -.06em 0 0 var(--ink);font-size:.8em}.card-icon svg{width:70%;height:70%}.card-name{text-align:center;font-size:1.08em;line-height:1.05}.card-desc{color:#d9dcef;text-align:center;letter-spacing:0;flex:auto;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:.74em;font-weight:700;line-height:1.25}.card-desc .pos{color:var(--green)}.card-desc .neg{color:#ff8a7a}.card-actions{align-self:stretch;gap:.35em;display:flex}.card-actions .buy{flex:auto;padding:.35em .4em;font-size:1.05em}.card-actions .lock{flex:none;padding:.3em .45em}.lock.on{background:var(--orange)}.lock svg{width:1.05em;height:1.05em}.buy.cant{background:var(--panel-hi);color:#ff8a7a}.card.sold>:not(.stamp){opacity:.28}.stamp{color:var(--gold);border:.14em solid var(--gold);border-radius:.3em;padding:.05em .35em;font-size:1.6em;display:none;position:absolute;top:38%;left:50%;transform:translate(-50%,-50%)rotate(-14deg)}.card.sold .stamp{display:block}.card.locked{box-shadow:inset 0 0 0 .16em var(--orange), 0 .25em 0 var(--ink)}.shop-foot{flex:none;align-items:center;gap:.6em;display:flex}.portrait .shop-foot{flex-wrap:wrap}.owned{flex-wrap:wrap;flex:auto;justify-content:center;align-items:center;gap:.35em;min-width:0;display:flex}.portrait .owned{flex-basis:100%;order:-1}.owned-label{color:var(--stone);margin-right:.2em;font-size:.8em}.owned .wslot{width:2.2em;height:2.2em}.wslot.wempty{border:.12em dashed var(--stone);color:var(--stone);background:#2a254059;line-height:1}.hud .wslot.wempty{opacity:.4;color:#0000}#ui.short .hud .wslot.wempty{display:none}.badge.slot{background:#2a62c9}.owned-label>.slots-count.free{color:var(--gold);font-size:.95em}.wgroup{align-items:center;display:flex;position:relative}.btn.wbtn{box-shadow:none;background:0 0;border:0;border-radius:.5em;padding:0;position:relative}.btn.wbtn:active{box-shadow:none;transform:none}.wbtn .wslot{transition:transform .12s ease-out}.wbtn.merge-target .wslot{border-color:var(--green);box-shadow:0 0 .45em .05em #8fd14fbf}.wgroup.sel .wslot{border-color:var(--gold);box-shadow:0 0 0 .1em var(--ink), 0 0 .6em .1em #ffd23fb3;transform:scale(1.3)translateY(-.1em)}.wgroup.sel{z-index:2}.btn.sell{white-space:nowrap;border-radius:.7em;gap:.25em;padding:.35em .75em;font-size:.95em;animation:.16s ease-out pop-in;position:absolute;bottom:calc(100% + .75em);left:50%;transform:translate(-50%)}.btn.sell:after{content:"";border:.4em solid #0000;border-top-color:var(--ink);margin-top:.14em;position:absolute;top:100%;left:50%;transform:translate(-50%)}.btn.sell:active{transform:translate(-50%)translateY(.15em)}@keyframes pop-in{0%{opacity:0;transform:scale(.3)}}.slot-key{background:var(--ink);color:var(--gold);border-color:var(--gold);font-size:.65em;position:absolute;top:-.7em;left:50%;transform:translate(-50%)}.owned.hint .wslot{animation:.5s ease-in-out 2 owned-hint}@keyframes owned-hint{50%{border-color:var(--gold);box-shadow:0 0 .6em .1em #ffd23fcc}}.portrait .shop-foot .btn{flex:1 1 0}.toast{background:var(--ink);opacity:0;pointer-events:none;white-space:nowrap;border-radius:.7em;padding:.35em .8em;font-size:.95em;transition:opacity .2s;position:absolute;bottom:22%;left:50%;transform:translate(-50%)}.toast.show{opacity:1}.card.shake,.btn.shake{animation:.3s linear shake}@keyframes shake{20%,60%{transform:translate(-.25em)}40%,80%{transform:translate(.25em)}}.card.bought{animation:.35s ease-out bought}@keyframes bought{40%{transform:scale(1.06)}}.short .shop{gap:.4em}.short .shop-title{font-size:1.6em}.short .card{gap:.2em;padding:.4em .45em .45em}.short .card-icon{width:2.5em;height:2.5em}.short .card-top{display:none}.menu-title{justify-content:center;margin-top:.12em;font-size:5.4em;line-height:1;display:flex}.portrait .menu-title{font-size:4.6em}.menu-title span{text-shadow:0 .07em 0 var(--ink), .045em .045em 0 var(--ink), -.045em .045em 0 var(--ink), .045em -.035em 0 var(--ink), -.045em -.035em 0 var(--ink), .06em 0 0 var(--ink), -.06em 0 0 var(--ink), 0 .12em 0 var(--ink);animation:1.6s cubic-bezier(.3,1.6,.5,1) infinite letter-bounce;display:inline-block}@keyframes letter-bounce{0%,55%,to{transform:translateY(0)scale(1)}15%{transform:translateY(-.16em)scale(.94,1.08)}30%{transform:translateY(0)scale(1.1,.9)}40%{transform:translateY(-.03em)scale(1)}}.menu{box-sizing:border-box;flex-direction:column;justify-content:space-between;align-items:center;height:100%;display:flex}.menu-sub{color:var(--paper);margin-top:.4em;font-size:1.15em}.menu-bottom{flex-direction:column;align-items:center;gap:.7em;margin-bottom:.6em;display:flex}.tap{color:var(--paper);font-size:1.9em;animation:1.1s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.75;transform:scale(1.08)}}.pill{border:.14em solid var(--ink);background:#1b1b2fb3;border-radius:1em;align-items:center;gap:.35em;padding:.2em .8em;font-size:1.05em;display:inline-flex}.pill b{color:var(--gold);font-weight:400}.hint{color:var(--stone);font-size:.8em}.go-panel{flex-direction:column;align-items:center;gap:.5em;min-width:14em;display:flex}.go-head{color:#ff8a7a;font-size:1.3em}.go-round{color:var(--gold);font-size:4em;line-height:1;animation:.45s cubic-bezier(.3,1.8,.5,1) pop-in}.go-stats{grid-template-columns:auto auto;gap:.25em 1.2em;margin:.3em 0 .5em;font-size:1.05em;display:grid}.go-stats .v{text-align:right;color:var(--gold)}.new-best{color:var(--ink);background:var(--gold);border:.14em solid var(--ink);border-radius:.6em;padding:.1em .6em;font-size:.95em;animation:.5s cubic-bezier(.3,1.8,.5,1) .25s both pop-in;transform:rotate(-4deg)}.go-buttons{flex-wrap:wrap;justify-content:center;gap:.6em;display:flex}.btn.gold .ol{text-shadow:0 .06em #ffffff73}.card-actions .buy span{font-size:1.15em}.buy.cant span{text-shadow:0 .08em 0 var(--ink), .06em 0 0 var(--ink), -.06em 0 0 var(--ink)}.landscape .cards{max-width:50em}.portrait .card{gap:.4em;padding:.7em .6em}.portrait .card-icon{width:4.2em;height:4.2em}.portrait .card-name{font-size:1.2em}.portrait .card-desc{font-size:.82em}.coins{border:.12em solid var(--ink);background:#1b1b2fd1}.hint{color:#d9dcef}.short .menu-title{font-size:3.6em}.short .menu-sub{font-size:1em}.banner{top:19%}.short .banner{top:14%}.short .banner .b1{font-size:2.6em}.stats-panel{display:none}.portrait .stats-panel{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35em;margin-top:.4em;display:grid}.stat{border:.14em solid var(--ink);background:#2a2540d9;border-radius:.7em;flex-direction:column;align-items:center;padding:.35em .2em;display:flex}.stat-l{color:var(--stone);text-transform:uppercase;font-size:.72em}.stat-v{color:var(--paper);font-size:1.15em}body.host-paused *,body.host-paused :before,body.host-paused :after{animation-play-state:paused!important}.portrait .shop-layer .toast{top:22%;bottom:auto}.btn .fit{min-width:0}.card-top>span:first-child{white-space:nowrap;min-width:0}.card-name{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;max-width:100%;padding-bottom:.08em;display:-webkit-box;overflow:hidden}.card-desc{max-width:100%}.card-desc>div{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.badge{box-sizing:border-box;justify-content:center;max-width:13em;display:flex}.toast{white-space:normal;text-align:center;box-sizing:border-box;width:max-content;max-width:calc(100% - 2.4em)}.stat{min-width:0}.stat-l{white-space:nowrap;max-width:100%}.compact .shop{gap:.4em}.compact .shop-title{font-size:1.7em}.portrait.compact .stats-panel{gap:.25em;margin-top:.1em}.portrait.compact .stat{padding:.2em}.portrait.compact .stat-v{font-size:1em}.portrait.compact .card{gap:.25em;padding:.45em .5em .5em}.portrait.compact .card-icon{width:3.1em;height:3.1em}.portrait.compact .card-name{font-size:1.05em}.portrait.compact .card-desc{font-size:.74em}.portrait.compact .owned .wslot{width:1.9em;height:1.9em}.portrait.compact .owned{gap:.25em}.portrait.compact .owned-label>span:first-child:not(.free){display:none}.portrait.compact .shop-foot .btn.big{font-size:1.2em}.shop-layer{isolation:isolate}.short .hud .safe{padding:max(.45em, env(safe-area-inset-top)) max(.5em, env(safe-area-inset-right)) max(.45em, env(safe-area-inset-bottom)) max(.5em, env(safe-area-inset-left))}.short .hud-left{gap:.3em}.short .hud-right{flex-direction:row-reverse;justify-content:flex-start;align-items:flex-start;gap:.4em}.short .hp{width:9.5em;height:1.4em}.short .goo{width:9.5em;height:.55em}.short .hud .wslot{width:1.7em;height:1.7em}.short .wave-label{font-size:.95em}.short .wave-timer{font-size:1.9em}.short .hud .icon-btn{width:2.3em;height:2.3em}.short .hud .coins{font-size:1.2em}.short .go-panel{gap:.4em;padding:.7em 1.2em}.short .title{font-size:2.2em}.short .go-round{font-size:3.2em}.next-wave{text-align:center;flex-direction:column;flex:1 1 0;align-items:center;gap:.2em;min-width:0;display:flex}.portrait .shop-head{flex-wrap:wrap;row-gap:.35em}.portrait .next-wave{flex:100%;order:3}.nw-line{flex-wrap:wrap;justify-content:center;align-items:center;gap:.3em .4em;max-width:100%;display:flex}.nw-label{color:var(--paper);white-space:nowrap;font-size:.95em}.nw-secs{color:var(--stone);font-size:.85em}.nw-chip{border:.14em solid var(--ink);min-width:0;max-width:100%;color:var(--paper);background:var(--panel-hi);box-sizing:border-box;border-radius:1em;align-items:center;gap:.25em;padding:.18em .6em .18em .3em;font-size:.85em;line-height:1.1;display:inline-flex}.nw-chip>span{overflow-wrap:break-word;min-width:0}.nw-chip svg,.nw-chip img{object-fit:contain;flex:none;width:1.5em;height:1.5em}.nw-chip.horde{background:#c24a1f;animation:.9s ease-in-out infinite alternate nw-pulse}.nw-chip.boss{background:#b0336f;animation:.9s ease-in-out infinite alternate nw-pulse}.nw-chip.new{background:#3f3566}@keyframes nw-pulse{to{box-shadow:0 0 .7em #ffd23fbf}}.nw-soon{color:var(--gold);font-size:.8em}.set-chip{--tc:var(--stone);border:.12em solid var(--tc);color:var(--paper);white-space:nowrap;box-sizing:border-box;background:#0f0d1ab8;border-radius:.7em;align-items:center;gap:.25em;max-width:100%;padding:.2em .4em;font-size:.73em;line-height:1;display:inline-flex}.set-chip .set-name{text-overflow:ellipsis;text-transform:uppercase;min-width:0;overflow:hidden}.set-chip .set-n{color:var(--tc)}.set-chip.on{background:color-mix(in srgb, var(--tc) 35%, #0f0d1a)}.set-chip.up{box-shadow:0 0 .6em var(--tc);animation:.9s ease-in-out infinite alternate badge-glow-set}@keyframes badge-glow-set{to{box-shadow:0 0 .15em var(--tc)}}.pips{gap:.12em;display:inline-flex}.pips i{border:.1em solid var(--tc);box-sizing:border-box;border-radius:50%;width:.42em;height:.42em}.pips i.on{background:var(--tc)}.t-gun{--tc:#aebfdf}.t-home{--tc:#ff9f6b}.t-thrown{--tc:#2ec4b6}.t-heavy{--tc:#c8925a}.t-hot{--tc:#ff6b1a}.t-zap{--tc:#ffe14a}.t-boom{--tc:#ff5d6d}.t-charm{--tc:#58b8e8}.t-goo{--tc:#8be04e}.card-tags{flex-direction:column;gap:.2em;max-width:4.2em;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.card-tags.left{align-items:flex-end;right:calc(100% + .35em)}.card-tags.right{align-items:flex-start;left:calc(100% + .35em)}.short .card-tags{top:-.15em;transform:none}.card-tags .set-chip{box-sizing:border-box;flex-direction:column;gap:.15em;max-width:100%;padding:.2em .35em}.card-tags .set-chip .set-name{max-width:100%}.owned-label{flex-wrap:wrap;justify-content:center;align-items:center;gap:.2em .3em;font-size:1em;display:flex}.owned-label:has(.owned-sets){flex:100%;margin-right:0}.owned-label>.ol{font-size:.8em}.owned-sets{flex-wrap:wrap;justify-content:center;gap:.2em;display:flex}#btn-reroll.free>span:last-child{color:var(--green)}:root{--xp:#4f9dff;--xp-hi:#a9d2ff;--xp-lo:#2a62c9}.xp{align-items:center;gap:.25em;width:10.5em;max-width:100%;margin-top:-.1em;display:flex}.lvl{box-sizing:border-box;border:.14em solid var(--ink);background:radial-gradient(circle at 40% 30%, var(--xp-hi), var(--xp) 55%, var(--xp-lo));min-width:1.45em;height:1.45em;box-shadow:0 .12em 0 var(--ink);border-radius:.75em;flex:none;justify-content:center;align-items:center;padding:0 .2em;font-size:.8em;line-height:1;display:flex}.lvl.up{animation:.6s ease-out lvl-up}@keyframes lvl-up{30%{box-shadow:0 .12em 0 var(--ink), 0 0 .8em .3em var(--xp);transform:scale(1.45)}}.xp-bar{box-sizing:border-box;border:.12em solid var(--ink);min-width:0;height:.5em;box-shadow:0 .1em 0 var(--ink);background:#1c2a45;border-radius:.3em;flex:auto;position:relative;overflow:hidden}.xp-fill{transform-origin:0;background:linear-gradient(#ffffff80, #fff0 65%), var(--xp);transition:transform .25s ease-out;position:absolute;inset:0;transform:scaleX(0)}.short .hud-left:has(.xp){gap:.15em}.short .xp{width:9.5em;height:.45em;margin:.05em 0;position:relative}.short .lvl{z-index:1;min-width:1.35em;height:1.35em;font-size:.75em;position:absolute;top:50%;left:0;transform:translateY(-50%)}.short .xp-bar{height:.45em;margin-left:.75em}.lvl-pop{color:#e8f4ff;white-space:nowrap;pointer-events:none;opacity:0;margin-top:-2.6em;font-size:1.6em;position:absolute;transform:translate(-50%,-100%)}.lvl-pop.show{animation:1.5s ease-out forwards lvl-pop}@keyframes lvl-pop{0%{opacity:0;transform:translate(-50%,-60%)scale(.5)}15%{opacity:1;transform:translate(-50%,-100%)scale(1.15)}30%{transform:translate(-50%,-100%)scale(1)}80%{opacity:1}to{opacity:0;transform:translate(-50%,-170%)scale(1)}}.levelup .lvl-title{color:var(--xp-hi)}.levelup .lvl-title.pop{animation:.45s ease-out lvl-title}@keyframes lvl-title{40%{transform:scale(1.12)}}.lvl-more{text-align:center;min-width:0;color:var(--xp-hi);flex:1 1 0;font-size:1.05em}.levelup .card.pick{cursor:pointer}.levelup .card.pick:active{transform:translateY(.12em)}.levelup .card-actions .buy{font-size:1.1em}.levelup .cards.next .card{animation:.35s ease-out bought}.lvl-foot{justify-content:center}.lvl-hint{min-width:0;color:var(--green);text-align:center;flex:0 auto;font-size:1em}#btn-lvl-reroll,.portrait .lvl-foot .btn{flex:none}.portrait .levelup .shop-head{flex-wrap:nowrap}.portrait .lvl-more{font-size:.95em}.levelup.crate .lvl-more,.crate-title{color:var(--gold)}.crate-title{align-items:center;gap:.25em;display:flex}.crate-title.pop{animation:.45s ease-out lvl-title}.crate-ic{width:1.15em;height:1.15em;filter:drop-shadow(0 .06em 0 var(--ink));flex:none}.levelup.crate .cards{grid-template-columns:repeat(3,minmax(0,1fr))}.landscape .levelup.crate .cards{max-width:40em}.portrait .levelup.crate .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.portrait .levelup.crate .card:nth-child(3){grid-column:1/span 2;justify-self:center;width:calc(50% - .3em)}.levelup .card.relic{--rc:var(--gold);background:radial-gradient(circle at 50% 30%, #ffd23f38, transparent 70%), var(--panel)}.hud .coins{position:relative}.coin-pop{color:var(--gold);white-space:nowrap;pointer-events:none;opacity:0;margin-top:.15em;font-size:.8em;position:absolute;top:100%;right:.2em}.coin-pop.show{animation:1.1s ease-out .3s both coin-pop}@keyframes coin-pop{0%{opacity:0;transform:translateY(-.4em)scale(.6)}20%{opacity:1;transform:translateY(0)scale(1.2)}35%{transform:scale(1)}80%{opacity:1}to{opacity:0;transform:translateY(.3em)}}.update-banner{z-index:40;left:50%;bottom:max(.5em, env(safe-area-inset-bottom));border:.14em solid var(--ink);background:var(--panel,#2b2540);max-width:calc(100% - 1.2em);box-shadow:0 .2em 0 var(--ink);white-space:nowrap;cursor:pointer;pointer-events:auto;border-radius:999px;align-items:center;gap:.6em;padding:.3em .35em .3em .9em;animation:.35s ease-out ub-in;display:none;position:absolute;transform:translate(-50%)}.update-banner.show{display:flex}.update-banner.ub-top{margin-top:.7em;bottom:auto}.update-banner.busy{filter:brightness(.8);pointer-events:none}.update-banner .ub-text{text-overflow:ellipsis;font-size:.85em;overflow:hidden}.update-banner .ub-btn{background:var(--green);border-radius:999px;flex:none;padding:.25em .8em;font-size:.85em}#ui.short .update-banner{font-size:.85em}@keyframes ub-in{0%{opacity:0;transform:translate(-50%,.6em)}}.cs-layer{background:#141122e0}.cs{box-sizing:border-box;flex-direction:column;gap:.6em;max-width:30em;height:100%;margin:0 auto;display:flex}.cs-head{flex:none;align-items:center;gap:.5em;display:flex}.cs-title{text-align:center;min-width:0;color:var(--gold);flex:auto;font-size:1.7em;line-height:1}.btn.cs-back{flex:none;width:2.6em;height:2.6em;padding:0}.btn.cs-back svg{width:1.4em;height:1.4em}.btn.cs-random{background:var(--purple);flex:none;max-width:8.5em;padding:.45em .8em}.cs-grid{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5em;display:grid}.btn.cs-cell{background:var(--panel);white-space:normal;border-radius:.9em;flex-direction:column;justify-content:flex-start;gap:.25em;min-width:0;padding:.45em .25em .5em;position:relative}.btn.cs-cell.sel{background:var(--panel-hi);box-shadow:inset 0 0 0 .16em var(--gold), 0 .22em 0 var(--ink)}.btn.cs-cell.sel .cs-pic{animation:.9s ease-in-out infinite cs-hop}@keyframes cs-hop{50%{transform:translateY(-.18em)scale(1.04,.97)}}.cs-pic{flex:none;width:3.9em;height:3.9em;position:relative}#ui .cs-portrait{width:100%;height:100%}.cs-name{text-align:center;overflow-wrap:anywhere;font-size:.85em;line-height:1.05}.cs-cond{text-align:center;color:#d9dcef;font-size:.78em;line-height:1.05}.cs-bar{border:.1em solid var(--ink);background:#00000080;border-radius:.3em;flex:none;width:82%;height:.45em;display:block;overflow:hidden}.cs-bar.big{width:100%;height:.7em}.cs-bar-fill{background:linear-gradient(var(--gold-hi), var(--gold) 55%, var(--gold-lo));min-width:.15em;height:100%;display:block}#ui .cs-lock{width:1.5em;height:1.5em;position:absolute;bottom:-.15em;right:-.25em}.btn.cs-cell.locked .cs-portrait{opacity:.85}.cs-new{white-space:nowrap;background:var(--pink);border:.12em solid var(--ink);border-radius:.5em;padding:.05em .4em;font-size:.78em;animation:.45s cubic-bezier(.3,1.8,.5,1) pop-in;position:absolute;top:-.5em;left:50%;transform:translate(-50%)rotate(-6deg)}#ui .cs-clover{width:1.6em;height:1.6em;animation:2.2s ease-in-out infinite cs-twinkle;position:absolute;top:-.3em;right:-.1em}@keyframes cs-twinkle{0%,to{transform:rotate(-8deg)scale(1)}50%{transform:rotate(10deg)scale(1.15)}}.btn.cs-cell.star{background:linear-gradient(165deg, #2c5786, var(--panel) 72%);box-shadow:inset 0 0 0 .16em #58b8e8, 0 .22em 0 var(--ink), 0 0 .9em #58b8e88c}.btn.cs-cell.star.sel{box-shadow:inset 0 0 0 .16em var(--gold), 0 .22em 0 var(--ink), 0 0 1.1em #58b8e8cc}.btn.cs-cell.star .cs-name{color:#a9e1ff}.cs-detail{flex-direction:column;flex:auto;gap:.45em;min-height:0;padding:.8em 1em .9em;display:flex}.cs-detail.star{background:linear-gradient(170deg, #27406a, var(--panel) 60%);box-shadow:inset 0 0 0 .14em #58b8e8, 0 .3em 0 var(--ink)}.cs-d-top{align-items:center;gap:.7em;min-width:0;display:flex}#ui .cs-d-portrait{flex:none;width:4.6em;height:4.6em}.cs-d-info{flex-direction:column;gap:.25em;min-width:0;display:flex}.cs-d-name{color:var(--gold);font-size:1.6em;line-height:1}.cs-detail.star .cs-d-name{color:#a9e1ff}.cs-d-weapon{align-items:center;gap:.35em;font-size:.85em;line-height:1.1;display:flex}#ui .cs-d-wimg{object-fit:contain;flex:none;width:2.2em;height:1.6em}.cs-d-wq{text-align:center;width:1.4em;color:var(--gold);font-size:1.3em}.cs-d-best,.cs-d-lockedlbl{color:var(--stone);font-size:.8em}.cs-d-stats{flex-wrap:wrap;gap:.1em .9em;font-size:.95em;display:flex}.cs-d-stats .pos{color:var(--green)}.cs-d-stats .neg{color:#ff8a7a}.cs-d-passive{color:#e6e8f6;font-size:.9em;line-height:1.2}.cs-d-unlock{flex-direction:column;gap:.35em;display:flex}.cs-d-cond{font-size:1.05em;line-height:1.15}.cs-d-togo{color:var(--gold);font-size:.85em}.btn.cs-go{flex:none;align-self:stretch;margin-top:auto}.compact .cs{gap:.45em}.compact .cs-pic{width:3.4em;height:3.4em}.compact .cs-detail{gap:.35em;padding:.6em .8em .7em}.compact .cs-title{font-size:1.5em}.landscape:not(.short) .cs{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) 19em;column-gap:1em;max-width:58em;display:grid}.landscape:not(.short) .cs-head{grid-column:1/-1}.landscape:not(.short) .cs-grid{grid-template-columns:repeat(5,minmax(0,1fr));align-content:center}.landscape:not(.short) .cs-pic{width:4.4em;height:4.4em}.short .cs{gap:.4em;max-width:52em}.short .cs-title{font-size:1.4em}.short .btn.cs-back{width:2.3em;height:2.3em}.short .cs-grid{scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:.45em;margin:-.3em -.3em 0;padding:.55em .3em .45em;display:flex;overflow:auto hidden}.short .cs-grid::-webkit-scrollbar{display:none}.short .btn.cs-cell{scroll-snap-align:center;flex:none;width:5.3em;padding:.35em .2em .4em}.short .cs-pic{width:3.1em;height:3.1em}.short .cs-detail{grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.25em .9em;padding:.5em .8em;display:grid}.short .cs-d-top{grid-row:1/span 2;max-width:15em}.short .cs-d-portrait{width:3.6em;height:3.6em}.short .cs-d-name{font-size:1.3em}.short .cs-d-stats{grid-area:1/2;font-size:.85em}.short .cs-d-passive{grid-area:2/2;font-size:.8em}.short .cs-d-unlock{grid-area:1/2/span 2/-1}.short .btn.cs-go{grid-area:1/3/span 2;align-self:center;margin:0}.btn.menu-char{top:max(.6em, env(safe-area-inset-top));left:max(.6em, env(safe-area-inset-left));border-radius:1.6em;gap:.35em;max-width:11em;padding:.25em .8em .25em .3em;position:absolute}#ui .menu-char img{flex:none;width:2.4em;height:2.4em}.menu-char .ol{font-size:.95em}.portrait .btn.menu-char{padding:.25em}.portrait .menu-char .fit{display:none}.unlock-toast{background:var(--panel);border:.16em solid var(--ink);max-width:min(22em,90%);box-shadow:inset 0 0 0 .14em var(--gold), 0 .25em 0 var(--ink);pointer-events:none;border-radius:1em;align-items:center;gap:.5em;padding:.35em .9em .35em .4em;animation:.35s cubic-bezier(.3,1.6,.5,1) both toast-in;display:flex;position:absolute;top:31%;left:50%;transform:translate(-50%)}.short .unlock-toast{font-size:.9em;top:34%}.unlock-toast.out{animation:.3s ease-in both toast-out}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-.8em)scale(.6)}}@keyframes toast-out{to{opacity:0;transform:translate(-50%,-.6em)}}#ui .unlock-toast img{object-fit:contain;flex:none;width:2.6em;height:2.6em}.unlock-toast .ut-new{background:var(--pink);border:.12em solid var(--ink);border-radius:.5em;flex:none;padding:.05em .4em;font-size:.85em;transform:rotate(-6deg)}.unlock-toast .ut-text{min-width:0;font-size:1.05em;line-height:1.1}#gameover .go-panel.go-meta{grid-template-columns:auto;justify-items:center;gap:.5em;display:grid}#gameover .go-main{flex-direction:column;align-items:center;gap:.45em;display:flex}#gameover .go-side{flex-direction:column;align-items:stretch;gap:.45em;width:100%;max-width:17em;display:flex}.landscape #gameover .go-panel.go-meta{grid-template-rows:auto auto;grid-template-columns:auto minmax(13em,17em);align-items:center;column-gap:1.3em}.landscape #gameover .go-side{grid-area:1/2/span 2}.go-unl{background:var(--panel-hi);border:.14em solid var(--ink);box-shadow:inset 0 0 0 .14em var(--gold);border-radius:.9em;align-items:center;gap:.5em;padding:.3em .7em .3em .35em;animation:.5s cubic-bezier(.3,1.8,.5,1) .3s both pop-in;display:flex}#ui .go-unl img{flex:none;width:2.8em;height:2.8em}.go-unl-text{color:var(--gold);min-width:0;font-size:1.05em;line-height:1.1}.go-newweapons{flex-wrap:wrap;align-items:center;gap:.3em .45em;font-size:.85em;display:flex}#ui .go-newweapons img{object-fit:contain;width:2.2em;height:1.6em}.go-next{background:#00000038;border-radius:.8em;flex-direction:column;gap:.25em;padding:.45em .7em .5em;display:flex}.go-next-head{align-items:center;gap:.4em;display:flex}#ui .go-next-head img{flex:none;width:2em;height:2em}.go-next-title{color:var(--gold);font-size:1em}.go-next-cond{font-size:.85em;line-height:1.15}.go-next-togo{color:#d9dcef;text-align:right;font-size:.78em}.short #gameover .go-panel.go-meta{padding:.6em 1.1em}.short #gameover .go-main{gap:.3em}.short #gameover .go-unl img{width:2.2em;height:2.2em}.cs{justify-content:center}.cs-detail{flex:0 auto}.btn.cs-go{margin-top:.35em}.portrait:not(.compact) .cs-pic{width:4.6em;height:4.6em}.portrait:not(.compact) .cs-grid{gap:.6em}.landscape:not(.short) .cs{grid-template-rows:auto auto;align-content:center}.landscape:not(.short) .cs-detail{align-self:center}.enemy-intro-card{box-sizing:border-box;background:var(--panel);border:.16em solid var(--ink);width:100%;box-shadow:inset 0 0 0 .14em var(--pink), 0 .25em 0 var(--ink);text-align:left;border-radius:.9em;align-items:center;gap:.55em;padding:.45em 1.5em .55em .45em;display:flex;position:relative;overflow:hidden}.enemy-intro-card.ei-horde,.enemy-intro-card.ei-boss,.enemy-intro-card.ei-elite{box-shadow:inset 0 0 0 .14em var(--gold), 0 .25em 0 var(--ink)}.ei-text{flex-direction:column;flex:auto;gap:.12em;min-width:0;display:flex}.ei-head{align-items:center;display:flex}.ei-kicker{background:var(--pink);border:.12em solid var(--ink);white-space:nowrap;border-radius:.5em;padding:.05em .4em;font-size:.74em;transform:rotate(-3deg)}.ei-kicker.wave{background:var(--orange)}.ei-name{color:var(--gold);overflow-wrap:anywhere;font-size:1.2em}.ei-what,.ei-tip{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;font-size:.8em;line-height:1.15}.ei-tip{color:var(--green)}.ei-x{opacity:.8;width:1.05em;height:1.05em;position:absolute;top:.3em;right:.3em}#ui .ei-x svg{width:100%;height:100%}.ei-bar{background:var(--gold);opacity:.85;transform-origin:0;border-radius:.1em;height:.18em;position:absolute;bottom:.2em;left:.5em;right:.5em}.ei-art{background:var(--panel-hi);border:.13em solid var(--ink);border-radius:50%;flex:none;justify-content:center;align-items:center;width:3.4em;height:3.4em;display:flex;position:relative}.ei-fig{width:2.7em;height:2.7em;animation:.9s ease-in-out infinite ei-bob;position:relative}#ui .ei-fig img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}#ui .ei-fig .ei-f2{opacity:0;animation:1.6s step-end infinite ei-flip}.ei-horde .ei-fig{width:1.75em;height:1.75em;margin:0 -.35em}.ei-horde .ei-fig:nth-child(2){animation-delay:-.3s;transform:translateY(-.4em)}.ei-horde .ei-fig:nth-child(3){animation-delay:-.6s}.ei-elite .ei-fig{width:2.3em;height:2.3em}#ui .ei-aura{object-fit:contain;width:calc(100% - .3em);height:calc(100% - .3em);animation:1.4s ease-in-out infinite ei-aura;position:absolute;inset:.15em}@keyframes ei-bob{50%{transform:translateY(-.12em)scale(1.04,.97)}}@keyframes ei-flip{0%{opacity:0}55%{opacity:1}}@keyframes ei-aura{50%{opacity:.7;transform:scale(1.12)}}.enemy-intro{pointer-events:auto;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;position:absolute}#ui.portrait .enemy-intro{left:50%;top:calc(max(.6em, env(safe-area-inset-top)) + 9.4em);width:min(21em,100% - 1.6em);animation:.38s cubic-bezier(.3,1.5,.5,1) both ei-in-top;transform:translate(-50%)}#ui.portrait .enemy-intro.out{animation:.3s ease-in both ei-out-top}#ui.landscape .enemy-intro{right:max(.6em, env(safe-area-inset-right));top:calc(max(.6em, env(safe-area-inset-top)) + 6.4em);width:min(18em,38%);animation:.38s cubic-bezier(.3,1.4,.5,1) both ei-in-side}#ui.landscape .enemy-intro.out{animation:.3s ease-in both ei-out-side}#ui.short .enemy-intro{top:calc(max(.6em, env(safe-area-inset-top)) + 4.6em);width:min(19em,40%)}#ui.short .ei-art{width:3em;height:3em}@keyframes ei-in-top{0%{opacity:0;transform:translate(-50%,-1.2em)scale(.7)}}@keyframes ei-out-top{to{opacity:0;transform:translate(-50%,-.8em)}}@keyframes ei-in-side{0%{opacity:0;transform:translate(115%)}}@keyframes ei-out-side{to{opacity:0;transform:translate(115%)}}.intro-pop{cursor:pointer;background:#141121b8;justify-content:center;align-items:center;display:flex}.intro-pop-col{flex-direction:column;align-items:center;gap:.6em;width:min(22em,100% - 1.6em);max-height:calc(100% - 1.2em);animation:.3s cubic-bezier(.3,1.5,.5,1) both toast-pop;display:flex}#ui.landscape .intro-pop-col{flex-flow:wrap;justify-content:center;width:min(40em,100% - 1.6em)}#ui.landscape .intro-pop-col .enemy-intro-card{width:min(19em,50% - .3em)}.intro-pop .enemy-intro-card{padding-right:.7em}.intro-pop-hint{text-align:center;opacity:.85;flex-basis:100%;font-size:.78em}@keyframes toast-pop{0%{opacity:0;transform:scale(.8)}}#ui .nw-chip.intro{pointer-events:auto;cursor:pointer;letter-spacing:inherit;font-family:inherit}.nw-info{width:1.05em;height:1.05em;color:var(--ink);background:var(--paper);border-radius:50%;flex:none;justify-content:center;align-items:center;margin-left:.25em;font-size:.85em;line-height:1;display:inline-flex}.nw-chip.intro.unseen .nw-info{background:var(--pink);color:var(--paper);animation:1s ease-in-out infinite ei-aura}.ei-kicker.tip{background:var(--teal)}.enemy-intro-card.ei-goo{box-shadow:inset 0 0 0 .14em var(--teal), 0 .25em 0 var(--ink)}.ei-goo .ei-fig{width:1.9em;height:1.9em}#ui.portrait.compact .ei-goo .ei-what,#ui.portrait.compact .ei-goo .ei-tip{font-size:.74em}#ui .goo-tap{pointer-events:auto;cursor:pointer;touch-action:none;margin:-.35em 0;padding:.35em 0}.enemy-intro-card.ei-lostcoins{box-shadow:inset 0 0 0 .14em var(--gold), 0 .25em 0 var(--ink)}.ei-lostcoins .ei-fig{width:1.6em;height:1.6em;margin:0 -.1em}.ei-lostcoins .ei-fig:nth-child(2){filter:grayscale()brightness(.85);opacity:.55;animation-delay:-.45s;transform:translateY(.35em)}.coach-host{pointer-events:none}.coach-box{left:50%;bottom:calc(max(.6em, env(safe-area-inset-bottom)) + 4.2em);pointer-events:none;width:min(21em,100% - 1.6em);animation:.38s cubic-bezier(.3,1.5,.5,1) both coach-in;position:absolute;transform:translate(-50%)}#ui.landscape .coach-box{width:min(24em,46%);bottom:calc(max(.6em, env(safe-area-inset-bottom)) + 1.4em)}.coach-host.shop-step .coach-box{bottom:calc(max(.6em, env(safe-area-inset-bottom)) + 7.6em)}#ui.landscape .coach-host.shop-step .coach-box{bottom:calc(max(.6em, env(safe-area-inset-bottom)) + 5.2em)}#ui.short .coach-host.shop-step .coach-box{bottom:calc(max(.6em, env(safe-area-inset-bottom)) + 3.6em)}.coach-box.out{animation:.3s ease-in both coach-out}.coach-box.done{animation:.4s ease-in both coach-done}.coach{box-sizing:border-box;background:var(--panel);border:.16em solid var(--ink);width:100%;box-shadow:inset 0 0 0 .14em var(--teal), 0 .25em 0 var(--ink);text-align:left;border-radius:.9em;align-items:center;gap:.55em;padding:.45em .7em .5em .45em;display:flex}.coach-text{flex-direction:column;flex:auto;align-items:flex-start;gap:.2em;min-width:0;display:flex}.coach-line{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;font-size:.92em;line-height:1.15}.coach-art{background:var(--panel-hi);border:.13em solid var(--ink);border-radius:50%;flex:none;width:3em;height:3em;position:relative}#ui .coach-art img,#ui .coach-art svg{position:absolute}#ui .coach-joy{opacity:.9;width:calc(100% - .4em);height:calc(100% - .4em);inset:.2em}#ui .coach-knob{width:1.2em;height:1.2em;margin:-.6em 0 0 -.6em;animation:1.6s ease-in-out infinite coach-drag;top:50%;left:50%}#ui .coach-coin{width:1.15em;height:1.15em;animation:.9s ease-in-out infinite coach-hop}#ui .coach-coin.c1{top:1.2em;left:.25em}#ui .coach-coin.c2{animation-delay:-.3s;top:.35em;left:.85em}#ui .coach-coin.c3{animation-delay:-.6s;top:1.25em;left:1.45em}#ui .coach-shop svg{width:calc(100% - .7em);height:calc(100% - .7em);animation:1.2s ease-in-out infinite ei-aura;inset:.35em}@keyframes coach-drag{0%,to{transform:translate(0)}25%{transform:translate(.55em,-.35em)}50%{transform:translate(-.1em,.55em)}75%{transform:translate(-.55em,-.2em)}}@keyframes coach-hop{50%{transform:translateY(-.3em)}}@keyframes coach-in{0%{opacity:0;transform:translate(-50%,1em)scale(.8)}}@keyframes coach-out{to{opacity:0;transform:translate(-50%,.8em)}}@keyframes coach-done{40%{transform:translate(-50%)scale(1.06)}to{opacity:0;transform:translate(-50%)scale(.9)}}:is(#ui:has(#item-detail) .coach-host,#ui:has(#intro-pop) .coach-host,#ui:has(#enemy-intro) .coach-host,#ui:has(.howto-layer:not([style*=none])) .coach-host){opacity:0}.coach-host.center .coach-box{top:27%;bottom:auto}#ui.landscape .coach-host.center .coach-box{top:18%;bottom:auto}.coach-art.coach-slots{box-sizing:border-box;border-radius:.7em;grid-template-columns:repeat(3,1fr);place-content:center;gap:.12em;padding:.3em;display:grid}#ui .coach-slots .coach-slot{aspect-ratio:1;box-sizing:border-box;border:.09em dashed var(--stone);width:100%;color:var(--stone);border-radius:.25em;justify-content:center;align-items:center;font-size:.8em;line-height:1;display:flex;position:static}#ui .coach-slots .coach-slot.full{border:.09em solid var(--ink);object-fit:contain;background:#2a2540d9}#ui .coach-slots .coach-slot:nth-child(2){border-color:var(--gold);color:var(--gold);animation:.9s ease-in-out infinite coach-hop}.howto-layer{z-index:4;padding:max(.6em, env(safe-area-inset-top)) max(.6em, env(safe-area-inset-right)) max(.6em, env(safe-area-inset-bottom)) max(.6em, env(safe-area-inset-left));box-sizing:border-box;justify-content:center;align-items:center;display:flex}.howto-panel{box-sizing:border-box;flex-direction:column;gap:.6em;width:min(23em,100%);max-height:100%;padding:.8em 1em .85em;animation:.2s cubic-bezier(.3,1.5,.5,1) settings-in;display:flex;overflow:hidden}.landscape .howto-panel{width:min(34em,100%)}.howto-head{justify-content:space-between;align-items:center;gap:.5em;display:flex}.howto-title{overflow-wrap:anywhere;min-width:0;font-size:1.8em;line-height:1}#ui .btn.howto-x{flex:none;width:2.2em;height:2.2em}#ui .howto-x svg{width:.95em;height:.95em}.howto-page{flex-direction:column;align-items:center;gap:.6em;animation:.2s ease-out fade-in;display:flex}.landscape .howto-page{flex-direction:row;align-items:center}.howto-text{text-align:center;flex-direction:column;gap:.3em;min-width:0;display:flex}.landscape .howto-text{text-align:left;flex:auto}.howto-ptitle{color:var(--gold);font-size:1.3em}.howto-body{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;font-size:.95em;line-height:1.22}.howto-foot{justify-content:space-between;align-items:center;gap:.5em;display:flex}.howto-foot .btn{flex:0 auto;min-width:0;max-width:40%;padding:.45em .9em}.howto-dots{flex:none;gap:.35em;display:flex}#ui .howto-dot{pointer-events:auto;border:.12em solid var(--ink);background:var(--panel-hi);cursor:pointer;border-radius:50%;width:.75em;height:.75em;padding:0}#ui .howto-dot.on{background:var(--gold)}.ht-art{border:.14em solid var(--ink);background:radial-gradient(at 50% 60%,#5d7d4d,#3f5a37);border-radius:.9em;flex:none;width:11em;height:6.4em;position:relative;overflow:hidden}.landscape .ht-art{width:10em;height:7.4em}#ui .ht-art img,#ui .ht-art svg{position:absolute}.ht-hero{width:3em;height:3em;margin-left:-1.5em;animation:2.4s ease-in-out infinite ht-glide;position:absolute;top:22%;left:50%}#ui .ht-player{width:100%;height:100%;inset:0}#ui .ht-gun{width:1.6em;height:auto;top:1.2em;right:-.9em}.ht-joy{width:2.4em;height:2.4em;position:absolute;bottom:.4em;left:.5em}#ui .ht-joy-base{opacity:.85;width:100%;height:100%;inset:0}#ui .ht-joy-knob{width:1em;height:1em;margin:-.5em 0 0 -.5em;animation:2.4s ease-in-out infinite coach-drag;top:50%;left:50%}#ui .ht-walker{width:2em;height:auto;animation:.9s ease-in-out infinite ei-bob;bottom:.5em;right:.6em}@keyframes ht-glide{25%{transform:translate(.9em,-.2em)}50%{transform:translate(-.1em,.6em)}75%{transform:translate(-.9em)}}.ht-coins{height:2.2em;position:absolute;top:.9em;left:0;right:0}#ui .ht-coin{width:1.7em;height:1.7em;animation:.9s ease-in-out infinite coach-hop;top:.3em}#ui .ht-coin.c0{left:22%}#ui .ht-coin.c1{animation-delay:-.3s;top:0;left:calc(50% - .85em)}#ui .ht-coin.c2{animation-delay:-.6s;right:22%}.ht-xp{align-items:center;gap:.3em;display:flex;position:absolute;bottom:.8em;left:1em;right:1em}.ht-lvl{border:.12em solid var(--ink);background:#4f9dff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1.5em;height:1.5em;font-size:.9em;display:flex}.ht-xpbar{border:.12em solid var(--ink);background:linear-gradient(90deg,#4f9dff 0 50%,#1f2a44 50% 100%) 0 0/200% 100%;border-radius:.4em;flex:1;height:.6em;animation:2s ease-in-out infinite ht-xp}@keyframes ht-xp{0%{background-position:100% 0}to{background-position:0 0}}.ht-merge{justify-content:center;align-items:center;gap:.25em;display:flex;position:absolute;top:1.4em;left:0;right:0}.ht-merge .wslot{width:2.2em;height:2.2em}.ht-merge .wslot:last-child{animation:1.2s ease-in-out infinite ei-aura}.ht-op{font-size:1.2em}.ht-info{width:1.6em;height:1.6em;position:absolute;bottom:.4em;right:.5em}#ui .ht-info svg{width:100%;height:100%;inset:0}#ui .ht-ring{opacity:.9;width:5.6em;height:5.6em;margin:-2.8em 0 0 -2.8em;animation:1s ease-in-out infinite ei-aura;top:50%;left:50%}#ui .ht-gplayer{width:2.6em;height:2.6em;margin:-1.3em 0 0 -1.3em;top:50%;left:50%}#ui .ht-runner{width:1.8em;height:auto;margin-top:-1em;animation:.6s ease-in-out infinite ei-bob;top:50%;right:.9em}#ui .ht-boss{width:4.4em;height:auto;margin-left:-2.2em;animation:1.4s ease-in-out infinite ei-bob;bottom:.3em;left:50%}#ui .ht-r1,#ui .ht-r2{width:1.8em;height:auto;animation:.6s ease-in-out infinite ei-bob;bottom:.5em}#ui .ht-r1{left:.5em}#ui .ht-r2{animation-delay:-.3s;right:.5em}.short .howto-panel,.compact .howto-panel{gap:.4em;padding:.55em .8em .6em}.short .howto-title{font-size:1.4em}.short .ht-art{width:8.6em;height:6em}.short .howto-body{font-size:.88em}.compact .ht-art{height:5.6em}.btn.menu-howto{top:calc(max(.6em, env(safe-area-inset-top)) + 3.4em);right:max(.6em, env(safe-area-inset-right));border-radius:50%;width:2.9em;height:2.9em;padding:0;position:absolute}.portrait .has-fs .btn.menu-howto{top:calc(max(.6em, env(safe-area-inset-top)) + 6.8em)}#ui .menu-howto svg{width:2em;height:2em}.btn.pause-howto{background:var(--panel-hi)}.pause-buttons .btn.pause-howto svg{width:1.3em;height:1.3em}.short .pause-buttons.has-howto{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45em;display:grid}.short .pause-buttons.has-howto>.primary,.short .pause-buttons.has-howto>.red{grid-column:1/-1}.short .pause-buttons.has-howto.has-fs>.red{grid-column:auto}.card-pause{-webkit-user-select:none;user-select:none;touch-action:none;background:#141121a8;justify-content:center;align-items:center;display:flex}.cp-col{flex-direction:column;align-items:center;gap:.9em;width:min(23em,100% - 2em);max-height:calc(100% - 1.2em);display:flex}.cp-stage{width:100%;font-size:1.12em}.cp-stage>.cp-card{animation:.3s cubic-bezier(.3,1.5,.5,1) both toast-pop}.cp-card.enemy-intro-card{padding-right:.7em}.cp-card .ei-art,.cp-card .coach-art{width:4em;height:4em}.cp-card .ei-fig{width:3.2em;height:3.2em}.cp-foot{justify-content:center;align-items:center;gap:.8em;max-width:100%;display:flex}.cp-count{color:var(--stone);font-size:1.1em}.cp-count:empty{display:none}.btn.cp-go{min-width:7em;max-width:100%}#ui.landscape .cp-col{width:min(26em,100% - 2em)}#ui.short .cp-col{gap:.6em}#ui.short .cp-stage{font-size:1em}#ui.short .btn.cp-go{padding:.4em 1.2em;font-size:1.15em}#ui:has(#card-pause) .unlock-toast{visibility:hidden}.shop-layer.tut-slots .owned .wslot.wempty,.shop-layer.tut-slots .owned-label .slots-count{animation:.7s ease-in-out infinite owned-hint}.btn.menu-gear{top:max(.6em, env(safe-area-inset-top));right:max(.6em, env(safe-area-inset-right));width:2.9em;height:2.9em;position:absolute}.btn.menu-gear svg{width:1.9em;height:1.9em}.menu-gear svg,.btn-gear svg{transition:transform .25s ease-out}.menu-gear:hover svg,.btn-gear:hover svg{transform:rotate(45deg)}.pause-buttons{flex-direction:column;align-self:stretch;align-items:stretch}.pause-buttons .btn svg{width:1.4em;height:1.4em}.settings-layer .safe{overflow-y:auto}.settings-layer .center-col{height:auto;min-height:100%}.settings-panel{box-sizing:border-box;outline:none;flex-direction:column;gap:.75em;width:min(22em,100%);padding:.9em 1.1em .8em;animation:.2s cubic-bezier(.3,1.5,.5,1) settings-in;display:flex}@keyframes settings-in{0%{opacity:0;transform:scale(.88)}}.settings-head{justify-content:space-between;align-items:center;gap:.5em;display:flex}.settings-title{font-size:2.1em;line-height:1}.btn.settings-x{flex:none;width:2.3em;height:2.3em}.settings-x svg{width:.95em;height:.95em}.settings-body{flex-direction:column;gap:.75em;display:flex}.settings-sec{flex-direction:column;gap:.5em;min-width:0;display:flex}.settings-sec-title{color:var(--stone);text-transform:uppercase;letter-spacing:.08em;padding-left:.2em;font-size:.8em}.set-row{border:.14em solid var(--ink);box-sizing:border-box;background:#1b1b2f8c;border-radius:.9em}.set-slider{flex-direction:column;gap:.15em;padding:.5em .7em .35em;display:flex}.set-label{align-items:center;gap:.45em;font-size:1.1em;display:flex}.set-ic svg{width:1.45em;height:1.45em}.set-name{flex:auto;min-width:0}.set-val{color:var(--gold);text-align:right;min-width:2.8em}.set-slider.zero .set-val{color:var(--stone)}.set-slider.zero .set-ic{opacity:.45}#ui input.range{pointer-events:auto;appearance:none;cursor:pointer;touch-action:none;--p:50%;background:0 0;width:100%;height:2.3em;margin:0;padding:0;display:block}#ui input.range:focus{outline:none}#ui input.range::-webkit-slider-runnable-track{border:.14em solid var(--ink);background:linear-gradient(to right, var(--gold) 0 var(--p), #3b3552 var(--p) 100%);border-radius:.6em;height:.95em;box-shadow:inset 0 .15em #00000040}#ui input.range::-moz-range-track{border:.14em solid var(--ink);background:linear-gradient(to right, var(--gold) 0 var(--p), #3b3552 var(--p) 100%);border-radius:.6em;height:.95em}#ui input.range::-webkit-slider-thumb{appearance:none;border:.16em solid var(--ink);background:radial-gradient(circle at 38% 32%, #fff 0 18%, var(--paper) 19% 55%, #d9d3bd 100%);width:1.75em;height:1.75em;box-shadow:0 .16em 0 var(--ink);border-radius:50%;margin-top:-.55em;transition:transform 80ms ease-out}#ui input.range::-moz-range-thumb{border:.16em solid var(--ink);background:var(--paper);width:1.5em;height:1.5em;box-shadow:0 .16em 0 var(--ink);border-radius:50%}#ui input.range:active::-webkit-slider-thumb{transform:scale(1.15)}#ui input.range:focus-visible::-webkit-slider-thumb{outline:.14em solid var(--gold-hi);outline-offset:.08em}#ui input.range:focus-visible::-moz-range-thumb{outline:.14em solid var(--gold-hi)}#ui .set-toggle{pointer-events:auto;font:inherit;color:var(--paper);text-align:left;cursor:pointer;touch-action:manipulation;width:100%;letter-spacing:inherit;align-items:center;gap:.6em;padding:.55em .6em .55em .8em;font-size:1.1em;display:flex}.set-toggle:focus-visible{outline:.14em solid var(--gold-hi);outline-offset:.1em}.switch{border:.14em solid var(--ink);background:#4a4262;border-radius:.95em;flex:none;width:4.3em;height:1.7em;transition:background .15s;position:relative;box-shadow:inset 0 .15em #0000004d}.switch-txt{white-space:nowrap;color:var(--stone);font-size:.66em;position:absolute;top:50%;right:.5em;transform:translateY(-50%)}.set-toggle.on .switch{background:var(--green)}.set-toggle.on .switch-txt{color:var(--ink);left:.6em;right:auto}.knob{border:.14em solid var(--ink);box-sizing:border-box;background:var(--paper);border-radius:50%;width:1.3em;height:1.3em;transition:transform .16s cubic-bezier(.3,1.5,.5,1);position:absolute;top:.06em;left:.08em;box-shadow:0 .1em #00000059}.set-toggle.on .knob{transform:translate(2.56em)}.settings-foot{flex-direction:column;align-items:center;gap:.55em;margin-top:.1em;display:flex}.settings-foot .btn{align-self:stretch}.settings-credits{color:var(--stone);letter-spacing:0;text-align:center;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:.74em;font-weight:600}.settings-credits b{font-family:var(--font-ui);color:var(--gold);letter-spacing:.03em;font-weight:400}.landscape .settings-panel{width:min(36em,100%)}.landscape .settings-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9em;display:grid}.landscape .settings-sec .set-row{flex:1 1 0;justify-content:center}.landscape .set-toggle{min-height:3.2em}.landscape .settings-foot{flex-direction:row-reverse;justify-content:space-between}.landscape .settings-foot .btn{align-self:auto;min-width:7em}.short .settings-panel{gap:.5em;padding:.6em .9em}.short .settings-title{font-size:1.7em}#ui .set-lang{cursor:pointer;flex-wrap:wrap;align-items:center;gap:.45em;padding:.45em .6em .45em .7em;font-size:1.1em;display:flex}.landscape .set-lang{grid-column:1/-1}.set-lang .set-name{white-space:nowrap;text-overflow:ellipsis;flex:auto;overflow:hidden}#ui select.lang-select{pointer-events:auto;appearance:none;min-width:0;max-width:100%;font:inherit;letter-spacing:inherit;color:var(--paper);background-color:var(--panel-hi);border:.14em solid var(--ink);box-shadow:0 .14em 0 var(--ink);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffd23f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .6em center;background-repeat:no-repeat;background-size:.75em;border-radius:.7em;flex:1 0 auto;padding:.4em 1.8em .4em .65em;font-size:.85em;overflow:hidden}#ui select.lang-select:focus-visible{outline:.14em solid var(--gold-hi);outline-offset:.08em}#ui select.lang-select option{color:var(--paper);background:var(--panel)}.btn.menu-fs{top:max(.6em, env(safe-area-inset-top));right:calc(max(.6em, env(safe-area-inset-right)) + 3.4em);width:2.9em;height:2.9em;position:absolute}.portrait .btn.menu-fs{right:max(.6em, env(safe-area-inset-right));top:calc(max(.6em, env(safe-area-inset-top)) + 3.4em)}#ui .menu-fs svg{width:1.55em;height:1.55em}#ui .fs-btn .fs-exit,html.fs-on #ui .fs-btn .fs-enter{display:none}html.fs-on #ui .fs-btn .fs-exit{display:block}.btn.pause-fs{background:var(--teal)}.short .pause-buttons.has-fs{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45em;display:grid}.short .pause-buttons.has-fs>.primary,.short .pause-buttons.has-fs>.red{grid-column:1/-1}.short .pause-buttons .btn.big{padding:.35em 1.2em;font-size:1.2em}.btn.menu-fs-help{background:var(--teal);width:max-content;max-width:100%;margin:.7em auto 0;padding:.35em .9em;font-size:.95em;display:flex}.short .btn.menu-fs-help{margin-top:.4em;font-size:.85em}.fs-help-layer{z-index:5}.fs-help-layer .safe{overflow-y:auto}.fs-help-layer .center-col{height:auto;min-height:100%}.fs-help{box-sizing:border-box;outline:none;flex-direction:column;gap:.7em;width:min(24em,100%);padding:.9em 1.1em;animation:.2s cubic-bezier(.3,1.5,.5,1) settings-in;display:flex}.fs-help-head{align-items:flex-start}.fs-help-title{font-size:1.55em;line-height:1.1}.fs-steps{flex-direction:column;gap:.5em;margin:0;padding:0;list-style:none;display:flex}.fs-step{background:#ffffff0f;border:.12em solid #00000040;border-radius:.8em;align-items:center;gap:.55em;padding:.45em .6em;display:flex}.fs-num{background:var(--gold);width:1.6em;height:1.6em;color:var(--ink);border:.12em solid var(--ink);text-shadow:none;border-radius:50%;flex:none;place-items:center;font-size:.95em;display:grid}.fs-step-ic{border:.12em solid var(--ink);background:#f4f4f8;border-radius:.55em;flex:none;place-items:center;width:2.2em;height:2.2em;display:grid}#ui .fs-step-ic svg{width:1.6em;height:1.6em}#ui .fs-step-ic .ios-share path:last-child{stroke:#007aff}#ui .fs-step-ic .fs-app-ic{width:1.9em;height:1.9em}.fs-step-text{min-width:0;font-size:1.05em;line-height:1.2}.fs-why{color:#d9dcef;font-size:.85em;line-height:1.3}.fs-body{font-size:1.05em;line-height:1.3}.fs-link-row{align-items:center;gap:.6em;display:flex}.fs-link{border:.14em solid var(--ink);min-width:0;color:var(--gold);text-align:center;-webkit-user-select:text;user-select:text;background:#0000004d;border-radius:.7em;flex:auto;padding:.45em .7em;font-size:1.15em}.btn.fs-copy{background:var(--teal);flex:none;max-width:60%}.btn.fs-copy.done{background:var(--green)}.fs-help-foot{justify-content:center;display:flex}.fs-help-foot .btn{min-width:8em}.landscape .fs-help-home{width:min(40em,100%)}.landscape .fs-steps{flex-direction:row}.landscape .fs-step{text-align:center;flex-direction:column;flex:1 1 0;gap:.35em;min-width:0}.short .fs-help,.compact .fs-help{gap:.4em;padding:.5em .8em .55em}.short .fs-help-title,.compact .fs-help-title{font-size:1.25em}.short .fs-step{gap:.25em;padding:.3em .4em}.short .fs-step-ic{width:1.8em;height:1.8em}#ui.short .fs-step-ic svg{width:1.3em;height:1.3em}.short .fs-step-text{font-size:.95em}.short .fs-why{font-size:.78em}.landscape .settings-panel:has(.has-display){width:min(48em,100%)}.landscape .settings-body.has-display{grid-template-columns:repeat(3,minmax(0,1fr))}.compact .settings-panel,.short .settings-panel{gap:.4em;padding:.5em .8em .55em}.compact .settings-title,.short .settings-title{font-size:1.5em}.compact .btn.settings-x,.short .btn.settings-x{width:2.1em;height:2.1em}.compact .settings-body,.short .settings-body{gap:.45em .6em}.compact .settings-sec,.short .settings-sec{gap:.35em}.compact .set-slider,.short .set-slider{gap:0;padding:.35em .6em .15em}#ui.compact input.range,#ui.short input.range{height:1.9em}.compact .set-toggle,.short .set-toggle{min-height:2.7em}#ui.compact .set-toggle,#ui.short .set-toggle{gap:.4em;padding:.35em .5em .35em .65em}#ui.compact .set-lang,#ui.short .set-lang{padding:.3em .5em .3em .6em}.compact .settings-foot .btn.big,.short .settings-foot .btn.big{padding:.35em 1.1em;font-size:1.15em}#ui .set-account{pointer-events:auto;font:inherit;color:var(--paper);text-align:left;cursor:pointer;touch-action:manipulation;width:100%;letter-spacing:inherit;align-items:center;gap:.5em;padding:.45em .6em .45em .7em;font-size:1.1em;display:flex}.set-account .set-state{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:50%;color:var(--gold);flex:0 auto;overflow:hidden}.set-account .set-name{flex:auto}.set-pair{flex-direction:column;gap:.75em;min-width:0;display:flex}.compact .set-pair,.short .set-pair{gap:.45em}.landscape .set-pair{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9em;display:grid}.landscape .set-pair .set-lang{grid-column:auto}.compact .set-account,.short .set-account{min-height:2.5em}#ui.compact .set-account,#ui.short .set-account{padding:.3em .5em .3em .6em}#ui .settings-credits a{pointer-events:auto;color:var(--stone);text-underline-offset:.15em;text-decoration:underline}#ui.portrait .settings-body.has-usage .set-toggle{padding-top:.2em;padding-bottom:.2em}#ui.compact .settings-body.has-usage .set-toggle{min-height:2.3em;padding-top:.18em;padding-bottom:.18em}.set-toggle.locked{opacity:.55;cursor:default}#ui.compact .set-lang{flex-wrap:nowrap}#ui.compact .set-lang .set-name{flex:0 auto}#ui.compact select.lang-select{flex:1 1 0}#ui.portrait .set-lang{flex-wrap:nowrap}#ui.portrait .set-lang .set-name{flex:0 auto}#ui.portrait select.lang-select{flex:1 1 0}#ui.compact .settings-sec-title,#ui.short .settings-sec-title{display:none}.idt-layer{z-index:4;padding:max(.6em, env(safe-area-inset-top)) max(.6em, env(safe-area-inset-right)) max(.6em, env(safe-area-inset-bottom)) max(.6em, env(safe-area-inset-left));box-sizing:border-box;cursor:pointer;justify-content:center;align-items:center;display:flex}.idt-panel{box-sizing:border-box;background:var(--panel);border:.16em solid var(--ink);width:min(23em,100%);max-height:100%;box-shadow:inset 0 0 0 .14em var(--teal), 0 .3em 0 var(--ink);cursor:default;text-align:left;border-radius:1em;flex-direction:column;gap:.5em;padding:.75em .85em .8em;animation:.25s cubic-bezier(.3,1.5,.5,1) both toast-pop;display:flex;position:relative;overflow:hidden}.idt-panel.idt-relic{box-shadow:inset 0 0 0 .14em var(--gold), 0 .3em 0 var(--ink)}.landscape .idt-panel.has-sets{width:min(38em,100%)}#ui .idt-x{width:2em;height:2em;position:absolute;top:.4em;right:.4em}#ui .idt-x svg{width:.95em;height:.95em}.idt-head{align-items:center;gap:.6em;padding-right:2.2em;display:flex}.idt-icon{background:var(--panel-hi);border:.14em solid var(--ink);border-radius:50%;flex:none;justify-content:center;align-items:center;width:3.6em;height:3.6em;display:flex}#ui .idt-icon img,#ui .idt-icon svg{object-fit:contain;width:78%;height:78%}.idt-titles{flex-direction:column;gap:.15em;min-width:0;display:flex}.idt-kicker{color:var(--stone);text-transform:uppercase;font-size:.75em}.idt-name{color:var(--gold);overflow-wrap:anywhere;font-size:1.3em}.idt-tags{flex-wrap:wrap;gap:.25em;display:flex}.idt-tags .set-chip{text-transform:uppercase}.idt-body{flex-direction:column;gap:.55em;min-height:0;display:flex}.landscape .has-sets .idt-body{flex-direction:row;align-items:flex-start}.landscape .has-sets .idt-col{flex:1 1 0;min-width:0}.idt-col{flex-direction:column;gap:.45em;display:flex}.idt-what{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;font-size:.9em;line-height:1.2}.idt-effects{font-size:.95em;line-height:1.2}.idt-effects .pos{color:var(--green)}.idt-effects .neg{color:#ff8a7a}.idt-stats{background:#0f0d1a73;border-radius:.6em;flex-direction:column;gap:.1em;padding:.35em .5em;display:flex}.idt-row{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:.4em;font-size:.85em;line-height:1.25;display:grid}.idt-stats.two .idt-row{grid-template-columns:minmax(0,1fr) auto 1em auto}.idt-hrow{color:var(--stone);font-size:.7em}.idt-l{color:#d9d4ea;overflow-wrap:anywhere}.idt-v,.idt-n{text-align:right;white-space:nowrap}.idt-arrow{text-align:center;color:var(--stone)}.idt-n.up{color:var(--green)}.idt-n.down{color:#ff8a7a}.idt-facts{color:var(--stone);font-size:.75em}.idt-sub{color:var(--stone);text-transform:uppercase;font-size:.75em}.idt-set{flex-direction:column;gap:.15em;display:flex}.idt-set-head{align-items:center;gap:.35em;display:flex}.idt-set-n{color:var(--tc);font-size:.75em}.idt-step{opacity:.72;align-items:baseline;gap:.35em;font-size:.78em;line-height:1.2;display:flex}.idt-step.on{opacity:1;color:var(--green)}.idt-step-n{border:.12em solid var(--tc);width:1.35em;height:1.35em;color:var(--paper);box-sizing:border-box;border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:1em;display:inline-flex}.idt-step.on .idt-step-n{background:var(--tc);color:var(--ink)}.idt-step-t{overflow-wrap:break-word;min-width:0}.short .idt-panel{gap:.35em;padding:.5em .7em .55em}.short .idt-icon{width:2.8em;height:2.8em}.short .idt-name{font-size:1.1em}.short .idt-what{font-size:.82em}.short .idt-row{font-size:.8em;line-height:1.15}.short .idt-step{font-size:.75em}.short .idt-col{gap:.3em}.compact .idt-panel{gap:.4em;padding:.6em .7em .65em}.card-info{flex:none;width:1.25em;height:1.25em;display:inline-flex}#ui .card-info svg{width:100%;height:100%}.card.has-info{cursor:pointer}#ui .card-top .btn.card-info-btn{width:1.7em;height:1.7em;box-shadow:none;background:0 0;border:0;margin:-.4em 0;padding:0;font-size:1.39em}#ui .card-top .btn.card-info-btn svg{width:1.35em;height:1.35em}#ui .btn.chip-info{background:var(--panel-hi);border-radius:50%;width:2em;height:2em;padding:0}#ui .btn.chip-info svg{width:1.5em;height:1.5em}.card-top-r{align-items:center;gap:.3em;display:inline-flex}.chip-pop{align-items:center;gap:.3em;animation:.16s ease-out pop-in;display:flex;position:absolute;bottom:calc(100% + .75em);left:50%;transform:translate(-50%)}.chip-pop .btn.sell{animation:none;position:relative;bottom:auto;left:auto;transform:none}.chip-pop .btn.sell:active{transform:translateY(.15em)}.short .card.has-info .card-top,.short .card.pick .card-top{z-index:1;display:flex;position:absolute;top:.35em;right:.35em}.short .card.has-info .card-top>span:first-child,.short .card.pick .card-top>span:first-child,.short .card-top .keycap{display:none}
