/*
 * Общая нижняя панель ALTERE:GO: МИР / ФИГУРЫ / БИТВЫ / БИРЖА / ПРОФИЛЬ.
 * Один вид на бирже (exchange.html) и в профиле Фигуры (home.html).
 * Здесь только внешний вид; позиционирование (fixed / sticky) задаёт страница.
 */

.ag-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 10, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.ag-tabbar > a,
.ag-tabbar > button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 60px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.74);
  background: none;
  font: inherit;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.ag-tabbar > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
}

.ag-tabbar svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ag-tabbar > [aria-current="page"] {
  border: 1px solid rgba(125, 255, 58, 0.35);
  border-top: 2px solid #7dff3a;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(125, 255, 58, 0.2), rgba(125, 255, 58, 0.02));
  box-shadow: 0 -6px 20px rgba(125, 255, 58, 0.25);
}

.ag-tabbar > [aria-current="page"] svg {
  color: #7dff3a;
  filter: drop-shadow(0 0 6px rgba(125, 255, 58, 0.8));
  stroke-width: 2.6;
}
