html {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.gjbn {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 99999;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.28s ease;
  will-change: transform;
}

.gjbn.is-hidden {
  transform: translateY(calc(120% + 14px));
  pointer-events: none;
}

.gjbn__list {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin: 0;
  padding: 8px 10px;
  list-style: none;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.28);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}

.gjbn__item { flex: 1 1 0; min-width: 0; }

.gjbn__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 4px 2px;
  text-decoration: none !important;
  color: #000;
  background: transparent;
  border-radius: 20px;
}

.gjbn__icon, .gjbn__icon svg { width: 24px; height: 24px; display: flex; }
.gjbn__icon svg { fill: none; stroke: currentColor; }
.gjbn__label {
  font-size: 10px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.gjbn__item.is-current .gjbn__link,
.gjbn__item.is-center .gjbn__link {
  color: #000;
  background: transparent;
}
.gjbn__label { color: #000; }

@media (prefers-color-scheme: dark) {
  .gjbn__list {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.55);
  }
  .gjbn__link, .gjbn__label,
  .gjbn__item.is-current .gjbn__link,
  .gjbn__item.is-center .gjbn__link { color: #000; }
}

@media (min-width: 768px) {
  html { padding-bottom: 0; }
  .gjbn { display: none !important; }
}
