@font-face{font-family:"Pirate Heaven";src:url("/assets/pirateheaven/PirateHeaven-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
.ph-gallery{padding:64px 4vw 24px;background:rgba(12,12,12,.8)}
.ph-gallery-stage{height:100%;width:100%;margin:0 auto;overflow:visible}
.ph-gallery figure{width:76%;height:100%;margin:auto;pointer-events:none;display:flex;justify-content:center;align-items:center;position:relative}
.ph-gallery figure img{max-width:100%;max-height:calc(100dvh - 220px);border:1px solid #aa8c62;border-radius:2px;padding:9px;background:#e8dfd0;pointer-events:auto;box-shadow:0 0 0 3px #262522,0 0 0 4px #9b7a5280,0 25px 80px #0009}
.ph-gallery figcaption{position:fixed;top:26px;left:50%;right:auto;bottom:auto;transform:translateX(-50%);background:none;color:#eee;font-size:14px;letter-spacing:.18em;white-space:nowrap;padding:0}
.ph-gallery-arrow{width:31%;height:72%;border:8px solid #e8dfd0;outline:1px solid #9b7a52;outline-offset:3px;border-radius:2px;opacity:.48;filter:blur(3px);padding:0;z-index:1;box-shadow:0 15px 40px #0008}
.ph-gallery-prev{left:0}.ph-gallery-next{right:0}
.ph-gallery figure{z-index:2}.ph-gallery-close{z-index:10}
.ph-filmstrip{padding:14px 4px 5px;gap:10px;scrollbar-width:thin;scrollbar-color:#777 transparent}
.ph-thumb{flex-basis:78px;height:58px;border-radius:3px;overflow:hidden;transition:opacity .2s,transform .2s}.ph-thumb.active{transform:translateY(-3px);border-color:#e8dfd0}
.ph-view-close{position:absolute;z-index:20;right:18px;top:14px;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #ffffff70;border-radius:50%;background:#171717d9;cursor:pointer;font-size:0;display:block}
.ph-view-close::before,.ph-view-close::after{content:'';position:absolute;left:50%;top:50%;width:18px;height:2px;background:#fff;transform:translate(-50%,-50%) rotate(45deg)}
.ph-view-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.ph-board{position:fixed;inset:0;z-index:3100;background:#1119;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.ph-board[hidden]{display:none}.ph-board-open{overflow:hidden}
.ph-board-scroll{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;display:grid;align-items:safe center;justify-items:safe center}
.ph-board-image{display:block;box-sizing:border-box;flex:none;padding:0;margin:0;border:0;background:transparent;max-width:none;cursor:zoom-in;line-height:0}
.ph-board-image[aria-pressed=true]{cursor:zoom-out}.ph-board-image img{display:block;width:100%;height:100%;max-width:none;object-fit:contain}
.ph-board-hint{position:absolute;pointer-events:none;bottom:14px;left:50%;transform:translateX(-50%);border-radius:20px;background:#111c;padding:8px 14px;color:#fff;white-space:nowrap;font:13px/1.4 system-ui,sans-serif}
@media(max-width:650px){.ph-gallery{padding:64px 10px 16px}.ph-gallery figure{width:84%}.ph-gallery figure img{max-width:100%;max-height:calc(100dvh - 190px)}.ph-gallery-arrow{width:32%;height:65%;opacity:.5}.ph-gallery figcaption{top:28px}.ph-thumb{flex-basis:58px;height:44px}.ph-view-close,.ph-gallery-close{width:44px;height:44px;right:12px;top:12px}.ph-filmstrip{gap:7px}}

.ph-board-image,.ph-board-image img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.ph-board-image img{-webkit-user-drag:none;pointer-events:none}.ph-tabs a.ph-tab{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}

a.ph-play{display:inline-block;text-decoration:none;cursor:pointer;opacity:1}a.ph-play:focus-visible{outline:3px solid var(--ink);outline-offset:5px}

/* One centered label, shared font and dimensions on iOS and Android. */
a.ph-play{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:52px;min-height:52px;width:auto;padding:0 27px;font:700 27px/1 "Pirate Heaven",Georgia,serif;font-synthesis:weight;letter-spacing:.04em;text-align:center;vertical-align:middle;-webkit-text-size-adjust:100%;text-size-adjust:100%}a.ph-play::after{content:none;display:none}a.ph-play .ph-play-label{display:block;line-height:1;transform:translateY(-1px)}

.ph-board .ph-view-close{width:44px;height:44px;border:1px solid #a58c68;border-radius:0;background:#25231f}
