.latest-films { min-width:0; }
.latest-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; margin-bottom:14px; }
.latest-heading h3 { font:650 clamp(1.05rem,2vw,1.4rem)/1.5 var(--serif); letter-spacing:.05em; color:#f6e6c6; }
.latest-rail {
  position:relative; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr);
  gap:clamp(16px,2.8vw,36px); margin:0; padding:5px; margin-inline:-5px; list-style:none;
}
.latest-rail li { min-width:0; }
.latest-poster { display:block; color:#ffefd5; border-radius:6px; }
.latest-frame {
  position:relative; display:block; aspect-ratio:4/5; overflow:hidden; isolation:isolate;
  background:#34483a; border-radius:5px; box-shadow:0 8px 20px #111b162e;
}
.latest-frame img {
  width:100%; height:100%; object-fit:cover; object-position:50% 38%;
  transform:scale(var(--poster-scale,1)); transform-origin:50% 43%; transition:transform .3s ease-out;
}
.latest-frame:has(.is-wide) { --poster-scale:1.24; }
.latest-play {
  position:absolute; inset:auto 12px 12px auto; width:38px; height:38px; display:grid; place-items:center;
  border:1px solid #ffedcda6; border-radius:50%; background:#27392fdb; color:#fff2d4;
}
.latest-play::after { content:""; height:12px; width:10px; margin-left:2px; background:currentColor; clip-path:polygon(0 0,100% 50%,0 100%); }
.latest-frame.missing-photo { background:radial-gradient(ellipse at 44% 32%,#71805e,#3f5342 58%,#23372d); }
.latest-frame.missing-photo .latest-play { inset:50% auto auto 50%; transform:translate(-50%,-50%); }
.latest-poster time { display:block; margin-top:14px; color:#e0bf91; font:550 .78rem/1.5 var(--sans); letter-spacing:.075em; font-variant-numeric:tabular-nums; }
.latest-poster h4 {
  margin:5px 0 0; font:650 clamp(1.06rem,2vw,1.43rem)/1.55 var(--serif); letter-spacing:.025em;
  overflow-wrap:anywhere; text-wrap:pretty;
}
.latest-channel { display:inline-flex; align-items:center; min-height:44px; color:#efcf98; margin-top:14px; font:650 .9rem/1.5 var(--sans); text-decoration:underline; text-underline-offset:.35em; }
.latest-state { color:#e2d4bd; font-size:.92rem; }
.latest-controls { display:flex; gap:6px; align-items:center; }
.latest-controls button {
  display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #bca37a94;
  border-radius:50%; background:transparent; color:#fbe8c4;
}
.latest-controls button::before {
  content:""; width:8px; height:8px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor;
  transform:translateX(-2px) rotate(45deg);
}
.latest-controls [data-dir="-1"]::before { transform:translateX(2px) rotate(-135deg); }
.latest-controls [aria-disabled="true"] { opacity:.43; cursor:default; }
.latest-count { min-width:2.25rem; color:#e6d5b8; text-align:center; font:550 .82rem/1 var(--sans); font-variant-numeric:tabular-nums; }
.cinema-archive { margin-top:22px; border-block:1px solid #ab95734f; }
.cinema-archive summary {
  min-height:52px; padding:8px 0; list-style:none; display:flex; gap:12px; align-items:center; justify-content:space-between;
  color:#f3e2c4; font:650 1.05rem/1.45 var(--serif);
}
.cinema-archive summary::-webkit-details-marker { display:none; }
.cinema-archive summary::after {
  content:""; width:9px; height:9px; margin-right:6px; border:solid #daba89; border-width:0 1.5px 1.5px 0;
  transform:translateY(-2px) rotate(45deg);
}
.cinema-archive[open] summary::after { transform:translateY(2px) rotate(225deg); }
.cinema-archive .film-filters { margin:4px 0 15px; }
.cinema-archive .cinema-tail { border:0; margin-top:4px; padding-bottom:12px; }
@media (hover:hover) {
  .latest-poster:hover .latest-frame img { transform:scale(calc(var(--poster-scale,1) + .035)); }
  .latest-poster:hover h4,.latest-channel:hover { color:#ffdaa0; }
}
@media (max-width:760px) {
  .latest-rail {
    grid-auto-columns:min(82%,max(56%,340px)); gap:13px; overflow-x:auto; overflow-y:hidden;
    overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:5px; scrollbar-width:none;
  }
  .latest-rail::-webkit-scrollbar { display:none; }
  .latest-rail li { scroll-snap-align:start; }
  .latest-rail li:last-child { scroll-snap-align:end; }
  .latest-poster time { margin-top:10px; }
  .latest-heading { gap:8px; margin-bottom:8px; }
}
@media (prefers-reduced-motion:reduce) {
  .latest-frame img { transition:none; }
}
