* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  display: none;
}

ul, li {
  list-style: none;
}

input {
  outline: none;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hidden {
  display: none;
}

.font-bold {
  font-weight: bold;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.inline-block {
  display: inline-block;
}

html, body {
  overscroll-behavior: none;
}

.background {
  position: fixed;
  width: 100%;
}
.background img {
  width: 100%;
}

.container {
  padding: 0 1.8rem;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.container main {
  margin-top: -0.9rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.container main .card {
  height: 3.8rem;
  width: 6.2rem;
  position: relative;
  margin-top: -0.25rem;
  margin-bottom: 0.25rem;
  z-index: 1;
}
.container main .card:first-child {
  margin-top: 0;
}
.container main .card .card-background {
  width: 100%;
  position: absolute;
  z-index: -1;
}
.container main .card .card-title {
  position: absolute;
  left: 0.25rem;
  top: 0;
  width: 1.7rem;
}
.container main .card .card-title img {
  width: 100%;
}
.container main .card .card-more {
  position: absolute;
  right: 0.6rem;
  top: -0.3rem;
  height: 0.25rem;
}
.container main .card .card-more img {
  height: 100%;
}
.container footer {
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  font-size: 0.16rem;
  color: white;
  margin-bottom: 0.2rem;
}

header {
  height: 3.1rem;
  display: flex;
  align-items: center;
}
header .logo {
  height: 100%;
}
header nav {
  flex: 1;
}
header nav ul {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  padding-left: 1em;
  font-size: 0.25rem;
  white-space: nowrap;
  color: white;
  text-shadow: 1px 1px 12px #172d80;
}
header nav ul li {
  position: relative;
  text-align: center;
  width: 1rem;
}
header nav ul li.active::after {
  content: "";
  position: absolute;
  bottom: -1.2em;
  background: url(../images/tab-active.png) center no-repeat;
  background-size: 80%;
  width: 1rem;
  height: 1em;
  left: 0;
}

.swiper {
  --swiper-theme-color: #ff6c00;
  height: 95%;
  width: 100%;
  border-radius: 0.12rem;
}
.swiper .swiper-pagination {
  --swiper-pagination-bullet-inactive-color: white;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-size: 0.2rem;
  --swiper-pagination-bullet-width: 0.2rem;
  --swiper-pagination-bullet-height: 0.2rem;
  pointer-events: none;
}
.swiper img {
  height: 100%;
  width: 100%;
}

ul.news {
  font-size: 0.2rem;
  color: white;
  height: 100%;
  padding: 1.2rem 0.5rem 0.5rem 0.5rem;
}
ul.news li {
  list-style: disc;
  height: 0.4rem;
  line-height: 0.4rem;
}
ul.news li::marker {
  color: #f1d842;
}
ul.news li a {
  display: flex;
  justify-content: space-between;
}
ul.news li a p {
  display: inline-block;
  max-width: 75%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

form.login {
  font-size: 0.2rem;
  color: white;
  height: 100%;
  padding: 1.4rem 0.35rem 0.35rem 0.35rem;
}
form.login img {
  height: 100%;
}
form.login input {
  width: 100%;
  border-radius: 0.06rem;
  padding: 0 0.2rem;
  height: 0.55rem;
  line-height: 0.55rem;
  margin-bottom: 0.2rem;
}
form.login input::-moz-placeholder {
  color: #c8c8c8;
}
form.login input::placeholder {
  color: #c8c8c8;
}
form.login > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.1rem;
}
form.login a.login-register {
  position: absolute;
  right: 0.35rem;
  top: 0.4rem;
  height: 0.5rem;
}
form.login a.login-signin {
  display: inline-block;
  height: 0.5rem;
}

ul.product {
  font-size: 0.18rem;
  color: black;
  height: 100%;
  padding: 1.25rem 0.35rem 0.5rem 0.35rem;
  display: grid;
  gap: 0.2rem;
  grid-template-columns: repeat(4, 1fr);
}
ul.product li {
  background: url(../images/card-item.png) center no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
  padding: 0.25rem 0.15rem;
  display: flex;
  -webkit-user-select: text;
     -moz-user-select: text;
          user-select: text;
  height: 1.65rem;
}
ul.product li img {
  height: 0.95rem;
  width: 0.95rem;
  border: 0.04rem solid white;
  border-radius: 0.08rem;
}
ul.product li .product-description {
  margin-left: 0.12rem;
  flex: 1;
}
ul.product li .product-description span {
  font-size: 0.16rem;
  font-weight: bold;
  margin-bottom: 0.08rem;
  display: inline-block;
}
ul.product li .product-description p {
  font-size: 0.14rem;
  height: 0.56rem;
  display: -webkit-box;
  line-height: 1.3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: justify;
  margin-bottom: 0.08rem;
}
ul.product li .product-description > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  line-height: 1.5;
}
ul.product li .product-description > div a {
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
ul.product li .product-description > div .product-cost {
  background: url(../images/btn-item-cost.png) center no-repeat;
  background-size: 100%;
  padding-left: 0.12rem;
}
ul.product li .product-description > div .product-buy {
  background: url(../images/btn-item-buy.png) center no-repeat;
  background-size: 100%;
}

ul.rank {
  font-size: 0.18rem;
  color: white;
  height: 100%;
  padding: 1.2rem 0.35rem 0.35rem 0.35rem;
}
ul.rank li {
  display: flex;
  align-items: center;
  border-radius: 0.24rem;
  padding-right: 0.12rem;
  margin-bottom: 0.08rem;
}
ul.rank li:nth-child(2n) {
  background-color: #1544cd;
}
ul.rank li img {
  height: 0.4rem;
  width: 0.4rem;
  border: 0.02rem solid #ff6c00;
  border-radius: 50%;
}
ul.rank li div {
  flex: 1;
  max-width: 65%;
  margin-left: 0.1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
ul.rank li span {
  color: #f1d842;
}
ul.rank li:nth-child(1) span, ul.rank li:nth-child(2) span, ul.rank li:nth-child(3) span {
  font-weight: bold;
}

div.userinfo {
  font-size: 0.2rem;
  color: white;
  padding: 1.4rem 0.35rem 0.35rem 0.35rem;
}
div.userinfo .user-signout {
  position: absolute;
  right: 0.35rem;
  top: 0.4rem;
  height: 0.5rem;
}
div.userinfo .user-signout img {
  height: 100%;
}
div.userinfo .user-avatar {
  height: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
div.userinfo .user-avatar img {
  height: 0.5rem;
  width: 0.5rem;
  border: 0.02rem solid #ff6c00;
  border-radius: 50%;
  margin-right: 0.08rem;
}
div.userinfo .user-avatar > div {
  max-width: 2rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
div.userinfo .user-btns {
  display: grid;
  gap: 0.2rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 0.2rem;
}
div.userinfo .user-btns .btn {
  height: 0.8rem;
  font-size: 0.18rem;
}
div.userinfo .btn {
  background: url("../images/btn-wrap.png") center no-repeat;
  background-size: 100%;
  height: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-size: 0.16rem;
}/*# sourceMappingURL=index.css.map */