/* Aurikle chrome — layout only (colors in aurikle-brand.css) */

html {
  scrollbar-gutter: stable;
}

.ak-chrome-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.75rem, env(safe-area-inset-top)) 1.25rem 0.75rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .ak-chrome-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
  }

  .ak-nav-brand {
    grid-column: 1;
    justify-self: start;
  }

  .ak-nav-links {
    grid-column: 2;
    justify-self: center;
  }

  .ak-nav-actions {
    grid-column: 3;
    justify-self: end;
  }
}

.ak-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
}

.ak-nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ak-nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 640px) {
  .ak-nav-links {
    display: flex;
  }
}

.ak-nav-links a {
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
}

.ak-chrome-nav .ak-nav-links a.is-active {
  font-weight: 500;
  border-bottom-color: var(--ak-accent, #9a7348);
}

.ak-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.ak-lang-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--ak-line-strong, rgba(44, 40, 36, 0.18));
  border-radius: 999px;
  overflow: hidden;
  background: var(--ak-paper, #f6f3ec);
}

.ak-lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ak-ink-muted, #8a8378);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.42rem 0.55rem;
  cursor: pointer;
  min-width: 2rem;
}

.ak-lang-btn.is-active {
  background: var(--ak-ink, #2c2824);
  color: var(--ak-paper, #f6f3ec);
}

.ak-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.05rem;
  padding: 0.42rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--ak-radius, 2px);
  box-sizing: border-box;
}

.ak-chrome-account {
  display: inline-flex;
  min-width: 4.75rem;
  justify-content: center;
}

body.ak-has-chrome .page-top {
  display: none !important;
}

.ak-chrome-footer {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.25rem 1.25rem;
}

.ak-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ak-footer-tagline {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
}

.ak-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.ak-footer-links a {
  text-decoration: none;
  font-size: 0.85rem;
}

.ak-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
