:root {
  --vib-phone-width: 390px;
  --vib-phone-height: 844px;
  --vib-tabbar-height: 78px;
}

.pc-wrap .phone {
  width: var(--vib-phone-width) !important;
  max-width: calc(100vw - 24px) !important;
  height: min(92vh, var(--vib-phone-height)) !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

.phone.vib-has-shared-tabbar {
  padding-bottom: var(--vib-tabbar-height);
}

.phone.vib-has-shared-tabbar > .scroll,
.phone.vib-has-shared-tabbar > .screen,
.phone.vib-has-shared-tabbar > .agent-screen {
  bottom: var(--vib-tabbar-height) !important;
}

.phone.vib-has-shared-tabbar .inner-scroll {
  padding-bottom: 20px !important;
}

.vib-tabbar {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--vib-tabbar-height);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  padding: 7px 5px 19px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 8, 9, .98);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .18);
}

.vib-tabbar__item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #656568;
  font: 500 10px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.vib-tabbar__item:active { opacity: .74; }

.vib-tabbar__item[aria-current="page"] {
  color: #fff;
}

.vib-tabbar__icon {
  width: 28px;
  height: 28px;
  object-fit: cover;
  display: block;
  opacity: .45;
  filter: grayscale(1);
}

.vib-tabbar__item[aria-current="page"] .vib-tabbar__icon {
  opacity: 1;
  filter: grayscale(1) brightness(2.45);
}

.vib-tabbar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 126px;
  height: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .86);
}

@media (max-width: 430px) {
  .pc-wrap { padding: 0 !important; }
  .pc-wrap .phone {
    width: 100vw !important;
    max-width: none !important;
    height: 100dvh !important;
  }
}
