main {
    width: var(--all-width);
    margin: 0 auto;
    padding: 7px 7px 0;
    background: #F4F4F4;
    box-shadow: 0 0 4px #FFF;
    display: flex;
    flex-direction: column;
    position: relative;
}

.content {
    flex: 1;
    display: flex;
}

.cont-left {
    width: 200px;
    padding: 0 15px 10px 0;
    margin-bottom: auto;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 10px;
}

.cont-left>span {
    background: linear-gradient(to bottom, rgba(171, 232, 232, 1) 0, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 1) 100%);
    border-radius: 5px 5px 0 0;
    position: relative;
    border: 1px solid silver;
    border-bottom: 0;
    float: left;
    width: 100%;
    padding: 8px 0 7px 34px;
    font-size: 12px;
    line-height: 18px;
    color: #292929;
    text-transform: uppercase;
}

.cont-left>span::before {
    content: '';
    width: 24px;
    height: 24px;
    margin-left: -29px;
    display: block;
    margin-top: -3px;
    background: url(../images//arrowmove\ .png);
    float: left;
}

.cont-left ul {
    float: left;
    width: 100%;
    border-left: 1px solid #BEBEBE;
    border-right: 1px solid #BEBEBE;
    list-style-type: none;
    margin: 0;
    font-size: 13px;
    line-height: 17px;
    color: #444;
    background: #fff;
    box-shadow: silver 0 5px 17px;
}

.cont-left ul li {
    float: left;
    width: 160px;
    list-style-type: none;
    margin: 0;
    padding: 2px 0 3px 12px;
    border-bottom: 1px solid #f5f5f5;
}

.cont-left ul li a {
    color: #333;
}

.cont-left ul li::before {
    content: ">";
    float: left;
    font-size: 12px;
    color: #70D8D8;
    font-weight: 700;
    line-height: 15px;
    margin-right: 20px;
}

.cont-rig {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cont-rig h3 {
    font-size: 19px;
    color: #253a5c;
    margin-bottom: 5px;
}

.big-box {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    row-gap: 8px;
    background-color: #fff;
    padding: 5px 9px;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    box-shadow: silver 1px 2px 17px;
}

.top-game {
    border: 1px solid #d4d4d4;
    border-radius: 5px 5px 0 0 !important;
    overflow: hidden;
}

.top-game .img-box::before {
    padding-top: 60%;
}

.top-game .top-game-text {
    padding: 10px 0;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.top-game .top-game-text:hover {
    color: #1C62B9;
}

.big-box[data-type=top] {
    padding: 0 8px;
    margin-bottom: 12px;
    background-color: transparent !important;
    border-color: transparent;
    box-shadow: 0 0 0 transparent;
}

.cont-rig .list {
    margin-bottom: 15px;
}

.big-box[data-type=hot] {
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-template-rows: repeat(5, 93px);
    gap: 5px;
}

.hot-box {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.hot-box:first-child,
.big-box[data-type=hot]>.hot-box:nth-child(16),
.big-box[data-type=new]>.hot-box:nth-child(11) {
    grid-column: span 2;
    grid-row: span 2;
}

.hot-box .img-box {
    width: 100%;
    height: 100%;
}

.hot-box .hot-box-text {
    position: absolute;
    z-index: 1;
    background-color: #00000099;
    color: #fff;
    padding: 5px;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    bottom: 0;
    left: 0;
    text-align: center;
    transition: .4s;
    font-size: 13px;
}

.big-box[data-type=new] {
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-template-rows: repeat(4, 93px);
    gap: 5px;
}

.all-box {
    border: 1px solid #d4d4d4;
    height: fit-content;
}

.all-box .img-box::before {
    padding-top: 60%;
}

.all-box-text {
    padding: 5px;
    color: #333;
    font-size: 13px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (min-width:770px) {
    .top-game {
        width: calc((100% - 30px) / 3);
        margin-right: 15px;
    }

    .top-game:nth-of-type(3n) {
        margin-right: 0;
    }

    .all-box {
        width: calc((100% - 30px) / 4);
        margin-right: 10px;
    }

    .all-box:nth-of-type(4n) {
        margin-right: 0;
    }
}

@media screen and (max-width:769px) {
    .all-box {
        width: calc((100% - 10px) / 3);
        margin-right: 5px;
    }

    .all-box:nth-of-type(3n) {
        margin-right: 0;
    }

    .top-game {
        width: 100%;
    }

    .cont-left {
        position: fixed;
        width: 100%;
        left: 0;
        padding: 0;
        /* top: 75px; */
        height: 100vh;
        background-color: #fff;
        border: 1px solid #BEBEBE;
        transition: .5s;
        transform: translateY(-100%);
        z-index: 1;
    }

    .cont-left>span {
        border-radius: 0;
        border: 0;
    }

    .cont-left ul li {
        width: 100%;
        padding: 10px 0 10px 12px;
    }

    .cont-left ul {
        box-shadow: 0 0 0px transparent;
        border: 0;
    }

    .big-box[data-type=hot] {
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(11, 93px);
    }

    .big-box[data-type=new] {
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(7, 93px);
    }

    .big-box[data-type=new]>.hot-box:nth-child(11) {
        grid-column: span 1;
        grid-row: 1 span;
    }
}