.shawoo-gallery-filters {
    text-align: center;
    margin: 24px 0 18px 0;
}
.filter-button {
    display: inline-block;
    margin: 0 8px;
    padding: 10px 18px;
    background: #23272e;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.filter-button.active, .filter-button:hover {
    background: #00c8ff;
    color: #181c21;
}
.shawoo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 18px;
    justify-items: center;
    padding: 10px 0;
}

/* Images carrées */
.shawoo-gallery-grid a:not(.video-thumb) {
    display: block;
    position: relative;
    width: 240px;
    height: 240px;
}
.shawoo-gallery-grid img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0004;
    background: #181c21;
    transition: transform 0.2s;
}
.shawoo-gallery-grid img:hover {
    transform: scale(1.05);
}

/* Vidéos 16:9 */
.shawoo-gallery-grid a.video-thumb {
    width: 240px;
    height: 135px;
    display: block;
    position: relative;
}
.shawoo-gallery-grid a.video-thumb video {
    width: 240px;
    height: 135px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0004;
    background: #161616;
    transition: transform 0.2s;
}
.shawoo-gallery-grid a.video-thumb video:hover {
    transform: scale(1.05);
}

/* CTF-UDTF Spoiler */
.shawoo-warning-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #181c21ee;
}
.shawoo-warning-inner {
    background: #23272e;
    padding: 36px 42px;
    border-radius: 20px;
    box-shadow: 0 4px 24px #0008;
    text-align: center;
    color: #fff;
}
.shawoo-warning-reveal {
    margin-top: 18px;
    background: #00c8ff;
    color: #23272e;
    padding: 10px 26px;
    font-weight: bold;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 1.1em;
}

/* Empty grid */
.shawoo-gallery-empty {
    text-align: center;
    color: #ff6565;
    font-size: 1.2em;
    padding: 48px 0;
}

/* Responsive */
@media (max-width:700px) {
    .shawoo-gallery-grid {
        grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    }
    .shawoo-gallery-grid a:not(.video-thumb),
    .shawoo-gallery-grid img {
        width: 120px !important;
        height: 120px !important;
    }
    .shawoo-gallery-grid a.video-thumb,
    .shawoo-gallery-grid a.video-thumb video {
        width: 120px !important;
        height: 67px !important;
    }
}
