html,
body {
  min-height: 100%;
}

body.x-portal-static-body {
  min-height: 100%;
}

body.x-portal-static-body-flex {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.x-portal-static-page {
  box-sizing: border-box;
  width: 100%;
  min-height: calc(100vh - var(--xportal-static-footer-height, 4rem));
}

body.x-portal-static-body-flex > .x-portal-static-page {
  display: flex;
  flex: 1 0 auto;
  flex-direction: var(--xportal-static-body-flex-direction, row);
  justify-content: var(--xportal-static-body-justify-content, center);
  align-items: var(--xportal-static-body-align-items, center);
}

.x-portal-beian-footer {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
  flex: 0 0 auto;
  margin: 1.5rem 0 0;
  padding: 0;
  text-align: center;
  position: static;
}

.xportal-static-beian {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #888;
  text-align: center;
}

.xportal-static-beian-link {
  color: #888;
  text-decoration: none;
  transition: color 0.15s ease;
}

.xportal-static-beian-link:hover {
  color: #666;
  text-decoration: underline;
}

.xportal-static-beian-gongan {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.xportal-static-beian-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.xportal-static-beian-sep {
  color: #888;
  user-select: none;
}
