* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 头部样式 */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  box-sizing: border-box;
  padding: 0.1rem 0.15rem;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  text-align: center;
}

.header a {
  display: inline-flex;
}

.header-left {
  display: inline-flex;
  align-items: center;
}

.back-icon {
  width: 0.11rem;
  height: 0.19rem;
  margin-right: 0.2rem;
}

.home-icon {
  width: 0.18rem;
  height: 0.18rem;
}

.search-box {
  display: inline-flex;
  border: 0.01rem solid #828ca0;
  border-radius: 1rem;
  padding: 0.06rem 0.15rem 0.06rem 0.08rem;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.search-text {
  width: 1.4rem;
  margin-right: 0.02rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.13rem;
  color: #828ca0;
  text-decoration: none;
}

.search-icon {
  width: 0.16rem;
  height: 0.16rem;
}

.header-title {
  font-size: 0.2rem;
  font-weight: 500;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-icon {
  width: 0.18rem;
  height: 0.14rem;
}

/* 页脚 */
.footer {
  padding: 0.27rem 0.04rem;
  text-align: center;
  font-size: 0.12rem;
  color: #999;
  line-height: 1.6;
  background: #f3f7fb;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.footer-links .footer-btn {
  color: #121212;
  font-size: 0.14rem;
  text-decoration: none;
  position: relative;
}

.copyright {
  color: #7a8499;
  font-size: 0.13rem;
  line-height: 0.15rem;
  margin-bottom: 0.165rem;
}
