/* Header alignment: give the brand lockup breathing room at large and small widths. */
[data-testid="appbar"] [data-testid="linkLogo"] {
  margin-left: clamp(12px, 1.6vw, 28px) !important;
}

[data-testid="appbar"] [data-testid="linkLogo"]::after {
  letter-spacing: .30em;
}

/* Keep the profile hero and cover inside the viewport if a child is oversized. */
body:has([data-testid="itemViewItemUser"]) [data-testid="container.main"] {
  overflow-x: clip !important;
}

@media (max-width: 719px) {
  [data-testid="appbar"] [data-testid="linkLogo"] {
    margin-left: 10px !important;
  }
}
