.profile-activity-card-v2 {
  overflow: hidden;
}

.profile-activity-v2-head {
  align-items: center;
}

.profile-activity-v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-activity-v2-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.profile-activity-v2-item:hover {
  transform: translateY(-1px);
  border-color: rgba(106, 82, 255, 0.34);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.profile-activity-v2-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0f2fe, #eef2ff);
}

.profile-activity-v2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-activity-v2-mark {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #6a52ff;
  box-shadow: 12px 10px 0 rgba(60, 224, 178, 0.55), -10px 8px 0 rgba(99, 102, 241, 0.22);
}

.profile-activity-v2-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.profile-activity-v2-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-activity-v2-label {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 72px;
  height: 20px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(106, 82, 255, 0.09);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-activity-v2-meta time {
  min-width: 0;
  color: #94a3b8;
  font-size: 11px;
  white-space: nowrap;
}

.profile-activity-v2-body strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-activity-v2-stats {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-activity-v2-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 132px;
  padding: 18px 12px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  border-radius: 8px;
  background: #f8fafc;
  text-align: center;
}

.profile-activity-v2-empty span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(106, 82, 255, 0.16), rgba(60, 224, 178, 0.22));
}

.profile-activity-v2-empty p {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.profile-activity-v2-empty small {
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.5;
}

.profile-activity-v2-item.is-love .profile-activity-v2-label,
.profile-activity-v2-item.is-followed .profile-activity-v2-label {
  background: rgba(244, 63, 94, 0.09);
  color: #e11d48;
}

.profile-activity-v2-item.is-follow .profile-activity-v2-label {
  background: rgba(20, 184, 166, 0.1);
  color: #0f766e;
}

.dark .profile-activity-v2-item {
  border-color: rgba(51, 65, 85, 0.9);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.82));
}

.dark .profile-activity-v2-body strong,
.dark .profile-activity-v2-empty p {
  color: #f8fafc;
}

.dark .profile-activity-v2-stats,
.dark .profile-activity-v2-meta time,
.dark .profile-activity-v2-empty small {
  color: #94a3b8;
}

.dark .profile-activity-v2-empty {
  border-color: rgba(71, 85, 105, 0.7);
  background: rgba(15, 23, 42, 0.72);
}

@media (max-width: 1024px) {
  .profile-activity-v2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .profile-activity-v2 {
    grid-template-columns: 1fr;
  }
}
