/* =========================================================================
 * Kamera-Galerie (index.php) – nutzt dieselben Design-Tokens/Kacheln wie
 * die Sidebar in stream.php (.camera-item/.camera-panel/.videopreview aus
 * desktop.css), nur in einem responsiven Grid statt einer Spalte.
 * ========================================================================= */

body.gallery-body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
}

#galleryPage {
    margin-top: 48px;
    width: 100%;
    padding: 28px 32px 60px;
    box-sizing: border-box;
}

#gallerySearchBar {
    margin-bottom: 26px;
}

#gallerySearch {
    width: 100%;
    max-width: 420px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    box-sizing: border-box;
}

.gallery-group {
    margin-bottom: 34px;
}

.gallery-group-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 14px;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-card {
    margin-bottom: 0;
    text-decoration: none;
}

.gallery-empty {
    color: var(--text-muted);
    padding: 60px 0;
    text-align: center;
    font-size: 14px;
}

.gallery-group.gallery-hidden,
.gallery-card.gallery-hidden {
    display: none !important;
}
