@font-face{font-family:Lilita One;font-style:normal;font-display:swap;font-weight:400;src:url(./lilita-one-latin-400-normal-87r-Z-Re.woff2) format("woff2"),url(./lilita-one-latin-400-normal-DXkechA3.woff) format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:500;src:url(./fredoka-latin-500-normal-B0JifZgm.woff2) format("woff2"),url(./fredoka-latin-500-normal-BL692wg7.woff) format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:600;src:url(./fredoka-latin-600-normal-C4zohCW5.woff2) format("woff2"),url(./fredoka-latin-600-normal-CcrEjrB4.woff) format("woff")}@font-face{font-family:Fredoka;font-style:normal;font-display:swap;font-weight:700;src:url(./fredoka-latin-700-normal-BOIZVyIN.woff2) format("woff2"),url(./fredoka-latin-700-normal-C8FeHd3X.woff) format("woff")}.pg-ui{--s: 1;--ink: #2a1708;--wood1: #74492a;--wood2: #4b2d18;--gold: #ffc93c;--red: #e5383b;--parch: #f8ebc8;--parch2: #ecd7a4;--green: #62d936;--blue: #3f95ff;--tan: #c9a35e;--mute: #7a5a36;--sl: env(safe-area-inset-left, 0px);--sr: env(safe-area-inset-right, 0px);--st: env(safe-area-inset-top, 0px);--sb: env(safe-area-inset-bottom, 0px);--pad: .75em;--ol: .07em .07em 0 var(--ink), -.07em .07em 0 var(--ink), .07em -.07em 0 var(--ink), -.07em -.07em 0 var(--ink), 0 .09em 0 var(--ink), 0 -.09em 0 var(--ink), .09em 0 0 var(--ink), -.09em 0 0 var(--ink), 0 .17em 0 var(--ink);font-size:calc(16px * var(--s));font-family:Fredoka,system-ui,-apple-system,Segoe UI,sans-serif;font-weight:600;line-height:1.15;color:#fff;-webkit-user-select:none;user-select:none;touch-action:none;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}.pg-ui *,.pg-ui *:before,.pg-ui *:after{box-sizing:border-box}.pg-ui .hide{display:none!important}.pg-ui:not(.m-sailing) .only-sail{display:none!important}.pg-ui:not(.m-boarding) .only-board{display:none!important}.pg-ui.touch .only-desktop{display:none!important}.pg-ui .disp{font-family:Lilita One,Fredoka,system-ui,sans-serif;font-weight:400;letter-spacing:.02em}.pg-ui .ic{width:1.4em;height:1.4em;flex:none;display:block;overflow:visible}.pg-ui b{font-weight:inherit}.pg-ui kbd{font-family:Lilita One,Fredoka,sans-serif;font-size:.75em;font-weight:400;line-height:1.35;display:inline-block;min-width:1.7em;padding:0 .4em;text-align:center;color:var(--ink);background:#fff;border:.14em solid var(--ink);border-bottom-width:.3em;border-radius:.45em;text-shadow:none}.pg-ui .panel{background:linear-gradient(var(--wood1),var(--wood2));border:.19em solid var(--ink);border-radius:1.05em;box-shadow:0 .28em #00000052,inset 0 .13em #fff3,inset 0 -.13em #0000002e}.pg-ui .bar{position:relative;height:1.15em;border-radius:.6em;background:#1c0f07;border:.14em solid var(--ink);overflow:hidden}.pg-ui .bar i{position:absolute;inset:0;transform-origin:0 50%}.pg-ui .bar .f{background:linear-gradient(#9af56e,#3fbf2e);box-shadow:inset 0 .16em #ffffff59}.pg-ui .bar .ghost{background:#fff;opacity:.8}.pg-ui .bar span{position:absolute;inset:0;display:grid;place-items:center;font-size:.76em;text-shadow:var(--ol);white-space:nowrap}.pg-ui .btn{font:inherit;color:#fff;margin:0;padding:0;background:none;border:.19em solid var(--ink);border-radius:.9em;cursor:pointer;outline:none;pointer-events:auto;touch-action:none;-webkit-tap-highlight-color:transparent;-webkit-appearance:none;appearance:none;position:relative}.pg-ui .btn>*{pointer-events:none}.pg-ui .btn:active{transform:translateY(.14em) scale(.97);filter:brightness(1.12)}.pg-ui .btn.green{background:linear-gradient(#8df25a,#43b82a);box-shadow:0 .28em #2a7d18,inset 0 .12em #fff6}.pg-ui .btn.big{font-size:1.55em;padding:.32em 1.3em .42em 1em;display:flex;align-items:center;justify-content:center;gap:.4em;text-shadow:var(--ol);border-radius:.8em}.pg-ui .btn.big .ic{width:1.35em;height:1.35em}.pg-ui .pulse{animation:pg-pulse .7s ease-in-out infinite alternate}.pg-ui .badge{position:absolute;top:-.5em;right:-.5em;width:1.45em;height:1.45em;border-radius:50%;display:grid;place-items:center;font-style:normal;font-family:Lilita One,sans-serif;font-size:.95em;color:#fff;background:var(--red);border:.14em solid var(--ink);animation:pg-bounce .9s ease-in-out infinite;z-index:2}.pg-ui .rws{display:flex;flex-wrap:wrap;justify-content:center;gap:.4em}.pg-ui .rw{display:flex;align-items:center;gap:.25em;padding:.12em .7em .12em .3em;font-size:1.1em;color:#fff;background:#2a1708d1;border:.14em solid var(--ink);border-radius:1.2em}.pg-ui .rw .ic{width:1.45em;height:1.45em}.pg-ui .rw.xp b{color:#9fe9ff}.pg-ui .rw.bo b{color:#ffb3a8}.pg-ui .rw.lost b{color:#ff8a8a}.pg-ui .shipcard{position:absolute;z-index:5;left:calc(var(--sl) + var(--pad));top:calc(var(--st) + var(--pad));width:19.5em;padding:.55em .65em .5em;display:grid;grid-template-columns:3.5em 1fr;column-gap:.65em;row-gap:.5em}.pg-ui .sc-ava{position:relative;width:3.5em;height:3.5em;border-radius:.85em;display:grid;place-items:center;background:radial-gradient(circle at 50% 30%,#7fdcff,#1f8fd6);border:.16em solid var(--ink);box-shadow:inset 0 -.5em #0d5a968c}.pg-ui .sc-ava>.ic{width:2.7em;height:2.7em}.pg-ui .sc-lv{position:absolute;left:-.5em;bottom:-.55em;display:flex;align-items:baseline;gap:.12em;padding:0 .38em;color:var(--ink);background:linear-gradient(#ffe27a,#ffb81f);border:.16em solid var(--ink);border-radius:.6em;font-size:.86em}.pg-ui .sc-lv small{font-size:.7em;font-weight:700}.pg-ui .sc-lv b{font-family:Lilita One,sans-serif;font-size:1.1em}.pg-ui .sc-main{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.26em}.pg-ui .sc-top{display:flex;align-items:center;justify-content:space-between;gap:.4em}.pg-ui .sc-name{font-size:1.22em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 .1em 0 var(--ink);padding-bottom:.05em}.pg-ui .sc-pow{display:flex;align-items:center;gap:.1em;padding:.08em .55em .08em .2em;color:#ffe27a;background:#140a0480;border-radius:1em;font-size:1.08em}.pg-ui .sc-pow .ic{width:1.15em;height:1.15em}.pg-ui .sc-pips{display:flex;gap:.22em}.pg-ui .sc-pips i{width:1em;height:.46em;border-radius:.2em;background:#140a0480;border:.09em solid var(--ink)}.pg-ui .sc-pips i.on{background:linear-gradient(#ffe27a,#ffab1a)}.pg-ui .hull.mid .f{background:linear-gradient(#ffe066,#f5a31a)}.pg-ui .hull.low .f{background:linear-gradient(#ff7a6b,#e02b2b)}.pg-ui .hull.low{animation:pg-blink .5s steps(2) infinite}.pg-ui .sc-foot{grid-column:1 / -1;display:flex;align-items:center;gap:.4em}.pg-ui .sc-xp{flex:1;min-width:2em;padding-left:.2em}.pg-ui .bar.xp{height:.7em}.pg-ui .xp .f{background:linear-gradient(#9fe9ff,#2aa7ff)}.pg-ui .chip{display:flex;align-items:center;gap:.2em;padding:.1em .5em .1em .22em;font-size:.95em;background:#140a0480;border-radius:1em;white-space:nowrap}.pg-ui .chip .ic{width:1.25em;height:1.25em}.pg-ui .chip.full b{color:#ffe27a}.pg-ui .stars{display:flex;margin-left:.2em}.pg-ui .stars i{width:.82em;height:.82em;opacity:.3;filter:grayscale(1) brightness(.6)}.pg-ui .stars i.on{opacity:1;filter:none}.pg-ui .stars .ic{width:100%;height:100%}.pg-ui .nexthint{position:absolute;z-index:5;left:calc(var(--sl) + var(--pad) + .3em);top:calc(var(--st) + var(--pad) + 7.7em);display:flex;align-items:center;gap:.3em;padding:.16em .8em .16em .3em;font-size:.86em;background:#140a048c;border-radius:1em;text-shadow:0 .08em 0 rgba(0,0,0,.5)}.pg-ui .nexthint .ic{width:1.1em;height:1.1em}.pg-ui .resrow{position:absolute;z-index:5;right:calc(var(--sr) + var(--pad));top:calc(var(--st) + var(--pad));display:flex;gap:.38em}.pg-ui .res{position:relative;display:flex;align-items:center;gap:.25em;height:2.15em;min-width:4.7em;padding:0 .7em 0 .28em;background:linear-gradient(var(--wood1),var(--wood2));border:.17em solid var(--ink);border-radius:1.1em;box-shadow:0 .2em #0000004d,inset 0 .1em #fff3}.pg-ui .res .ic{width:1.65em;height:1.65em;margin-left:-.05em}.pg-ui .res b{flex:1;text-align:right;font-size:1.12em;text-shadow:0 .09em 0 var(--ink)}.pg-ui .res em{position:absolute;right:.5em;top:104%;font-style:normal;font-size:1.05em;opacity:0;text-shadow:var(--ol);pointer-events:none;white-space:nowrap}.pg-ui .res em.up{color:#a4ff7a}.pg-ui .res em.down{color:#ff8a8a}.pg-ui .minimap{position:absolute;z-index:5;right:calc(var(--sr) + var(--pad));top:calc(var(--st) + var(--pad) + 2.85em);width:10.5em;height:10.5em}.pg-ui .mm-clip{position:absolute;inset:0;border-radius:50%;overflow:hidden;background:radial-gradient(circle,#35c4e0,#1785c4);border:.2em solid var(--ink);box-shadow:0 .28em #0000004d}.pg-ui .mm-clip canvas{position:absolute;left:-25%;top:-25%;width:150%;height:150%;will-change:transform}.pg-ui .mm-ring{position:absolute;inset:.2em;border-radius:50%;border:.22em solid #e0aa3e;box-shadow:inset 0 0 0 .12em #2a1708bf,inset 0 0 1.4em #001e4673}.pg-ui .mm-arrow{position:absolute;left:50%;top:50%;width:1.5em;height:1.5em;margin:-.75em;will-change:transform}.pg-ui .mm-arrow svg{width:100%;height:100%;display:block;overflow:visible}.pg-ui .mm-n{position:absolute;left:50%;top:50%;width:1.5em;height:1.5em;margin:-.75em;display:grid;place-items:center;font-size:.72em;background:var(--red);border:.16em solid var(--ink);border-radius:50%}.pg-ui .objective{position:absolute;z-index:5;left:0;right:0;margin:0 auto;width:fit-content;min-width:13em;max-width:23em;top:calc(var(--st) + var(--pad));display:flex;align-items:center;gap:.55em;padding:.42em 1em .46em .5em;color:var(--ink);background:linear-gradient(var(--parch),var(--parch2));border:.19em solid var(--ink);border-radius:1.1em;box-shadow:0 .28em #0000004d,inset 0 .13em #ffffffb3}.pg-ui .obj-ic{flex:none;width:2.1em;height:2.1em;display:grid;place-items:center;border-radius:50%;background:linear-gradient(#ff6a5f,#d42a35);border:.16em solid var(--ink)}.pg-ui .obj-ic .ic{width:1.35em;height:1.35em}.pg-ui .obj-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:.1em}.pg-ui .obj-t{font-size:1.1em;line-height:1.1}.pg-ui .obj-s{font-size:.84em;color:var(--mute)}.pg-ui .bar.objp{height:.7em;margin-top:.15em;background:#cdb27a}.pg-ui .objp .f{background:linear-gradient(#ff8a5c,#e5383b)}.pg-ui .objective.done{background:linear-gradient(#c9ff9e,#7fe04f)}.pg-ui .objective.done .obj-ic{background:linear-gradient(#62d936,#2f9d1c)}.pg-ui .actionbar{position:absolute;z-index:5;left:0;right:0;margin:0 auto;width:fit-content;bottom:calc(var(--sb) + var(--pad));display:flex;align-items:flex-start;gap:.65em}.pg-ui .slot{position:relative;width:4em;display:flex;flex-direction:column;align-items:center}.pg-ui .slot-face{position:relative;width:4em;height:4em;display:grid;place-items:center;overflow:hidden;background:linear-gradient(var(--wood1),var(--wood2));border:.19em solid var(--ink);border-radius:1em;box-shadow:0 .28em #00000052,inset 0 .13em #fff3}.pg-ui .slot-face>.ic{width:2.6em;height:2.6em}.pg-ui .slot-cd{position:absolute;inset:0;background:conic-gradient(rgba(12,6,2,.74) calc(var(--cd, 0) * 1turn),transparent 0)}.pg-ui .slot-ring{position:absolute;inset:0;border-radius:.8em;padding:.3em;background:conic-gradient(var(--gold) calc(var(--ch, 0) * 1turn),transparent 0);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}.pg-ui .slot-lock{display:none;position:absolute;inset:0;place-items:center;background:#0c06028c}.pg-ui .slot-lock .ic{width:1.9em;height:1.9em}.pg-ui .slot.locked .slot-lock{display:grid}.pg-ui .slot-n{position:absolute;top:-.55em;right:-.55em;padding:.06em .45em;font-size:.88em;font-family:Lilita One,sans-serif;background:var(--ink);border:.12em solid #8a5a2b;border-radius:.8em;z-index:1}.pg-ui .slot-n:empty{display:none}.pg-ui .slot kbd{margin-top:-.75em;z-index:1;font-size:.68em}.pg-ui .slot-l{margin-top:.2em;font-size:.7em;letter-spacing:.05em;text-transform:uppercase;text-shadow:var(--ol)}.pg-ui .slot.ready .slot-face{box-shadow:0 0 0 .14em var(--gold),0 .28em #00000052,inset 0 .13em #fff3}.pg-ui .slot.active .slot-face{transform:translateY(.14em);filter:brightness(1.35)}.pg-ui .slot.empty .slot-face>.ic{filter:grayscale(1);opacity:.5}.pg-ui .slot.empty .slot-n{color:#ff8a8a}.pg-ui .slot.s-fury.ready .slot-face{animation:pg-pulse .5s ease-in-out infinite alternate;background:linear-gradient(#ffb23f,#e5531a)}.pg-ui .boardbtn{position:absolute;z-index:6;left:0;right:0;margin:0 auto;width:fit-content;bottom:calc(var(--sb) + var(--pad) + 8.2em);display:grid;grid-template-columns:auto auto;align-items:center;column-gap:.7em;padding:.45em 1.5em .55em .8em;color:var(--ink);background:linear-gradient(#ffe066,#ff9d1f);border-width:.22em;border-radius:1.3em;box-shadow:0 .4em #b3590c,0 .75em #00000047,inset 0 .15em #ffffff8c;animation:pg-pulse .55s ease-in-out infinite alternate}.pg-ui .boardbtn kbd{grid-row:1 / 3;font-size:1.7em}.pg-ui .bb-t{font-size:2.1em;line-height:1;color:#fff;text-shadow:var(--ol)}.pg-ui .bb-s{font-size:.86em;text-align:left}.pg-ui .warnchip{position:absolute;z-index:6;left:0;right:0;margin:0 auto;width:fit-content;max-width:92%;bottom:calc(var(--sb) + var(--pad) + 8.4em);display:flex;align-items:center;gap:.4em;padding:.3em 1em .32em .5em;background:linear-gradient(#ff5a5f,#c81e2c);border:.19em solid var(--ink);border-radius:1.2em;box-shadow:0 .28em #0000004d;animation:pg-pulse .45s ease-in-out infinite alternate;text-shadow:0 .09em 0 var(--ink)}.pg-ui .warnchip .ic{width:1.5em;height:1.5em}.pg-ui.touch .warnchip{bottom:calc(var(--sb) + var(--pad) + .2em);font-size:.9em}.pg-ui .menubtns{position:absolute;z-index:5;left:calc(var(--sl) + var(--pad));bottom:calc(var(--sb) + var(--pad) + .2em);display:flex;gap:.5em}.pg-ui .mbtn{width:4.4em;height:4.4em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12em;border-radius:1.1em}.pg-ui .mbtn .ic{width:2.2em;height:2.2em}.pg-ui .mbtn span{font-size:.74em;text-shadow:var(--ol)}.pg-ui .mbtn kbd{position:absolute;top:-.7em;left:-.5em;font-size:.62em}.pg-ui .mb-upgrades{background:linear-gradient(#8df25a,#43b82a);box-shadow:0 .3em #2a7d18,inset 0 .13em #fff6}.pg-ui .mb-crew{background:linear-gradient(#6db6ff,#2f7fe6);box-shadow:0 .3em #1c4f9c,inset 0 .13em #fff6}.pg-ui .mb-cosmetics{background:linear-gradient(#d68cff,#9a48e0);box-shadow:0 .3em #5f2596,inset 0 .13em #fff6}.pg-ui .mb-settings{background:linear-gradient(#a58a70,#6e553f);box-shadow:0 .3em #40301f,inset 0 .13em #ffffff4d}.pg-ui .pausebtn{position:absolute;z-index:5;right:calc(var(--sr) + var(--pad));top:calc(var(--st) + var(--pad));width:3.4em;height:3.4em;min-width:44px;min-height:44px;display:grid;place-items:center;background:linear-gradient(#a58a70,#6e553f);box-shadow:0 .28em #40301f}.pg-ui .pausebtn .ic{width:1.7em;height:1.7em}.pg-ui .hints{position:absolute;z-index:5;left:calc(var(--sl) + var(--pad));bottom:calc(var(--sb) + var(--pad) + 6em);display:flex;flex-direction:column;gap:.32em;padding:.5em .7em;font-size:.86em;background:#140a0480;border-radius:.9em}.pg-ui .hints div{display:flex;align-items:center;gap:.25em}.pg-ui .hints span{margin:0 .5em 0 .2em}.pg-ui .hints .ic{width:1.5em;height:1.5em}.pg-ui .tutarrow{position:absolute;z-index:4;left:0;top:0;width:0;height:0;will-change:transform}.pg-ui .ta-in{position:absolute;left:-1.6em;top:-1.6em;width:3.2em;height:3.2em}.pg-ui .ta-in .ic{width:100%;height:100%;animation:pg-nudge .5s ease-in-out infinite alternate}.pg-ui .tutarrow span{position:absolute;left:-3em;width:6em;top:1.7em;text-align:center;font-size:.9em;color:#ff6b6b;text-shadow:var(--ol)}.pg-ui .php{position:absolute;z-index:5;left:calc(var(--sl) + var(--pad));top:calc(var(--st) + var(--pad));width:19.5em;display:flex;align-items:center;gap:.6em;padding:.5em .75em .55em .55em;animation:pg-slideL .35s ease-out}.pg-ui .php-ic .ic{width:2.9em;height:2.9em}.pg-ui .php.low .php-ic{animation:pg-pulse .35s ease-in-out infinite alternate}.pg-ui .php-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25em}.pg-ui .php-top{display:flex;align-items:baseline;justify-content:space-between}.pg-ui .php-top span{font-size:1.05em;text-shadow:0 .1em 0 var(--ink)}.pg-ui .php-top b{font-size:.95em;color:#ffe9c4}.pg-ui .bar.hp{height:1.4em}.pg-ui .php.low .hp .f{background:linear-gradient(#ff7a6b,#e02b2b)}.pg-ui .bar.fury{height:.7em}.pg-ui .fury .f{background:linear-gradient(#ffd84a,#ff7a1a)}.pg-ui .fury.full{animation:pg-blink .4s steps(2) infinite}.pg-ui .vs{position:absolute;z-index:5;left:0;right:0;margin:0 auto;width:21em;top:calc(var(--st) + var(--pad));display:flex;flex-direction:column;align-items:center;gap:.45em;animation:pg-drop .35s ease-out}.pg-ui .vs-row{display:flex;align-items:center;gap:.6em}.pg-ui .vs-side{display:flex;align-items:center;justify-content:center;gap:.3em;min-width:3.5em;padding:.12em .65em .16em;font-size:1.5em;border:.13em solid var(--ink);border-radius:.75em;text-shadow:var(--ol);box-shadow:0 .18em #0000004d,inset 0 .09em #ffffff59}.pg-ui .vs-side .ic{width:1.15em;height:1.15em}.pg-ui .ally{background:linear-gradient(#6db6ff,#2f7fe6)}.pg-ui .foe{background:linear-gradient(#ff6a5f,#d42a35)}.pg-ui .vs-mid{font-size:1.35em;color:var(--gold);text-shadow:var(--ol)}.pg-ui .boss{width:100%}.pg-ui .boss-n{margin-bottom:.2em;text-align:center;font-size:1.1em;text-shadow:var(--ol)}.pg-ui .bar.bossbar{height:1.25em}.pg-ui .bossbar .f{background:linear-gradient(#ff7a6b,#d1202d)}.pg-ui .vignette{position:absolute;inset:0;z-index:0;opacity:0;background:radial-gradient(ellipse at center,transparent 52%,rgba(225,20,30,.8) 100%)}.pg-ui .vignette.low{animation:pg-vig .7s ease-in-out infinite alternate}.pg-ui .hitflash{position:absolute;inset:0;z-index:0;opacity:0;background:radial-gradient(ellipse at center,#ff28281f 30%,#ff0000d9)}.pg-ui .plates,.pg-ui .floats{position:absolute;inset:0;overflow:hidden;z-index:1}.pg-ui .floats{z-index:3}.pg-ui .np{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:center;gap:.16em;transform-origin:50% 100%;will-change:transform;--tc: #ffd84a}.pg-ui .np.t-green{--tc: #5be37a}.pg-ui .np.t-yellow{--tc: #ffd84a}.pg-ui .np.t-orange{--tc: #ff9838}.pg-ui .np.t-red{--tc: #ff4d4d}.pg-ui .np-top{display:flex;align-items:center;gap:.3em;white-space:nowrap}.pg-ui .np-name{font-size:1.02em;text-shadow:var(--ol)}.pg-ui .np-pow{display:flex;align-items:center;padding:0 .42em 0 .1em;font-size:.88em;color:var(--ink);background:var(--tc);border:.14em solid var(--ink);border-radius:.7em}.pg-ui .np-pow .ic{width:1.05em;height:1.05em}.pg-ui .bar.np-hp{width:6.6em;height:.62em;border-width:.12em}.pg-ui .np-hp .f{background:var(--tc);box-shadow:inset 0 .12em #fff6}.pg-ui .np-tag{display:none;padding:.02em .55em .06em;font-size:.78em;color:var(--ink);background:#fff;border:.14em solid var(--ink);border-radius:.6em}.pg-ui .np.disabled .np-tag{display:block;animation:pg-blink .7s steps(2) infinite}.pg-ui .np.target .np-tag{background:var(--gold)}.pg-ui .ft{position:absolute;left:0;top:0;width:0;height:0}.pg-ui .ft b{position:absolute;left:0;top:0;display:block;white-space:nowrap;opacity:0;font-size:1.25em;text-shadow:var(--ol);will-change:transform,opacity}.pg-ui .toasts{position:absolute;z-index:20;left:0;right:0;top:calc(var(--st) + var(--pad) + 4.6em);display:flex;flex-direction:column;align-items:center;gap:.35em}.pg-ui .toast{display:flex;align-items:center;gap:.4em;max-width:min(92%,30em);padding:.3em 1em .34em .45em;background:#241409ed;border:.17em solid var(--ink);border-radius:1.2em;box-shadow:0 .22em #0000004d;animation:pg-toast .3s cubic-bezier(.3,1.5,.5,1)}.pg-ui .toast .ic{width:1.5em;height:1.5em}.pg-ui .toast.out{animation:pg-toastout .26s ease-in forwards}.pg-ui .toast.k-good{background:linear-gradient(#5fce36,#379d22);text-shadow:0 .08em 0 rgba(0,0,0,.45)}.pg-ui .toast.k-warn{background:linear-gradient(#ff8a3c,#e0541a);text-shadow:0 .08em 0 rgba(0,0,0,.45)}.pg-ui .toast.k-loot{background:linear-gradient(#ffe27a,#ffb81f);color:var(--ink)}.pg-ui .flourishes{position:absolute;z-index:25;left:0;right:0;top:23%;display:grid;place-items:center}.pg-ui .flourish{position:relative;grid-area:1 / 1;display:flex;flex-direction:column;align-items:center;gap:.15em;animation:pg-flin .5s cubic-bezier(.2,1.7,.4,1)}.pg-ui .flourish.out{animation:pg-flout .3s ease-in forwards}.pg-ui .fl-ic .ic{width:3.6em;height:3.6em}.pg-ui .fl-t{font-size:3em;line-height:1;color:var(--gold);text-shadow:var(--ol);text-align:center}.pg-ui .flourish.k-bounty .fl-t{color:#ff6b5f}.pg-ui .flourish.k-level .fl-t{color:#8fe9ff}.pg-ui .fl-s{margin-top:.3em;padding:.2em 1em;font-size:1.05em;text-align:center;background:#241409d9;border-radius:1.2em}.pg-ui .fl-s .rws{margin:.1em 0}.pg-ui .fl-burst{position:absolute;z-index:-1;left:50%;top:2.6em;width:17em;height:17em;margin:-8.5em;border-radius:50%;background:repeating-conic-gradient(rgba(255,225,120,.5) 0 10deg,transparent 10deg 20deg);-webkit-mask:radial-gradient(circle,#000 15%,transparent 68%);mask:radial-gradient(circle,#000 15%,transparent 68%);animation:pg-spin 7s linear infinite}.pg-ui .banners{position:absolute;inset:0;z-index:30;display:grid;place-items:center}.pg-ui .banner{pointer-events:auto;touch-action:none;width:100%;margin-top:-10%;padding:1.1em 1em 1.3em;display:flex;flex-direction:column;align-items:center;gap:.45em;background:linear-gradient(90deg,transparent,rgba(24,12,6,.85) 22%,rgba(24,12,6,.85) 78%,transparent);animation:pg-banner .4s cubic-bezier(.2,1.4,.4,1)}.pg-ui .banner.out{animation:pg-flout .3s ease-in forwards}.pg-ui .bn-t{font-size:3.1em;line-height:1;text-align:center;text-shadow:var(--ol);color:var(--gold)}.pg-ui .bn-s{font-size:1.05em;opacity:.92}.pg-ui .banner.k-defeat{background:linear-gradient(90deg,transparent,rgba(70,8,12,.88) 22%,rgba(70,8,12,.88) 78%,transparent)}.pg-ui .banner.k-defeat .bn-t{font-size:3.8em;color:#ff5f5f}.pg-ui .capmodal{position:absolute;inset:0;z-index:60;pointer-events:auto;touch-action:none;display:grid;place-items:center;overflow:hidden;padding:calc(var(--st) + 2em) calc(var(--sr) + .6em) calc(var(--sb) + .8em) calc(var(--sl) + .6em);background:radial-gradient(circle,#1e5a9699,#060c1ee6);animation:pg-fade .3s ease-out}.pg-ui .cap-rays{position:absolute;left:50%;top:50%;width:150vmax;height:150vmax;margin:-75vmax;background:repeating-conic-gradient(rgba(255,220,110,.2) 0 9deg,transparent 9deg 18deg);-webkit-mask:radial-gradient(circle,#000 10%,transparent 60%);mask:radial-gradient(circle,#000 10%,transparent 60%);animation:pg-spin 40s linear infinite}.pg-ui .cap-panel{position:relative;width:min(31em,100%);padding:2.5em 1.3em 1.2em;display:flex;flex-direction:column;align-items:center;gap:.55em;color:var(--ink);background:linear-gradient(var(--parch),var(--parch2));border:.25em solid var(--ink);border-radius:1.6em;box-shadow:0 .6em #00000059,inset 0 .16em #ffffffb3;animation:pg-popin .5s cubic-bezier(.2,1.5,.4,1)}.pg-ui .cap-ribbon{position:absolute;left:0;right:0;top:-1.5em;display:grid;place-items:center;animation:pg-stamp .55s cubic-bezier(.2,1.6,.4,1) .15s backwards}.pg-ui .cap-ribbon span{padding:.1em .7em .16em;font-size:2.7em;line-height:1.05;white-space:nowrap;color:#fff;text-shadow:var(--ol);background:linear-gradient(#ff5a5f,#c81e2c);border:.09em solid var(--ink);border-radius:.35em;box-shadow:0 .12em #7d0f18,inset 0 .06em #ffffff59;transform:rotate(-2deg)}.pg-ui .cap-ships{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.1em .5em}.pg-ui .cap-old{opacity:.6;text-decoration:line-through}.pg-ui .cap-new{font-size:1.8em;color:#c81e2c}.pg-ui .cap-pips i{width:1.6em;height:.55em;background:#cdb27a}.pg-ui .cap-pips i.new{animation:pg-blink .5s steps(2) 5}.pg-ui .cap-stats{width:100%;display:flex;flex-direction:column;gap:.28em}.pg-ui .cap-row{display:grid;grid-template-columns:1.7em 1fr 3.6em 1.2em 4em 4.4em;align-items:center;gap:.4em;padding:.2em .7em .2em .5em;background:#8c5f2829;border-radius:.7em;opacity:0;animation:pg-row .35s ease-out forwards}.pg-ui .cap-row .ic{width:1.6em;height:1.6em}.pg-ui .cap-row .cr-ar{width:1.1em;height:1.1em}.pg-ui .cr-a{text-align:right;opacity:.55}.pg-ui .cr-b{text-align:right;font-size:1.3em;display:block}.pg-ui .cap-row em{font-style:normal;text-align:right;color:#1f9d1a}.pg-ui .cap-row em.down{color:#c81e2c}.pg-ui .cap-sec{font-size:.78em;letter-spacing:.12em;text-transform:uppercase;color:var(--mute)}.pg-ui .cap-unl{display:flex;flex-wrap:wrap;justify-content:center;gap:.35em}.pg-ui .cap-unl span{display:inline-flex;align-items:center;gap:.4em;padding:.16em .7em .16em .25em;font-size:.92em;background:#ffffff80;border:.13em dashed #b08a52;border-radius:.8em}.pg-ui .cap-unl i{padding:0 .45em;font-style:normal;font-size:.82em;color:#fff;background:var(--red);border-radius:.5em}.pg-ui .cap-go{margin-top:.3em}.pg-ui.short .cap-panel{font-size:.86em;width:min(44em,100%)}.pg-ui.short .cap-stats{display:grid;grid-template-columns:1fr 1fr}.pg-ui.short .cap-row{grid-template-columns:1.7em 1fr 3em 1.1em 3.4em 3.6em}.pg-ui .menu{position:absolute;inset:0;z-index:50;pointer-events:auto;touch-action:none;display:grid;place-items:center;padding:calc(var(--st) + .5em) calc(var(--sr) + .5em) calc(var(--sb) + .5em) calc(var(--sl) + .5em);background:#081224a3;animation:pg-fade .18s ease-out}.pg-ui .menu-panel{width:min(54em,100%);height:min(35em,100%);display:flex;flex-direction:column;overflow:hidden;color:var(--ink);background:var(--parch);border:.25em solid var(--ink);border-radius:1.5em;box-shadow:0 .6em #0006}.pg-ui .menu-head{flex:none;display:flex;align-items:flex-end;gap:.5em;padding:.55em .6em 0 .7em;background:linear-gradient(#8a5833,#5d381e);border-bottom:.22em solid var(--ink)}.pg-ui .tabs{flex:1;min-width:0;display:flex;gap:.3em;margin-bottom:-.22em}.pg-ui .tab{display:flex;align-items:center;gap:.35em;padding:.42em .95em .5em .6em;color:var(--parch);background:#9a6a41;border-radius:.9em .9em 0 0;border-bottom-color:var(--ink);min-height:2.8em}.pg-ui .tab:active{transform:none}.pg-ui .tab .ic{width:1.6em;height:1.6em}.pg-ui .tab span{font-size:1.08em}.pg-ui .tab.on{color:var(--ink);background:var(--parch);border-bottom-color:var(--parch)}.pg-ui .tab .badge{top:-.4em;right:-.3em;font-size:.8em}.pg-ui .menu-res{display:flex;gap:.35em;margin-bottom:.5em}.pg-ui .menu-res .res{min-width:0;height:1.95em;color:#fff;box-shadow:none;background:#140a048c}.pg-ui .menu-res .res .ic{width:1.45em;height:1.45em}.pg-ui .xbtn{flex:none;width:2.7em;height:2.7em;min-width:40px;min-height:40px;margin-bottom:.5em;display:grid;place-items:center;background:linear-gradient(#ff6a5f,#d42a35);box-shadow:0 .22em #7d0f18;border-radius:.8em}.pg-ui .xbtn .ic{width:1.5em;height:1.5em}.pg-ui .menu-note{flex:none;display:flex;align-items:center;gap:.5em;padding:.4em 1em;font-size:.9em;background:#ffd9a0;border-bottom:.12em solid var(--tan)}.pg-ui .menu-body{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:.85em .9em 1em;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--tan) transparent}.pg-ui .scrollable,.pg-ui .scrollable *{touch-action:pan-y}.pg-ui .seg{display:flex;gap:.3em;width:fit-content;margin-bottom:.7em;padding:.28em;background:#8c5f2833;border-radius:1em}.pg-ui .segb{display:flex;align-items:center;justify-content:center;gap:.3em;min-height:2.3em;padding:.26em 1em .32em .7em;color:var(--mute);border-color:transparent;border-radius:.75em}.pg-ui .segb .ic{width:1.4em;height:1.4em}.pg-ui .segb.on{color:#fff;background:linear-gradient(#ff6a5f,#d42a35);border-color:var(--ink);box-shadow:0 .2em #7d0f18;text-shadow:0 .08em 0 rgba(0,0,0,.4)}.pg-ui .seg.small{margin:0}.pg-ui .seg.small .segb{padding:.2em .75em .26em}.pg-ui .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55em}.pg-ui .card{position:relative;display:flex;align-items:center;gap:.65em;padding:.5em .55em;background:#fffaea;border:.17em solid var(--tan);border-radius:1em}.pg-ui .card.afford{background:#f1ffdd;border-color:#47b027}.pg-ui .card.locked{background:#e9dcba}.pg-ui .card.locked .c-ic,.pg-ui .card.locked .c-main{opacity:.55}.pg-ui .c-ic{position:relative;flex:none;width:3.4em;height:3.4em;display:grid;place-items:center;background:linear-gradient(var(--wood1),var(--wood2));border:.16em solid var(--ink);border-radius:.9em}.pg-ui .c-ic>.ic{width:2.35em;height:2.35em}.pg-ui .c-own{position:absolute;right:-.5em;bottom:-.45em;padding:0 .4em;font-style:normal;font-size:.85em;color:#fff;background:var(--blue);border:.14em solid var(--ink);border-radius:.7em}.pg-ui .c-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.14em}.pg-ui .c-name{font-size:1.08em}.pg-ui .c-desc{font-size:.8em;font-weight:500;line-height:1.2;color:var(--mute)}.pg-ui .c-lv{display:flex;align-items:center;gap:.45em;font-size:.78em;color:var(--mute);white-space:nowrap}.pg-ui .bar.lv{flex:1;height:.62em;background:#dcc694;border-width:.1em;border-color:#a8834a}.pg-ui .lv .f{background:linear-gradient(#ffd84a,#ff9d1f);box-shadow:none}.pg-ui .c-stats{display:flex;gap:.8em;font-size:.82em}.pg-ui .c-stats span{display:flex;align-items:center;gap:.2em}.pg-ui .c-stats .ic{width:1.15em;height:1.15em}.pg-ui .buy{flex:none;width:6.4em;min-height:3.2em;padding:.25em .4em .35em;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.04em}.pg-ui .buy small{font-size:.66em;font-weight:700;letter-spacing:.05em;line-height:1.1;text-align:center}.pg-ui .cost{display:flex;align-items:center;gap:.14em;font-size:1.1em;text-shadow:0 .08em 0 rgba(0,0,0,.4)}.pg-ui .cost .ic{width:1.25em;height:1.25em}.pg-ui .cost .ic:not(:first-child){margin-left:.25em}.pg-ui .buy.off{background:linear-gradient(#bdb5a4,#8f887a);box-shadow:0 .28em #5f594e,inset 0 .12em #ffffff4d}.pg-ui .buy.off .cost b{color:#ffd9d4}.pg-ui .buy.max{background:linear-gradient(#ffe27a,#ffb81f);box-shadow:0 .28em #b3780c;color:var(--ink);font-size:1em;pointer-events:none}.pg-ui .buy.lockd{background:#8f887a;box-shadow:none}.pg-ui .buy.lockd .ic{width:1.3em;height:1.3em}.pg-ui .crewtop{display:flex;flex-wrap:wrap;align-items:stretch;gap:.6em;margin-bottom:.7em}.pg-ui .ct-cap{flex:1 1 15em;display:flex;flex-direction:column;gap:.3em;padding:.5em .7em;background:#fffaea;border:.17em solid var(--tan);border-radius:1em}.pg-ui .ct-l{display:flex;align-items:center;gap:.35em;font-size:1.1em}.pg-ui .ct-l b{margin-left:auto;font-size:1.15em}.pg-ui .ct-l .ic{width:1.5em;height:1.5em}.pg-ui .bar.cap{height:.9em;background:#dcc694}.pg-ui .cap .f{background:linear-gradient(#6db6ff,#2f7fe6)}.pg-ui .ct-hint{font-size:.78em;font-weight:500;color:var(--mute)}.pg-ui .roster{flex:2 1 18em;display:flex;flex-wrap:wrap;align-content:flex-start;gap:.35em}.pg-ui .rchip{display:flex;align-items:center;gap:.3em;padding:.14em .2em .14em .4em;font-size:.9em;background:#fffaea;border:.14em solid var(--tan);border-radius:1em}.pg-ui .rchip .ic{width:1.5em;height:1.5em}.pg-ui .rchip b{color:#2f7fe6;font-size:1.1em}.pg-ui .rm{min-width:2em;height:2em;padding:0 .4em;font-size:1em;background:linear-gradient(#ff8a80,#d9433b);border-width:.13em;border-radius:.8em}.pg-ui .rm.armed{background:linear-gradient(#ff5a5f,#a8111d)}.pg-ui.touch .rm{min-width:38px;height:38px}.pg-ui .csec{margin-bottom:.9em}.pg-ui .sec-t{display:flex;align-items:center;gap:.35em;margin-bottom:.4em;font-size:1.15em}.pg-ui .sec-t .ic{width:1.4em;height:1.4em}.pg-ui .cosrow{display:grid;grid-template-columns:repeat(auto-fill,minmax(7.4em,1fr));gap:.5em}.pg-ui .cos{display:flex;flex-direction:column;align-items:center;gap:.22em;padding:.55em .3em .45em;color:var(--ink);background:#fffaea;border:.17em solid var(--tan);border-radius:1em}.pg-ui .cos.eq{background:#e9ffd2;border-color:#47b027}.pg-ui .cos.can{border-color:#47b027}.pg-ui .cos-pv{position:relative;width:3.5em;height:3.5em;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 50% 30%,#8fe0ff,#2a8fd6);border:.16em solid var(--ink)}.pg-ui .cos-pv>.ic{width:2.4em;height:2.4em}.pg-ui .cos:not(.owned) .cos-pv{background:radial-gradient(circle at 50% 30%,#d9cfb8,#a89a7c)}.pg-ui .cos-eq,.pg-ui .cos-lock{position:absolute;bottom:-.35em;width:1.5em;height:1.5em;display:none;place-items:center}.pg-ui .cos-eq{right:-.4em;background:#47b027;border:.13em solid var(--ink);border-radius:50%}.pg-ui .cos-eq .ic{width:.95em;height:.95em}.pg-ui .cos-lock{left:-.4em}.pg-ui .cos-lock .ic{width:1.45em;height:1.45em}.pg-ui .cos.eq .cos-eq{display:grid}.pg-ui .cos:not(.owned) .cos-lock{display:grid}.pg-ui .cos-n{font-size:.84em;text-align:center;line-height:1.1}.pg-ui .cos-s{min-height:1.75em;display:grid;place-items:center;font-size:.82em;text-align:center}.pg-ui .cos-s>b{color:#2f8f1c}.pg-ui .cos-s small{font-size:.88em;font-weight:500;color:var(--mute);line-height:1.1}.pg-ui .pill{display:inline-flex;align-items:center;gap:.12em;padding:.08em .7em .12em;color:#fff;border:.13em solid var(--ink);border-radius:1em}.pg-ui .pill .ic{width:1.15em;height:1.15em}.pg-ui .pill.green{background:linear-gradient(#8df25a,#43b82a)}.pg-ui .pill.blue{background:linear-gradient(#6db6ff,#2f7fe6)}.pg-ui .pill.grey{background:#8f887a}.pg-ui .p-settings{display:flex;flex-direction:column;gap:.8em}.pg-ui .p-settings>.big{align-self:center;min-width:11em}.pg-ui .setcols{display:grid;grid-template-columns:1fr 1fr;gap:.9em;align-items:start}.pg-ui .setcol{display:flex;flex-direction:column;gap:.45em;min-width:0}.pg-ui .setrow{display:flex;align-items:center;gap:.6em;min-height:3em;padding:.4em .7em;color:var(--ink);background:#fffaea;border:.15em solid var(--tan);border-radius:.9em;font-size:1em;text-align:left;width:100%}.pg-ui .setrow.col{flex-wrap:wrap}.pg-ui .set-l{display:flex;align-items:center;gap:.4em;min-width:5.6em}.pg-ui .set-l .ic{width:1.5em;height:1.5em}.pg-ui .set-v{min-width:2.8em;text-align:right}.pg-ui .slider,.pg-ui .slider *{touch-action:none}.pg-ui .slider{position:relative;flex:1;height:2.1em;cursor:pointer;pointer-events:auto;--p: 0}.pg-ui .sl-track{position:absolute;left:0;right:0;top:50%;height:.85em;margin-top:-.42em;overflow:hidden;background:#dcc694;border:.13em solid var(--ink);border-radius:.5em}.pg-ui .sl-fill{position:absolute;inset:0;transform-origin:0 50%;transform:scaleX(var(--p));background:linear-gradient(#ffd84a,#ff9d1f)}.pg-ui .sl-knob{position:absolute;top:0;left:calc(var(--p) * (100% - 2.1em));width:2.1em;height:2.1em;background:#fff;border:.17em solid var(--ink);border-radius:50%;box-shadow:0 .16em #0000004d}.pg-ui .tg{position:relative;flex:none;width:3.3em;height:1.85em;margin-left:auto;background:#b3ab9b;border:.15em solid var(--ink);border-radius:1em;transition:background .15s}.pg-ui .tg b{position:absolute;left:.12em;top:.12em;width:1.3em;height:1.3em;background:#fff;border:.12em solid var(--ink);border-radius:50%;transition:transform .15s}.pg-ui .toggle.on .tg{background:var(--green)}.pg-ui .toggle.on .tg b{transform:translate(1.45em)}.pg-ui .controls{padding:.5em .8em .6em;background:#fffaea;border:.15em solid var(--tan);border-radius:.9em}.pg-ui .ctl{display:flex;align-items:center;justify-content:space-between;gap:.8em;padding:.22em 0;font-size:.84em;border-top:.08em dashed var(--tan)}.pg-ui .ctl b{white-space:nowrap}.pg-ui .ctl span{text-align:right;font-weight:500;color:var(--mute)}.pg-ui .danger{align-self:flex-end;padding:.35em 1em .42em;color:#c81e2c;background:transparent;border-color:#c81e2c;border-width:.14em}.pg-ui .danger.armed{color:#fff;background:linear-gradient(#ff5a5f,#c81e2c);border-color:var(--ink)}.pg-ui .touch-layer{position:absolute;inset:0;z-index:6;--tb: clamp(64px, calc(12vmin + 16px) , 88px)}.pg-ui.desktop .touch-layer,.pg-ui.menu-open .touch-layer{display:none}.pg-ui:not(.m-sailing):not(.m-boarding) .joy{display:none}.pg-ui .joy{position:absolute;left:0;top:0;width:calc(var(--tb) * 2);height:calc(var(--tb) * 2);margin:calc(var(--tb) * -1) 0 0 calc(var(--tb) * -1);will-change:transform}.pg-ui .joy.idle{left:calc(var(--sl) + var(--tb) * 1.5);top:auto;bottom:calc(var(--sb) + var(--tb) * .4);margin-top:0;opacity:.5}.pg-ui .joy-ring{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,#ffffff0f 52%,#ffffff42);border:3px solid rgba(255,255,255,.85);box-shadow:0 0 0 2px #2a17088c,inset 0 0 0 2px #2a17084d}.pg-ui .joy-knob{position:absolute;left:50%;top:50%;width:calc(var(--tb) * .9);height:calc(var(--tb) * .9);margin:calc(var(--tb) * -.45);border-radius:50%;background:radial-gradient(circle at 40% 32%,#fff,#cfd3e0);border:3px solid var(--ink);box-shadow:0 4px #00000059;will-change:transform}.pg-ui .tbset{position:absolute;right:var(--sr);bottom:var(--sb);width:0;height:0}.pg-ui:not(.m-sailing) .tb-sail,.pg-ui:not(.m-boarding) .tb-fight{display:none}.pg-ui .tb{position:absolute;right:calc(var(--tb) * var(--x));bottom:calc(var(--tb) * var(--y));width:calc(var(--tb) * var(--z, 1));height:calc(var(--tb) * var(--z, 1));pointer-events:auto;touch-action:none;border-radius:50%;--bg1: #a58a70;--bg2: #6e553f}.pg-ui .tb.big{--z: 1.4}.pg-ui .tb.sm{--z: .92}.pg-ui .tb-face{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(var(--bg1),var(--bg2));border:3px solid var(--ink);box-shadow:0 5px #00000059,inset 0 3px #fff6,inset 0 -4px #00000026}.pg-ui .tb-face .ic{width:50%;height:50%;margin-top:-16%}.pg-ui .tb-cd{position:absolute;inset:0;background:conic-gradient(rgba(12,6,2,.72) calc(var(--cd, 0) * 1turn),transparent 0)}.pg-ui .tb-l{position:absolute;left:0;right:0;bottom:11%;text-align:center;font-size:calc(var(--tb) * var(--z, 1) * .17);text-shadow:var(--ol);pointer-events:none}.pg-ui .tb-n{position:absolute;top:-3%;right:-3%;padding:.05em .5em;font-size:calc(var(--tb) * .2);background:var(--ink);border:2px solid #8a5a2b;border-radius:1em;pointer-events:none}.pg-ui .tb-n:empty{display:none}.pg-ui .tb-ring{position:absolute;inset:-7px;border-radius:50%;pointer-events:none;background:conic-gradient(var(--gold) calc(var(--ch, 0) * 1turn),transparent 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px));mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 6px))}.pg-ui .tb.down .tb-face{transform:scale(.92);filter:brightness(1.25)}.pg-ui .tb.dim .tb-face{filter:saturate(.45) brightness(.82)}.pg-ui .tb.empty .tb-face{filter:grayscale(.9) brightness(.8)}.pg-ui .tb.empty .tb-n{color:#ff8a8a}.pg-ui .tb.active .tb-face{filter:brightness(1.3)}.pg-ui .tb.urgent,.pg-ui .tb-board{animation:pg-pulse .45s ease-in-out infinite alternate}.pg-ui .tb.full .tb-ring{animation:pg-blink .3s steps(2) infinite}.pg-ui .tb-fire,.pg-ui .tb-atk{--x: .3;--y: .4;--bg1: #ff7a6b;--bg2: #d42a35}.pg-ui .tb-boost,.pg-ui .tb-dodge{--x: 1.95;--y: .25;--bg1: #6fe0ff;--bg2: #1e9fd8}.pg-ui .tb-repair{--x: .3;--y: 2.05;--bg1: #8df25a;--bg2: #43b82a}.pg-ui .tb-board{--x: 1.55;--y: 1.5;--z: 1.3;--bg1: #ffe066;--bg2: #ff9d1f}.pg-ui .tb-block{--x: 1.75;--y: 1.5;--bg1: #6db6ff;--bg2: #2f7fe6}.pg-ui .tb-jump{--x: .4;--y: 2.05;--bg1: #8df25a;--bg2: #43b82a}.pg-ui .tb-fury{--x: 1.75;--y: 2.75;--bg1: #ffb23f;--bg2: #e5531a}.pg-ui .rotatehint{position:absolute;z-index:7;left:0;right:0;margin:0 auto;width:fit-content;top:34%;display:flex;align-items:center;gap:.5em;min-height:44px;padding:.3em .7em .3em .5em;font-size:1em;background:#241409e6;border-radius:1.4em;animation:pg-toast .3s ease-out}.pg-ui .rotatehint .ic{width:1.6em;height:1.6em}.pg-ui .rotatehint .ic:last-child{width:1.1em;height:1.1em;opacity:.8}.pg-ui.touch{--pad: .6em}.pg-ui.touch .shipcard,.pg-ui.touch .php{width:17.5em}.pg-ui.touch .sc-name{font-size:1.1em}.pg-ui.touch .res{min-width:3.9em;height:2em;padding:0 .5em 0 .2em}.pg-ui.touch .res .ic{width:1.45em;height:1.45em}.pg-ui.touch .res b{font-size:1.05em}.pg-ui.touch .resrow{gap:.28em}.pg-ui.touch .minimap{width:7.8em;height:7.8em;top:calc(var(--st) + var(--pad) + 2.6em)}.pg-ui.touch .nexthint{display:none}.pg-ui.touch .menubtns{bottom:auto;top:calc(var(--st) + var(--pad) + 7.75em);gap:.4em}.pg-ui.touch .mbtn{width:4.05em;height:3.9em;min-width:44px;min-height:44px}.pg-ui.touch .mbtn kbd{display:none}.pg-ui.touch .mbtn .ic{width:1.9em;height:1.9em}.pg-ui.touch .objective{top:calc(var(--st) + var(--pad) + 2.7em);max-width:21em}.pg-ui.touch .toasts{top:calc(var(--st) + var(--pad) + 6.8em)}.pg-ui.touch .vs{width:18em}.pg-ui.touch .menu-panel{height:100%;width:min(58em,100%)}.pg-ui.touch .buy{min-height:44px}.pg-ui.touch .tab{padding-right:.7em}.pg-ui.portrait .resrow{left:0;right:0;margin:0 auto;width:fit-content}.pg-ui.portrait .shipcard,.pg-ui.portrait .minimap{top:calc(var(--st) + var(--pad) + 2.6em)}.pg-ui.portrait .menubtns{top:calc(var(--st) + var(--pad) + 10.3em)}.pg-ui.portrait .objective{top:calc(var(--st) + var(--pad) + 15em);max-width:26em}.pg-ui.portrait .toasts{top:calc(var(--st) + var(--pad) + 19.5em)}.pg-ui.portrait .vs{top:calc(var(--st) + var(--pad) + 5.4em)}.pg-ui.portrait .php{width:calc(100% - var(--pad) * 2 - 4.4em - var(--sl) - var(--sr));max-width:20em}.pg-ui.portrait .grid,.pg-ui.portrait .setcols{grid-template-columns:minmax(0,1fr)}.pg-ui.portrait .tab span{display:none}.pg-ui.portrait .tab{padding:.45em .7em .5em}.pg-ui.portrait .menu-res .res{padding:0 .4em 0 .15em}.pg-ui.portrait .cap-row{grid-template-columns:1.7em 1fr 3em 1.1em 3.4em 3.8em}@keyframes pg-pulse{0%{transform:scale(1)}to{transform:scale(1.07)}}@keyframes pg-bounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-.22em) scale(1.12)}}@keyframes pg-blink{0%{filter:brightness(1)}50%{filter:brightness(1.7)}}@keyframes pg-nudge{0%{transform:translate(-.25em)}to{transform:translate(.3em)}}@keyframes pg-vig{0%{opacity:calc(var(--v, 0) * .5)}to{opacity:var(--v, 0)}}@keyframes pg-spin{to{transform:rotate(360deg)}}@keyframes pg-fade{0%{opacity:0}}@keyframes pg-toast{0%{opacity:0;transform:translateY(-.8em) scale(.8)}}@keyframes pg-toastout{to{opacity:0;transform:translateY(-.6em) scale(.9)}}@keyframes pg-flin{0%{opacity:0;transform:scale(.3)}}@keyframes pg-flout{to{opacity:0;transform:scale(1.15)}}@keyframes pg-banner{0%{opacity:0;transform:scaleY(.2)}}@keyframes pg-popin{0%{opacity:0;transform:scale(.6) translateY(2em)}}@keyframes pg-stamp{0%{opacity:0;transform:scale(2.4) rotate(-8deg)}}@keyframes pg-row{0%{opacity:0;transform:translate(-1.2em)}to{opacity:1;transform:none}}@keyframes pg-slideL{0%{opacity:0;transform:translate(-2em)}}@keyframes pg-drop{0%{opacity:0;transform:translateY(-2em)}}@media(prefers-reduced-motion:reduce){.pg-ui .cap-rays,.pg-ui .fl-burst{animation:none}}.pg-ui .yard{grid-column:1 / -1;margin:0 0 .7em;border-width:.22em;background:linear-gradient(#fff6d8,#ffe9a8)}.pg-ui .yard .c-ic{font-size:1.5em}.pg-ui .yard-stats{display:flex;gap:.9em;flex-wrap:wrap;margin-top:.3em;font-weight:700}.pg-ui .yard-stats span{display:inline-flex;align-items:center;gap:.25em}.pg-ui .yard-stats svg,.pg-ui .yard-req svg{width:1.15em;height:1.15em}.pg-ui .yard-req{display:flex;align-items:center;gap:.3em;margin-top:.25em;color:#b3261e;font-weight:700;font-size:.85em}.pg-ui .role{font:600 .62em Fredoka,sans-serif;text-transform:uppercase;letter-spacing:.04em;background:#3f95ff;color:#fff;padding:.1em .5em;border-radius:1em;vertical-align:middle}.pg-ui .abtop{margin-bottom:.6em}.pg-ui .abtop small{font:600 .6em Fredoka,sans-serif;opacity:.7;margin-left:.6em}.pg-ui .abslots{display:grid;grid-template-columns:repeat(3,1fr);gap:.5em}.pg-ui .abslot{display:flex;align-items:center;gap:.4em;padding:.45em .6em;border-radius:.7em;border:.16em dashed #b08a55;background:#ffffff73;min-height:2.3em}.pg-ui .abslot.full{border-style:solid;border-color:#2a1708;background:#fff}.pg-ui .abslot svg{width:1.6em;height:1.6em;flex:none}.pg-ui .abslot b{flex:1;font-size:.95em}.pg-ui .abslot i{flex:1;opacity:.55;font-style:normal}.pg-ui .abcard .c-ic{background:color-mix(in srgb,var(--c) 30%,#2a1708)}.pg-ui .market{margin:.2em 0 .8em;padding:.6em;border-radius:.9em;background:linear-gradient(135deg,#3a2a4a,#5b2a7a)}.pg-ui .market>.sec-t{color:#ffd6ff}.pg-ui .btn.buy.blue{--bg1: #6db6ff;--bg2: #2f7fe6}.pg-ui .bar.hull.shielded{box-shadow:0 0 0 .14em #3df0ff,0 0 .7em #3df0ff}.pg-ui .res.r-cores b{color:#9ff8ff}.pg-ui .slot.s-ab1,.pg-ui .slot.s-ab2,.pg-ui .slot.s-ab3{margin-left:.15em}.pg-ui .slot.active .slot-face{box-shadow:0 0 0 .16em #fff,0 0 .9em #ffd23f}.pg-ui .tb-ab1{--x: 3.05;--y: .25;--bg1: #ffb23f;--bg2: #e5531a}.pg-ui .tb-ab2{--x: 2.95;--y: 1.45;--bg1: #8fe9ff;--bg2: #1e9fd8}.pg-ui .tb-ab3{--x: 2.95;--y: 2.65;--bg1: #d9a6ff;--bg2: #8338ec}.pg-ui .tbtn.active{box-shadow:0 0 0 .18em #fff,0 0 1em #ffd23f}.pg-ui.desktop .objective{top:calc(var(--st) + var(--pad) + 3.1em)}.pg-ui .tab:not(.on) span.disp{display:none}.pg-ui .tab:not(.on){padding:.42em .7em .5em}.pg-ui .menu-res .res{padding:0 .45em 0 .15em}.pg-ui .resrow .res{min-width:0}.pg-ui .yardbuy{min-width:8.5em;height:auto;padding-top:.35em;padding-bottom:.45em}.pg-ui .yardbuy .cost{flex-wrap:wrap;justify-content:center;row-gap:.1em}
