/*
 * Owner-only Community brand-row correction.
 * The existing Community button, route, state, badge and deck geometry remain
 * unchanged; only its visible brand group is replaced.
 */

html body > .rebuild-bottom-control-deck > .community-entry-dock > .community-entry {
  justify-content: center;
}

html body > .rebuild-bottom-control-deck .community-entry-brand {
  order: 1;
  display: inline-flex;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  color: #193a48;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

html body > .rebuild-bottom-control-deck .community-entry-r-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
  margin-right: 5px;
  pointer-events: none;
  user-select: none;
}

html body > .rebuild-bottom-control-deck .community-entry-ebuild {
  margin-right: 9px;
  color: #193a48;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

html body > .rebuild-bottom-control-deck .community-entry-community {
  color: #253b47;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.07em;
}

html body > .rebuild-bottom-control-deck .community-entry-arrow {
  order: 2;
}

html body > .rebuild-bottom-control-deck .community-entry-badge:not([hidden]) {
  order: 3;
}

@media (max-width: 370px) {
  html body > .rebuild-bottom-control-deck .community-entry-r-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    margin-right: 4px;
  }

  html body > .rebuild-bottom-control-deck .community-entry-ebuild {
    margin-right: 7px;
    font-size: 14px;
    letter-spacing: 0.11em;
  }

  html body > .rebuild-bottom-control-deck .community-entry-community {
    font-size: 11.5px;
    letter-spacing: 0.055em;
  }
}
