/* Profile and counters follow Kirameku's ProfileCard component. */
.profile-card {
  font-family: ui-sans-serif, system-ui, sans-serif;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 24px;
  background: rgba(255, 255, 255, .4);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.profile-card .profile-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 32px;
}
.profile-card .profile-main {
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile-card .avatar {
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(to top right, #00bcfe, #7d87ff, #c07eff);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}
.profile-card .avatar img,
.profile-card .avatar > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.profile-card .profile-name-group { min-width: 0; }
.profile-card .profile-name-group h2 {
  margin: 0 0 8px;
  color: #0f172b;
  font-family: inherit;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .05em;
  overflow-wrap: anywhere;
}
.profile-card .profile-name-group p {
  max-width: 448px;
  margin: 0;
  color: #314158;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.625;
  overflow-wrap: anywhere;
}
.profile-card .tag-list { margin-top: 12px; }
.profile-card .profile-stats {
  display: flex;
  align-items: center;
  gap: 49px;
  width: max-content;
  max-width: 100%;
  margin-top: 32px;
  padding-top: 0;
  border-top: 0;
}
.profile-card .profile-stats > div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 24px;
  text-align: center;
}
.profile-card .profile-stats > div + div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -25px;
  width: 1px;
  height: 40px;
  transform: translateY(-50%);
  background: rgba(202, 213, 226, .5);
}
.profile-card .profile-stats strong {
  font-family: inherit;
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
  font-variant-numeric: tabular-nums;
}
.profile-card .profile-stats > div:nth-child(1) strong { color: #4f39f6; }
.profile-card .profile-stats > div:nth-child(2) strong { color: #9810fa; }
.profile-card .profile-stats > div:nth-child(3) strong { color: #e30076; }
.profile-card .profile-stats span {
  color: #62748e;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
html[data-theme="dark"] .profile-card {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(30, 41, 59, .5);
}
html[data-theme="dark"] .profile-card .avatar > span { background: #1e293b; color: #e2e8f0; }
html[data-theme="dark"] .profile-card .profile-name-group h2 { color: #fff; }
html[data-theme="dark"] .profile-card .profile-name-group p { color: #cad5e2; }
html[data-theme="dark"] .profile-card .profile-stats > div + div::before { background: #314158; }
html[data-theme="dark"] .profile-card .profile-stats > div:nth-child(1) strong { color: #7d87ff; }
html[data-theme="dark"] .profile-card .profile-stats > div:nth-child(2) strong { color: #c07eff; }
html[data-theme="dark"] .profile-card .profile-stats > div:nth-child(3) strong { color: #fb64b6; }
html[data-theme="dark"] .profile-card .profile-stats span { color: #90a1b9; }
@media (max-width: 767px) {
  .profile-card { min-height: 200px; }
  .profile-card .profile-body { padding: 20px; }
  .profile-card .profile-main { gap: 16px; }
  .profile-card .avatar { width: 64px; height: 64px; flex-basis: 64px; }
  .profile-card .profile-name-group h2 { margin-bottom: 4px; font-size: 20px; line-height: 28px; }
  .profile-card .profile-name-group p { font-size: 14px; line-height: 1.625; }
  .profile-card .profile-stats { width: 100%; justify-content: space-around; gap: 16px; margin-top: 16px; }
  .profile-card .profile-stats > div + div::before { display: none; }
  .profile-card .profile-stats strong { font-size: 20px; line-height: 28px; }
}
