.rules-scroll {
  max-height: 24rem;
  overflow-y: auto;
}

.site-header-bar {
  gap: 0.75rem;
}

.site-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.75rem;
  margin-right: 1rem;
  min-width: 0;
  white-space: normal;
}

.site-brand-logo {
  display: block;
  flex: 0 0 auto;
  height: auto;
  max-height: 3.25rem;
  max-width: 8.5rem;
}

.site-brand-text {
  line-height: 1.1;
}

.site-header-links {
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.content-narrow {
  max-width: 42rem;
}

.rules-text {
  font-family: inherit;
  font-size: 1rem;
  white-space: pre-wrap;
}

:focus-visible {
  outline: 0.2rem solid #0d6efd;
  outline-offset: 0.15rem;
}

@media (max-width: 575.98px) {
  .site-header-bar {
    align-items: flex-start;
  }

  .site-brand {
    gap: 0.5rem;
    margin-right: 0;
  }

  .site-brand-logo {
    max-height: 2.5rem;
    max-width: 6.5rem;
  }

  .site-brand-text {
    font-size: 1rem;
  }

  .site-header-links {
    justify-content: flex-end;
    width: 100%;
  }
}
