.bar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: calc(100% - 16px);
  max-width: 496px;
  margin: auto;
  border-radius: 99px;
  border: 1px solid rgb(255 255 255 / 80%);
  background: rgb(255 255 255 / 93%);
  box-shadow:
    0 8px 28px rgb(15 15 15 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 75%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  height: 70px;
  padding: 0 4px;
  margin: 0;
  list-style: none;
}
.slot,
.side,
.ai {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bar .side {
  flex-direction: column;
  gap: 3px;
  width: 100%;
  height: 62px;
  min-width: 44px;
  color: #737373;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 550;
}
.bar .side[aria-current="page"] {
  background: #0a0a0a;
  color: white;
}
.ai {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #b6e08a;
  box-shadow: 0 3px 10px rgb(0 0 0 / 22%);
}
.ai .maumi {
  width: 36px;
  height: 32px;
}
.ai[aria-current="page"] {
  outline: 2px solid #0a0a0a;
}
.bar[data-compact] {
  width: calc(100% - 56px);
  max-width: 440px;
}
.bar[data-compact] .tabs {
  height: 54px;
}
.bar[data-compact] :is(.side, .ai) {
  height: 44px;
}
.bar[data-compact] .ai {
  width: 44px;
}
.bar[data-compact] .side > span:last-child {
  display: none;
}
