/* videoShelf.css — ProfileHome video rows (desktop + mobile/iPad) */
.vs-root { display: flex; flex-direction: column; gap: 16px; margin: 2px 0 20px; }

.vs-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px 2px; }
.vs-heading { margin: 0; font: 600 15px/1.2 system-ui, -apple-system, sans-serif; color: rgba(255,255,255,0.92); letter-spacing: .01em; }
.vs-count { font: 500 12px/1 system-ui; color: rgba(255,255,255,0.45); }

.vs-track-wrap { position: relative; }
.vs-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px;
  padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.vs-track::-webkit-scrollbar { display: none; }

.vs-card {
  flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; text-align: left;
  padding: 0; border: 1px solid rgba(255,255,255,0.09); border-radius: 14px; overflow: hidden;
  background: #17181d; color: inherit; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.vs-card:hover, .vs-card:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--vs-accent) 55%, transparent); box-shadow: 0 10px 28px rgba(0,0,0,.45); outline: none; }

.vs-thumb {
  position: relative; aspect-ratio: 2.35 / 1; background: #0f1015 center top / cover no-repeat;   /* short, wide banner like the reference */
}
.vs-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45)); }
.vs-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; transform: translate(-50%,-50%); box-shadow: 0 6px 18px rgba(0,0,0,.5);
  transition: transform .18s ease;
}
.vs-card:hover .vs-play { transform: translate(-50%,-50%) scale(1.08); }
.vs-min { position: absolute; right: 8px; bottom: 8px; z-index: 1; padding: 2px 7px; border-radius: 6px; background: rgba(0,0,0,.65); color: #fff; font: 600 11px/1.4 system-ui; }

.vs-meta { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 11px; }
.vs-title { font: 600 14px/1.25 system-ui; color: #fff; }
.vs-summary { font: 400 12px/1.35 system-ui; color: rgba(255,255,255,0.55); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.vs-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }

/* arrows — light grey disc, arrow in the user's access colour */
.vs-arrow {
  width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.16); color: var(--vs-accent); cursor: pointer;
  display: grid; place-items: center; transition: background .15s ease, transform .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.vs-arrow:hover { background: rgba(255,255,255,0.26); transform: scale(1.05); }
.vs-arrow:active { transform: scale(0.96); }
.vs-arrow:disabled { opacity: 0.3; cursor: default; transform: none; }
/* touch devices swipe the shelf, so the arrows are dead weight — the dots still page it */
@media (hover: none) {
  .vs-arrow { display: none; }
}

/* pagination dots — one per card, the snapped card is lit; tap a dot to jump */
.vs-dots { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 60px; }
.vs-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: width .18s ease, background .18s ease; }
.vs-dot.on { width: 20px; border-radius: 4px; background: var(--vs-accent); }
.vs-dot:hover { background: rgba(255,255,255,0.5); }
.vs-dot.on:hover { background: var(--vs-accent); }

/* modal player — same feel as the login-screen video */
/* top: the phone layout (InnerTabsm) publishes --fr-modal-top so the player sits UNDER the
   TabBar, inner tabs and info bar, like every .ca-overlay; unset elsewhere → full screen. */
.vs-overlay { position: fixed; inset: 0; top: var(--fr-modal-top, 0px); z-index: 10060; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.vs-modal { width: 100%; max-width: 1100px; border: 1px solid; border-radius: 16px; overflow: hidden; background: #111318; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.vs-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.vs-modal-title { margin: 0; font: 600 17px/1.2 system-ui; }
.vs-modal-sub { margin: 3px 0 0; font: 400 13px/1.35 system-ui; color: rgba(255,255,255,0.55); }
.vs-close { flex: none; border: 0; background: transparent; color: rgba(255,255,255,0.6); cursor: pointer; padding: 4px; }
.vs-close:hover { color: #fff; }
.vs-frame { width: 100%; aspect-ratio: 16 / 9; max-height: 75vh; background: #000; }

@media (max-width: 1024px) {
  .vs-card { flex-basis: 240px; }
}
@media (max-width: 480px) {
  .vs-root { gap: 18px; }
  .vs-arrow { width: 36px; height: 36px; }
  .vs-card { flex-basis: 72vw; }
  .vs-title { font-size: 13.5px; }
}