.wpig-protected-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--wpig-grid), 1fr);
    gap: 0;
    line-height: 0;
    overflow: hidden;
    user-select: none;
}
.wpig-protected-grid img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: auto;
    user-select: none;
    -webkit-user-drag: none;
}
.wpig-grid-watermark {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(24px, 6vw, 90px);
    font-weight: 700;
    color: rgba(255,255,255,.7);
    text-shadow: 0 2px 10px rgba(0,0,0,.75);
    transform: rotate(-24deg);
    letter-spacing: .04em;
}
#wpig-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.88);
    padding: 28px;
}
#wpig-lightbox.wpig-open { display: flex; }
#wpig-lightbox-inner {
    position: relative;
    max-width: min(94vw, 1400px);
    max-height: 90vh;
}
#wpig-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}
#wpig-watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(28px, 7vw, 110px);
    font-weight: 800;
    color: rgba(255,255,255,.85);
    text-shadow: 0 2px 12px rgba(0,0,0,.85);
    transform: rotate(-25deg);
    letter-spacing: .05em;
}
#wpig-close {
    position: fixed;
    top: 16px;
    right: 22px;
    z-index: 1000000;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}
.wpig-clickable { cursor: zoom-in; }
