/* Mobile Bottom Bar - Minimal Dark */
.theme-mbb {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 99999;

  display: none; /* se activa solo en móvil */
  align-items: center;
  justify-content: space-around;

  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255,255,255,0.08);
}

.theme-mbb__item {
  flex: 1;
  text-align: center;
  text-decoration: none;

  padding: 8px 4px;
  color: rgba(255,255,255,0.86);

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.theme-mbb__icon {
  position: relative;
  width: 26px;
  height: 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  opacity: 0.95;
}

.theme-mbb__label {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2px;
  opacity: 0.9;
}

/* Badge */
.theme-mbb__badge {
  position: absolute;
  top: -6px;
  right: -8px;

  min-width: 18px;
  height: 18px;
  padding: 0 5px;

  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
  font-weight: 600;

  color: #0a0a0c;
  background: rgba(255,255,255,0.92);

  transform: translateZ(0);
}

/* Si count=0, ocultar badge */
.theme-mbb__badge[data-count="0"] {
  display: none;
}

/* Estado active/hover */
.theme-mbb__item:active {
  opacity: 0.85;
}

/* Solo móvil */
@media (max-width: 768px) {
  .theme-mbb { display: flex; }

  /* Evitar que tape contenido */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}
