/* GAYZE premium mobile navigation + profile preference affordances */
:root { --g-tabbar-h: 68px; }

@media (max-width: 767px) {
  .g-tabbar {
    height: calc(var(--g-tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background:
      linear-gradient(180deg, rgba(18, 12, 30, 0.78), rgba(8, 7, 14, 0.97)),
      radial-gradient(circle at 50% -40%, rgba(111, 60, 195, 0.52), transparent 64%);
    border-top: 1px solid rgba(173, 126, 255, 0.20);
    box-shadow:
      0 -12px 38px rgba(0, 0, 0, 0.46),
      0 -2px 22px rgba(111, 60, 195, 0.18),
      inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
  }

  .g-tabbar__inner {
    height: var(--g-tabbar-h);
    max-width: 680px;
    padding: 4px 8px 3px;
    gap: 3px;
  }

  .g-tab {
    min-height: 58px;
    border-radius: 17px;
    color: rgba(224, 218, 238, 0.66);
    position: relative;
    transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .g-tab svg { width: 25px !important; height: 25px !important; stroke-width: 1.8; }

  .g-tab[data-active="true"] {
    color: #f4efff;
    background:
      linear-gradient(180deg, rgba(111, 60, 195, 0.30), rgba(111, 60, 195, 0.12));
    box-shadow:
      inset 0 0 0 1px rgba(177, 132, 255, 0.24),
      0 4px 18px rgba(111, 60, 195, 0.20);
  }

  .g-tab[data-active="true"] svg {
    color: #c9a7ff;
    filter: drop-shadow(0 0 7px rgba(141, 92, 246, 0.58));
  }

  .g-tab__ind {
    width: 24px;
    height: 3px;
    top: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, #6f3cc3, #a66cff);
    box-shadow: 0 0 10px rgba(111,60,195,.65);
    opacity: 0;
  }

  .g-tab[data-active="true"] .g-tab__ind { opacity: 1; }
}

/* Make preference chips feel deliberately interactive rather than inert text. */
.g-sheet .g-panel button[aria-pressed="false"]:active,
.g-sheet .g-panel button[aria-pressed="true"]:active,
.g-sheet .g-seg__btn:active {
  transform: scale(.97);
}

.g-sheet .g-panel button[aria-pressed="true"] {
  border-color: rgba(111,60,195,.86);
  box-shadow: 0 0 0 1px rgba(111,60,195,.12), 0 6px 20px rgba(111,60,195,.10);
}
