.fn-site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 80;
  width: min(1180px, calc(100vw - 24px));
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(247, 239, 226, 0.18);
  border-radius: 8px;
  color: #f7efe2;
  background: rgba(16, 17, 15, 0.76);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.fn-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.fn-brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(215, 170, 72, 0.62);
  border-radius: 50%;
  object-fit: cover;
}

.fn-nav-links {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.fn-nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(247, 239, 226, 0.18);
  border-radius: 999px;
  color: rgba(247, 239, 226, 0.82);
  background: rgba(16, 17, 15, 0.34);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.fn-nav-links a:hover,
.fn-nav-links a:focus-visible {
  color: #f7efe2;
  border-color: rgba(215, 170, 72, 0.55);
  background: rgba(247, 239, 226, 0.08);
}

.fn-nav-links a[aria-current="page"] {
  color: #11120f;
  border-color: rgba(247, 239, 226, 0.9);
  background: #f7efe2;
}

@media (max-width: 720px) {
  .fn-site-header {
    top: 8px;
    width: min(1180px, calc(100vw - 16px));
    min-height: 54px;
    gap: 8px;
    padding: 8px 9px;
  }

  .fn-brand {
    gap: 7px;
  }

  .fn-brand img {
    width: 34px;
    height: 34px;
  }

  .fn-brand span,
  .fn-nav-link-entry {
    display: none;
  }

  .fn-nav-links {
    flex: 1;
    flex-wrap: nowrap;
    gap: 4px;
  }

  .fn-nav-links a {
    min-height: 34px;
    padding: 0 7px;
    font-size: 0.69rem;
  }
}
