/* Desktop pill — inside .navbar__links */
.aths-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--color-accent, #7c6af7);
  border-radius: 999px;
  background: transparent;
  color: var(--color-accent, #7c6af7);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.aths-btn:hover,
.aths-btn:focus-visible {
  background: var(--color-accent, #7c6af7);
  color: #fff;
  outline: none;
}

/* Mobile icon button — next to hamburger */
.aths-btn-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--color-accent, #7c6af7);
  border-radius: 8px;
  background: transparent;
  color: var(--color-accent, #7c6af7);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.aths-btn-mobile:hover,
.aths-btn-mobile:focus-visible {
  background: var(--color-accent, #7c6af7);
  color: #fff;
  outline: none;
}

/* Tooltip (iOS) */
.aths-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 0.5rem 0.75rem;
  background: var(--color-surface, #1a1d27);
  border: 1px solid var(--color-border, #2a2d3a);
  border-radius: 8px;
  color: var(--color-text, #e0e0e0);
  font-size: 0.8rem;
  font-weight: 400;
  text-align: left;
  white-space: normal;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.aths-tooltip--visible {
  display: block;
}

@media (max-width: 600px) {
  .aths-btn {
    display: none;
  }

  .aths-btn-mobile {
    display: flex;
  }
}
