button.card {
  border: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  width: 100%;
}
.card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.card:focus-visible .card-hover-title {
  opacity: 1;
  transform: none;
}
.gallery-message {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  color: #aaa;
  font-size: 16px;
}
.inline-youtube,
.detail-poster {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}
#detailVideoWrap {
  position: relative;
  aspect-ratio: 16/9;
  height: auto !important;
  min-height: 0;
  background: #000;
}
#detailVideoWrap .play-btn {
  border: 1px solid #666;
  color: white;
  cursor: pointer;
  font-size: 24px;
}
.back-to-gallery {
  display: block;
  margin: 22px 0;
  background: none;
  border: 0;
  color: #bbb;
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
#detailVideoWrap.collection-player {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  aspect-ratio: auto;
  background: transparent;
}
.short-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 180px;
  color: #eee;
  text-decoration: none;
  font-size: 14px;
}
.short-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 6px;
}
#mainNav {
  gap: 20px;
  height: auto;
  min-height: 56px;
}
.nav-filters {
  overflow-x: auto;
  flex: 1;
  padding: 8px 0;
}
.nav-filter {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 40px;
}
.nav-links {
  flex-shrink: 0;
}
@media (max-width: 768px) {
  #mainNav {
    padding: 8px 16px;
    gap: 4px;
    overflow: visible;
  }
  .nav-links {
    position: static;
    transform: none;
    width: 100%;
    justify-content: flex-end;
    padding: 8px 0;
  }
  .nav-filters {
    width: 100%;
    padding: 0;
  }
  .nav-filter {
    font-size: 14px;
  }
  .back-to-gallery {
    margin: 16px;
  }
  .card-hover-title {
    font-size: 14px;
  }
  #detailVideoWrap {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
