.jx-global-header,
.jx-global-header *,
.jx-global-footer,
.jx-global-footer * {
  box-sizing: border-box;
}

.jx-global-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid rgba(29, 26, 22, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.jx-header-inner {
  width: 100%;
  max-width: none;
  min-height: 84px;
  margin: 0;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.jx-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  margin-right: auto;
  color: #1d1a16;
  text-align: left;
  text-decoration: none;
}

.jx-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
}

.jx-avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(29, 26, 22, 0.16);
  object-fit: cover;
}

.jx-brand-name {
  color: #1d1a16;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.jx-site-url {
  color: #3f372f;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.jx-brand:hover .jx-site-url {
  color: #1d1a16;
}

.jx-global-footer {
  border-top: 1px solid rgba(29, 26, 22, 0.1);
  background: #ffffff;
  color: #5a5048;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.jx-footer-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.jx-beian-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}

.jx-global-footer a {
  color: inherit;
  text-decoration: none;
}

.jx-global-footer a:hover {
  color: #1d1a16;
}

.jx-police-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jx-beian-icon {
  width: 18px;
  height: 20px;
  object-fit: contain;
}

.jx-template-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #1d1a16;
  background: #f5f2ec;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.jx-template-main {
  flex: 1;
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: 48px 0;
}

@media (max-width: 640px) {
  .jx-header-inner {
    min-height: 58px;
    padding: 7px 12px;
  }

  .jx-avatar {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .jx-brand {
    gap: 9px;
  }

  .jx-brand-name {
    font-size: 21px;
  }

  .jx-site-url {
    font-size: 13px;
  }

  .jx-global-footer {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .jx-footer-inner {
    padding: 6px 10px;
    gap: 2px;
  }

  .jx-beian-row {
    flex-direction: column;
    gap: 2px;
  }

  .jx-police-link {
    gap: 4px;
  }

  .jx-beian-icon {
    width: 14px;
    height: 16px;
  }
}
