.post-carousel{position:relative;width:100%;min-width:0;background:var(--ls-color-surface, #ffffff);color:var(--ls-color-text, #000000)}.post-carousel__track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.post-carousel__track::-webkit-scrollbar{display:none}.post-carousel__slide{position:relative;flex:0 0 100%;min-width:0;aspect-ratio:4 / 3;scroll-snap-align:center;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center}.post-carousel__slide img,.post-carousel__slide video{display:block;width:100%;height:100%;object-fit:contain}.post-carousel__slide--loading{background:var(--ls-color-background-alt, #f3f3f3);color:var(--ls-color-text-muted, #808080)}.post-carousel__slide--loading img,.post-carousel__slide--loading video{opacity:0}.post-carousel__loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(110deg,transparent 25%,rgba(128,128,128,.1) 45%,transparent 65%);background-size:250% 100%;animation:post-photo-loading 1.6s ease-in-out infinite;font-size:14px}.post-carousel__open{position:absolute;inset:0;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}.post-carousel__open:focus-visible{outline:3px solid #312783;outline-offset:-3px}.post-carousel__controls{display:flex;align-items:center;justify-content:center;gap:16px;padding:4px}.post-carousel__controls button{min-width:44px;min-height:44px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:28px;cursor:pointer}.post-carousel__controls button:disabled{opacity:.35;cursor:default}.post-carousel__controls button:focus-visible{outline:2px solid #312783}.post-carousel--feed,.post-carousel--detail,.post-carousel--viewer{overflow:hidden;background:#151519;color:#fff}.post-carousel--feed .post-carousel__track,.post-carousel--detail .post-carousel__track,.post-carousel--viewer .post-carousel__track{aspect-ratio:1}.post-carousel--feed .post-carousel__slide,.post-carousel--detail .post-carousel__slide,.post-carousel--viewer .post-carousel__slide{aspect-ratio:auto;height:100%}.post-carousel--feed .post-carousel__controls,.post-carousel--detail .post-carousel__controls,.post-carousel--viewer .post-carousel__controls{position:absolute;inset:0;padding:0;pointer-events:none}.post-carousel--feed .post-carousel__controls button,.post-carousel--detail .post-carousel__controls button,.post-carousel--viewer .post-carousel__controls button{position:absolute;top:calc(50% - 22px);width:44px;background:#0009;color:#fff;pointer-events:auto}.post-carousel--feed .post-carousel__controls button:first-child,.post-carousel--detail .post-carousel__controls button:first-child,.post-carousel--viewer .post-carousel__controls button:first-child{left:8px}.post-carousel--feed .post-carousel__controls button:last-child,.post-carousel--detail .post-carousel__controls button:last-child,.post-carousel--viewer .post-carousel__controls button:last-child{right:8px}.post-carousel--feed .post-carousel__controls button:disabled,.post-carousel--detail .post-carousel__controls button:disabled,.post-carousel--viewer .post-carousel__controls button:disabled{visibility:hidden}.post-carousel--feed .post-carousel__controls button:focus-visible,.post-carousel--detail .post-carousel__controls button:focus-visible,.post-carousel--viewer .post-carousel__controls button:focus-visible{outline:2px solid #fff;outline-offset:2px}.post-carousel--feed .post-carousel__controls span,.post-carousel--detail .post-carousel__controls span,.post-carousel--viewer .post-carousel__controls span{position:absolute;bottom:12px;right:12px;border-radius:24px;padding:5px 12px;background:#000000a6;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}.post-carousel--feed .post-carousel__slide img{object-fit:cover}.post-carousel--detail .post-carousel__track{aspect-ratio:var(--post-photo-ratio, 1);max-height:800px}.post-carousel--viewer{height:100%}.post-carousel--viewer .post-carousel__track{aspect-ratio:auto;height:100%}.post-photo-viewer-overlay{--ls-modal-overlay-padding: 0;--ls-modal-backdrop: #151519;--ls-modal-z-index: 2000}.ls-modal.post-photo-viewer{--ls-modal-bg: #151519;--ls-modal-color: #fff;--ls-modal-header-padding: max(8px, env(safe-area-inset-top)) 12px 8px;--ls-modal-close-size: 44px;--ls-modal-body-padding: 0;--ls-modal-radius: 0;height:100dvh;max-height:100dvh;border-radius:0}.ls-modal.post-photo-viewer .ls-modal__header{flex-shrink:0}.ls-modal.post-photo-viewer .ls-modal__content{min-height:0;padding:0 0 env(safe-area-inset-bottom);overflow:hidden}@keyframes post-photo-loading{0%{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.post-carousel__loading{animation:none}}
