/* A single close-up surface for stories, quest people and island visits. */
.pq-story281__bubble[data-story284-advance]{cursor:pointer;touch-action:manipulation}
.pq-story281__bubble[data-story284-advance]:focus-visible{outline:3px solid #e4b75e;outline-offset:3px}
.pq-story281__bubble[aria-disabled="true"]{cursor:default}
.pq-story281{position:absolute;inset:0;z-index:35;overflow:hidden;isolation:isolate;background:#102f3a;color:#fff0cc;border-radius:inherit;min-width:0;min-height:0;font-family:inherit}
.pq-story281[hidden],.pq-story281 [hidden]{display:none!important}
.pq-story281__art,.pq-story281__shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.pq-story281__shade{background:linear-gradient(180deg,rgba(3,19,30,.17),transparent 38%,transparent 68%,rgba(3,19,30,.76))}
.pq-story281__heading{position:absolute;top:16px;left:18px;right:190px;font-size:clamp(14px,1.2vw,17px);font-weight:700;letter-spacing:.07em;text-shadow:0 2px 4px #001922}
.pq-story281__bubble{font-family:Arial,Helvetica,sans-serif;position:absolute;left:48%;right:4%;top:13%;margin:0;padding:clamp(17px,2.3vw,30px);background:linear-gradient(135deg,#fff3d8,#e9d8af);color:#173c43;border:2px solid #ab8650;border-radius:24px;box-shadow:0 12px 34px #00192650;max-height:57%;box-sizing:border-box;overflow:visible;display:flex;flex-direction:column}
.pq-story281__bubble strong{display:block;font-size:clamp(14px,1.2vw,16px);margin-bottom:9px;color:#7e542e;letter-spacing:.025em}
.pq-story281__bubble p{margin:0;font-size:clamp(18px,1.6vw,21px);line-height:1.4;font-family:Arial,Helvetica,sans-serif;max-height:40vh;min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}
/* Generic modal copy uses light ink; speech keeps dark ink on its pale paper. */
.pq-app .pq-story281 .pq-story281__bubble p.pq-story281__text{color:#173c43}
.pq-story281__tail{position:absolute;left:-23px;bottom:25px;width:30px;height:25px;background:#f6e9cc;clip-path:polygon(100% 0,100% 100%,0 100%);border-bottom:2px solid #ab8650;transform:rotate(-12deg)}
.pq-story281__choices{position:absolute;left:5%;right:5%;bottom:86px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;max-height:35%;overflow:auto;padding:10px;box-sizing:border-box}
.pq-story281__choices .pq-button{flex:0 1 auto;white-space:normal;font-size:var(--pq-font-button);min-height:48px;padding:11px 20px}
.pq-story281__leave.pq-button{position:absolute!important;bottom:18px!important;right:20px!important;left:auto!important;top:auto!important;min-height:46px!important;font-size:var(--pq-font-button)!important;background:#153b43ed!important;color:#ffefc6!important;border:1px solid #d7ba79!important;border-radius:14px!important;padding:10px 19px!important;max-width:calc(100% - 40px);white-space:normal;z-index:4}
.pq-story281__meta{position:absolute;bottom:21px;left:20px;right:240px;font-size:var(--pq-font-meta);line-height:1.35;text-shadow:0 2px 4px #001922;max-height:55px;overflow:auto}
.pq-story281__meta p{margin:0}
.pq-story281-dialog{width:min(1200px,96vw)!important;max-width:96vw!important;padding:0!important;overflow:hidden!important;background:#103540!important}
.pq-story281-dialog .gr-dialog__body{padding:0!important;overflow:hidden!important;min-height:0!important}
.pq-story281-mount{position:relative;width:100%;height:min(78dvh,760px);min-height:300px;overflow:hidden}
@media(max-width:650px){.pq-story281__heading{top:13px;left:14px;right:14px;font-size:14px}.pq-story281__bubble{left:5%;right:5%;top:8%;max-height:43%;padding:17px;border-radius:19px}.pq-story281__bubble p{font-size:18px;line-height:1.35;max-height:30dvh}.pq-story281__bubble strong{font-size:14px;margin-bottom:7px}.pq-story281__tail{left:25px;bottom:-22px;transform:rotate(-85deg)}.pq-story281__choices{left:3%;right:3%;bottom:77px;max-height:30%;padding:5px}.pq-story281__choices .pq-button{font-size:15px;padding:9px 12px;min-height:44px}.pq-story281__leave.pq-button{bottom:14px!important;right:14px!important}.pq-story281__meta{left:14px;right:14px;bottom:72px;max-height:49px;font-size:14px}.pq-story281-mount{height:80dvh;min-height:280px}}
@media(max-height:430px)and(min-width:651px){.pq-story281__bubble{top:8%;max-height:61%;padding:13px 17px}.pq-story281__bubble p{font-size:18px;line-height:1.3;max-height:39vh}.pq-story281__bubble strong{font-size:14px;margin-bottom:4px}.pq-story281__choices{bottom:65px;max-height:45%}.pq-story281__leave.pq-button{bottom:11px!important;min-height:44px!important;padding:7px 13px!important}}

.pq-island281-receipts{position:absolute;top:18px;left:50%;transform:translateX(-50%);z-index:45;width:min(80%,620px);pointer-events:none}.pq-island281-receipts:empty{display:none}

.pq-app .pq-tavern.pq-tavern--island-story281{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important}
.pq-tavern--island-story281>.pq-tavern__head,.pq-tavern--island-story281>.pq-tavern__body{visibility:hidden;pointer-events:none}
.pq-tavern--island-story281 .pq-tavern__conversation{display:none!important}

/* Exact container measurements, shared by first show and every resize, own
   these bounds. Viewport media rules never turn replies into clipped rows. */
.pq-story281__choices{border:1px solid #b5a67766;border-radius:14px;background:linear-gradient(145deg,#183d47f7,#092c38f5);overscroll-behavior:contain;scrollbar-width:thin;scroll-padding:8px}
.pq-story281__choices .pq-button{box-sizing:border-box;overflow-wrap:normal;word-break:normal;align-items:center}
.pq-story283-choice-label{min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal}
.pq-story281__choices .pq-button svg{width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important}
.pq-story281__choices .pq-button.pq-story316-repair,.pq-story281__choices .pq-button.pq-story317-supplies{flex-wrap:wrap;column-gap:8px;row-gap:4px}
.pq-story316-repair .pq-story283-choice-label,.pq-story317-supplies .pq-story283-choice-label{flex:0 0 auto;white-space:nowrap!important}
.pq-story316-delta{display:inline-flex;align-items:center;gap:4px;white-space:nowrap!important;flex:0 0 auto;font-variant-numeric:tabular-nums}
.pq-story281__leave svg{width:22px!important;height:22px!important;flex:0 0 22px!important}

.pq-story281__bubble p,.pq-story282-word{animation:none;transition:none!important}.pq-story281__leave{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}.pq-story282-word{display:inline}

@keyframes pq-story282-word{from{opacity:0}to{opacity:1}}@keyframes pq-story282-block{from{opacity:1}to{opacity:0}}
