/* v0.31 Beta: compact navigation; preserve the existing routes and tap targets. */
.tabs {
  gap: 20px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid #f2edf0;
}
.phone > .tabs { box-shadow: none; }
.tabs button {
  min-height: 44px;
  padding: 10px 2px;
  border-radius: 0;
  color: #8c7d87;
  font-size: .875rem;
  line-height: 1.5;
}
.tabs button.active {
  color: #a94569;
  background: transparent;
  box-shadow: none;
  font-weight: 600;
}
.tabs .active::after {
  display: block;
  left: calc(50% - 7px);
  bottom: 4px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: #ca7896;
}
.tabs.profile-tabs { gap: 10px; }
.nav {
  padding: 5px 10px calc(5px + env(safe-area-inset-bottom));
  background: #fffffffa;
  border-top-color: #f0eaed;
  box-shadow: 0 -3px 12px #692b4703;
}
.nav button {
  min-height: 46px;
  gap: 2px;
  padding: 2px 0;
  color: #998992;
}
.nav .nav-icon { width: 32px; height: 23px; border-radius: 0; }
.nav .nav-icon svg { width: 21px; height: 21px; stroke-width: 1.65; }
.nav .selected .nav-icon { background: transparent; color: #bb5d7f; }
.nav button.selected .nav-label { color: #ad4f72; }
.nav .selected svg { stroke-width: 1.9; }
.nav .selected .icon-fill { fill: #f9e6ee; }
.nav .nav-label { font-size: .6875rem; line-height: 1.4; letter-spacing: .02em; }
.nav .nav-add {
  width: 32px;
  height: 24px;
  margin-top: 0;
  border: 0;
  border-radius: 8px;
  background: #d17798;
  box-shadow: none;
}
.nav .nav-add svg { width: 18px; height: 18px; stroke-width: 2; }
.nav .publish-tab .nav-label { color: #ad5e7c; font-weight: 500; }
.nav .nav-update { top: 0; right: 3px; }
.phone:not(.detail-page):not(.thread-page):not(.compose-phone) {
  padding-bottom: calc(70px + env(safe-area-inset-bottom));
}
.keyboard-open .phone:not(.detail-page):not(.thread-page):not(.compose-phone) {
  padding-bottom: 24px;
}
@media (max-width: 359px) {
  .tabs { gap: 16px; }
  .tabs button { padding-left: 2px; padding-right: 2px; }
}
