/* GTA VIKI: exact compact Community Feed layout on profiles and single posts.
   Body class is set only for /posts/...; profile wrapper is explicitly marked. */
.gv-unified-feed .post {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  box-shadow: none;
}
/* Compact author row: avatar, author/action/category and time. */
.gv-unified-feed .post > .post-body > .post-header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 11px 12px 4px !important;
  line-height: 1.25;
}
.gv-unified-feed .post > .post-body > .post-header .post-avatar {
  position: relative;
  float: none !important;
  flex: 0 0 36px;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  margin: 0 !important;
  padding: 0 !important;
}
.gv-unified-feed .post > .post-body > .post-header .post-avatar-picture,
.gv-unified-feed .post > .post-body > .post-header .post-avatar-anonymous {
  display: block;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}
.gv-unified-feed .post > .post-body > .post-header .post-avatar-anonymous svg {
  width: 23px;
  height: 23px;
}
.gv-unified-feed .post > .post-body > .post-header .online-dot {
  position: absolute;
  right: -2px;
  bottom: -2px;
  left: auto;
  margin: 0;
  font-size: 10px;
  line-height: 1;
}
.gv-unified-feed .post > .post-body > .post-header .post-meta {
  float: none !important;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}
.gv-unified-feed .post > .post-body > .post-header .post-author {
  font-size: 12.5px !important;
  font-weight: 800;
  line-height: 18px;
}
.gv-unified-feed .post > .post-body > .post-header .verified-badge svg,
.gv-unified-feed .post > .post-body > .post-header .pro-badge svg {
  width: 15px !important;
  height: 15px !important;
  vertical-align: -2px;
}
.gv-unified-feed .post > .post-body > .post-header .post-title {
  display: inline !important;
  margin: 0 0 0 2px !important;
  font-size: 11.5px;
  line-height: 18px;
  font-weight: 500;
}
.gv-unified-feed .post > .post-body > .post-header .post-title .blog-category {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 19px;
  margin: 0 0 0 5px !important;
  padding: 3px 7px !important;
  border-radius: 7px !important;
  font-size: 9.5px !important;
  font-weight: 750;
  line-height: 1.15 !important;
  vertical-align: middle;
  white-space: nowrap;
}
.gv-unified-feed .post > .post-body > .post-header .post-time {
  display: block !important;
  clear: none;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 14px !important;
  opacity: .7;
}
.gv-unified-feed .post > .post-body > .post-header .post-meta > .dropdown {
  margin-left: 7px;
}
/* Remove the tall gap between the author row and the article preview. */
.gv-unified-feed .post > .post-body > .post-header ~ .mt10.plr15 {
  margin-top: 4px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
.gv-unified-feed .post .post-media {
  overflow: hidden;
  border-radius: 10px;
}
.gv-unified-feed .post .post-media .post-media-image > div[style*="padding-top"] {
  padding-top: 35% !important;
}
.gv-unified-feed .post .post-media-meta {
  padding: 8px 10px 9px !important;
}
.gv-unified-feed .post .post-media-meta .title {
  font-size: 13px;
  line-height: 1.35;
}
.gv-unified-feed .post .post-media-meta .text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 11px;
  line-height: 1.45;
}
.gv-unified-feed .post .post-text:not(.post-colored-text-wrapper .post-text) {
  line-height: 1.55;
}
/* Sngine's original buttons/stats remain intact but hidden ONLY here. */
.gv-unified-feed .post .post-stats,
.gv-unified-feed .post .post-actions {
  display: none !important;
}
.gv-unified-feed .post .gv-feed-toolbar {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 8px 12px 10px;
}
.gv-unified-feed .post .gv-vote-control,
.gv-unified-feed .post .gv-feed-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 33px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.78);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
}
.gv-unified-feed .post .gv-vote-control {
  /* Same overall height as the other compact pills */
  display: inline-grid !important;
  grid-template-columns: 24px 24px 24px;
  align-items: center;
  justify-items: center;
  gap: 0;
  height: 33px;
  min-height: 33px;
  padding: 0 6px;
  line-height: 1;
  box-sizing: border-box;
  vertical-align: middle;
}
.gv-unified-feed .post .gv-vote-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.77);
  line-height: 0 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  vertical-align: middle;
  transition: color .15s ease, background .15s ease;
}
.gv-unified-feed .post .gv-vote-btn .gv-vote-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin: 0;
  padding: 0;
}
.gv-unified-feed .post .gv-vote-btn:hover:not(:disabled) {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.gv-unified-feed .post .gv-vote-btn.gv-selected[data-direction="up"] {
  color: #ff69ba;
  background: rgba(255,105,186,.10);
}
.gv-unified-feed .post .gv-vote-btn.gv-selected[data-direction="down"] {
  color: #f2c94c;
  background: rgba(242,201,76,.10);
}
.gv-unified-feed .post .gv-vote-btn:disabled {
  opacity: .52;
  cursor: not-allowed;
}
.gv-unified-feed .post .gv-vote-score {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 22px;
  margin: 0;
  padding: 0;
  color: #f8f8fa;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gv-unified-feed .post .gv-feed-pill {
  padding: 0 13px;
  cursor: pointer;
}
.gv-unified-feed .post .gv-feed-pill:hover {
  background: rgba(255,255,255,.085);
  color: #fff;
}
.gv-unified-feed .post .gv-feed-views {
  margin-left: auto;
  color: rgba(255,255,255,.43);
  font-size: 10px;
  white-space: nowrap;
}
.gv-unified-feed .post .gv-feed-views i { margin-right: 4px; }
.gv-unified-feed .post .gv-feed-toolbar.gv-busy .gv-vote-btn { opacity: .45; }
@media (max-width: 575.98px) {
  .gv-unified-feed .post > .post-body > .post-header {
    gap: 8px;
    padding: 9px 10px 3px !important;
  }
  .gv-unified-feed .post > .post-body > .post-header .post-avatar {
    flex-basis: 33px;
    width: 33px !important;
    min-width: 33px;
    height: 33px !important;
  }
  .gv-unified-feed .post > .post-body > .post-header .post-avatar-picture,
  .gv-unified-feed .post > .post-body > .post-header .post-avatar-anonymous {
    width: 33px !important;
    height: 33px !important;
    min-width: 33px;
    min-height: 33px;
    border-radius: 9px;
  }
  .gv-unified-feed .post > .post-body > .post-header .post-author {
    font-size: 12px !important;
  }
  .gv-unified-feed .post > .post-body > .post-header .post-title {
    font-size: 11px !important;
  }
  .gv-unified-feed .post > .post-body > .post-header .post-title .blog-category {
    margin-left: 4px !important;
    font-size: 9px !important;
    padding: 2px 6px !important;
    min-height: 18px;
  }
  .gv-unified-feed .post > .post-body > .post-header ~ .mt10.plr15 {
    margin-top: 2px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .gv-unified-feed .post .post-media .post-media-image > div[style*="padding-top"] {
    padding-top: 33% !important;
  }
  .gv-unified-feed .post .post-media-meta .title { font-size: 12.5px; }
  .gv-unified-feed .post .gv-feed-toolbar { padding: 7px 10px 9px; gap: 6px; }
  .gv-unified-feed .post .gv-feed-pill { padding: 0 11px; }
  .gv-unified-feed .post .gv-feed-views { margin-left: 3px; }
  .gv-unified-feed .post .post-media-meta .text { -webkit-line-clamp: 2; }
}

/* Keep post author/action row visually joined after the LVL label. */
.gv-unified-feed .post-header .post-title { margin-left: 2px !important; }
