.swiper {
    border-radius: 7px;
    width: 375px;
    height: 167px;
    /* margin: 17px auto 0; */
    padding-top: 15px;
}

.swiper-slide {
    border-radius: 7px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    display: flex;
    overflow: hidden;
    transform: scale(0.9);
    width: 278px !important;
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
    z-index: 2;
    transform: scale(1);
}

.swiper-slide a {
    width: 278px;
    display: inline-block;
}

.swiper-slide a img {
    object-fit: cover;
    border-radius: 0.3rem;
    width: 278px;
    height: 167px;
    display: block;
    overflow: hidden;
}

.swiper-bt {
    background-color: #0000004d;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    width: 100%;
    height: 2rem;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.swiper-bt>.s-tt {
    color: #000;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 0.3rem;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
}

.box-type {
    width: 347px;
    margin: 0 auto;
}

.game-type {
    flex-flow: wrap;
    align-items: center;
    width: 100%;
    display: flex;
}

.game-type .item {
    background-color: #000fff1a;
    border-radius: 7px;
    flex-direction: row;
    align-items: center;
    width: 167px;
    height: 69px;
    margin-bottom: 14px;
    margin-right: 13px;
    display: flex;
}

.game-type .item:nth-child(2n) {
    margin-right: 0;
}

.game-type .item>img {
    width: 69px;
    height: 69px;
}

.game-type .item>span {
    color: #000;
    margin-left: 10px;
    font-size: 17px;
    display: block;
}

.box1,
.box2 {
    width: 349px;
    margin: 0 auto;
}

.box-list1 {
    flex-flow: wrap;
    display: flex;
}

.box-list1 .items {
    width: 167px;
    margin-bottom: 15px;
    margin-right: 13px;
}

.box-list1 .items:nth-child(2n) {
    margin-right: 0;
}

.box-list1 .items>a {
    display: block;
}

.box-list1 .items>a>img {
    border-radius: 10px;
    width: 167px;
    height: 100px;
    overflow: hidden;
}

.box-list1 .items>a>p {
    text-align: center;
    color: #000;
    text-overflow: ellipsis;
    word-break: break-all;
    width: 100%;
    height: 20px;
    margin-top: 5px;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
}

.box-temp {
    flex-flow: wrap;
    width: 349px;
    margin: 0 auto;
    display: flex;
}

.box-temp p {
    background-color: #00000080;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
}

.box-temp p>.txt {
    color: #000;
    height: 0.36rem;
    font-size: 0.2rem;
    line-height: 0.36rem;
}

.box-temp-1 {
    flex-flow: wrap;
    width: 100%;
    display: flex;
}

.box-temp-1 .item {
    border: 1px solid #292f52;
    border-radius: 10px;
    width: 108px;
    height: 108px;
    margin-bottom: 12px;
    margin-left: 12px;
    position: relative;
    overflow: hidden;
}

.box-temp-1 .item:nth-child(3n+1) {
    margin-left: 0;
}

.box-temp-1 .item p {
    background-color: #00000080;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20px;
    margin: 0;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
}

.box-temp-1 .item a {
    width: 108px;
    height: 108px;
    display: block;
}

.box-temp-1 .item a img {
    width: 108px;
    height: 108px;
}

.rank {
    width: 347px;
    margin: 0 auto;
}

.top-head {
    flex-direction: row;
    align-items: center;
    width: 100%;
    display: flex;
}

.top-head>.item {
    background-color: #000fff1a;
    flex-direction: column;
    align-items: center;
    width: 98px;
    height: 143px;
    margin-top: 17px;
    display: flex;
}

.top-head>.item:nth-child(2) {
    margin: -26px 26px 0;
}

.top-head>.item>.icon {
    background: none;
    width: 63px;
    height: 21px;
}

.top-head>.item>.img {
    border-radius: 7px;
    width: 45px;
    height: 45px;
    margin-top: 7px;
}

.top-head>.item>p {
    color: #000;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    margin-top: 7px;
    font-size: 12px;
    overflow: hidden;
}

.top-head>.item>.star {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 7px;
    padding: 0 10px;
    display: flex;
}

.top-head>.item>.star .icon-star {
    width: 10px;
    height: 10px;
}

.top-head>.item>.score {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    display: flex;
}

.top-head>.item>.score>.txt1,
.top-head>.item>.score>.txt2 {
    color: #000;
    font-size: 10px;
}

.top-con {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: flex;
}

.top-con>.items {
    background-color: #000fff1a;
    align-items: center;
    width: 347px;
    height: 69px;
    margin-top: 14px;
    display: flex;
}

.top-con>.items>a {
    align-items: center;
    display: flex;
}

.top-con>.items>a>.items-idx {
    color: #000;
    margin-left: 16px;
    margin-right: 17px;
    font-size: 21px;
    width: 11.33px;
}

.top-con>.items>a>.imgs {
    border-radius: 7px;
    width: 56px;
    height: 56px;
}

.top-con>.items>a>.g-info {
    flex-direction: column;
    width: 180px;
    margin-left: 16px;
    display: flex;
}

.top-con>.items>a>.g-info>p {
    color: #000;
    font-size: 12px;
}

.top-con>.items>a>.g-info .star {
    flex-direction: row;
    height: 10px;
    margin: 7px 0;
    display: flex;
}

.top-con>.items>a>.g-info .star .icon-star {
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

.top-con>.items>a .score {
    color: #000;
    font-size: 21px;
    font-weight: bold;
}

.box-featured {
    width: 349px;
    margin: 0 auto;
    overflow: hidden;
}

.box-featured .more-scroll {
    width: 100%;
    overflow-x: scroll;
}

.box-featured .most-list {
    flex-flow: wrap;
    width: 500px;
    display: flex;
}

.box-featured .item {
    background-color: #000fff1a;
    border-radius: 7px;
    width: 151px;
    height: 101px;
    margin-top: 34px;
    margin-right: 14px;
    position: relative;
}

.box-featured .item .imgs {
    border-radius: 7px;
    width: 69px;
    height: 69px;
    position: absolute;
    top: -19px;
    left: 13px;
}

.box-featured .item .score {
    color: #000;
    font-size: 21px;
    font-weight: bold;
    position: absolute;
    top: 16px;
    right: 19px;
}

.box-featured .item .name {
    color: #000;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
    font-size: 17px;
    position: absolute;
    bottom: 13px;
    left: 11px;
    overflow: hidden;
}

.box-casual {
    width: 347px;
    margin: 0 auto;
}

.box-casual-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.box-casual-list .item {
    width: 107px;
    height: 165px;
    background-color: #303137;
    border-radius: 7px;
    margin-right: 13px;
    margin-bottom: 13px;
}

.box-casual-list .item:nth-child(3n) {
    margin-right: 0;
}

.box-casual-list .item a {
    width: 100%;
    height: 100%;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box-casual-list .item a .imgs {
    width: 76px;
    height: 76px;
    border-radius: 7px;
}

.box-casual-list .item a .name {
    font-size: 14px;
    color: #000;
    width: 100%;
    height: 18px;
    margin: 4px 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stars {
    width: 100%;
    margin-top: 6px;
}

.stars>.star2 {
    width: 10px;
    height: 10px;
    margin-right: 7px;
}

.stars>.star2:last-child {
    margin-right: 0;
}

.score {
    color: #000;
}

.most {
    width: 347px;
    margin: 0 auto 15px;
}

.most .item-l-4 {
    flex-direction: row;
    width: 100%;
    height: 171px;
    display: flex;
}

.most .item-l-4 .lt {
    border-radius: 7px;
    width: 171px;
    height: 171px;
    position: relative;
}

.most .item-l-4 .lt>a {
    display: block;
}

.most .item-l-4 .lt img,
.most .item-l-4 .rt img {
    border-radius: 7px;
    width: 100%;
    height: 100%;
}

.most .item-l-4 .rt {
    flex-flow: wrap;
    width: 176px;
    height: 171px;
    display: flex;
}

.most .item-l-4 .rt>a {
    border-radius: 10px;
    width: 83px;
    height: 83px;
    margin-left: 5px;
    display: block;
    position: relative;
}

.most .item-r-4 {
    flex-direction: row;
    width: 100%;
    height: 171px;
    display: flex;
}

.most .item-r-4 .lt {
    border-radius: 7px;
    width: 171px;
    height: 171px;
    margin-top: 5px;
    position: relative;
}

.most .item-r-4 .lt>a {
    display: block;
}

.most .item-r-4 .lt img,
.most .item-r-4 .rt img {
    border-radius: 7px;
    width: 100%;
    height: 100%;
}

.most .item-r-4 .rt {
    flex-flow: wrap;
    width: 176px;
    height: 176px;
    display: flex;
}

.most .item-r-4 .rt>a {
    border-radius: 10px;
    width: 83px;
    height: 83px;
    margin-top: 5px;
    margin-right: 5px;
    display: block;
    position: relative;
}

.index-intro {
    width: 347px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    margin-top: 1.33rem;
    border-radius: 10px;
}

.index-intro>h3 {
    font-size: 18px;
    color: #000;
    width: 100%;
    text-align: center;
}

.index-intro p {
    color: #000;
    margin: 24px auto;
    line-height: 20px;
}

.index-intro p:last-child {
    margin-bottom: 0;
}

.nav {
    width: 349px;
    margin: 0 auto;
    display: flex;
    height: 2rem;
}

/* .nav ul {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;  
  flex-wrap: nowrap;
  overflow: auto;
}
.nav li {
  margin: 0 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem;
}
.active {
  background-color: #292F52;
  color: #000;
} */

#menu {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menu li {
    min-width: 100px;
    margin-right: 10px;
    /* background-color: #f1f1f1; */
    text-align: center;
    padding: 2px;
    font-size: 1.2rem;
    font-weight: 600;
}

#menu .active {
    background-color: #292F52;
    color: white;
}

.content.active {
    display: block;
}

.content {
    display: none;
}

.box2 {
    display: none;
    margin-top: 1rem;
}

.box2.active {
    display: block;
}