/* Alan Pusulası ortak gezinme çubuğu — V36.8 */
:root {
  --ap-nav-bg: rgba(7, 29, 61, 0.96);
  --ap-nav-border: rgba(255, 255, 255, 0.16);
  --ap-nav-text: #ffffff;
  --ap-nav-accent: #5eead4;
  --ap-nav-disabled: rgba(255, 255, 255, 0.42);
  --ap-nav-shadow: 0 14px 38px rgba(2, 12, 27, 0.30);
}

.ap-global-nav {
  position: fixed;
  z-index: 2147483000;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, auto));
  align-items: stretch;
  gap: 6px;
  padding: 7px;
  max-width: calc(100vw - 24px);
  border: 1px solid var(--ap-nav-border);
  border-radius: 18px;
  background: var(--ap-nav-bg);
  box-shadow: var(--ap-nav-shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ap-global-nav__item {
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ap-nav-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.ap-global-nav__item:hover,
.ap-global-nav__item:focus-visible {
  border-color: rgba(94, 234, 212, 0.48);
  background: rgba(94, 234, 212, 0.13);
  outline: none;
}

.ap-global-nav__item:active:not(:disabled) {
  transform: translateY(1px);
}

.ap-global-nav__item--home {
  background: var(--ap-nav-accent);
  color: #06233b;
}

.ap-global-nav__item--home:hover,
.ap-global-nav__item--home:focus-visible {
  border-color: #99f6e4;
  background: #99f6e4;
}

.ap-global-nav__item[aria-current="page"] {
  cursor: default;
  opacity: 0.82;
}

.ap-global-nav__item:disabled {
  color: var(--ap-nav-disabled);
  cursor: not-allowed;
  opacity: 0.62;
}

.ap-global-nav__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ap-global-nav-spacer {
  width: 100%;
  height: calc(82px + env(safe-area-inset-bottom));
  pointer-events: none;
}

@media (max-width: 520px) {
  .ap-global-nav {
    width: calc(100vw - 20px);
    grid-template-columns: repeat(3, 1fr);
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 6px;
    border-radius: 16px;
  }

  .ap-global-nav__item {
    min-width: 0;
    min-height: 46px;
    padding: 7px 6px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .ap-global-nav__icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-global-nav__item {
    transition: none;
  }
}

@media print {
  .ap-global-nav,
  .ap-global-nav-spacer {
    display: none !important;
  }
}
