/* Compact account silhouette for the persistent 1v14 header. */
.account-compact {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 20, 31, 0.92);
  color: var(--text);
  place-items: center;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease), transform 0.16s var(--ease);
}

.account-compact:hover {
  border-color: var(--text-dim);
  background: var(--slate);
}

.account-compact:active { transform: scale(0.97); }
.account-compact svg { width: 22px; height: 22px; }

/* Full text actions at the top; compact dashboard silhouette after scrolling. */
.site-header.is-condensed .header-cta { display: none; }
.site-header.is-condensed .account-compact { display: grid; }

/* On smaller screens use the compact control at all scroll positions. */
@media (max-width: 900px) {
  .header-cta { display: none; }
  .account-compact { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .account-compact { transition: none; }
}
