.listing-hero-lighting {
    isolation: isolate;
    background-color: #263d46;
}

.hero-lighting-images,
.hero-lighting-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-lighting-images {
    z-index: -1;
    pointer-events: none;
}

.hero-lighting-images img {
    object-fit: cover;
    object-position: center;
}

.hero-lighting-tools {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 12px;
}

.hero-lighting-controls {
    display: flex;
    gap: 3px;
    padding: 4px;
    border-radius: 12px;
    background: rgb(0 0 0 / 65%);
    box-shadow: 0 2px 12px #0003;
}

.hero-lighting-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.hero-lighting-controls img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.hero-lighting-controls button[data-view="night"] img {
    width: 25px;
    height: 25px;
}

@media (hover: hover) {
    .hero-lighting-controls button:hover { background: rgb(255 255 255 / 12%); }
}

.hero-lighting-controls button[aria-pressed="true"] {
    border-color: #fff;
    background: rgb(255 255 255 / 20%);
}

.hero-lighting-controls button:active { transform: scale(.96); }
.hero-lighting-controls button:focus-visible { outline: 2px dashed #fff; outline-offset: -5px; }

@media (max-width: 600px) {
    .hero-lighting-tools { top: 8px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-lighting-controls button { transition: none; }
    .hero-lighting-controls button:active { transform: none; }
}
