/* Footer and compliance sign. */

.rt-site-footer {
  margin-top: var(--rt-space-9);
  border-top: var(--rt-border-heavy) solid var(--rt-color-rail);
  background: var(--rt-color-surface);
}

.rt-site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--rt-space-4);
  padding-block: var(--rt-space-5);
}

.rt-site-footer__note {
  margin: 0;
  color: var(--rt-color-muted);
  font-size: var(--rt-text-small);
}

.rt-site-footer__source {
  color: var(--rt-color-muted);
  font-size: var(--rt-text-micro);
  text-align: right;
}

.rt-beian {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: var(--rt-z-beian);
  display: flex;
  align-items: center;
  gap: var(--rt-space-2);
  max-width: calc(100vw - 1rem);
  padding: 0.1875rem var(--rt-space-3);
  border: 1px solid var(--rt-color-line);
  border-bottom: 0;
  border-radius: var(--rt-radius-badge) var(--rt-radius-badge) 0 0;
  background: color-mix(in srgb, var(--rt-color-surface) 88%, transparent);
  color: var(--rt-color-muted);
  font-size: var(--rt-text-micro);
  line-height: 1.5;
  pointer-events: none;
  transform: translateX(50%);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.rt-beian a {
  color: inherit;
  pointer-events: auto;
  text-decoration: none;
}

.rt-beian a:hover {
  color: var(--rt-color-ink);
  text-decoration: underline;
}

.rt-beian__divider {
  opacity: 0.36;
}

.rt-beian__logo {
  width: auto;
  height: 0.9375rem;
  margin-right: var(--rt-space-1);
  vertical-align: -0.1875rem;
}

@media (max-width: 620px) {
  .rt-site-footer__inner {
    grid-template-columns: 1fr;
  }

  .rt-site-footer__source {
    text-align: left;
  }

  .rt-beian {
    font-size: 0.625rem;
  }
}
