.official-compact-footer,
.official-compact-footer * {
  box-sizing: border-box;
}

.official-compact-footer {
  width: 100%;
  min-height: 76px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #07070b;
  color: #858188;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

.official-compact-footer__inner {
  display: grid;
  width: min(calc(100% - 96px), 1240px);
  min-height: 76px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 630;
  line-height: 1.45;
}

.official-compact-footer__left,
.official-compact-footer__legal {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(22px, 2.4vw, 44px);
}

.official-compact-footer__left {
  justify-self: start;
}

.official-compact-footer__legal {
  gap: clamp(20px, 1.8vw, 34px);
}

.official-compact-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.official-compact-footer a:hover,
.official-compact-footer a:focus-visible {
  color: #f3eff6;
}

.official-compact-footer__icp {
  justify-self: center;
  white-space: nowrap;
}

.official-compact-footer__tagline {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .official-compact-footer__inner {
    width: min(calc(100% - 48px), 760px);
    padding: 18px 0;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    text-align: center;
  }

  .official-compact-footer__left,
  .official-compact-footer__icp,
  .official-compact-footer__tagline {
    justify-self: center;
  }

  .official-compact-footer__tagline {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .official-compact-footer__left {
    flex-direction: column;
    gap: 12px;
  }

  .official-compact-footer__legal {
    gap: 20px;
  }

  .official-compact-footer__tagline {
    white-space: normal;
  }
}
