/* Developer archive: profile hero additions on top of .rh-taxhero (redesign.css). Loaded only on game-developer archives. */
.rh-dev__id {
  display: flex;
  align-items: center;
  gap: 18px;
}

.rh-dev__mono {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: var(--rh-radius-lg, calc(16px*var(--rh-rs)));
  background: var(--rh-accent-strong);
  color: #fff;
  font-family: var(--rh-font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

.rh-dev__title { margin-bottom: 8px; }
.rh-dev__fans { color: var(--rh-text); font-weight: 600; }

.rh-dev__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 20px;
}

.rh-dev__follow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--rh-radius, calc(10px*var(--rh-rs)));
  background: var(--rh-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.rh-dev__follow svg { width: 17px; height: 17px; fill: currentColor; }
.rh-dev__follow:hover { background: var(--rh-accent-hover, var(--rh-accent)); }
.rh-dev__follow:active { transform: translateY(1px) scale(.98); }
.rh-dev__follow:focus-visible { outline: 2px solid var(--rh-accent-ring, var(--rh-accent)); outline-offset: 2px; }
.rh-dev__follow:disabled { opacity: .6; cursor: progress; }
.rh-dev__follow.is-on {
  background: var(--rh-accent-soft);
  border-color: var(--rh-line-strong, rgba(255, 255, 255, .14));
  color: var(--rh-accent);
}

.rh-dev__latest {
  color: var(--rh-text-2);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--rh-line, rgba(255, 255, 255, .12));
  max-width: 34ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rh-dev__latest:hover { color: var(--rh-text); border-color: var(--rh-accent); }

.rh-dev__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.rh-dev__chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--rh-line, rgba(255, 255, 255, .1));
  border-radius: var(--rh-radius-sm, calc(8px*var(--rh-rs)));
  background: var(--rh-surface, rgba(255, 255, 255, .03));
  color: var(--rh-text-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.rh-dev__chips a:hover { color: var(--rh-text); border-color: var(--rh-accent); }
.rh-dev__chips svg { width: 12px; height: 12px; fill: currentColor; opacity: .7; }

/* Mobile: one centered profile column; covers become the backdrop only, chips wrap centered. */
@media (max-width: 767px) {
  .rh-dev .rh-taxhero__inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .rh-dev .rh-taxhero__covers { display: none; }
  .rh-dev .rh-taxhero__crumbs ol { justify-content: center; }
  .rh-dev__id { flex-direction: column; gap: 14px; }
  .rh-dev__mono { width: 68px; height: 68px; font-size: 24px; }
  .rh-dev__title { margin-bottom: 6px; }
  .rh-dev .rh-taxhero__meta { justify-content: center; }
  .rh-dev .rh-taxhero__desc { margin: 14px auto 0; }
  .rh-dev__actions { flex-direction: column; gap: 12px; margin-top: 18px; }
  .rh-dev__follow { justify-content: center; width: 100%; max-width: 340px; height: 46px; }
  .rh-dev__latest { max-width: 100%; }
  .rh-dev__chips { justify-content: center; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-dev__follow, .rh-dev__chips a { transition: none; }
}
