﻿/* App4: one balanced, compact five-item navigation dock on every route. */
html[data-app4-nav-compact="1"] .mobile-shell > .bottom-nav,
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav {
  width: min(430px, 100vw) !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) 68px minmax(0,1fr) minmax(0,1fr) !important;
  align-items: stretch !important;
  padding: 0 7px max(3px, env(safe-area-inset-bottom, 0px)) !important;
  border: 1px solid rgba(98,122,55,.22) !important;
  border-bottom: 0 !important;
  border-radius: 19px 19px 0 0 !important;
  background: rgba(255,253,244,.98) !important;
  box-shadow: 0 -7px 20px rgba(54,72,31,.16) !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: stretch !important;
  height: 61px !important;
  min-height: 61px !important;
  margin: 0 !important;
  padding: 10px 1px 3px !important;
  gap: 3px !important;
  transform: none !important;
  color: #5a742d !important;
  font-size: 9px !important;
  line-height: 11px !important;
  box-sizing: border-box !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav > a svg {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav > a span {
  display: block !important;
  margin: 0 !important;
  line-height: 11px !important;
  white-space: nowrap !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav .bottom-fab-wrap {
  position: relative !important;
  align-self: stretch !important;
  justify-self: center !important;
  width: 68px !important;
  min-width: 68px !important;
  height: 64px !important;
  margin: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav .bottom-fab-dice {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 17px !important;
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  border: 4px solid #fff !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg,#94b943,#70952a 52%,#49661a) !important;
  box-shadow: inset 0 2px 4px rgba(255,255,255,.44), 0 0 0 2px rgba(119,153,50,.28), 0 7px 15px rgba(54,82,23,.3) !important;
  pointer-events: auto !important;
  box-sizing: border-box !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav .bottom-fab-dice svg {
  width: 24px !important;
  height: 24px !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav .bottom-fab-label {
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 3px !important;
  width: 68px !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  color: #5a742d !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 11px !important;
  text-align: center !important;
  white-space: nowrap !important;
}
html[data-app4-nav-compact="1"] .mobile-shell .bottom-nav .bottom-fab-wrap::after {
  display: none !important;
  content: none !important;
}
html[data-app4-nav-compact="1"] .mobile-shell:has(.bottom-nav.has-dice-fab) {
  padding-bottom: 64px !important;
}



