.stanloop-gallery{--sl-green:#3aaa1f;--sl-green-dark:#237b14;--sl-orange:#ff842b;--sl-ink:#0f172a;--sl-muted:#64748b;--sl-border:#dce7d7;margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--sl-ink)}
.stanloop-gallery__header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid var(--sl-border);border-radius:20px;background:linear-gradient(135deg,#f3f0ff,#edfaff);margin-bottom:14px}.stanloop-gallery__header>div:first-child>span{display:block;color:var(--sl-green-dark);font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.stanloop-gallery__header h2{margin:5px 0 4px;font-size:clamp(1.75rem,3vw,2.35rem);line-height:1}.stanloop-gallery__header p{margin:0;color:#475569;font-size:.95rem}.stanloop-gallery__stats{display:flex;gap:8px}.stanloop-gallery__stats strong{display:grid;place-items:center;min-width:70px;min-height:64px;padding:7px;border:1px solid #d6e6cf;border-radius:14px;background:#fff;color:var(--sl-green-dark);font-size:1.2rem}.stanloop-gallery__stats small{font-size:.62rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.stanloop-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px;padding:11px 12px;border:1px solid #e1eadc;border-radius:15px;background:#fff}.stanloop-gallery-albums,.stanloop-gallery-sort{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.stanloop-gallery-albums::-webkit-scrollbar,.stanloop-gallery-sort::-webkit-scrollbar{display:none}.stanloop-gallery-toolbar button{border:1px solid #d8e4d2;border-radius:999px;background:#fff;color:#334155;padding:8px 12px;font:inherit;font-size:.78rem;font-weight:800;white-space:nowrap;cursor:pointer}.stanloop-gallery-toolbar button:hover,.stanloop-gallery-toolbar button:focus-visible{border-color:#65b94a;color:#237b14}.stanloop-gallery-toolbar button.is-active{background:var(--sl-green);border-color:var(--sl-green);color:#fff}.stanloop-gallery-toolbar em{font-style:normal;opacity:.8}
.stanloop-gallery-feature-wrap{margin-bottom:16px}.stanloop-gallery-feature{position:relative;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,.55fr);min-height:360px;border:1px solid #d3e4cc;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 16px 38px rgba(15,23,42,.08)}.stanloop-gallery-feature__label{position:absolute;z-index:4;top:14px;left:14px;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);color:#237b14;font-size:.78rem;font-weight:900;box-shadow:0 8px 20px rgba(15,23,42,.12)}.stanloop-gallery-feature__media{position:relative;min-height:360px;overflow:hidden;background:#eaf4e5}.stanloop-gallery-feature__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.stanloop-gallery-feature:hover img,.stanloop-gallery-feature:focus-within img{transform:scale(1.025)}.stanloop-gallery-feature__summary{display:flex;align-items:flex-end;padding:28px;background:linear-gradient(160deg,#f1faeb,#fff7e9)}.stanloop-gallery-feature__summary span{display:block;color:#2b8b19;font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.stanloop-gallery-feature__summary strong{display:block;margin-top:7px;font-size:1.2rem}.stanloop-gallery-feature__summary small{display:block;margin-top:5px;color:#64748b}
.stanloop-gallery__grid{column-count:3;column-gap:14px}.stanloop-gallery-card{position:relative;display:inline-block;width:100%;margin:0 0 14px;break-inside:avoid;border-radius:18px;overflow:hidden;background:#edf4ea;border:1px solid rgba(15,23,42,.08);box-shadow:0 12px 28px rgba(15,23,42,.09);transition:transform .18s ease,box-shadow .18s ease}.stanloop-gallery-card:hover,.stanloop-gallery-card:focus-within{transform:translateY(-2px);box-shadow:0 18px 36px rgba(15,23,42,.14)}.stanloop-gallery-card__media{position:relative;overflow:hidden}.stanloop-gallery-card img{display:block;width:100%;height:auto;min-height:220px;max-height:620px;object-fit:cover;transition:transform .32s ease,filter .2s ease}.stanloop-gallery-card:hover img,.stanloop-gallery-card:focus-within img{transform:scale(1.025)}.stanloop-gallery-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.stanloop-gallery-open:focus-visible{outline:3px solid rgba(58,170,31,.55);outline-offset:-4px}
.stanloop-gallery-caption-overlay{position:absolute;z-index:3;inset:auto 0 0;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;min-height:44%;padding:56px 14px 14px;background:linear-gradient(180deg,transparent,rgba(6,15,5,.88));color:#fff;opacity:0;transform:translateY(9px);transition:.2s ease;pointer-events:none}.stanloop-gallery-card:hover .stanloop-gallery-caption-overlay,.stanloop-gallery-card:focus-within .stanloop-gallery-caption-overlay,.stanloop-gallery-feature:hover .stanloop-gallery-caption-overlay,.stanloop-gallery-feature:focus-within .stanloop-gallery-caption-overlay{opacity:1;transform:none;pointer-events:auto}.stanloop-gallery-caption-overlay p{margin:0;color:#fff;font-size:.92rem;font-weight:700;line-height:1.45}.stanloop-gallery-feature .stanloop-gallery-caption-overlay{padding:70px 20px 20px}.stanloop-gallery-feature .stanloop-gallery-caption-overlay p{font-size:1.05rem;max-width:760px}
.stanloop-gallery-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.stanloop-gallery-actions .stanloop-save-form{margin:0}.stanloop-gallery-actions .stanloop-button,.stanloop-gallery-actions .stanloop-like-control,.stanloop-gallery-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:35px;padding:7px 10px;border:1px solid rgba(255,255,255,.55)!important;border-radius:10px!important;background:rgba(255,255,255,.94)!important;color:#1f5f13!important;font:inherit;font-size:.76rem!important;font-weight:900!important;line-height:1!important;box-shadow:none!important;cursor:pointer;text-decoration:none}.stanloop-gallery-actions .stanloop-button:hover,.stanloop-gallery-actions .stanloop-like-control:hover,.stanloop-gallery-action:hover{background:#fff!important;border-color:#fff!important}.stanloop-gallery-actions .stanloop-save-button.is-saved,.stanloop-gallery-actions .stanloop-like-control.is-liked{background:#eaf8e4!important;border-color:#7ac663!important}.stanloop-gallery-action--join{background:var(--sl-orange)!important;border-color:var(--sl-orange)!important;color:#fff!important}.stanloop-gallery-lock{text-align:center}.stanloop-gallery-lock>span{font-size:1.5rem}.stanloop-gallery-lock strong{display:block;margin-top:4px}.stanloop-gallery-lock p{margin:5px auto 11px;max-width:300px;font-weight:600}.stanloop-gallery-private-placeholder{position:absolute;inset:0;overflow:hidden;background:linear-gradient(135deg,#dff2d5,#fff0d8)}.stanloop-gallery-private-placeholder:before,.stanloop-gallery-private-placeholder:after,.stanloop-gallery-private-placeholder i,.stanloop-gallery-private-placeholder b{content:"";position:absolute;border-radius:999px;background:rgba(255,255,255,.64)}.stanloop-gallery-private-placeholder:before{width:48%;aspect-ratio:1;left:-12%;bottom:-16%}.stanloop-gallery-private-placeholder:after{width:38%;aspect-ratio:1;right:-8%;top:-10%}.stanloop-gallery-private-placeholder i{width:24%;aspect-ratio:1;left:42%;top:28%;background:rgba(58,170,31,.13)}.stanloop-gallery-private-placeholder b{width:14%;aspect-ratio:1;left:46%;top:33%;background:rgba(255,132,43,.3)}.stanloop-gallery-private-placeholder>span{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:rgba(255,255,255,.9);color:#ff842b;font-size:1.8rem}.stanloop-gallery-card.is-locked img,.stanloop-gallery-feature.is-locked img{filter:blur(12px) saturate(.75);transform:scale(1.08)}.stanloop-gallery-card.is-locked .stanloop-gallery-caption-overlay,.stanloop-gallery-feature.is-locked .stanloop-gallery-caption-overlay{opacity:1;transform:none;pointer-events:auto;background:rgba(16,34,11,.72);inset:0;justify-content:center;align-items:center;padding:20px}
.stanloop-gallery-empty{text-align:center;padding:50px 20px;border:1px dashed #cbd9c5;border-radius:18px;background:#fbfdf9}.stanloop-gallery-empty>span{font-size:2rem;color:#44aa28}.stanloop-gallery-empty h3{margin:9px 0 4px}.stanloop-gallery-empty p{margin:0;color:#64748b}
.stanloop-gallery-viewer[hidden]{display:none!important}.stanloop-gallery-viewer{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:24px}.stanloop-gallery-viewer__backdrop{position:absolute;inset:0;background:rgba(2,6,23,.86);backdrop-filter:blur(8px)}.stanloop-gallery-viewer__dialog{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);width:min(1180px,96vw);height:min(820px,91vh);overflow:hidden;border-radius:22px;background:#091109;color:#fff;box-shadow:0 30px 90px rgba(0,0,0,.55)}.stanloop-gallery-viewer__media{display:grid;place-items:center;min-width:0;background:#030703}.stanloop-gallery-viewer__media img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.stanloop-gallery-viewer__info{display:flex;flex-direction:column;gap:12px;padding:26px;background:#fff;color:#0f172a;overflow:auto}.stanloop-gallery-viewer__eyebrow{display:flex;justify-content:space-between;gap:8px;color:#2b8b19;font-size:.74rem;font-weight:900;text-transform:uppercase}.stanloop-gallery-viewer__info h3{margin:8px 0 0;font-size:1.15rem}.stanloop-gallery-viewer__info p{margin:0;color:#334155;line-height:1.58;white-space:pre-wrap}.stanloop-gallery-viewer__info [data-gallery-viewer-actions]{margin-top:auto}.stanloop-gallery-viewer__info .stanloop-gallery-actions .stanloop-button,.stanloop-gallery-viewer__info .stanloop-gallery-actions .stanloop-like-control,.stanloop-gallery-viewer__info .stanloop-gallery-action{border-color:#cadfc1!important;background:#fff!important}.stanloop-gallery-viewer__close,.stanloop-gallery-viewer__nav{position:absolute;z-index:4;display:grid;place-items:center;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:#0f172a;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.3)}.stanloop-gallery-viewer__close{top:12px;right:12px;width:42px;height:42px;font-size:1.7rem}.stanloop-gallery-viewer__nav{top:50%;width:46px;height:46px;transform:translateY(-50%);font-size:2rem}.stanloop-gallery-viewer__nav.is-prev{left:13px}.stanloop-gallery-viewer__nav.is-next{right:352px}.stanloop-gallery-viewer-open{overflow:hidden}
.stanloop-gallery-studio{margin:0 0 16px;border:1px solid #d7e6d1;border-radius:18px;background:#fff;overflow:hidden}.stanloop-gallery-studio>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;cursor:pointer;list-style:none;background:linear-gradient(135deg,#f1faeb,#fff7e9)}.stanloop-gallery-studio>summary::-webkit-details-marker{display:none}.stanloop-gallery-studio>summary span{display:block;color:#2c8d1a;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.stanloop-gallery-studio>summary strong{display:block;margin-top:3px;font-size:1.15rem}.stanloop-gallery-studio>summary small{display:block;margin-top:3px;color:#64748b}.stanloop-gallery-studio>summary em{font-style:normal;padding:7px 11px;border:1px solid #d3e4cc;border-radius:999px;background:#fff;color:#2b7e1b;font-weight:800;font-size:.8rem}.stanloop-gallery-studio__body{padding:18px}.stanloop-gallery-upload-grid{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:18px}.stanloop-gallery-dropzone{position:relative;display:grid;place-items:center;text-align:center;min-height:250px;padding:24px;border:2px dashed #9acb89;border-radius:17px;background:#f8fcf6;cursor:pointer}.stanloop-gallery-dropzone>span{font-size:2.4rem;color:#3aaa1f}.stanloop-gallery-dropzone strong{font-size:1.05rem}.stanloop-gallery-dropzone small{max-width:300px;color:#64748b;line-height:1.45}.stanloop-gallery-dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.stanloop-gallery-upload-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.stanloop-gallery-upload-fields label,.stanloop-gallery-manager-card label{display:grid;gap:6px;color:#334155;font-size:.76rem;font-weight:900}.stanloop-gallery-upload-fields label:first-child,.stanloop-gallery-upload-fields .stanloop-gallery-check,.stanloop-gallery-upload-fields button{grid-column:1/-1}.stanloop-gallery-upload-fields input,.stanloop-gallery-upload-fields textarea,.stanloop-gallery-upload-fields select,.stanloop-gallery-manager-card input,.stanloop-gallery-manager-card textarea,.stanloop-gallery-manager-card select{width:100%;border:1px solid #d8e3d4;border-radius:10px;background:#fff;padding:9px 10px;color:#0f172a;font:inherit}.stanloop-gallery-check{display:flex!important;grid-auto-flow:column;justify-content:start;align-items:center;gap:8px!important}.stanloop-gallery-check input{width:auto!important}.stanloop-gallery-upload-status{margin-top:12px;padding:9px 12px;border-radius:10px;background:#eef8e9;color:#246d16;font-weight:800}.stanloop-gallery-manager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:20px;padding-top:18px;border-top:1px solid #e2e9df}.stanloop-gallery-manager-card{overflow:hidden;border:1px solid #dce6d8;border-radius:15px;background:#fff}.stanloop-gallery-manager-card__visual{position:relative;overflow:hidden;background:#eef6eb}.stanloop-gallery-manager-card__visual>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.stanloop-gallery-manager-card__visual>div{position:absolute;left:8px;right:8px;bottom:8px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.stanloop-gallery-manager-card__visual>div span{display:inline-flex;align-items:center;min-height:27px;padding:5px 8px;border:1px solid rgba(255,255,255,.74);border-radius:999px;background:rgba(15,23,42,.78);backdrop-filter:blur(8px);color:#fff;font-size:.68rem;font-weight:900;line-height:1}.stanloop-gallery-manager-card>form{display:grid;gap:10px;padding:12px}.stanloop-gallery-manager-card__row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.stanloop-gallery-manager-card__actions{display:flex;justify-content:space-between;gap:8px}.stanloop-gallery-manager-card__actions button,.stanloop-gallery-manager-card__actions a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid #cfe1c7;border-radius:10px;background:#eef8e9;color:#256f16;font-weight:900;text-decoration:none;cursor:pointer}.stanloop-gallery-manager-card__actions a{border-color:#fec9a1;background:#fff5ec;color:#b34d05}.stanloop-notice{margin:0 0 12px;padding:11px 13px;border-radius:12px;font-weight:800}.stanloop-notice--success{border:1px solid #a5d594;background:#edf9e8;color:#246d16}.stanloop-notice--warning{border:1px solid #fdba74;background:#fff7ed;color:#9a3412}.stanloop-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid #3aaa1f;border-radius:11px;background:#3aaa1f;color:#fff!important;font-weight:900;text-decoration:none;cursor:pointer}
@media(max-width:1100px){.stanloop-gallery__grid{column-count:2}.stanloop-gallery-manager-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stanloop-gallery-viewer__dialog{grid-template-columns:minmax(0,1fr) 300px}.stanloop-gallery-viewer__nav.is-next{right:312px}}
@media(max-width:780px){.stanloop-gallery__header{align-items:flex-start;padding:18px}.stanloop-gallery__stats strong{min-width:58px;min-height:55px}.stanloop-gallery-toolbar{align-items:stretch;flex-direction:column}.stanloop-gallery-feature{grid-template-columns:1fr;min-height:0}.stanloop-gallery-feature__media{min-height:310px}.stanloop-gallery-feature__summary{padding:16px}.stanloop-gallery__grid{column-count:2;column-gap:9px}.stanloop-gallery-card{margin-bottom:9px;border-radius:14px}.stanloop-gallery-caption-overlay{opacity:0}.stanloop-gallery-card:focus-within .stanloop-gallery-caption-overlay{opacity:1}.stanloop-gallery-viewer{padding:0}.stanloop-gallery-viewer__dialog{display:flex;flex-direction:column;width:100vw;height:100dvh;border-radius:0}.stanloop-gallery-viewer__media{min-height:0;flex:1}.stanloop-gallery-viewer__info{max-height:34dvh;padding:17px}.stanloop-gallery-viewer__nav{top:42%}.stanloop-gallery-viewer__nav.is-next{right:12px}.stanloop-gallery-upload-grid{grid-template-columns:1fr}.stanloop-gallery-upload-fields{grid-template-columns:1fr}.stanloop-gallery-upload-fields label:first-child,.stanloop-gallery-upload-fields .stanloop-gallery-check,.stanloop-gallery-upload-fields button{grid-column:auto}.stanloop-gallery-manager-grid{grid-template-columns:1fr}}
@media(max-width:480px){.stanloop-gallery__header{gap:10px}.stanloop-gallery__header p{font-size:.84rem}.stanloop-gallery__stats{flex-direction:column}.stanloop-gallery__grid{column-count:1}.stanloop-gallery-feature__media{min-height:270px}}
.stanloop-gallery-card.is-locked .stanloop-gallery-card__media{min-height:360px}.stanloop-gallery-feature.is-locked .stanloop-gallery-open{position:absolute;inset:0}

/* v0.2.28 — compact first-fold Gallery header and bounded Featured Visual Story. */
.stanloop-gallery__header{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:12px 18px;
    padding:16px 18px;
    margin-bottom:14px;
}
.stanloop-gallery__heading{min-width:0}
.stanloop-gallery__title-row{
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:8px 12px;
}
.stanloop-gallery__title-row h2{
    margin:0;
    font-size:clamp(1.7rem,2.5vw,2.1rem);
    line-height:1;
}
.stanloop-gallery__title-row>span{
    color:var(--sl-green-dark);
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.075em;
    text-transform:uppercase;
}
.stanloop-gallery__header p{
    margin:6px 0 0;
    font-size:.91rem;
}
.stanloop-gallery__stats strong{
    min-width:62px;
    min-height:54px;
    padding:6px;
    font-size:1.05rem;
}
.stanloop-gallery-toolbar{
    grid-column:1/-1;
    margin:0;
    padding:8px 0 0;
    border:0;
    border-top:1px solid rgba(120,151,111,.22);
    border-radius:0;
    background:transparent;
}
.stanloop-gallery-toolbar button{
    padding:7px 11px;
    font-size:.76rem;
}
.stanloop-gallery-feature{
    height:clamp(330px,33vw,390px);
    min-height:0;
    grid-template-columns:minmax(0,1.7fr) minmax(220px,.58fr);
}
.stanloop-gallery-feature__media{
    position:relative;
    isolation:isolate;
    height:100%;
    min-height:0;
    display:grid;
    place-items:center;
    background:#0b150a;
}
.stanloop-gallery-feature__media:before{
    content:"";
    position:absolute;
    z-index:-2;
    inset:-24px;
    background-image:linear-gradient(rgba(5,14,5,.5),rgba(5,14,5,.5)),var(--stanloop-gallery-feature-bg);
    background-position:center;
    background-size:cover;
    filter:blur(17px) saturate(.9);
    transform:scale(1.08);
    opacity:.78;
}
.stanloop-gallery-feature__media:after{
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    background:linear-gradient(90deg,rgba(3,10,3,.12),rgba(3,10,3,.02));
}
.stanloop-gallery-feature__media .stanloop-gallery-open{
    height:100%;
}
.stanloop-gallery-feature__media img{
    position:relative;
    z-index:1;
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
.stanloop-gallery-feature__summary{
    align-items:center;
    padding:22px;
}
@media(max-width:780px){
    .stanloop-gallery__header{
        grid-template-columns:1fr auto;
        padding:15px;
    }
    .stanloop-gallery-toolbar{
        align-items:stretch;
        flex-direction:column;
    }
    .stanloop-gallery-feature{
        height:auto;
        grid-template-columns:1fr;
    }
    .stanloop-gallery-feature__media{
        height:clamp(280px,76vw,390px);
    }
    .stanloop-gallery-feature__summary{
        min-height:92px;
        padding:14px 16px;
    }
}
@media(max-width:560px){
    .stanloop-gallery__header{
        grid-template-columns:1fr;
        gap:10px;
    }
    .stanloop-gallery__stats{
        position:absolute;
        right:15px;
        margin-top:-2px;
    }
    .stanloop-gallery__heading{
        padding-right:136px;
    }
    .stanloop-gallery__stats strong{
        min-width:54px;
        min-height:49px;
        font-size:.95rem;
    }
    .stanloop-gallery-toolbar{
        padding-top:9px;
    }
}
@media(max-width:420px){
    .stanloop-gallery__heading{padding-right:0}
    .stanloop-gallery__stats{
        position:static;
        justify-content:flex-start;
        flex-direction:row;
    }
}

