/* profile.css
 * - Profile layout polish (cards, stream hero, galleries, recordings)
 * - Designed to match your ServerCams-like aesthetic
 */

.vcProfileGrid {
  display: grid;
  gap: 14px;
}

/* Top summary card */
.vcProfileTop {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
  align-items: start;
}
@media (max-width: 900px) {
  .vcProfileTop {
    grid-template-columns: 1fr;
  }
}

.vcAvatar {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

/* Stream hero card */
.vcStreamCard {
  padding: 14px;
}
.vcStreamWrap {
  margin-top: 10px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.vcStreamWrap .video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  background: #000;
}

/* Media rows */
.vcMediaRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) {
  .vcMediaRow { grid-template-columns: 1fr; }
}

.vcSectionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Gallery grid */
.vcGrid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 1200px) { .vcGrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .vcGrid { grid-template-columns: repeat(2, 1fr); } }

.vcTile {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}
.vcTile img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.vcTileMeta {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Recordings cards */
.vcRecGrid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .vcRecGrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .vcRecGrid { grid-template-columns: 1fr; } }

.vcRecCard {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.vcRecThumb,
.vcRecThumb--empty {
  width: 140px;
  height: 82px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  object-fit: cover;
}
.vcRecThumb--empty { display: block; }

.vcRecMeta { flex: 1; min-width: 170px; }
.vcRecTitle { font-weight: 700; font-size: 14px; }
.vcRecSub { margin-top: 6px; font-size: 12px; color: var(--muted); }
.vcRecActions { margin-top: 10px; display:flex; gap:8px; flex-wrap:wrap; }

/* Modal media */
.vcModalImg {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: block;
}
.vcModalActions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Similar models grid */
.vcSimilarGrid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 1200px) { .vcSimilarGrid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .vcSimilarGrid { grid-template-columns: repeat(2, 1fr); } }

.vcModelCard {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  overflow: hidden;
}
.vcModelCard img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.vcModelCardBody { padding: 10px; }
.vcModelCardName { font-weight: 700; font-size: 13px; line-height: 1.1; }
.vcModelCardMeta { margin-top: 6px; font-size: 12px; color: var(--muted); display:flex; gap:8px; flex-wrap:wrap; }
