sby-navbar-bottom,
sby-navbar-bottom *,
sby-navbar-bottom *::before,
sby-navbar-bottom *::after {
  box-sizing: border-box;
}

sby-navbar-bottom {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  width: 90vw;
  display: block;
  transform: translateX(-50%);
  z-index: 1000;
  font-family: var(--font-family-primary, "Kanit", Arial, sans-serif);
}

.sby-navbar-bottom__nav {
  width: 100%;
  height: 50px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 15px;
  background-color: var(--color-charcoal, #263330);
}

.sby-navbar-bottom__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--color-fog, #f5f8f7);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.sby-navbar-bottom__item--ticket {
  color: var(--color-bright-orange, #f15a24);
}

.sby-navbar-bottom__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: currentColor;
  font-size: 24px;
}

.sby-navbar-bottom__label {
  color: currentColor;
  white-space: nowrap;
}

.sby-navbar-bottom__item:focus-visible {
  border-radius: 10px;
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

.sby-navbar-bottom__item:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .sby-navbar-bottom__item:hover {
    opacity: 0.8;
  }
}

@media (max-width: 339px) {
  .sby-navbar-bottom__item {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sby-navbar-bottom__item {
    transition: none;
  }
}
