.concept-gallery { display: none; }

@media (min-width: 1440px) and (hover: hover) and (pointer: fine) {
  :root { --concept-gallery-width: min(228px, calc(100% - 1260px)); }
  .studio-footer {
    padding-right: max(calc((100% - 1100px) / 2), calc(var(--concept-gallery-width) + 32px));
  }
  .concept-gallery {
    position: fixed;
    inset: 16px 16px 16px auto;
    width: var(--concept-gallery-width);
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-block: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background:
      repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 2px, transparent 2px 5px),
      linear-gradient(165deg, #2b323b, var(--card) 58%, var(--bg2));
    box-shadow: 0 12px 26px rgba(0,0,0,.25);
  }
  .concept-gallery-row {
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .concept-gallery-track {
    display: flex;
    width: max-content;
    height: 100%;
  }
  .concept-gallery-sequence {
    display: flex;
    gap: 8px;
    padding-right: 8px;
  }
  .concept-gallery-poster {
    width: clamp(52px, 5.15vw, 82px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: var(--bg2) var(--poster) center top / cover no-repeat;
  }
}

@media (min-width: 1440px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .concept-gallery-track { animation: concept-gallery-drift 84s linear infinite; }
  .concept-gallery-row:nth-child(2) .concept-gallery-track { animation-delay: -6s; }
  .concept-gallery-row:nth-child(3) .concept-gallery-track { animation-delay: -12s; }
  .concept-gallery-row:nth-child(4) .concept-gallery-track { animation-delay: -18s; }
  .concept-gallery:hover .concept-gallery-track { animation-play-state: paused; }
}

@keyframes concept-gallery-drift {
  to { transform: translateX(-50%); }
}
