baron-public-header {
  display: block;
  min-height: 56px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.bb-public-header {
  height: 56px;
  background: rgba(14, 18, 40, 0.7);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bb-public-header__content {
  width: 100%;
  max-width: 72rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bb-public-header a {
  text-decoration: none;
}

.bb-public-header__brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.bb-public-header__brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(155, 48, 255, 0.3);
  transition: box-shadow 0.3s;
}

.bb-public-header__brand:hover img {
  box-shadow: 0 0 20px rgba(155, 48, 255, 0.5);
}

.bb-public-header__brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.bb-public-header__wordmark {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, #b05cff, #d4a843);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.bb-public-header__tagline {
  margin-top: 4px;
  color: #9ca3af;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.bb-public-header__breadcrumbs {
  min-width: 0;
  padding: 0 1rem;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1rem;
}

.bb-public-header__breadcrumbs a {
  color: #9ca3af;
  transition: color 0.2s;
}

.bb-public-header__breadcrumbs a:hover {
  color: #d1d5db;
}

.bb-public-header__breadcrumbs span:last-child {
  overflow: hidden;
  color: #d1d5db;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bb-public-header__chevron {
  color: #6b7280;
  font-size: 0.9rem;
}

.bb-public-header__cta {
  flex: 0 0 auto;
  padding: 0.375rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  background: rgba(107, 33, 168, 0.9);
  box-shadow: 0 0 12px rgba(155, 48, 255, 0.2);
  color: #fff !important;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.bb-public-header__cta:hover {
  background: #6b21a8;
  box-shadow: 0 0 20px rgba(155, 48, 255, 0.4);
}

.bb-public-header__mobile {
  display: none;
  position: relative;
}

.bb-public-header__mobile summary {
  width: 36px;
  height: 36px;
  margin-right: -0.5rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #9ca3af;
  cursor: pointer;
  list-style: none;
}

.bb-public-header__mobile summary::-webkit-details-marker {
  display: none;
}

.bb-public-header__mobile summary:hover,
.bb-public-header__mobile summary:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
}

.bb-public-header__menu-icon,
.bb-public-header__menu-icon::before,
.bb-public-header__menu-icon::after {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
}

.bb-public-header__menu-icon {
  position: relative;
}

.bb-public-header__menu-icon::before,
.bb-public-header__menu-icon::after {
  position: absolute;
  left: 0;
  content: '';
}

.bb-public-header__menu-icon::before {
  top: -6px;
}

.bb-public-header__menu-icon::after {
  top: 6px;
}

.bb-public-header__mobile-nav {
  width: min(18rem, calc(100vw - 2rem));
  position: absolute;
  top: calc(100% + 0.625rem);
  right: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(10, 20, 40, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(51, 46, 66, 0.8);
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.bb-public-header__mobile-nav a {
  padding: 0.875rem 1rem;
  display: flex;
  justify-content: space-between;
  color: #e5e7eb;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(51, 46, 66, 0.55);
}

.bb-public-header__mobile-nav a:last-child {
  border-bottom: 0;
}

.bb-public-header__mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

@media (min-width: 640px) {
  .bb-public-header__content {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .bb-public-header__content {
    padding-inline: 2rem;
  }
}

@media (max-width: 639px) {
  .bb-public-header__breadcrumbs,
  .bb-public-header__cta {
    display: none;
  }

  .bb-public-header__mobile {
    display: block;
  }
}
