/* Scoped gallery for Steam Curator Publications; does not affect other services. */
.curator-examples {
    margin: 46px 0 64px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.16);
    min-width: 0;
}
.curator-examples__heading { margin-bottom: 24px; }
.curator-examples__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ffc31a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.curator-examples__eyebrow::before { content: ''; width: 24px; height: 2px; background: #ffc31a; }
.curator-examples__heading h2 {
    margin: 13px 0;
    color: #fff;
    font-family: var(--font-display, 'Molot', sans-serif);
    font-size: 25px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.curator-examples__heading p {
    max-width: 860px;
    margin: 0;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.6;
}
.curator-examples__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    min-width: 0;
}
.curator-example {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    min-width: 0;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.17);
    background: #34424f;
    isolation: isolate;
    aspect-ratio: 286 / 281;
    text-decoration: none;
    cursor: zoom-in;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.curator-example:hover {
    border-color: #ffc31a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.3);
}
.curator-example:focus-visible { outline: 3px solid #ffc31a; outline-offset: 3px; }
.curator-example img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #35424e;
}
.curator-example__expand {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: rgba(9,13,17,.83);
    border-radius: 9px;
    font-size: 23px;
    line-height: 1;
}
/* Native modal is lifted into the top layer and moved under body by JS. */
.curator-lightbox {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    box-sizing: border-box;
    width: min(92vw, 850px);
    max-width: calc(100vw - 12px);
    height: min(92dvh, 860px);
    max-height: calc(100dvh - 12px);
    background: #14161b;
    color: #fff;
    border: 1px solid #484b52;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 100px rgba(0,0,0,.85);
}
.curator-lightbox[open] { display: flex; flex-direction: column; }
.curator-lightbox::backdrop { background: rgba(0,0,0,.82); }
.curator-lightbox__bar, .curator-lightbox__nav {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 16px;
    background: #212329;
    min-height: 52px;
    box-sizing: border-box;
}
.curator-lightbox__bar { border-bottom: 1px solid rgba(255,255,255,.12); }
.curator-lightbox__title { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.curator-lightbox__title strong { color: #fff; font-size: 16px; }
.curator-lightbox__title span { color: #9fa2ac; font-size: 12px; }
.curator-lightbox__actions { display: flex; gap: 8px; flex: none; }
.curator-lightbox button {
    border: 1px solid #565861;
    border-radius: 7px;
    background: #2e3038;
    color: #fff;
    padding: 6px 12px;
    min-height: 35px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.curator-lightbox button:hover { background: #444750; }
.curator-lightbox button:focus-visible { outline: 2px solid #ffc31a; }
.curator-lightbox__actions [data-curator-close] { width: 36px; height: 36px; font-size: 25px; padding: 0; }
.curator-lightbox__image-area {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    background: #0a0d11;
    padding: 12px;
}
.curator-lightbox__image-area img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* The uploaded screenshots have 286×281 native pixels; enlarge for readability. */
    min-width: min(100%, 520px);
}
.curator-lightbox__image-area.is-zoomed { align-items: flex-start; justify-content: flex-start; }
.curator-lightbox__image-area.is-zoomed img {
    width: 900px;
    min-width: 900px;
    max-width: none;
    max-height: none;
    height: auto;
}
.curator-lightbox__nav { justify-content: center; gap: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.curator-lightbox__nav span { color: #aeb0b7; font-size: 13px; }
.curator-lightbox__nav button { min-width: 48px; font-size: 19px; padding: 2px 8px; }
@media (max-width: 840px) {
    .curator-examples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
    .curator-examples { margin: 35px 0 48px; padding-top: 24px; }
    .curator-examples__grid { gap: 10px; }
    .curator-examples__heading h2 { font-size: 25px; }
    .curator-examples__heading p { font-size: 15px; }
    .curator-example { border-radius: 9px; }
    .curator-example__expand { width: 29px; height: 29px; bottom: 6px; right: 6px; font-size: 20px; }
    .curator-lightbox { width: calc(100vw - 10px); height: calc(100dvh - 10px); border-radius: 9px; }
    .curator-lightbox__bar { padding: 8px 10px; }
    .curator-lightbox__title strong { font-size: 14px; }
    .curator-lightbox__image-area { padding: 4px; }
}
@media (prefers-reduced-motion: reduce) { .curator-example { transition: none; } }

/* WTC Games shared gallery close-icon centering fix (2026-11-11).
   Render an actual geometric X instead of the font-dependent multiplication glyph. */
.curator-lightbox__actions [data-curator-close] {
    position: relative;
    display: inline-grid !important;
    place-items: center !important;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0 !important;
    flex: 0 0 36px;
    font-size: 0 !important;
    line-height: 0 !important;
    text-align: center;
}
.curator-lightbox__actions [data-curator-close]::before,
.curator-lightbox__actions [data-curator-close]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    pointer-events: none;
}
.curator-lightbox__actions [data-curator-close]::before { transform: translate(-50%, -50%) rotate(45deg); }
.curator-lightbox__actions [data-curator-close]::after  { transform: translate(-50%, -50%) rotate(-45deg); }
