.slideshow {
  margin-block: 16px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  & .stage {
    grid-area: 1 / 1 / 2 / -1;
    & figure[hidden] { display: none; }
    @media (prefers-reduced-motion: no-preference) {
      & figure:not([hidden]) { animation: scene_appear .32s ease-out; }
    }
    & img {
      width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: center 47%;
      border-radius: 8px; background: var(--wash);
      @media (min-width: 897px) and (max-height: 820px) { max-height: 53svh; }
    }
    & figure:last-child img { object-fit: contain; background: #f6f3e9; }
    & figcaption {
      margin: 0; padding: 8px 200px 8px 0; min-height: 56px; display: flex; align-items: center;
      @media (max-width: 600px) { padding: 8px 0; min-height: 40px; }
    }
  }
  & .controls:not([hidden]) {
    grid-area: 1 / 2; align-self: end; min-height: 56px;
    display: flex; align-items: center; gap: 16px;
    @media (max-width: 600px) {
      grid-area: 2 / 1 / 3 / -1; min-height: 48px;
      justify-content: space-between; border-top: 1px solid var(--rule);
    }
  }
  & .count { color: var(--muted); font: 600 14px/1.5em Arial, var(--sans); font-variant-numeric: tabular-nums; }
  & .buttons {
    display: flex; align-items: center; gap: 4px;
    & button {
      width: 40px; height: 40px; display: grid; place-items: center;
      border: 1px solid var(--rule); border-radius: 50%; background: var(--paper); color: var(--deep); cursor: pointer;
      @media (hover: hover) { &:hover { background: var(--wash); border-color: var(--teal); } }
    }
    & .previous::before, & .next_slide::before {
      content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0;
    }
    & .previous::before { transform: translateX(2px) rotate(135deg); }
    & .next_slide::before { transform: translateX(-2px) rotate(-45deg); }
    & .playback::before { content: ""; width: 8px; height: 12px; border-inline: 3px solid currentColor; }
    & .playback[data-state="paused"]::before {
      width: 0; height: 0; border: solid transparent; border-width: 6px 0 6px 9px; border-left-color: currentColor;
    }
  }
  & .announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@keyframes scene_appear { from { opacity: .6; } to { opacity: 1; } }
/* 最終更新: 2026-11-30 18:22 */
