.living-gallery{margin:20px -3vw 48px;overflow:hidden;border-radius:20px;background:#1b1026;box-shadow:0 20px 55px #0a021b40}
.living-stage{position:relative;height:clamp(320px,48vw,600px);overflow:hidden;isolation:isolate;--center-width:50%}
.living-stage button{position:absolute;top:0;height:100%;padding:0;border:0;background:#251733;cursor:pointer;transition:width .65s ease,left .65s ease,filter .65s ease;overflow:hidden}
.living-stage img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0;max-height:none}
.living-stage .wall-center{left:calc((100% - var(--center-width))/2);width:var(--center-width);z-index:3;cursor:zoom-in;box-shadow:0 0 35px #0008}
.living-stage .wall-center img{object-fit:contain;animation:wallReveal .65s ease both}
.living-stage .wall-left,.living-stage .wall-right{width:calc((100% - var(--center-width))/2 + 20px);filter:brightness(.72);z-index:1}
.living-stage .wall-left{left:0}.living-stage .wall-right{left:calc((100% + var(--center-width))/2 - 20px)}
.living-stage button:hover{filter:brightness(1)}
.living-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px;background:#251731}
.living-controls button{border:1px solid #b89bd0;border-radius:24px;background:#443052;color:#fff;font:600 16px Manrope,Arial,sans-serif;min-width:44px;min-height:44px;padding:8px 18px;cursor:pointer}
.living-counter{font-size:14px;min-width:60px;text-align:center}
.living-ribbon{overflow:hidden;padding:8px 0;background:#1b1026}
.living-track{display:flex;gap:8px;width:max-content;animation:wallDrift var(--ribbon-duration,55s) linear infinite}
.living-track button{display:block;flex:none;width:150px;height:120px;border:2px solid transparent;padding:0;background:#302039;border-radius:8px;overflow:hidden;cursor:pointer}
.living-track img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
.living-track button[aria-current=true]{border-color:#e6c4ff}
.living-gallery.is-paused .living-track,.living-gallery:hover .living-track,.living-gallery:focus-within .living-track{animation-play-state:paused}
.living-gallery button:focus-visible{outline:3px solid #fff;outline-offset:-4px}
@keyframes wallDrift{to{transform:translateX(-50%)}}
@keyframes wallReveal{from{opacity:.5;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
.photo-lightbox{background:#100b17f5;border:1px solid #a785bb;border-radius:16px;padding:50px 12px 12px;max-width:96vw;max-height:96dvh;color:white}
.photo-lightbox::backdrop{background:#07040dd9}.photo-lightbox img{display:block;max-width:90vw;max-height:80dvh;object-fit:contain}.photo-lightbox button{position:absolute;right:12px;top:8px;min-height:36px;padding:6px 18px;background:#443052;color:white;border:1px solid #c5a1e0;border-radius:20px;font:inherit;cursor:pointer}
@media(max-width:600px){.living-gallery{margin-left:-5vw;margin-right:-5vw;border-radius:10px}.living-stage{height:410px}.living-track button{width:115px;height:95px}.living-controls{gap:8px}.living-controls button{padding:8px 14px}}
@media(prefers-reduced-motion:reduce){.living-track{animation:none}.living-stage button{transition:none}.living-stage .wall-center img{animation:none}}
