/* MineBrush regression guard.
   These rules intentionally load last: image intrinsic dimensions and generic
   flex rules must never be able to expand navigation or the home hero. */
.mb-release {
  width: max-content;
  max-width: 100%;
  min-height: 0;
  height: auto;
  align-items: center;
}

.mb-release > img {
  display: block !important;
  flex: 0 0 15px !important;
  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.mb-hero-trust > span > img {
  display: block !important;
  flex: 0 0 15px !important;
  width: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.mb-hero-orbit > img {
  display: block !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  padding: 0 !important;
  object-fit: contain !important;
}

.mb-proof > div > img {
  display: block !important;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 5px !important;
  object-fit: contain !important;
}

.mb-resource-menu {
  top: 31px !important;
  left: -18px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
  width: 470px !important;
  max-height: calc(100vh - 105px) !important;
  overflow: auto !important;
  padding: 10px !important;
  border-color: #ffffff24 !important;
  background: #0a121beF !important;
  backdrop-filter: blur(18px);
}

.mb-resource-menu > a {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  min-height: 58px !important;
  height: auto !important;
  padding: 9px 10px !important;
  border: 1px solid transparent;
}

.mb-resource-menu > a:hover {
  border-color: #8cf58035;
  background: #14231d !important;
}

.mb-resource-menu > a > img {
  display: block !important;
  grid-column: 1 !important;
  flex: none !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 7px !important;
  border: 1px solid #9bf48d26;
  border-radius: 9px !important;
  background: #14262a !important;
  object-fit: contain !important;
}

.mb-resource-menu > a > span {
  min-width: 0;
}

.mb-resource-menu > a b {
  overflow: hidden;
  color: #edf7ef;
  font-size: 11px !important;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mb-resource-menu > a small {
  display: block;
  overflow: hidden;
  margin-top: 3px !important;
  color: #8fa1aa !important;
  font-size: 9px !important;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Only the utility for the current DLE category is allowed to participate in
   layout. The display:flex rule used by the component must not beat hidden. */
.mb-library-utility[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .mb-resource-menu {
    display: none !important;
  }

  .mb-release {
    width: auto;
  }
}
