:root {
  --community-badge-height: 46px;
}

:root:lang(zh),
:root:lang(zh-Hans),
:root:lang(zh-Hant),
:root:lang(ja) {
  --community-badge-height: 53px;
}

.download-community-button {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 6px;
  width: 178px;
  min-height: var(--community-badge-height);
  height: var(--community-badge-height);
  flex: 0 0 178px;
  padding: 0 11px 0 7px;
  border-radius: 8px;
  border: 1px solid rgb(166, 166, 166);
  background: #000;
  color: #fff;
}

.download-community-button,
.download-community-button.button-secondary,
.download-community-button.button-secondary:hover,
.download-community-button.button-secondary:active,
.download-community-button.button-secondary:focus-visible {
  border-color: rgb(166, 166, 166) !important;
  background: #000 !important;
  color: #fff !important;
}

.community-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 0;
}

.community-badge-icon svg {
  width: 32px;
  height: 32px;
}

.community-badge-copy {
  min-width: 0;
  display: grid;
}

.community-badge-top {
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
}

.community-badge-bottom {
  margin-top: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}
