/* ===============================
   BASE CARD
================================ */
.post-card{ display:block; }
.panel{ border-radius:16px; overflow:hidden; }

/* ===============================
   MEDIA BOXES
================================ */
.post-card__clip-box,
.post-card__video-box,
.post-card__image-box,
.post-card__text-box{
  position:relative;
  width:100%;
  height:min(400px,70vh);
  max-height:400px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#000;
}

.post-card__clip-el,
.post-card__video-el,
.post-card__image-el{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:transparent;
}

.post-card__open-btn{
  position:absolute;
  right:10px;
  top:10px;
  z-index:3;
  height:30px;
  padding:0 12px;
  border-radius:999px;
  font-size:12px;
  color:#fff;
  text-decoration:none;
  background:rgba(171,0,255,.22);
  border:1px solid rgba(171,0,255,.35);
  display:inline-flex;
  align-items:center;
}

/* ===============================
   BOTTOM AREA
================================ */
.post-card__bottom{
  padding:10px 12px 14px;
}

.post-card__title{
  margin:0 0 10px;
  font-size:14px;
  line-height:1.25;
  color:rgba(255,255,255,.92);
}
.post-card__title a{
  color:inherit;
  text-decoration:none;
}
.post-card__title a:hover{
  text-decoration:underline;
}

/* ===============================
   UNIFIED META ROW (🔥 CORE)
================================ */
.post-card__meta-row{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.post-card__meta-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:auto 1 auto;
  text-decoration:none;
  color:inherit;
}

.post-card__avatar{
  width:34px;
  height:34px;
  border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.14);
  flex:0 0 auto;
}

.post-card__channel-meta{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.post-card__channel-name{
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,.92);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:220px;
}

.post-card__channel-sub{
  font-size:12px;
  color:rgba(255,255,255,.62);
  white-space:nowrap;
}

.post-card__meta-stats{
  font-size:12px;
  color:rgba(255,255,255,.62);
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}

.post-card__dot{ opacity:.7; }

.post-card__meta-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

/* ===============================
   FOLLOW BUTTON
================================ */
.post-card__follow-btn{
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  font-weight:800;
  cursor:pointer;
  transition:.15s;
}
.post-card__follow-btn:hover{
  background:rgba(255,255,255,.1);
}
.post-card__follow-btn.is-following{
  background:rgba(16,185,129,.14);
  border-color:rgba(16,185,129,.3);
}

/* ===============================
   BADGES / PLACEHOLDERS
================================ */
.post-card__badge{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:3;
  padding:6px 10px;
  font-size:12px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}
.post-card__placeholder{
  font-size:22px;
  color:rgba(255,255,255,.7);
}
