/* 轮播图 */

.carousel {
    width: 87%;
    border-radius: 15px;
    margin: 8.5px auto 0;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .12);
}

.carousel img {
    height: 126px;
}


/* 公告 */

.tips {
    width: 87%;
    margin: 16.5px auto 0;
    position: relative;
    height: 33px;
    line-height: 33px;
    border-radius: 16.5px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .12);
    overflow: hidden;
}

.tips .tips-img {
    position: absolute;
    z-index: 1;
    left: -1px;
    top: 0;
    width: 66px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    font-size: 12px;
    color: #000;
    padding-left: 10px;
}

.tips img {
    height: 15px;
    width: 15px;
    background-color: #fff;
    margin-right: 6.5px;
}

.tips p {
    position: absolute;
    top: 0;
    white-space: nowrap;
    font-size: 12px;
    color: #333;
}


/* tabs */

.tabs {
    width: 87%;
    margin: 13px auto 0;
    display: flex;
}

.tabs .tab {
    flex: 1;
    text-align: center;
}

.tabs .tab img {
    display: block;
    height: 50px;
    width: 50px;
    margin: 0 auto 5px;
}

.tabs .tab p {
    font-size: 12px;
    color: #333;
}

/* game-list */

.game-list {
    width: 87%;
    margin: 18.5px auto 0;
}

.game-list .items {
    height: 118px;
    background: url('../images/home/img_bj.png') no-repeat;
    background-size: 100% 100%;
    border-radius: 20px;
    padding: 0 22.5px;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .12);
    background-color: rgba(0, 0, 0, .12);
}
.game-list .items2 {
    height: 118px;
    background: url('../images/home/img_jnd.png') no-repeat;
    background-size: 100% 100%;
    border-radius: 20px;
    padding: 0 22.5px;
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .12);
    background-color: rgba(0, 0, 0, .12);
}
.items2 .items__title {
    padding-top: 14.5px;
    font-size: 20px;
    font-weight: 700;
}

.items2 .items__line {
    height: 2px;
    width: 24px;
    background-color: #fff;
    margin: 7px 0 2px;
}

.items2 .items__info {
    color: rgba(255, 255, 255, .5);
    padding-top: 4.5px;
    font-size: 12px;
    height: 31px;
}

.items2 .items__button {
    background-color: #fff;
    color: #106fff;
    width: 76px;
    height: 27px;
    line-height: 27px;
    border-radius: 13px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 500;
    margin-top: 5px;
}

.items .items__title {
    padding-top: 14.5px;
    font-size: 20px;
    font-weight: 700;
}

.items .items__line {
    height: 2px;
    width: 24px;
    background-color: #fff;
    margin: 7px 0 2px;
}

.items .items__info {
    color: rgba(255, 255, 255, .5);
    padding-top: 4.5px;
    font-size: 12px;
    height: 31px;
}

.items .items__button {
    background-color: #fff;
    color: #106fff;
    width: 76px;
    height: 27px;
    line-height: 27px;
    border-radius: 13px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 500;
    margin-top: 5px;
}

#home {
    width: 100%;
    height: 100%;
    transition: .2s;
}

.blur {
    filter: blur(20px);
}

.layer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
}

.layer.active {
    display: block;
    animation: showLayer .2s forwards;
}

@keyframes showLayer {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.layer .box {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 327px;
    height: 534px;
    margin: auto;
    background: #fff;
    border-radius: 15px;
}

.box-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 69px;
}

.box-content {
    position: absolute;
    top: 85px;
    bottom: 120px;
    left: 0;
    right: 0;
    overflow-y: scroll;
    padding: 0 16px;
    font-size: 15px;
    line-height: 20px;
}

.box-content .box-title {
    font-size: 19px;
    font-weight: 800;
}

.box-content .box-time {
    font-size: 12px;
    font-weight: 500;
    line-height: 26px;
    color: #999;
}

.box-button {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 104px;
    line-height: 96px;
    text-align: center;
    background-size: 100% 100%;
    color: #fff;
    font-size: 18px;
}