/* VictoryLap Hub - Social tab styles. Captions on slides sit on black by
   design (story-viewer look), so they read in both day and night themes. */

.social-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-head h1 {
  margin: 0;
}

.social-avatar-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.social-avatar-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  font-size: 18px;
  font-weight: 800;
}

.social-avatar-large {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  font-size: 26px;
  font-weight: 800;
  flex: 0 0 auto;
}

.social-avatar-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 auto;
}

/* Pacer story circles: swipe sideways inside their own row. */
.social-circles {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}

.social-circles::-webkit-scrollbar {
  display: none;
}

.social-circle {
  flex: 0 0 auto;
  width: 64px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-align: center;
}

.social-circle img,
.social-circle video {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
  display: block;
  margin: 0 auto 4px;
}

.social-circle-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 4px;
}

.social-circle span.muted {
  font-size: 11px;
}

/* Vertical feed: full-screen slides with scroll snapping. */
.social-feed {
  max-height: 72vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-slide {
  position: relative;
  height: 72vh;
  flex: 0 0 auto;
  scroll-snap-align: start;
  overflow: hidden;
  background: #000;
  border-radius: 16px;
}

.social-slide img,
.social-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-slide-blank {
  width: 100%;
  height: 100%;
  background: #111;
}

.social-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
}

.social-slide-cap p {
  margin: 4px 0;
}

.social-slide-author {
  font-weight: 800;
  font-size: 15px;
}

.social-slide-title,
.social-slide-stats {
  font-size: 12px;
  color: #ddd;
}

/* Profile snaps grid. */
.social-snaps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.social-snap {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
}

.social-snap img,
.social-snap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.social-pacer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-pacer-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
