.root {
  padding: 0 24px;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
  will-change: transform;

  [data-theme="dark"] & {
    background-color: rgba(5, 5, 5, 0.65);
  }
}

.screenPath {
  display: flex;
  gap: 8px;
  align-items: center;
}

.brandTitle {
  @include typography.font-body-16(700);
  letter-spacing: -0.02em;
  color: variables.$text-primary;
  cursor: pointer;
  transition: color variables.$duration-normal variables.$ease-out,
    opacity variables.$duration-normal variables.$ease-out;

  &:hover {
    color: variables.$color-secondary;
    opacity: 0.9;
  }
}

.separator {
  @include typography.font-body-14(400);
  color: variables.$text-tertiary;
}

.screenName {
  @include typography.font-body-14(500);
  color: variables.$text-secondary;
}

.breadcrumbSegment {
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumbLink {
  @include typography.font-body-14(500);
  color: variables.$text-secondary;
  text-decoration: none;

  &:hover {
    color: variables.$text-primary;
  }
}

.start {
  display: flex;
  gap: 12px;
  align-items: center;
}

.end {
  display: flex;
  gap: 16px;
  align-items: center;
}
