/* Ride Videos – page-specific styles (inherits tokens from site.css) */

.ridevideos { padding-top: 16px; }

/* Player (normal flow; not sticky) */
.player-wrap {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #000;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  /* no sticky/position constraints here */
}
.player-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

/* Scrollable playlist (JS caps to 4 visible items) */
.playlist {
  display: grid;
  gap: 12px;
  overflow: auto;        /* JS sets max-height so only 4 show */
  padding-bottom: 12px;
}

.play-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  transition: border-color .15s ease, transform .06s ease;
}
.play-item:hover { border-color: var(--accent); }
.play-item:active { transform: scale(0.998); }
.play-item.active { outline: 2px solid var(--accent); outline-offset: 0; }

.play-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: #0f1520;
}

.play-meta { display: grid; gap: 4px; }
.play-name { font-family: 'Baloo 2', system-ui, sans-serif; font-size: 18px; line-height: 1.2; }
.play-sub  { color: var(--muted); font-size: 13px; }

/* Small screens */
@media (max-width: 640px) {
  .play-item { grid-template-columns: 120px 1fr; }
}

/* Overlay positioning (match index structure) */
.player-wrap .video-media { position: relative; }

/* Mix Tape thumbnails under the playlist */
.mix-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  --mini-w: 152px; /* same visual width as before; tweak if needed */
}

/* Shared tile frame */
.mix-img-link,
.mix-img-placeholder {
  display: inline-flex;
  width: var(--mini-w);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  transition: border-color .15s ease, transform .06s ease, filter .15s ease;
}

.mix-img-link:hover { border-color: var(--accent); filter: brightness(1.08); }
.mix-img-link:active { transform: translateY(1px); }
.mix-img-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Placeholder style: faded, not interactive */
.mix-img-placeholder {
  opacity: 0.55;
  filter: grayscale(100%);
  pointer-events: none;  /* not clickable */
  cursor: default;
}

.mix-img-link img,
.mix-img-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;   /* remove if your PNGs aren't 16:9 */
  object-fit: cover;
}

/* Small screens: let them flex to fit */
@media (max-width: 420px) {
  .mix-links { gap: 8px; }
  .mix-img-link,
  .mix-img-placeholder { flex: 1 1 auto; width: auto; }
}

