.pl8w .pl8w-gallery-trigger{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:var(--pl8-ink,#183b38);cursor:zoom-in}
.pl8w .pl8w-gallery-trigger:focus-visible{outline:3px solid #186c5a;outline-offset:-4px}
.pl8w-gallery-trigger__icon{position:absolute;bottom:6px;right:6px;display:grid;place-items:center;width:32px;height:32px;border:1px solid #c7cec8;border-radius:6px;background:#fffefaeF;font-size:24px;line-height:1}
.pl8w-gallery{box-sizing:border-box;width:min(1100px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:18px;border:1px solid #c7cec8;border-radius:14px;background:#f7f5ef;color:#183b38;font-family:inherit;overflow:auto;overscroll-behavior:contain}
.pl8w-gallery::backdrop{background:rgb(8 24 21 / 78%)}
.pl8w-gallery[open]{display:flex;flex-direction:column;gap:10px}
.pl8w-gallery__header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pl8w-gallery__title{margin:0;font:inherit;font-size:clamp(16px,2.2vw,22px);font-weight:700;line-height:1.35}
.pl8w-gallery button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;margin:0;padding:9px 14px;border:1px solid #9baea4;border-radius:8px;background:#fffefa;color:#183b38;font:inherit;line-height:1.2;cursor:pointer}
.pl8w-gallery button:focus-visible{outline:3px solid #186c5a;outline-offset:3px}
.pl8w-gallery button:disabled{opacity:.35;cursor:default}
.pl8w-gallery__close{flex:0 0 48px;font-size:30px!important}
.pl8w-gallery__stage{position:relative;display:grid;place-items:center;min-height:180px;height:min(60dvh,600px);width:100%;overflow:hidden;border-radius:8px;background:#eeece5;touch-action:pan-y}
.pl8w-gallery__image{display:block;width:100%;height:100%;max-height:min(60dvh,600px);object-fit:contain;user-select:none;-webkit-user-select:none}
.pl8w-gallery__model{display:block;width:100%;height:100%;min-height:180px}
.pl8w-gallery__nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.pl8w-gallery__count{flex:1;text-align:center;font-variant-numeric:tabular-nums;font-size:15px}
.pl8w-gallery__status,.pl8w-gallery__hint{margin:0;min-height:1.4em;text-align:center;font-size:13px;line-height:1.4}
.pl8w-gallery__status{color:#704528}
.pl8w-gallery .pl8w-gallery__ar{position:absolute;right:12px;bottom:12px;font-size:14px}
@media(max-width:600px){.pl8w-gallery{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px;border-radius:10px}.pl8w-gallery__stage{height:54dvh}.pl8w-gallery__image{max-height:54dvh}.pl8w-gallery__hint{font-size:12px}}
