/* BeeLand branding without changing runtime scripts */
a:has(> svg[viewBox="0 0 480 480"]) {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

a:has(> svg[viewBox="0 0 480 480"]) > svg {
  opacity: 0 !important;
}

a:has(> svg[viewBox="0 0 480 480"])::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / contain no-repeat url('/beeland-logo.png');
}
/* Hero title icon: use logo-for-text as single-color mark */
main .font-manrope.text-\[2\.5rem\].font-extrabold > svg {
  display: none !important;
}

main .font-manrope.text-\[2\.5rem\].font-extrabold::before {
  content: "";
  width: 29.5px;
  height: 29.5px;
  margin-top: 1px;
  display: inline-block;
  flex: none;
  -webkit-mask: url('/logo-for-text.svg') center / contain no-repeat;
  mask: url('/logo-for-text.svg') center / contain no-repeat;
  background-color: #184d4a;
}

.dark main .font-manrope.text-\[2\.5rem\].font-extrabold::before {
  background-color: #e4e4e7;
}

@media (min-width: 768px) {
  main .font-manrope.text-\[2\.5rem\].font-extrabold::before {
    width: 34px;
    height: 34px;
  }
}

/* Keep only: Лобби, Основной, Мини in worlds tabs */
main .no-scrollbar.relative.max-w-full.rounded-xl.px-2.py-px.ring-1.ring-inset > * > :nth-child(n+4) {
  display: none !important;
}