:root {
  --mobile-bottom-nav-safe-bottom: max(4px, env(safe-area-inset-bottom));
  --mobile-bottom-nav-height: calc(53px + var(--mobile-bottom-nav-safe-bottom));
}

.mobile-bottom-nav {
  display: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  flex: none;
  min-height: var(--mobile-bottom-nav-height);
  gap: 5px;
  padding: 4px max(8px, env(safe-area-inset-right)) var(--mobile-bottom-nav-safe-bottom) max(8px, env(safe-area-inset-left));
  background: #211a23;
  border-top: 1px solid #453349;
}

.mobile-bottom-nav > :is(button, a) {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  min-height: 48px;
  gap: 3px;
  padding: 4px;
  border-radius: 8px;
  color: #d2c3d2;
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
}

.mobile-bottom-nav > :is(button, a)[aria-current="page"] {
  background: #3b293c;
  color: #ffd5ee;
}

.mobile-bottom-nav > :is(button, a):focus-visible { outline-offset: -2px; }

.mobile-bottom-nav svg[aria-hidden="true"] {
  width: 17px;
  height: 17px;
  stroke-width: 1.65;
}
