
.zzz-cinema-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.zzz-cinema-gallery__faction {
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    border: 1px solid var(--faction-color, #666);
}

.zzz-cinema-gallery__summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: var(--faction-color, #666);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    list-style: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.zzz-cinema-gallery__summary::-webkit-details-marker {
    display: none;
}

.zzz-cinema-gallery__summary::after {
    content: "\25B6";
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.2s;
}

.zzz-cinema-gallery__faction[open] > .zzz-cinema-gallery__summary::after {
    transform: rotate(90deg);
}

.zzz-cinema-gallery__faction-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.zzz-cinema-gallery__agents {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.zzz-cinema-gallery__agent {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.zzz-cinema-gallery__agent-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--faction-color, #ccc);
}

.zzz-cinema-gallery__agent-name a {
    color: var(--preset-color-link, inherit);
    text-decoration: none;
}

.zzz-cinema-gallery__agent-name a:hover {
    text-decoration:none;
}

.zzz-cinema-splide .splide__pagination {
    bottom: -1.5rem;
}

.zzz-cinema-splide .splide__pagination__page {
    background: var(--color-border, #e5e7eb);
}

.zzz-cinema-splide .splide__pagination__page.is-active {
    background: var(--preset-color-accent, #FFC731);
}

.zzz-cinema-splide .splide__arrow {
    background: rgba(0, 0, 0, 0.35);
}

.zzz-cinema-splide .splide__arrow svg {
    fill: #fff;
}

.zzz-cinema-splide .splide__arrow:hover {
    background: rgba(0, 0, 0, 0.55);
}

.zzz-cinema-splide {
    margin-bottom: 1.5rem;
}

.zzz-cinema-gallery__fig {
    margin: 0;
    position: relative;
}

.zzz-cinema-gallery__fig img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md, 8px);
}

.zzz-cinema-gallery__fig a {
    display: block;
}

.zzz-cinema-gallery__label {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15em 0.5em;
    border-radius: 4px;
    pointer-events: none;
}

.zzz-cinema-gallery__fig--raw {
    background: var(--preset-color-dark, #2e2e33);
}
.zzz-cinema-gallery__fig--raw img {
    mix-blend-mode: normal;
}
.zzz-cinema-gallery__slide--raw .zzz-cinema-gallery__label {
    background: var(--preset-color-accent, #f58828);
    color: #fff;
}
