/* Extracted from gallery.html — keep in sync if structure changes. */
        /* Gallery Cards */
        .gallery-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
        .gallery-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: var(--transition); cursor: pointer; text-decoration: none; display: block; }
        .gallery-card:hover { border-color: var(--primary-color); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15); }
        .gallery-card-cover { width: 100%; height: 200px; object-fit: cover; display: block; }
        .gallery-card-cover-placeholder { width: 100%; height: 200px; display: flex; align-items: center; justify-content: center; background: rgba(0,212,255,0.05); color: var(--muted-text); font-size: 3rem; }
        .gallery-card-body { padding: 1.25rem; }
        .gallery-card-body h3 { color: var(--light-text); font-size: 1.15rem; margin-bottom: 0.4rem; }
        .gallery-card-body p { color: var(--muted-text); font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.75rem; }
        .gallery-card-meta { display: flex; gap: 0.75rem; align-items: center; }
        .gallery-card-meta .badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 12px; font-size: 0.7rem; font-weight: 600; }
        .badge-studio { background: rgba(0, 212, 255, 0.15); color: #4dd2ff; }
        .badge-events { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
        .badge-behind-the-scenes { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
        .badge-live { background: rgba(255, 200, 87, 0.15); color: #ffc857; }
        .badge-other { background: rgba(120, 120, 120, 0.15); color: #999; }
        .photo-count-badge { color: var(--muted-text); font-size: 0.8rem; }
        .gallery-loading { text-align: center; padding: 3rem; color: var(--muted-text); font-size: 1rem; }
        .gallery-empty { text-align: center; padding: 3rem; color: var(--muted-text); }

        /* Back to galleries link */
        .back-galleries { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem; color: var(--primary-color); text-decoration: none; font-size: 0.9rem; cursor: pointer; }
        .back-galleries:hover { text-decoration: underline; }

        /* Photo view header */
        .photo-view-header { margin-bottom: 1.5rem; }
        .photo-view-header h2 { color: var(--light-text); margin-bottom: 0.5rem; }
        .photo-view-header p { color: var(--muted-text); font-size: 0.9rem; }

        @media (max-width: 640px) { .gallery-cards { grid-template-columns: 1fr; } }