/* Shared shell for five tactile, server-owned captain's pastimes. */
.pq-act160{position:absolute;inset:0;z-index:11;overflow:hidden;border-radius:inherit;background:radial-gradient(ellipse at 20% 0,#17465a,#061d2b 75%);color:#f8e8c1;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0}.pq-act160[hidden],.pq-act160 [hidden]{display:none!important}.pq-act160 *{box-sizing:border-box}.pq-act160__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px 12px;min-width:0}.pq-act160__eyebrow{display:flex;align-items:center;gap:7px;text-transform:uppercase;letter-spacing:.17em;font-size:10px;font-weight:750;color:#9ed7d5}.pq-act160__head h2{font-size:clamp(22px,2.2vw,31px);line-height:1.12;margin:6px 0 0;font-weight:750;color:#fff0bf;overflow-wrap:anywhere}.pq-act160__head p{display:none}.pq-act160__tools{display:flex;gap:7px;flex:none}.pq-act160__tools .pq-button{min-height:40px;min-width:40px;padding:7px 10px}.pq-act160__tools svg{width:22px;height:22px}.pq-act160__body{min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:14px;padding:0 20px 4px}.pq-act161__playfield{position:relative;overflow:hidden;border:1px solid #89b7b343;border-radius:17px;min-width:0;min-height:0;background:#092a3b;box-shadow:inset 0 0 30px #001c30}.pq-act160__art{position:absolute;inset:0;width:100%;height:100%;touch-action:none;outline-offset:-4px}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__art{cursor:crosshair}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__art,.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__art{cursor:pointer}.pq-act161__scene-hint{position:absolute;bottom:0;left:0;right:0;padding:18px 12px 9px;background:linear-gradient(transparent,#051c2be8);color:#e0e6d4;text-align:center;font-size:11px;pointer-events:none}.pq-act161__scene-hint:empty{display:none}.pq-act160__panel{width:100%;max-height:100%;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:17px 26px 17px 17px;border:1px solid #bbbd8b54;border-radius:17px;background:linear-gradient(145deg,#153e50,#0b2639);box-shadow:inset 0 1px #f4e7ac14;scrollbar-width:none;scroll-padding-top:10px}.pq-act160__panel::-webkit-scrollbar{width:0}.pq-act160__panel h3{font-size:22px;margin:0 0 11px;color:#fff0bc;line-height:1.2;overflow-wrap:anywhere}.pq-act160__panel p{font-size:13px;line-height:1.45;color:#c5dad8;margin:8px 0 12px;overflow-wrap:anywhere}.pq-act160__panel label{display:block;font-size:12px;color:#d1e3de;margin:10px 0 4px}.pq-act160__stats{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 13px}.pq-act160__stat{padding:6px 8px;display:flex;gap:6px;align-items:center;border:1px solid #85a4a83d;border-radius:7px;background:#072330b8;font-size:12px;color:#bcd6d4}.pq-act160__stat b{color:#f6d794;font-variant-numeric:tabular-nums;white-space:nowrap}.pq-act160__actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.pq-act160__actions .pq-button{flex:1;white-space:normal;min-width:0;justify-content:center;min-height:44px;padding:9px 10px;font-size:14px}.pq-act160__actions .pq-button svg{width:19px;height:19px;flex:none}.pq-act160__wide{width:100%}.pq-act160__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px 12px;min-width:0}.pq-act160__footer .pq-button{font-size:12px;min-height:38px;padding:8px 10px;flex:0 0 auto;white-space:nowrap}.pq-act160__footer .pq-button svg{flex:none;width:20px;height:20px}.pq-act160__feedback{color:#efcf8d;min-height:17px;font-size:12px;line-height:1.35;margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.pq-act160__dice{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:9px 0 12px}.pq-act160__die{display:grid;grid-template-columns:repeat(3,4px);grid-template-rows:repeat(3,4px);gap:3px;padding:8px;border:1px solid #fff3d6;border-radius:7px;background:linear-gradient(135deg,#fff6da,#dbc397);box-shadow:inset -2px -2px 3px #6a4b2733,0 3px 7px #0004}.pq-act160__pip{width:4px;height:4px;border-radius:50%;background:#263c45;box-shadow:inset 0 1px #0004}.pq-act160__pip--off{visibility:hidden}.pq-act160__bid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pq-act160__bid select{width:100%;min-height:41px;background:#092733;border:1px solid #8bb2b4;color:#f8e4b6;border-radius:7px;font:inherit;padding:7px}.pq-act161__bid-call{display:flex;align-items:center;justify-content:space-between;gap:8px}.pq-act161__bid-call span{font-size:10px;color:#99b8ba}.pq-act161__read{padding:8px;border-left:2px solid #c8b476;background:#09293980;font-size:11px!important}.pq-act161__reveal{border-top:1px solid #c7bd7d44;padding-top:8px;text-align:center}.pq-act161__reveal>span{font-size:11px;color:#9fc6c5}.pq-act160__range{width:100%;accent-color:#e8c47b;min-height:28px;margin:2px 0 4px}.pq-act160__readout{float:right;font-variant-numeric:tabular-nums;color:#f1ce83}.pq-act161__range-facts{display:flex;justify-content:space-between;gap:9px;color:#accbc9;font-size:11px;margin-bottom:9px}.pq-act161__range-facts strong{color:#ebd398;white-space:nowrap}.pq-act161__shot-result{color:#e7d094!important;font-size:11px!important}.pq-act160__meter{height:8px;position:relative;border-radius:8px;background:#09212e;border:1px solid #76a9ae80;overflow:hidden;margin:4px 0 9px}.pq-act160__meter b{display:block;height:100%;background:linear-gradient(90deg,#5fae9d,#cce3a0);transition:width .2s}.pq-act160__gauge{height:30px;position:relative;border:1px solid #93b7ad7a;background:linear-gradient(90deg,#be6c5766,#f0c67550 var(--grog-zone-start,32.14%),#72b5a366 var(--grog-zone-start,32.14%),#72b5a366 var(--grog-zone-end,67.86%),#f0c67550 var(--grog-zone-end,67.86%),#be6c5766);border-radius:7px;margin:13px 0 5px;overflow:hidden}.pq-act160__needle{position:absolute;top:0;bottom:0;width:3px;background:#fff1bd;box-shadow:0 0 10px #fff4b9;transform:translateX(-1px)}.pq-act160__gauge-labels{display:flex;justify-content:space-between;font-size:10px;color:#b9d1cb}.pq-act161__stability{display:flex;gap:6px;align-items:center;font-size:11px;color:#b3cfca;margin:9px 0}.pq-act161__stability i{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#062735;border:1px solid #5c8c94;color:#6e969c;font-style:normal}.pq-act161__stability i.is-filled{color:#cce9bd;background:#2f716a;border-color:#91c4a0}.pq-act160__sequence{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin:11px 0}.pq-act160__sequence span{display:grid;place-items:center;width:100%;max-width:42px;aspect-ratio:1;border:1px solid #73959d66;border-radius:8px;color:#668e9a;background:#082735;font-size:27px}.pq-act160__sequence .is-current{border-color:#f0ce84;color:#ffe5a2;box-shadow:0 0 0 2px #e2bd6b3a;background:#1f4b50}.pq-act160__sequence .is-done{color:#8dd6b3;border-color:#70b89990}.pq-act161__memory-label{font-size:11px!important;color:#cbdab6!important}.pq-act160__directions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;max-width:188px;width:100%;margin:8px auto 4px}.pq-act160__directions .pq-button{min-height:40px;padding:4px;font-size:21px;justify-content:center}.pq-act160__directions [data-dir="up"]{grid-column:2}.pq-act160__directions [data-dir="left"]{grid-column:1;grid-row:2}.pq-act160__directions [data-dir="down"]{grid-column:2;grid-row:2}.pq-act160__directions [data-dir="right"]{grid-column:3;grid-row:2}.pq-act161__study .pq-button{font-size:11px;min-height:33px}.pq-act160__diving-grid{display:none}.pq-act160__vitals .pq-act160__stats{margin-bottom:7px}.pq-act161__dive-goal{font-size:11px!important;margin:5px 0!important}.pq-act161__swim-controls{display:flex;gap:10px;align-items:center}.pq-act161__swim-controls .pq-act160__directions{flex:1;min-width:125px}.pq-act161__swim-controls .pq-act160__actions{flex:1;margin-top:0;max-width:120px}.pq-act161__swim-controls .pq-act160__actions .pq-button{flex-basis:100%;font-size:12px;min-height:37px;padding:7px}.pq-act160__reef-key{font-size:10px!important;color:#aacac8!important;margin:8px 0 0!important}.pq-act161__pickups{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;max-width:calc(100% - 20px);pointer-events:none;z-index:2}.pq-act161__pickups span{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:7px;border:1px solid #efd18c7a;background:#0b3447ed;color:#f8e5b0;font-size:12px;box-shadow:0 3px 10px #00192666;animation:pq-act161-arrive .2s ease-out}.pq-act161__pickups svg{flex:none}.pq-act160__overlay{position:absolute;z-index:4;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:#041a28d9;backdrop-filter:blur(7px)}.pq-act160__guide{max-width:650px;width:100%;max-height:100%;padding:24px;border:1px solid #e1c68485;border-radius:19px;background:linear-gradient(145deg,#174054,#0b2339);box-shadow:0 20px 70px #0005;display:flex;flex-direction:column;min-height:0;position:relative}.pq-act160__guide-body{overflow:auto;min-height:0;padding-right:12px;scrollbar-width:none}.pq-act160__guide-body::-webkit-scrollbar{width:0}.pq-act160__guide h3{font-size:27px;color:#fff0c0;margin:8px 0 13px}.pq-act160__guide p,.pq-act160__guide li{font-size:14px;line-height:1.6;color:#c6dcd9}.pq-act160__reward-seal{display:grid;place-items:center;border:1px solid #e4c3768c;border-radius:50%;width:54px;height:54px;background:radial-gradient(circle,#e5c88344,#173d50);margin:0 0 13px;color:#f8d790}.pq-act160__reward-seal svg{width:31px;height:31px}.pq-act160__reward{display:flex;gap:10px;align-items:center;margin:7px 0;padding:10px;border:1px solid #91b1ad4d;border-radius:9px;background:#0b2c3bbd}.pq-act160__reward>svg{flex:none;width:25px;height:25px;color:#e8cb84}.pq-act160__reward>div{flex:1;min-width:0}.pq-act160__reward strong{display:flex;gap:9px;justify-content:space-between;align-items:baseline;font-size:13px;color:#dce8df}.pq-act160__reward b{color:#f8d993;white-space:nowrap;font-size:20px}.pq-act160__reward p{font-size:11px;margin:4px 0 0}.pq-act160__result-title{font-size:clamp(23px,2.4vw,32px)!important}.pq-act160__reveal{font-size:12px;color:#bbd4d2;margin:8px 0 13px}.pq-act160__reveal summary{color:#dfc785;cursor:pointer}.pq-act160__reveal p{font-size:12px;margin:8px 0}.pq-act160 button:focus-visible,.pq-act160 select:focus-visible,.pq-act160 input:focus-visible{outline:3px solid #f8d891;outline-offset:2px}.pq-act160 .pq-button:disabled{cursor:default}.pq-act161--busy .pq-act160__panel{filter:saturate(.85)}
@keyframes pq-act161-arrive{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:760px){.pq-act160__head{padding:10px 13px 9px}.pq-act160__head h2{font-size:22px}.pq-act160__eyebrow{font-size:9px;letter-spacing:.12em}.pq-act160__body{padding:0 12px 3px;gap:9px;grid-template-columns:minmax(0,1fr) minmax(235px,41%)}.pq-act160__panel{padding:13px 23px 13px 13px}.pq-act160__panel h3{font-size:19px}.pq-act160__panel p{font-size:12px}.pq-act160__footer{padding:7px 13px 10px;gap:9px}.pq-act160__footer .pq-button{font-size:11px;min-height:35px;padding:7px 9px}.pq-act160__feedback{font-size:11px}.pq-act160__stat{font-size:11px;padding:5px 6px}.pq-act160__actions .pq-button{font-size:12px;min-height:40px;padding:8px}.pq-act160__guide{padding:20px}.pq-act160__guide h3{font-size:24px}.pq-act160__guide p,.pq-act160__guide li{font-size:13px}}
@media(max-width:520px) and (orientation:landscape){.pq-act160__head h2{font-size:20px;margin-top:4px}.pq-act160__tools .pq-button{min-height:35px;min-width:35px;padding:6px}.pq-act160__tools svg{width:20px;height:20px}.pq-act160__body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(115px,1fr) minmax(0,var(--act-controls,195px));gap:8px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:205px}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:190px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:164px}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:192px}.pq-act160--offer{--act-controls:220px}.pq-act160--last{--act-controls:235px}.pq-act160__panel{padding:11px 23px 11px 12px;border-radius:13px}.pq-act161__playfield{border-radius:13px}.pq-act160__panel h3{font-size:17px;margin-bottom:8px}.pq-act160__stats{margin-bottom:8px;gap:5px}.pq-act160__stat{font-size:10px;padding:4px 6px;gap:4px}.pq-act160__panel p{font-size:11px;margin:6px 0 8px}.pq-act160__actions{margin-top:8px;gap:6px}.pq-act160__actions .pq-button{min-height:36px;padding:7px;font-size:11px}.pq-act160__die{padding:6px;gap:2px}.pq-act160__dice{margin:6px 0 8px}.pq-act160__bid label{font-size:11px;margin-top:5px}.pq-act160__bid select{min-height:35px;padding:5px}.pq-act160__panel label{margin-top:6px;font-size:11px}.pq-act160__range{min-height:22px;margin:0}.pq-act161__range-facts{font-size:10px;margin-bottom:5px}.pq-act161__shot-result{margin:4px 0!important}.pq-act160__gauge{height:24px;margin-top:7px}.pq-act161__stability{margin:5px 0;font-size:10px}.pq-act161__stability i{width:19px;height:19px}.pq-act160__sequence{margin:7px 0;gap:5px}.pq-act160__sequence span{font-size:24px;max-width:34px}.pq-act160__directions{max-width:172px;margin:5px auto 0;gap:4px}.pq-act160__directions .pq-button{min-height:32px;padding:2px;font-size:18px}.pq-act161__study .pq-button{min-height:29px;font-size:10px}.pq-act161__scene-hint{font-size:9px;padding-bottom:6px}.pq-act160__reef-key{display:none}.pq-act161__pickups{top:6px;left:6px}.pq-act161__pickups span{font-size:10px;padding:5px 7px}.pq-act160__overlay{padding:12px}.pq-act160__guide{padding:17px}.pq-act160__guide p,.pq-act160__guide li{font-size:12px}.pq-act160__guide h3{font-size:22px}.pq-act161__swim-controls .pq-act160__directions{max-width:150px}.pq-act161__swim-controls .pq-act160__actions .pq-button{min-height:31px}.pq-act160__reward{padding:8px}.pq-act160__reward b{font-size:18px}.pq-act160__reward strong{font-size:12px}}
@media(max-height:520px) and (min-width:521px){.pq-act160__head{padding:7px 14px}.pq-act160__head h2{font-size:20px;margin-top:3px}.pq-act160__body{padding:0 13px;gap:9px;grid-template-columns:minmax(0,1fr) minmax(235px,38%)}.pq-act160__panel{padding:10px 23px 10px 12px}.pq-act160__panel h3{font-size:18px}.pq-act160__footer{padding:6px 14px}.pq-act160__feedback{font-size:10px}.pq-act160__stats{margin-bottom:7px}.pq-act160__actions{margin-top:7px}.pq-act160__panel p{font-size:11px}.pq-act160__actions .pq-button{min-height:34px;font-size:12px}.pq-act160__guide p,.pq-act160__guide li{font-size:12px}}
@media(prefers-reduced-motion:reduce){.pq-act161__pickups span{animation:none}.pq-act160__meter b{transition:none}}
/* The reef is the touch control on phones; preserve room for eight usable columns. */
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:73px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__head{padding:5px 12px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__eyebrow{display:none}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__head h2{font-size:18px;margin:0}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__tools .pq-button{min-height:30px;min-width:30px;padding:4px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__footer{padding:4px 12px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__footer .pq-button{min-height:30px;padding:5px 8px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__feedback{font-size:0;min-height:0}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{padding:7px 20px 6px 9px;display:flex;align-items:center;gap:8px;overflow:auto}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__vitals{flex:1;min-width:0}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__vitals .pq-act160__stats{margin:0;gap:3px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stat{font-size:9px;padding:3px 4px;gap:3px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__meter{margin:4px 0 0;height:5px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__dive-goal,.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions{display:none}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls{flex:none}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls .pq-act160__actions{width:79px;gap:4px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls .pq-button{font-size:10px;min-height:26px;padding:4px 5px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__scene-hint{font-size:8px}}
.pq-act161__grog-top{display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap;margin-bottom:10px}.pq-act161__grog-top .pq-act160__stats{margin:0}.pq-act161__grog-top>[class]{flex:none}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:225px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>h3{display:none}.pq-act161__grog-top{margin-bottom:4px;gap:4px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{gap:4px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__counter .pq-button{min-height:46px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160="steady"]{min-height:42px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__actions{margin-top:6px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__stability{margin:4px 0}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__gauge{margin-top:5px}}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-rows:auto minmax(0,1fr);gap:3px;padding:5px 18px 5px 8px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__vitals .pq-act160__stats{flex-wrap:nowrap;justify-content:space-between}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__meter{display:none}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls{display:block;min-height:0}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls .pq-act160__actions{width:100%;max-width:none;display:flex;flex-wrap:nowrap;gap:7px;height:100%}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls .pq-button{flex:1 1 0;flex-basis:0!important;min-height:37px;height:100%;font-size:11px;padding:5px 8px}}
.pq-act161__counter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.pq-act161__counter .pq-button{font-size:12px;padding:8px 5px}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:172px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__counter .pq-button{font-size:11px;min-height:46px;padding:6px 3px}.pq-act160[data-kind="grog"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160="steady"]{min-height:46px}}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last){--act-controls:170px}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto auto auto;gap:5px 11px;align-content:start;padding:10px 21px 10px 11px}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{grid-column:1/-1;grid-row:1;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>h3{display:none}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__range-facts{grid-column:1/-1;grid-row:2;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>label:nth-of-type(1){grid-column:1;grid-row:3;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>label:nth-of-type(2){grid-column:2;grid-row:3;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160-input="angle"]{grid-column:1;grid-row:4}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160-input="power"]{grid-column:2;grid-row:4}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>.pq-act160__actions{grid-column:1/-1;grid-row:5;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160="fire"]{min-height:40px}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__shot-result{grid-column:1/-1;grid-row:6;margin:0!important;font-size:10px!important}}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-columns:minmax(0,1fr) 105px;grid-template-rows:auto auto auto minmax(0,1fr);gap:5px 9px;align-content:start}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>h3{display:none}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{grid-column:1/-1;grid-row:1;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__sequence{grid-column:1/-1;grid-row:2;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__memory-label{grid-column:1/-1;grid-row:3;margin:0!important}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions{grid-column:1;grid-row:4;align-self:center;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__study{grid-column:2;grid-row:4;align-self:center;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__study .pq-button{min-height:46px}}
/* Keep swim controls available to touch screen readers without shrinking the reef. */
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls{position:relative}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions{display:grid;position:absolute;width:1px;height:1px;max-width:none;padding:0;margin:0;left:0;top:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;pointer-events:none}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions:focus-within{width:180px;height:auto;top:auto;bottom:calc(100% + 9px);left:0;clip:auto;clip-path:none;overflow:visible;white-space:normal;pointer-events:auto;padding:8px;border:1px solid #d1bc7b;border-radius:10px;background:#10394bf5;box-shadow:0 5px 16px #00182899;z-index:5}}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel:focus-within{overflow:visible}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions{min-width:0}}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions:focus-within{position:fixed;top:45vh;bottom:auto;left:calc(50vw - 90px);z-index:100}}
@media(max-width:520px) and (orientation:landscape){.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions:focus-within{position:absolute;inset:0;left:0;top:0;bottom:0;width:100%;height:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:0;border:0;border-radius:6px;box-shadow:none;z-index:3}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions:focus-within [data-dir]{grid-column:auto;grid-row:auto;min-height:37px;height:100%;font-size:18px}.pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls:has(.pq-act160__directions:focus-within)>.pq-act160__actions{visibility:hidden}}

.pq-act162__return-compact,.pq-act162__chance-compact,.pq-act162__title-compact{display:none}
/* One portrait policy. Controls use natural height; the illustration takes the rest. */
@media(max-width:600px) and (orientation:portrait){
 .pq-act160{--act162-gap:var(--pq-mobile-gap162,8px);--act162-pad:var(--pq-mobile-pad162,12px);--act162-label:var(--pq-mobile-label162,13px);--act162-touch:var(--pq-touch162,44px);font-size:var(--act162-label);border-radius:12px}
 .pq-act160__head{padding:6px var(--act162-gap);gap:var(--act162-gap);min-height:54px}
 .pq-act160__eyebrow{display:none}.pq-act160__head h2{font-size:var(--pq-mobile-heading162,20px);margin:0;line-height:1.15}
 .pq-act162__title-full{display:none}.pq-act162__title-compact{display:inline}.pq-act160__tools{gap:4px}
 .pq-act160__tools .pq-button{width:var(--act162-touch);min-width:var(--act162-touch);min-height:var(--act162-touch);padding:8px}.pq-act160__tools svg{width:21px;height:21px}
 .pq-act160__body{display:flex;flex-direction:column;gap:var(--act162-gap);padding:0 var(--act162-gap) 4px;min-height:0}
 .pq-act161__playfield{flex:1 1 0;min-height:110px;width:100%;border-radius:10px}
 .pq-act160__panel{flex:0 1 auto;max-height:60%;padding:8px calc(var(--act162-gap) + 9px) 8px var(--act162-gap);border-radius:10px;overflow:auto;scroll-padding:8px;box-shadow:none}
 .pq-act160__panel>h3{display:none}.pq-act160__panel p{font-size:var(--act162-label);line-height:1.35;margin:5px 0 7px}
 .pq-act160__stats{gap:5px 10px;margin:0 0 7px;align-items:baseline;flex-wrap:wrap}.pq-act160__stat{font-size:var(--act162-label);line-height:1.25;padding:0;gap:4px;border:0;background:none;border-radius:0;white-space:nowrap}
 .pq-act160__actions{gap:var(--act162-gap);margin-top:7px}.pq-act160__actions .pq-button{min-height:var(--act162-touch);font-size:var(--act162-label);line-height:1.2;padding:8px;min-width:0}.pq-act160__actions .pq-button svg{width:19px;height:19px}
 .pq-act160__panel label{font-size:var(--act162-label);margin:3px 0}.pq-act160__bid select{font-size:16px;min-height:var(--act162-touch);padding:7px 9px}
 .pq-act160__range{font-size:16px;min-height:var(--act162-touch);margin:0;touch-action:pan-y}.pq-act160__readout{font-size:var(--act162-label)}
 .pq-act160__footer{padding:4px var(--act162-gap) 6px;gap:var(--act162-gap);min-height:52px}.pq-act160__footer .pq-button{font-size:var(--act162-label);min-height:var(--act162-touch);padding:8px 10px}.pq-act162__return-label{display:none}.pq-act162__return-compact{display:inline}.pq-act160__footer .pq-button svg{width:20px;height:20px}
 .pq-act160__feedback{font-size:var(--act162-label);line-height:1.3;max-height:3.9em;overflow:auto;min-height:0}.pq-act160[data-started="false"] .pq-act160__feedback{display:none}
 .pq-act161__scene-hint{font-size:12px;line-height:1.25;padding:15px 8px 6px}.pq-act161__pickups{left:6px;top:6px;gap:5px}.pq-act161__pickups span{font-size:var(--act162-label);line-height:1.25;padding:5px 8px}
 .pq-act160__dice{margin:5px 0 7px;gap:6px}.pq-act160__die{padding:6px;gap:2px}
 .pq-act161__bid-call{font-size:var(--act162-label);margin:3px 0 6px!important;gap:5px}.pq-act161__bid-call span{font-size:12px}.pq-act160__bid{gap:var(--act162-gap)}
 .pq-act161__read{padding:0;border:0;background:none;font-size:var(--act162-label)!important;margin:4px 0 6px!important}.pq-act161__read>span,.pq-act161__read>br,.pq-act162__chance-full{display:none}.pq-act162__chance-compact{display:inline}.pq-act161__read strong{font-weight:600}
 .pq-act160[data-kind="dice"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>.pq-act160__dice{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%)}
 .pq-act161__reveal{padding-top:5px}.pq-act161__reveal>span{font-size:var(--act162-label)}
 .pq-act161__grog-top{gap:6px 10px;margin-bottom:5px;align-items:baseline}.pq-act161__grog-top .pq-act160__stats{margin:0}.pq-act161__stability{font-size:var(--act162-label);gap:5px;margin:4px 0}.pq-act161__stability i{width:20px;height:20px}
 .pq-act160__gauge{height:25px;margin:5px 0 3px}.pq-act160__gauge-labels{font-size:12px}.pq-act161__counter{gap:6px;margin-top:6px}.pq-act161__counter .pq-button{min-height:var(--act162-touch);padding:6px 3px;font-size:var(--act162-label)}
 .pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px 10px;align-content:start}
 .pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{grid-column:1/-1;grid-row:1;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__range-facts{grid-column:1/-1;grid-row:2;margin:0;font-size:var(--act162-label)}
 .pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>label:nth-of-type(1){grid-column:1;grid-row:3}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>label:nth-of-type(2){grid-column:2;grid-row:3}
 .pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160-input="angle"]{grid-column:1;grid-row:4}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160-input="power"]{grid-column:2;grid-row:4}
 .pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>.pq-act160__actions{grid-column:1/-1;grid-row:5;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__shot-result{grid-column:1/-1;grid-row:6;margin:2px 0 0!important;font-size:var(--act162-label)!important}
 .pq-act160__sequence{gap:6px;margin:5px 0}.pq-act160__sequence span{font-size:25px;width:100%;max-width:40px}.pq-act161__memory-label{font-size:var(--act162-label)!important}
 .pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(88px,.68fr);gap:5px 8px;align-content:start}
 .pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{grid-column:1/-1;grid-row:1;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__sequence{grid-column:1/-1;grid-row:2;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__memory-label{grid-column:1/-1;grid-row:3;margin:0!important}
 .pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions{grid-column:1;grid-row:4;margin:0;max-width:190px}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__study{grid-column:2;grid-row:4;margin:0;align-self:center}
 .pq-act160__directions{gap:4px}.pq-act160__directions .pq-button{min-height:var(--act162-touch);padding:4px;font-size:21px}.pq-act161__study .pq-button{font-size:var(--act162-label);min-height:var(--act162-touch);line-height:1.25}
 .pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-rows:auto auto;gap:5px}.pq-act160__vitals .pq-act160__stats{margin:0}.pq-act160__meter{display:none}
 .pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__dive-goal,.pq-act160__reef-key{display:none}.pq-act161__swim-controls{display:block;position:relative;min-height:var(--act162-touch)}
 .pq-act161__swim-controls .pq-act160__actions{display:flex;flex-wrap:nowrap;max-width:none;width:100%;gap:var(--act162-gap);margin:0}.pq-act161__swim-controls .pq-act160__actions .pq-button{flex:1 1 0;flex-basis:0;min-height:var(--act162-touch);font-size:var(--act162-label);padding:8px}
 .pq-act161__swim-controls .pq-act160__directions,.pq-act161__swim-controls .pq-act160__directions:focus-within{display:grid;position:static;inset:auto;width:100%;height:auto;min-width:0;max-width:none;margin:0 0 var(--act162-gap);padding:0;overflow:visible;clip:auto;clip-path:none;grid-template-columns:repeat(4,minmax(0,1fr));pointer-events:auto;background:none;z-index:auto}
 .pq-act161__swim-controls .pq-act160__directions [data-dir],.pq-act161__swim-controls .pq-act160__directions:focus-within [data-dir]{grid-column:auto;grid-row:auto;min-height:var(--act162-touch);height:auto}.pq-act161__swim-controls:has(.pq-act160__directions:focus-within)>.pq-act160__actions{visibility:visible}
 .pq-act160--offer .pq-act160__body,.pq-act160--last .pq-act160__body{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(80px,.32fr) minmax(0,.68fr)}.pq-act160--offer .pq-act161__playfield,.pq-act160--last .pq-act161__playfield{min-height:0}.pq-act160--offer .pq-act160__panel,.pq-act160--last .pq-act160__panel{max-height:none;height:100%;overflow:auto}
 .pq-act160--offer .pq-act160__panel>h3,.pq-act160--last .pq-act160__panel>h3{display:block;font-size:18px;margin-bottom:8px}.pq-act160--last .pq-act160__footer{display:none}.pq-act160__reward-seal{width:40px;height:40px;margin-bottom:8px}.pq-act160__reward-seal svg{width:24px;height:24px}.pq-act160__result-title{font-size:19px!important}
 .pq-act160__reward{padding:8px;gap:8px;margin:6px 0}.pq-act160__reward strong{font-size:var(--act162-label)}.pq-act160__reward b{font-size:18px}.pq-act160__reward p{font-size:var(--act162-label);margin:3px 0 0}.pq-act160__reveal,.pq-act160__reveal p{font-size:var(--act162-label)}
 .pq-act160__overlay{padding:8px}.pq-act160__guide{padding:12px;border-radius:12px;max-height:100%}.pq-act160__guide-body{padding-right:10px}.pq-act160__guide h3{font-size:20px;line-height:1.2;margin:3px 0 8px}.pq-act160__guide p,.pq-act160__guide li{font-size:var(--act162-label);line-height:1.4}.pq-act160__guide ol{padding-left:21px;margin:8px 0}.pq-act160__guide .pq-act160__eyebrow{display:block;font-size:12px;letter-spacing:.08em}.pq-act160__guide .pq-act160__actions{flex:none;gap:6px}
 .pq-act160 .pq-button[data-activity160][type="button"]{font-size:var(--act162-label);line-height:1.2;gap:6px;padding:8px}
 .pq-act161__counter .pq-button{white-space:nowrap}
 .pq-act162__chance-full{display:inline;position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%)}

 .pq-act160 .pq-act160__directions .pq-button[data-activity160="direction"][type="button"]{font-size:21px;min-height:var(--act162-touch)}

 .pq-act160--last .pq-act160__panel{scroll-padding-bottom:60px}
 .pq-act160--last .pq-act160__panel>.pq-act160__actions{position:sticky;bottom:-8px;z-index:2;padding:7px 0 0;background:linear-gradient(transparent,#10394b 7px);margin-top:8px}

}

/* Short landscape screens use the full activity stage with a compact control column. */
@media(max-height:500px) and (orientation:landscape){
 .pq-act160{--act164-touch:44px;grid-template-rows:52px minmax(0,1fr) 48px}
 .pq-act160__head{padding:4px 8px;gap:8px}.pq-act160__head h2{font-size:20px;margin:0;line-height:1.15}.pq-act160__head .pq-act160__eyebrow,.pq-act160__head p,.pq-act162__title-full{display:none}.pq-act162__title-compact{display:inline}.pq-act160__tools{gap:5px}.pq-act160__tools .pq-button{width:44px;min-width:44px;min-height:44px;padding:8px}.pq-act160__tools svg{width:21px;height:21px}
 .pq-act160__body{grid-template-columns:minmax(0,1fr) minmax(235px,42%);grid-template-rows:minmax(0,1fr);gap:8px;padding:0 8px}.pq-act161__playfield{min-height:0;border-radius:10px}.pq-act160__panel{padding:7px 18px 7px 7px;border-radius:10px;scroll-padding:7px}
 .pq-act160__panel>h3{display:none}.pq-act160__panel p,.pq-act160__panel label{font-size:13px;line-height:1.3;margin:4px 0}.pq-act160__stats{gap:5px;margin:0 0 5px}.pq-act160__stat{font-size:13px;gap:4px;padding:3px 5px;border:0;background:none}.pq-act160__actions{gap:6px;margin-top:5px}.pq-act160 .pq-button[data-activity160][type="button"]{min-height:44px;padding:7px;font-size:13px;line-height:1.2}.pq-act160__bid{gap:7px}.pq-act160__bid select,.pq-act160__range{font-size:16px;min-height:44px;margin:0}.pq-act160__bid select{padding:5px 7px}.pq-act160__range{touch-action:pan-y}.pq-act161__range-facts{font-size:13px;margin:0}
 .pq-act160__footer{padding:2px 8px;gap:8px}.pq-act160__footer .pq-button{min-height:44px}.pq-act162__return-label{display:none}.pq-act162__return-compact{display:inline}.pq-act160__feedback{font-size:12px;line-height:1.3;min-height:0;max-height:39px;overflow:auto}.pq-act160[data-started="false"] .pq-act160__feedback{display:none}.pq-act161__scene-hint{font-size:11px;padding:14px 7px 5px}
 .pq-act160[data-kind="dice"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>.pq-act160__dice{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pq-act161__bid-call{gap:5px}.pq-act161__bid-call>span{font-size:10px}.pq-act161__read{display:flex;justify-content:space-between;gap:5px;padding:3px 5px;font-size:11px!important;white-space:nowrap}.pq-act161__read>br{display:none}.pq-act162__chance-full{display:inline;position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pq-act162__chance-compact{display:inline}
 .pq-act161__grog-top{display:flex;justify-content:space-between;align-items:center;gap:4px}.pq-act161__grog-top>.pq-act160__stats{margin:0}.pq-act161__stability{margin:4px 0;font-size:12px}.pq-act160__gauge{height:25px;margin:4px 0}.pq-act160__gauge-labels{font-size:11px}.pq-act161__counter{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px}.pq-act161__counter .pq-button{white-space:nowrap;padding:6px 2px!important;font-size:12px!important}
 .pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:3px 8px;align-content:start}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{grid-column:1/-1;grid-row:1;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__range-facts{grid-column:1/-1;grid-row:2}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>label:nth-of-type(1){grid-column:1;grid-row:3}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>label:nth-of-type(2){grid-column:2;grid-row:3}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160-input="angle"]{grid-column:1;grid-row:4}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) [data-activity160-input="power"]{grid-column:2;grid-row:4}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel>.pq-act160__actions{grid-column:1/-1;grid-row:5;margin:0}.pq-act160[data-kind="cannon"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__shot-result{grid-column:1/-1;grid-row:6;margin:0!important}
 .pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,.65fr);gap:4px 7px;align-content:start}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{grid-column:1/-1;grid-row:1;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__sequence{grid-column:1/-1;grid-row:2;margin:0;gap:4px}.pq-act160__sequence span{max-width:32px;font-size:24px}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__memory-label{grid-column:1/-1;grid-row:3;margin:0!important}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions{grid-column:1;grid-row:4;margin:0}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__study{grid-column:2;grid-row:4;margin:0;align-self:center}.pq-act160__directions{gap:4px}.pq-act160 .pq-act160__directions .pq-button[data-activity160="direction"][type="button"]{min-height:44px;font-size:21px;padding:3px}
 .pq-act160[data-kind="diving"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__swim-controls{display:flex;flex-direction:column;gap:6px}.pq-act161__swim-controls .pq-act160__directions{display:grid;position:static;width:100%;min-width:0;max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));height:auto;clip:auto;clip-path:none;overflow:visible;margin:0}.pq-act161__swim-controls .pq-act160__directions [data-dir]{grid-row:auto;grid-column:auto}.pq-act161__swim-controls .pq-act160__actions{display:flex;flex-wrap:nowrap;width:100%;max-width:none;gap:6px}.pq-act161__swim-controls .pq-act160__actions .pq-button{flex:1;flex-basis:0}.pq-act161__dive-goal,.pq-act160__reef-key{display:none}.pq-act160__vitals .pq-act160__stats{margin-bottom:3px}.pq-act160__meter{margin:3px 0 6px}
 .pq-act160--offer .pq-act160__panel>h3,.pq-act160--last .pq-act160__panel>h3{display:block;font-size:18px}.pq-act160--last{grid-template-rows:52px minmax(0,1fr) 8px}.pq-act160--last .pq-act160__footer{display:none}.pq-act160--last .pq-act160__panel{scroll-padding-bottom:58px}.pq-act160--last .pq-act160__panel>.pq-act160__actions{position:sticky;bottom:-7px;padding-top:6px;background:linear-gradient(transparent,#10394b 6px);z-index:2}.pq-act160__reward-seal{width:38px;height:38px;margin-bottom:7px}.pq-act160__result-title{font-size:20px!important}.pq-act160__reward b{font-size:18px}.pq-act160__reward p{font-size:12px}
 .pq-act160__overlay{padding:8px}.pq-act160__guide{padding:12px;max-height:100%}.pq-act160__guide h3{font-size:20px;margin:4px 0 8px}.pq-act160__guide p,.pq-act160__guide li{font-size:13px;line-height:1.35}.pq-act160__guide ol{margin:8px 0;padding-left:20px}.pq-act160__guide .pq-act160__actions{flex:none}
 .pq-act160[data-kind="dice"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__stats{margin-bottom:0}.pq-act160[data-kind="dice"] .pq-act160__bid label{margin:0}.pq-act160[data-kind="dice"] .pq-act160__actions .pq-button{white-space:nowrap;padding:6px 4px;gap:4px}.pq-act160[data-kind="dice"] .pq-act160__actions .pq-button svg{width:16px;height:16px}
 .pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{grid-template-columns:minmax(0,1fr)}.pq-act160[data-kind="rigging"] .pq-act160__stat{font-size:12px;gap:3px;padding:2px 0}.pq-act160__sequence span{line-height:1}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__directions{grid-template-columns:repeat(4,minmax(0,1fr));max-width:none}.pq-act160[data-kind="rigging"] .pq-act160__directions [data-dir]{grid-column:auto;grid-row:auto}.pq-act160[data-kind="rigging"]:not(.pq-act160--offer):not(.pq-act160--last) .pq-act161__study{grid-column:1;grid-row:5}.pq-act160[data-kind="rigging"] .pq-act161__study .pq-button{width:100%;white-space:nowrap}

 .pq-act160:not(.pq-act160--offer):not(.pq-act160--last) .pq-act160__panel{padding-bottom:4px}

 .pq-act160--offer .pq-act160__panel{scroll-padding-bottom:58px}.pq-act160--offer .pq-act160__panel>.pq-act160__actions{position:sticky;bottom:-7px;padding-top:6px;background:linear-gradient(transparent,#10394b 6px);z-index:2}

}

/* Memorization is a gameplay instruction, including when decorative motion is reduced. */
.pq-act160__sequence[data-phase="memory"] span{color:#fff0bf;border-color:#b9c8a8;background:#16434e}.pq-act160__sequence[data-phase="memory"] .is-cue165{color:#102e38;border-color:#fff0bc;background:#e9c77c;box-shadow:0 0 0 2px #f3dda259}.pq-act161__memory-label{font-weight:650}

/* A wreck dive starts with a presentation-only descent; its public game clock starts on Begin. */
.pq-act165--wreck-intro .pq-act160__body{display:block;padding:0 12px 4px}.pq-act165--wreck-intro .pq-act161__playfield{height:100%;min-height:0}.pq-act165--wreck-intro .pq-act160__panel{display:none}.pq-act165--wreck-intro .pq-act161__scene-hint,.pq-act165--wreck-intro .pq-act160__footer .pq-act160__feedback{display:none}.pq-act165__wreck-copy{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;pointer-events:none;background:radial-gradient(ellipse at center,#031a3099,transparent 75%)}.pq-act165__wreck-copy[hidden]{display:none}.pq-act165__wreck-copy strong{max-width:22ch;font:800 clamp(23px,3.7vw,43px)/1.15 system-ui;color:#fff1c5;text-wrap:balance;text-shadow:0 3px 2px #001626,0 0 25px #01263b,0 0 9px #001524}.pq-act165__wreck-copy p{color:#c3e9e1;font:500 clamp(13px,1.7vw,18px)/1.4 system-ui;max-width:30ch;text-shadow:0 2px 4px #001626}.pq-act165__wreck-copy .pq-act160__actions{pointer-events:auto;margin-top:12px;min-height:44px}.pq-act165__wreck-copy .pq-button{min-height:44px;min-width:140px}.pq-act165--wreck-intro .pq-act160__footer{position:relative;z-index:5}@media(max-width:600px) and (orientation:portrait){.pq-act165--wreck-intro .pq-act160__body{padding:0 8px 4px}.pq-act165__wreck-copy{padding:18px}.pq-act165__wreck-copy strong{font-size:clamp(23px,7vw,32px)}}
@media(max-height:500px) and (orientation:landscape){.pq-act165__wreck-copy{padding:12px}.pq-act165__wreck-copy strong{font-size:clamp(20px,6vh,30px)}.pq-act165__wreck-copy p{font-size:12px;margin:7px 0}.pq-act165__wreck-copy .pq-act160__actions{margin-top:6px}}
