/* Shared admin shell — mobile-friendly nav + layout */
.yy-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid #e8e8e4;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
  gap: 4px;
}
.yy-bottom-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  padding: 8px 4px;
  border-radius: 8px;
}
.yy-bottom-nav a.active {
  background: #111;
  color: #fff;
}

@media (max-width: 768px) {
  .yy-bottom-nav { display: flex; }
  body.has-bottom-nav { padding-bottom: 72px; }
  .hdr { padding: 0 1rem !important; height: auto !important; min-height: 56px; flex-wrap: wrap; gap: 8px; }
  .hdr-r { flex-wrap: wrap; width: 100%; justify-content: flex-end; }
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 0.75rem !important; }
  .tab { white-space: nowrap; flex-shrink: 0; padding: 10px 12px !important; font-size: 11px !important; }
  .main { padding: 1rem 0.75rem 5rem !important; }
}
