/* Poster wall engine (wall.js). Columns of posters drifting very slowly; transform only. Still under reduced motion. */
.wall { position: absolute; inset: 0; z-index: 0; overflow: hidden; isolation: isolate; contain: layout paint style; background: var(--surface-1); pointer-events: auto; }
.wall.wall-inert { pointer-events: none; }

.wall-scene { position: absolute; inset: 0; opacity: 0; transition: opacity var(--med) var(--ease); }
.wall-scene.wall-in { opacity: 1; }
.wall-scene.wall-out { opacity: 0; pointer-events: none; }
.wall-instant .wall-scene { transition: none; }

.wstage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: var(--wgap, 12px); }
.wcol { position: relative; overflow: visible; min-width: 0; }
.wtrack { display: flex; flex-direction: column; gap: var(--wgap, 12px); animation: wscroll var(--dur, 120s) linear infinite; animation-delay: var(--wdelay, 0s); will-change: transform; }
.wcol.rev .wtrack { animation-direction: reverse; }
.wall:hover .wtrack, .wall:focus-within .wtrack, .wall.is-paused .wtrack { animation-play-state: paused; }
@keyframes wscroll { to { transform: translate3d(0, calc(-50% - var(--wgap, 12px) / 2), 0); } }

.wset { display: flex; flex-direction: column; gap: var(--wgap, 12px); }
.wtile { position: relative; display: block; flex: none; aspect-ratio: 2/3; border-radius: var(--r-poster); overflow: hidden; background: var(--surface-3); outline: none; text-decoration: none; color: var(--media-ink); }
.wtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.wtile.nopic { display: flex; align-items: flex-end; padding: var(--s-2); font: 600 var(--t-sm)/1.2 var(--font-display); }
.wall:not(.wall-interactive) .wtile { cursor: default; }
.wall-interactive .wtile { cursor: pointer; }
.wtile:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.wall-interactive .wtile:hover { outline: 2px solid var(--line-strong); outline-offset: -2px; }

.wall-label { position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 2; pointer-events: none; padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  font: 600 var(--t-xs)/1.4 var(--font-body); color: var(--media-ink); background: var(--media-chip); opacity: 0; transition: opacity var(--med); }
.wall-label.on { opacity: 1; }

.wall.is-static .wtrack { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .wtrack { animation: none !important; }
  .wall-scene, .wall-label { transition: none !important; }
}
