.pq-enc150{position:absolute;inset:0;z-index:19;overflow:hidden;background:#06192a;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:clamp(12px,2.8vh,28px);color:#fff3cf;text-align:center;box-shadow:inset 0 0 80px #0008;isolation:isolate}.pq-enc150 canvas{position:absolute;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none}.pq-enc150__shade{position:absolute;inset:0;background:linear-gradient(#021526bb,transparent 34%,transparent 57%,#021526dc);z-index:-1;pointer-events:none}.pq-enc150 header{position:absolute;top:clamp(12px,3vh,30px);left:6%;right:6%;pointer-events:none}.pq-enc150 h2{font-size:clamp(22px,3.6vh,36px);margin:.15em 0;text-shadow:0 3px 16px #000}.pq-enc150 header p{font-size:clamp(13px,1.9vh,17px);max-width:680px;margin:.35em auto;line-height:1.4}.pq-enc150__eyebrow{text-transform:uppercase;letter-spacing:.22em;font-size:10px;color:#a5edf1;font-weight:800}.pq-enc150__controls{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;max-width:880px}.pq-enc150 button{appearance:none;border:1px solid #f8e2aa8f;border-radius:10px;background:linear-gradient(#497789,#16374d 55%,#0c233b);box-shadow:inset 0 1px 0 #fff6,0 5px 14px #0007;color:#fff1ca;padding:11px 19px;font:700 14px/1.2 system-ui;cursor:pointer;min-height:44px;touch-action:none}.pq-enc150 button:hover{filter:brightness(1.2)}.pq-enc150 button:focus-visible{outline:3px solid #a1ffff;outline-offset:3px}.pq-enc150 button:active{transform:translateY(1px);filter:brightness(1.3)}.pq-enc150 button:disabled{opacity:.5;cursor:default}.pq-enc150__hint{display:flex;flex-direction:column;gap:4px;margin:12px auto 0;max-width:720px;font:12px/1.4 system-ui;color:#c9e5e9}.pq-enc150 kbd{display:inline-block;min-width:21px;padding:2px 5px;margin:0 2px;border:1px solid #a2c7d1;border-bottom-width:3px;border-radius:5px;background:#173a50;color:#fff5d6;font:700 11px system-ui}.pq-enc150__feedback{min-height:16px;margin:8px 0 0;color:#ffd092;font:13px system-ui}.pq-enc150__health{position:absolute;top:165px;left:9%;right:9%;display:flex;justify-content:space-between;gap:30px;pointer-events:none}.pq-enc150__health>div{width:min(39%,300px);display:flex;flex-wrap:wrap;align-items:center;gap:7px;font:700 12px system-ui;text-align:left}.pq-enc150__health span{flex:1;color:#e1f6f5}.pq-enc150__health strong{width:28px;text-align:right}.pq-enc150__health i{order:3;display:block;width:100%;height:12px;border:1px solid #cdf6ed8c;border-radius:10px;overflow:hidden;background:#031726;box-shadow:0 2px 8px #0008}.pq-enc150__health b{display:block;height:100%;background:linear-gradient(#eaffc1,#6ed4b2 45%,#238f9b);box-shadow:inset 0 1px 0 #fff7}.pq-enc150__health>div+div b{background:linear-gradient(#ffd29b,#e67481 45%,#944b86)}.pq-enc150__touch{display:flex;gap:6px;align-items:center}.pq-enc150__touch button{min-width:50px;padding:12px 13px}.pq-enc150--waiting{background:none;pointer-events:none;box-shadow:none;align-items:flex-end;justify-content:flex-end;padding:12px}.pq-enc150--waiting header{position:static;width:270px;text-align:left;border-radius:12px 12px 0 0;background:#071f37e8;padding:13px 16px 3px;pointer-events:auto;border:1px solid #9edbdb66;border-bottom:0}.pq-enc150--waiting header h2{font-size:18px}.pq-enc150--waiting header p{font-size:12px}.pq-enc150--waiting .pq-enc150__shade{display:none}.pq-enc150--waiting .pq-enc150__controls,.pq-enc150--waiting .pq-enc150__hint{pointer-events:auto;width:270px;background:#071f37e8;padding:9px 12px;margin:0}.pq-enc150--waiting .pq-enc150__controls{border:1px solid #9edbdb66;border-top:0;border-bottom:0}.pq-enc150--waiting .pq-enc150__hint{border:1px solid #9edbdb66;border-top:0;border-radius:0 0 12px 12px;text-align:left}.pq-enc150--waiting .pq-enc150__feedback{display:none}.pq-enc150--waiting button{padding:9px 12px;font-size:12px}.pq-enc150--duel canvas{pointer-events:auto;touch-action:none}.pq-enc150--duel .pq-enc150__controls{position:relative}.pq-enc150--duel .pq-enc150__touch button:nth-child(4){background:linear-gradient(#c18b48,#775234 60%,#493d37)}@media(max-height:500px){.pq-enc150{padding:9px}.pq-enc150 header{top:8px}.pq-enc150 h2{font-size:22px}.pq-enc150 header p{font-size:12px;max-width:590px}.pq-enc150__health{top:110px;left:5%;right:5%}.pq-enc150__hint{font-size:10px;margin-top:6px}.pq-enc150__hint span+span{display:none}.pq-enc150 button{padding:9px 13px;font-size:12px}.pq-enc150__feedback{margin:2px 0 0;min-height:12px}}@media(max-width:500px){.pq-enc150 header{left:4%;right:4%}.pq-enc150__health{top:156px;left:5%;right:5%;gap:12px}.pq-enc150__health>div{width:46%}.pq-enc150__controls{gap:6px}.pq-enc150 button{padding:10px 13px}.pq-enc150__touch{gap:4px}.pq-enc150__touch button{min-width:42px;font-size:11px;padding:11px 8px}.pq-enc150__hint{font-size:10px}.pq-enc150--waiting header,.pq-enc150--waiting .pq-enc150__controls,.pq-enc150--waiting .pq-enc150__hint{width:230px}.pq-enc150--waiting .pq-enc150__health{display:none}}@media(prefers-reduced-motion:reduce){.pq-enc150 button{transition:none}.pq-enc150 button:active{transform:none}}
/* Shore combat152: the arena stays clear; the handbook owns the full guide. */
.pq-enc150--duel header,.pq-enc150--duel .pq-enc150__hint,.pq-enc150--duel-result header,.pq-enc150--duel-result .pq-enc150__hint{display:none}
.pq-enc150--duel .pq-enc150__health{top:26px;left:6%;right:6%;gap:32px}
.pq-enc150--duel .pq-enc150__health>div{width:min(40%,300px);filter:drop-shadow(0 3px 9px #031827)}
.pq-enc150__guard{order:4;display:block;width:75%;height:4px;margin-top:-2px;border-radius:5px;background:#061d36bd;overflow:hidden}
.pq-enc150__guard b{display:block;height:100%;background:linear-gradient(90deg,#5dbddc,#c5ffff);box-shadow:none}
.pq-enc150--duel .pq-enc150__controls{width:100%;max-width:none;justify-content:space-between;gap:16px}
.pq-enc150--duel .pq-enc150__touch{flex:1;display:grid;grid-template-columns:52px 52px 1fr 72px 80px 72px;gap:8px}
.pq-enc150--duel .pq-enc150__touch button:nth-child(3){grid-column:4}
.pq-enc150--duel .pq-enc150__touch button{height:54px;border-radius:14px;background:linear-gradient(#536f88,#243f5a 55%,#132c46);box-shadow:inset 0 1px 0 #f6f4d780,inset 0 -2px 0 #05192999,0 5px 12px #0006}
.pq-enc150--duel .pq-enc150__touch button:nth-child(4){background:linear-gradient(#e2b568,#9b653e 56%,#5b3e38);border-color:#ffdf92}
.pq-enc150--duel .pq-enc150__touch button:nth-child(5){background:linear-gradient(#5e9cad,#35657e 56%,#1d3e5e)}
.pq-enc150--duel .pq-enc150__controls>[data-enc150-command]{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);min-height:32px;padding:6px 14px;font-size:11px;background:#082539b8;box-shadow:none;border-color:#a3cad15c}
.pq-enc150--duel .pq-enc150__feedback{position:absolute;left:20%;right:20%;bottom:85px;pointer-events:none}
.pq-enc150--confirming .pq-enc150__touch{opacity:.35;pointer-events:none}
.pq-enc150__quickhelp{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:min(660px,88%);max-height:88%;overflow:auto;padding:28px 32px;border:1px solid #b8f7f6a3;border-radius:24px;background:linear-gradient(135deg,#214c65f5,#0b263ff5);box-shadow:inset 0 1px 0 #d6ffff70,0 22px 70px #00101bc9;backdrop-filter:blur(14px);text-align:left}
.pq-enc150__quickhelp[hidden],.pq-enc150__result[hidden]{display:none}
.pq-enc150__quickhelp h3{font-size:clamp(20px,3vh,30px);margin:8px 0 18px;color:#ffedb2}
.pq-enc150__quickhelp>.pq-enc150__guidekeys{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;padding-bottom:14px;border-bottom:1px solid #bef0ed3b}
.pq-enc150__quickhelp p{font:13px/1.6 system-ui;color:#ddf0ee;margin:3px 0 12px}
.pq-enc150__quickhelp small{font:11px system-ui;color:#a8d1da}
.pq-enc150--paused .pq-enc150__controls,.pq-enc150--paused .pq-enc150__health{opacity:.2;pointer-events:none}
.pq-enc150--paused .pq-enc150__shade{background:#001526a6}
.pq-enc150__result{position:absolute;right:6%;top:50%;transform:translateY(-50%);width:48%;max-height:83%;overflow:auto;padding:26px;border-radius:25px;border:1px solid #ffe8a5b3;background:linear-gradient(145deg,#26495cf2,#0d2945f5 60%,#10213df5);box-shadow:inset 0 1px 0 #fff3c870,inset 0 -2px 0 #02152c,0 20px 65px #001625b0;text-align:left;backdrop-filter:blur(10px)}
.pq-enc150__result h2{font:800 clamp(23px,3.5vh,35px)/1.1 system-ui;color:#fff1b8;margin:9px 0 22px;letter-spacing:-.025em}
.pq-enc150__reward-seal{float:right;width:56px;height:56px;margin-left:8px;color:#ffe4a1;border:1px solid #f4dba979;border-radius:50%;padding:9px;background:radial-gradient(circle at 35% 20%,#c2a35c80,#5d55492b);box-shadow:inset 0 1px 0 #fff3bb80,0 3px 12px #00172c}
.pq-enc150__reward-seal svg{width:100%;height:100%}
.pq-enc150__rewards{display:grid;gap:10px}
.pq-enc150__reward{display:flex;align-items:center;gap:13px;padding:13px 14px;border:1px solid #bed8db3b;border-radius:14px;background:linear-gradient(110deg,#d5f0ef11,#00203944);box-shadow:inset 0 1px 0 #d7ffff12}
.pq-enc150__reward>svg{width:38px;height:38px;flex-shrink:0;color:#c6f2e9}
.pq-enc150__reward--gold{border-color:#e8c97b77;background:linear-gradient(110deg,#c6a15733,#886f3b0a)}
.pq-enc150__reward--gold>svg{color:#ffdf8d}
.pq-enc150__reward strong{display:block;font:700 14px/1.3 system-ui;color:#eaf9ed}
.pq-enc150__reward strong b{font-size:21px;color:#ffe6a0;margin-right:4px}
.pq-enc150__reward p,.pq-enc150__reward-story{margin:5px 0 0;font:12px/1.5 system-ui;color:#bbd8df}
.pq-enc150__reward--lore{align-items:flex-start}
.pq-enc150--duel-result .pq-enc150__controls{position:absolute;right:6%;bottom:4%;width:48%;max-width:none}
.pq-enc150--duel-result .pq-enc150__controls button{min-width:180px;background:linear-gradient(#d9ad61,#92633b 55%,#594033);border-color:#ffdf9c}
.pq-enc150--duel-result .pq-enc150__feedback{position:absolute;right:6%;bottom:0;width:48%;font-size:11px}
@media(max-height:500px){.pq-enc150--duel .pq-enc150__health{top:13px}.pq-enc150--duel .pq-enc150__touch button{height:44px;min-height:44px}.pq-enc150--duel .pq-enc150__controls>[data-enc150-command]{bottom:1px}.pq-enc150__result{padding:16px 20px;max-height:78%;top:45%}.pq-enc150__result h2{font-size:25px;margin-bottom:12px}.pq-enc150__reward{padding:8px 10px;gap:9px}.pq-enc150__reward p{font-size:11px}.pq-enc150__reward-seal{width:44px;height:44px;padding:7px}.pq-enc150__reward strong b{font-size:18px}.pq-enc150--duel-result .pq-enc150__controls{bottom:3%}.pq-enc150__quickhelp{padding:16px 22px}.pq-enc150__quickhelp h3{margin:5px 0 10px}.pq-enc150__quickhelp p{font-size:12px;line-height:1.45;margin-bottom:7px}}
@media(max-width:600px){.pq-enc150--duel .pq-enc150__health{top:20px;left:5%;right:5%;gap:18px}.pq-enc150--duel .pq-enc150__health>div{width:45%}.pq-enc150--duel .pq-enc150__touch{grid-template-columns:42px 42px 1fr 53px 58px 53px;gap:5px}.pq-enc150--duel .pq-enc150__touch button{font-size:11px;padding:8px 4px;height:50px}.pq-enc150--duel .pq-enc150__controls>[data-enc150-command]{bottom:65px}.pq-enc150--duel .pq-enc150__feedback{left:6%;right:6%;bottom:108px}.pq-enc150__result{right:5%;width:90%;top:46%;max-height:70%;padding:22px;background:linear-gradient(145deg,#26495cf7,#0d2945fa 60%,#10213dfa)}.pq-enc150__result h2{font-size:27px}.pq-enc150--duel-result .pq-enc150__controls{right:5%;width:90%;bottom:6%}.pq-enc150--duel-result .pq-enc150__feedback{right:5%;width:90%;bottom:1%}.pq-enc150__quickhelp{padding:20px}.pq-enc150__quickhelp>.pq-enc150__guidekeys{grid-template-columns:1fr;gap:2px}.pq-enc150__quickhelp h3{margin-bottom:12px}}
/* The same shared scroll surface used by the handbook and voyage outcomes. */
.pq-enc150__quickhelp{display:flex;flex-direction:column;overflow:hidden}
.pq-enc150__quickbody{min-height:0;overflow:auto;flex:1;text-align:left}
.pq-enc150__quickhelp .pq-enc150__guidekeys{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;padding-bottom:14px;border-bottom:1px solid #bef0ed3b}
.pq-enc150__quickhelp .pq-enc150__quickactions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid #bef0ed3b}
.pq-enc150__quickhelp p,.pq-enc150__quickhelp small{font:16px/1.55 system-ui}
.pq-enc150__quickhelp kbd{font-size:16px;min-width:26px;padding:3px 6px}
.pq-enc150__reward strong{font-size:16px}
.pq-enc150__reward p,.pq-enc150__reward-story{font-size:16px;line-height:1.5}
.pq-enc150 button,.pq-enc150--duel .pq-enc150__touch button,.pq-enc150--duel .pq-enc150__controls>[data-enc150-command]{font-size:16px}
.pq-enc150__quickhelp .gr-scrollbar{z-index:4}
.pq-enc150--duel-result>.gr-scrollbar{z-index:4}
@media(max-height:500px){.pq-enc150__quickhelp{padding:16px 22px}.pq-enc150__quickhelp .pq-enc150__quickactions{margin-top:10px;padding-top:10px}.pq-enc150__result{max-height:76%;top:43%}}
@media(max-width:600px){.pq-enc150__quickhelp .pq-enc150__guidekeys{grid-template-columns:1fr}.pq-enc150--duel .pq-enc150__touch button{font-size:16px}.pq-enc150__result{max-height:70%;top:43%}}
