/* RedFeed — card do perfil ao passar o mouse (Feed, PC). Visual proprio: vidro escuro + borda em gradiente RedFeed. */
.rf-hovercard {
  --rf-hc-accent: #ff174d;
  position: fixed;
  z-index: 2147482000;
  width: 330px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(140deg, var(--rf-hc-accent), #ff2ea6 45%, #ffb347);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.rf-hovercard.is-above { transform: translateY(-6px) scale(0.98); }
.rf-hovercard.on { opacity: 1; transform: none; pointer-events: auto; }
.rf-hovercard > * { position: relative; }
.rf-hc-cover {
  height: 78px;
  border-radius: 19px 19px 0 0;
  background: #1a1018 center / cover no-repeat;
}
.rf-hc-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(10, 10, 16, 0) 30%, rgba(10, 10, 16, 0.92));
}
.rf-hc-cover-empty {
  background: radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--rf-hc-accent) 55%, transparent), transparent 55%),
    linear-gradient(135deg, #2b1120, #10111d);
}
.rf-hc-body {
  background: #0d0d14;
  border-radius: 0 0 19px 19px;
  padding: 0 16px 16px;
  color: #f2f2f7;
}
.rf-hc-avatar {
  display: block;
  width: 64px;
  height: 64px;
  margin-top: -34px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rf-hc-accent), #ff2ea6, #ffb347);
}
.rf-hc-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0d0d14;
  background: #1a1018;
  display: block;
}
.rf-hc-id { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; min-width: 0; }
.rf-hc-name {
  color: #fff;
  font-weight: 900;
  font-size: 1.02rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rf-hc-name:hover { text-decoration: underline; }
.rf-hc-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  border-radius: 68% 32% 62% 38% / 42% 58% 42% 58%;
  font-size: 0.55em;
  color: #fff;
  background: linear-gradient(145deg, #ff174d 0%, #ff2ea6 55%, #e11d48 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 2px 8px rgba(255, 23, 77, 0.4), 0 0 12px rgba(255, 46, 166, 0.28);
  vertical-align: middle;
  transform: rotate(-8deg);
}
.rf-hc-handle { color: #a9a9bd; font-size: 0.84rem; font-weight: 700; }
.rf-hc-city { color: #8f8fa6; font-size: 0.78rem; }
.rf-hc-city i { color: var(--rf-hc-accent); }
.rf-hc-bio {
  margin: 10px 0 0;
  color: #d6d6e2;
  font-size: 0.86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rf-hc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.rf-hc-stats > div {
  text-align: center;
  padding: 8px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.rf-hc-stats strong { display: block; color: #fff; font-size: 0.98rem; font-weight: 900; }
.rf-hc-stats span { color: #9a9ab0; font-size: 0.72rem; font-weight: 700; }
.rf-hc-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; }
.rf-hc-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #17171f;
  display: block;
}
.rf-hc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.rf-hc-thumb:hover img { transform: scale(1.05); }
.rf-hc-thumb.is-locked img { filter: blur(10px) brightness(0.55); transform: scale(1.1); }
.rf-hc-thumb-ico {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.7rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.rf-hc-thumb.is-locked .rf-hc-thumb-ico { top: 50%; right: 50%; transform: translate(50%, -50%); font-size: 0.95rem; }
.rf-hc-actions { display: flex; gap: 8px; margin-top: 14px; }
.rf-hc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: 12px;
  border: 0;
  font-weight: 900;
  font-size: 0.86rem;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--rf-hc-accent), #ff2ea6);
  transition: filter 0.15s, transform 0.15s;
}
.rf-hc-btn:hover { filter: brightness(1.08); }
.rf-hc-btn:active { transform: scale(0.98); }
.rf-hc-btn:disabled { opacity: 0.6; cursor: wait; }
.rf-hc-follow.is-following,
.rf-hc-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
html[data-rf-theme="light"] .rf-hc-body { background: #fff; color: #17171f; }
html[data-rf-theme="light"] .rf-hc-name,
html[data-rf-theme="light"] .rf-hc-stats strong { color: #17171f; }
html[data-rf-theme="light"] .rf-hc-avatar img { border-color: #fff; }
html[data-rf-theme="light"] .rf-hc-stats > div { background: #f4f4f8; border-color: #e6e6ee; }
html[data-rf-theme="light"] .rf-hc-bio { color: #3a3a48; }
html[data-rf-theme="light"] .rf-hc-follow.is-following,
html[data-rf-theme="light"] .rf-hc-btn-ghost { background: #f1f1f6; border-color: #e1e1ea; color: #17171f; }
