/* Selected visits become a dedicated, photo-first screen. */
body.v156-selected{background:var(--paper);padding-bottom:0!important}body.v156-selected>.topbar,body.v156-selected>.subbar,body.v156-selected>footer,body.v156-selected>.mobile-dock{display:none!important}.v156-selected #main{padding:0!important;max-width:none!important;margin:0!important}.v156-selected #main>.page{max-width:none;padding:0!important;margin:0!important}.v156-selected .social125{padding:0!important;max-width:none}.v156-view{max-width:680px;margin:0 auto;background:var(--s-paper);min-height:100dvh}.v156-top{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:80px 1fr 80px;align-items:center;text-align:center;padding:8px 14px;padding-top:max(8px,env(safe-area-inset-top));background:var(--s-paper);border-bottom:1px solid var(--s-line);min-height:64px}.v156-top>a:first-child{font-size:42px;line-height:1;justify-self:start;width:44px;min-height:44px;display:grid;place-items:center}.v156-top strong,.v156-top small{display:block}.v156-top strong{font-size:18px}.v156-top small{color:var(--s-muted);font-size:12px}.v156-top .v156-message{font-size:13px;justify-self:end;font-weight:700}.v156-view #n155-status{margin:0;padding:0 14px;font-size:13px}.v156-view #n155-status:not(:empty){padding:12px 14px}.v156-view #n155-feed{max-width:none;margin:0}.v156-view .s125-post{position:relative;border:0;border-bottom:1px solid var(--s-line);border-radius:0;box-shadow:none;margin:0 0 12px;background:var(--s-paper);overflow:visible}.v156-view .s125-post>header{position:absolute;inset:0 0 auto;z-index:3;padding:12px 16px;color:#fff;background:linear-gradient(#0009,transparent);border:0;min-height:68px}.v156-view .s125-person small{color:#fffd}.v156-view .s125-post>header button{background:transparent;color:white;border:0;padding:6px;font-size:20px}.v156-view .s125-avatar{width:36px;height:36px}.v156-media{position:relative;background:#0c1719}.v156-view .s125-carousel{display:flex;gap:0;width:100%;aspect-ratio:4/5;max-height:calc(100svh - 140px);min-height:260px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.v156-view .s125-carousel::-webkit-scrollbar{display:none}.v156-view .s125-carousel figure{margin:0;flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;display:flex;align-items:center;justify-content:center}.v156-view .s125-carousel img{width:100%;height:100%;max-height:none;object-fit:contain;display:block;user-select:none}.v156-view .s125-carousel figcaption{display:none}.v156-view .s125-no-photo{min-height:100%;width:100%;color:white;display:flex;flex-direction:column;justify-content:center;align-items:center}.v156-counter{position:absolute;right:14px;bottom:14px;pointer-events:none;color:#fff;background:#102328b3;border-radius:20px;padding:4px 9px;font-size:12px;font-variant-numeric:tabular-nums}.v156-photo-controls{display:flex;align-items:center;justify-content:center;gap:8px;min-height:32px;padding:2px 12px;background:var(--s-paper)}.v156-dots{display:flex;max-width:70%;overflow:auto;scrollbar-width:none;align-items:center;gap:0}.v156-view .v156-photo-controls button{border:0;background:transparent;padding:4px;min-width:24px;min-height:28px;border-radius:50%;display:grid;place-items:center}.v156-dots span{height:6px;width:6px;border-radius:50%;background:var(--s-muted);opacity:.4}.v156-dots [aria-pressed=true] span{background:#1597bd;opacity:1;transform:scale(1.25)}.v156-view .v156-photo-controls>.v156-prev,.v156-view .v156-photo-controls>.v156-next{font-size:24px;padding:0 7px;line-height:1}.v156-view .s125-post-body{padding:4px 16px 18px}.v156-view .s125-actions{gap:19px;margin:4px 0 10px;align-items:center}.v156-view .s125-actions button{padding:2px;background:transparent;border:0;min-width:30px;min-height:36px;line-height:1}.v156-view .s125-actions button:last-child{margin-left:auto}.v156-view .s125-actions button svg{display:block}.v156-view .s125-post-body>strong{display:block;margin-bottom:6px;font-size:14px}.v156-view .s125-post-body>p{margin:0 0 6px;font-size:14px;line-height:1.5}.v156-caption-owner{font-weight:700}.v156-date{display:block;color:var(--s-muted);font-size:11px;margin:9px 0}.v156-view .s125-comment-link{padding:3px 0;background:transparent;border:0;font-size:13px;color:var(--s-muted)}.v156-details{font-size:13px;margin:12px 0 0}.v156-details summary{cursor:pointer;color:var(--s-muted)}.v156-details .s125-post-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.v156-details .s125-post-meta time{display:none}.v156-originals{display:flex;flex-wrap:wrap;gap:12px}.v156-view #n155-more{display:block;margin:20px auto 40px}.v156-view [hidden]{display:none!important}.v156-view [data-photo-retry155]{position:absolute;inset:auto 10px 20px;background:#132e35!important;color:white!important;white-space:normal;font-size:12px}.v156-selected #toast{z-index:100}@media(max-width:700px){.v156-view{width:100%;max-width:none}.v156-view .s125-post{margin-bottom:12px}.v156-view .s125-carousel{aspect-ratio:4/5;max-height:calc(100svh - 155px)}.v156-view .s125-post-body{padding-left:14px;padding-right:14px}}@media(prefers-reduced-motion:reduce){.v156-view *{scroll-behavior:auto!important}}

/* AI157: keep horizontal slides measurable on Safari and after returning to a post. */
.v156-view{width:100%;min-width:0}.v156-view .s125-post{content-visibility:visible;contain:none;contain-intrinsic-size:none;min-width:0}.v156-view .s125-carousel{box-sizing:border-box;min-width:0;direction:ltr;overflow-anchor:none}.v156-view .s125-carousel figure{box-sizing:border-box;flex:0 0 100%;min-width:100%;max-width:100%;aspect-ratio:auto;scroll-snap-align:start}.v156-view .s125-carousel img{flex:none;min-width:0;max-width:100%}.v156-view .s125-person{min-width:0;flex:1}.v156-view .s125-person>span{min-width:0}.v156-view .s125-person strong,.v156-view .s125-person small{overflow-wrap:anywhere}.v156-view .s125-post-body{min-width:0;overflow-wrap:anywhere}.v156-view .s125-post-body>p{white-space:normal}.v156-view .s125-actions{display:flex;flex-wrap:nowrap}.v156-view .s125-actions button{flex:0 0 34px;display:grid;place-items:center}.v156-top{box-sizing:border-box;width:100%;grid-template-columns:60px minmax(0,1fr) 60px}.v156-top>div{min-width:0}.v156-top small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
