/* Brand catalogue: plain names, three-line metadata, and unobstructed media. */
.work-index #work-index-items { display: block; }
.work-index .index-entry {
  display: block; width: 100%; min-height: 24px; margin: 0; padding: 2px 0;
  border: 0; background: transparent; text-align: left; text-transform: none;
  font-size: 13px; line-height: 1.45; font-weight: 400; color: #111;
}
.work-index .index-entry:hover, .work-index .index-entry[aria-pressed=true] {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.video-card { background: transparent; }
/* No letterboxing: posters and videos fill precisely the same viewport.
   The catalogue keeps the source ratio; the Studio preserves its gesture layout. */
#video-cards .card-media, #related-cards .card-media { padding: 0; }
#video-cards .ugc-video, #related-cards .ugc-video,
#video-cards .card-poster, #related-cards .card-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  max-height: none; margin: 0; object-fit: cover; object-position: center;
}
.gallery[data-view=index] #video-cards .card-media,
#related-cards .card-media { aspect-ratio: 9 / 16; }
#video-cards .card-caption, #related-cards .card-caption {
  display: block; padding: 11px 10px 14px; min-height: 0; background: transparent;
}
.gallery[data-view=index] #video-cards .card-caption,
#related-cards .card-caption { padding: 12px 0 20px; }
#video-cards .card-title, #related-cards .card-title,
#video-cards .card-category, #related-cards .card-category,
#video-cards .card-duration, #related-cards .card-duration {
  margin: 0; font-size: 13px; line-height: 1.45; letter-spacing: 0;
  font-weight: 400; text-transform: none; white-space: normal; overflow-wrap: anywhere;
}
#video-cards .card-category, #related-cards .card-category { color: #707070; }
#video-cards .card-duration, #related-cards .card-duration { color: #111; font-variant-numeric: tabular-nums; }
.gallery[data-view=studio] #video-cards .card-title,
.gallery[data-view=studio] #video-cards .card-category,
.gallery[data-view=studio] #video-cards .card-duration { font-size: 11px; }
/* The bar is only an overlay; it allocates no layout height and has no white panel. */
#video-cards .player-controls, #related-cards .player-controls {
  position: absolute; inset: auto 0 0; height: 34px; min-height: 0;
  grid-template-columns: 26px auto minmax(12px,1fr) 26px;
  padding: 2px 5px; column-gap: 4px; color: #fff;
  background: linear-gradient(0deg,rgba(0,0,0,.64),rgba(0,0,0,.22) 72%,transparent);
  border: 0; box-shadow: none; transition: opacity .15s;
}
#video-cards .player-control, #related-cards .player-control {
  width: 26px; min-width: 0; height: 30px; min-height: 0; padding: 0; color: #fff;
}
#video-cards .stop-control, #related-cards .stop-control { display: none; }
#video-cards .player-time, #related-cards .player-time { font-size: 9px; text-shadow: 0 1px 2px #000; }
#video-cards .seek-slider, #related-cards .seek-slider {
  height: 30px; min-height: 0;
  background: linear-gradient(to right,#fff var(--progress),#ffffff66 var(--progress)) center/100% 1px no-repeat;
}
.video-card .seek-slider::-webkit-slider-thumb { background: #fff; }
.video-card .seek-slider::-moz-range-thumb { background: #fff; }
.video-card .player-control:focus-visible, .video-card .seek-slider:focus-visible { outline-color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .video-card.is-playing .player-controls { opacity: 0; pointer-events: none; }
  .video-card.is-playing:hover .player-controls,
  .video-card.is-playing:has(:focus-visible) .player-controls,
  .video-card.is-playing .player-controls:focus-within { opacity: 1; pointer-events: auto; }
}
@media (max-width: 530px) {
  .work-index .index-entry { min-height: 32px; padding: 6px 0; }
  #video-cards .player-controls, #related-cards .player-controls { height: 36px; }
  #video-cards .player-control, #related-cards .player-control,
  #video-cards .seek-slider, #related-cards .seek-slider { height: 32px; }
}
@container (max-width: 160px) {
  #video-cards .player-controls, #related-cards .player-controls { column-gap: 2px; padding-inline: 3px; }
  #video-cards .player-time, #related-cards .player-time { font-size: 8px; }
}
