html {
    /* overflow: hidden; */
}
/* 全局基础样式（必加） */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: auto;
}
* {
    box-sizing: border-box; /* 统一盒模型 */
}
body {
    font: 14px/1.5 Microsoft Yahei;
    margin: 0;
    background-color: #ebecee;
    /* font-family: system-ui, "Open Sans", calibri, Roboto, verdana, "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; */
    font-family: system-ui, "PingFang SC", "Open Sans", "calibri", "Roboto", verdana, "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    /*字体样式*/
    --f-fm-black: 黑体;
    /*字体大小*/
    --f-size-tiny: 10px;
    --f-size-small: 12px;
    --f-size-normal: 14px;
    --f-size-big: 15px;
    --f-size-six: 16px;
    --f-size-huge: 18px;
    --f-size-large: 20px;
    --f-size-verylarge: 24px;

    /*颜色*/
    --c-txt-wihte: #ffffff;
    --c-txt-black: #000000;
    --c-txt-main: #3c3c3c;
    --c-txt-bbb: #3b3b3b;
    --c-txt-vice: #757575;
    --c-txt-asst: #a5a5a6;
    --c-txt-green: #fe8c00;
    --c-txt-lgreen: #00e3ae;
    --c-txt-aqua: #abcd03;
    --c-txt-yellow: #f9d323;
    --c-txt-vip: #ff9911;
    --c-txt-original: #e4e4e4;
    --c-txt-order: #f2a147;
    --c-txt-orange: #ed782f;
    --c-txt-more: #42454e;
    --c-txt-hover: #3b3b3b;
    /*背景色*/
    --c-bg-wihte: #ffffff;
    --c-bg-main: #ebecee;
    --c-bg-top: #262628;
    --c-bg-top-center: #151515;
    --c-bg-top-act: #3f3f41;
    --c-bg-top-hover: #626263;
    --c-bg-nav: #e1e1e1;
    --c-bg-rank: #f4f4f4;
    --c-bg-close: #f55300;
    --c-bg-slide: #e4e4e4;
    --c-bg-more: #42454e;
    --c-bg-tip: #ff9911;

    /* 导航栏图标背景色 */
    --c-nav-color: linear-gradient(140deg, #abcd03, #009944);
    /* 标签背景色 */
    --c-tip-g: linear-gradient(140deg, #2af598 26%, #009efd);
    --c-tip-s: linear-gradient(140deg, #9be15d 26%, #00e3ae);
    --c-tip-l: linear-gradient(140deg, #00c6fb 26%, #005bea);
    --c-tip-collect: linear-gradient(140deg, #ffb199, #ff0844);
    /*按钮颜色*/
    --c-bt-act: #303135;
    --c-bt-gary: #e4e4e4;
    --c-bt-light: #41bd91;
    --c-bt-hover: #ff7765;

    /*边框颜色*/
    --c-box-gray: #757575;
    --c-box-green: #25db6a;
    --c-box-line: #e4e4e4;
    --c-box-bt: #eeeeee;
    --c-box-red: linear-gradient(140deg, #ffb199, #ff0844);

    /*弹窗颜色*/
    --c-bg-alert-m: #3f3f41;
    --c-bg-alert-b: #161f2a;
    --c-bg-alert-l: #000000;
    --c-bg-alert-w: #000000;
    --c-bg-alert-h: #1d1f22;
    /* 阴影 */
    --s-box-w: 2px 1px 7px 0px rgba(30.1496, 14.6649, 0, 0.1);
    --animation-delay: 0.4s;
    --animation-title-delay: 0.8s;
    --animation-sidebar-delay: 2s;
    --thumb-icon-width: 44px;
    --banner-menu-width: 236px;
    --store-card-gap: 20px;
    --store-card-list-gap: -20px;
    --wg3-corner-2: 4px;
    --wg3-color-fill-hover-1: rgba(255, 255, 255, 0.12);
}

@font-face {
    font-family: FangFangXianFeng;
    /* src: url(../static/font/fangfangxianfeng.ttf); */
    src: url(../font/fangfangxianfeng.woff2);
}
@media screen and (max-width: 1600px) {
    .topic-poster-item--1 {
        width: 120px !important;
    }

    .topic-poster-item--2 {
        width: 100px !important;
    }

    .topic-poster-item--3 {
        width: 130px !important;
    }

    .topic-poster-item--4 {
        width: 126px !important;
    }

    .topic-poster-item--5 {
        width: 102px !important;
    }

    .topic-poster-item--6 {
        width: 122px !important;
    }

    .topic-poster-item--7 {
        width: 170px !important;
    }

    .topic-poster-item--8 {
        width: 100px !important;
    }

    .topic-poster-item--9 {
        width: 180px !important;
    }

    .topic-poster-item--10 {
        width: 150px !important;
    }

    .topic-poster-item--11 {
        width: 120px !important;
    }

    .topic-poster-item--12 {
        width: 100px !important;
    }

    .topic-poster-item--13 {
        width: 170px !important;
    }

    .topic-poster-item--14 {
        width: 124px !important;
    }

    .topic-poster-item--15 {
        width: 170px !important;
    }

    .topic-poster-item--16 {
        width: 100px !important;
    }
}
@media screen and (min-width: 1600px) {
    body {
        --banner-gift-height: 569px;
        --banner-height: 640px;
        --thumb-icon-width: 195px;
        --banner-menu-width: 211px;
    }
}
@media screen and (max-width: 1400px) {
    body {
        --banner-gift-height: 420px;
        --banner-height: 424px;
        --thumb-icon-width: 142px;
        --banner-menu-width: 204px;
    }
    .head .menu {
        width: 87% !important;
    }
    .search-wrapper.active .search-input {
        width: 162px !important;
    }
    .head .nav ul li {
        margin-left: -10px !important;
    }
    .main .preview .swiper-background {
        width: 690px !important;
        bottom: -63px !important;
        height: 62px !important;
    }
    .preview-content-left {
        width: 689px !important;
    }
    .recommend-box ul li::after {
        width: 93.5% !important;
    }
    .swiperBox {
        width: 1000px !important;
        height: 501px !important;
    }
    .gbanner-menu-item .we-image {
        height: 67px !important;
    }
    .swiperBox-gift .swiper {
        width: 912px !important;
        height: 411px !important;
    }
    .gamemModeType-box-gift-main .first-ul li {
        width: 495px !important;
        height: 258px !important;
        margin-left: 0px !important;
    }
    .gamemModeType-box-gift-main li {
        width: 32% !important;
        height: 118px !important;
        margin-left: 20px !important;
    }
    .gamemModeType-box-gift-main .two-ul {
        width: 708px !important;
        height: 278px !important;
    }
    .gbanner-info {
        bottom: 13px !important;
    }
    .swiper {
        width: 796px !important;
        height: 424px !important;
    }
    .gbanner-menus {
        margin-top: -6px !important;
    }
    .gbanner-menu-item {
        padding: 5px 10px !important;
        margin-bottom: 7px;
    }
    .main-content {
        width: 1000px !important;
    }
    .rankBox-li-first {
        height: 132px !important;
    }
    .rankBox-li-content ul li {
        height: 73px !important;
    }
    .rankBox-li-content {
        margin-top: 11px !important;
    }
    .rankBox-li-content ul li .text .text-title {
        width: 153px !important;
    }
    .rankBox-li-content ul li .banner {
        width: 99px !important;
        height: 54px !important;
    }
    .gameBox .gameBox-li .game-banner {
        height: 112px !important;
    }
    .gameBox .gameBox-li {
        height: 199px !important;
    }
    .content-scoll .preview-content {
        width: 1004px !important;
    }
    .main .preview .slide-rigth {
        width: 690px !important;
        height: 388px !important;
    }
    .main .custom-slide-left{
        height: 388px !important;
    }
    .main .slide-left {
        width: 300px !important;
        /* height: 400px !important; */
        padding: 20px 11px 71px !important;
        min-height: 151px !important;
    }
    .main .slide-left .btn-box span {
        font-size: 15px !important;
    }
    .main .slide-left .slide-left-platform {
        margin-bottom: 13px !important;
    }
    .main .slide-left .price-box {
        height: 60px !important;
        margin-top: 10px !important;
        padding: 0 17px !important;
    }

    .main .equity {
        margin-top: 10px !important;
    }

    .main .slide-left ul {
        margin-bottom: 8px !important;
    }
    .main .slide-left .btn-box .btn-lonely {
        height: 40px !important;
        line-height: 40px !important;
        bottom: 18px !important;
        width: 278px !important;
        /* font-size: 15px !important; */
    }
    .rankBox-li-content ul li .text .text-title {
        font-size: 14px !important;
    }
    .main .slide-left .price-posi .free {
        font-size: 12px !important;
        margin-top: 1px !important;
    }
    .main .slide-left .price-box .free-steam {
        font-size: 11px !important;
        line-height: 17px !important;
        padding: 0 3px !important;
    }
    .main .slide-left .price-box .price-storage {
        font-size: 11px !important;
        line-height: 17px !important;
        padding: 0 3px !important;
    }
    .main .slide-left .price-box .line-com {
        font-size: 11px !important;
        line-height: 17px !important;
        padding: 0 3px !important;
    }
    .main .slide-left .price-box .price-box-title {
        font-size: 15px !important;
    }
    .main .slide-left .info-text {
        font-size: 12px !important;
        margin-top: 1px !important;
    }
    .main .slide-left .slide-left-type {
        font-size: 15px !important;
    }
    .main .preview .swiper-slide-thumb {
        width: 90px !important;
        height: 47px !important;
    }
    .gameBox-tui-ul ul li {
        width: 150px !important;
        height: 76px !important;
    }
    .gameBox-tui-main ul li {
        width: 490px !important;
        height: 247px !important;
    }
    .banner-box-content {
        width: 1000px !important;
    }
    .banner-about .about-txt {
        width: 245px !important;
        margin: 56px auto 0 !important;
    }
}
@media (min-width: 1400px) and (max-width: 1600px) {
    body {
        --thumb-icon-width: 187px;
    }
    .content-scoll .preview-content {
        width: 1304px !important;
    }
    .search-wrapper.active .search-input {
        width: 162px !important;
    }
    .head .menu {
        width: 89% !important;
    }
    .head .nav ul li {
        margin-left: -10px !important;
    }
    .swiperBox {
        width: 1200px !important;
        height: 567px !important;
    }
    .swiper {
        height: 504px !important;
        width: 946px !important;
    }
    .swiperBox-gift {
        height: 640px;
        width: 1450px;
    }

    .swiperBox-gift .gbanner-info {
        bottom: 20px !important;
    }
    .gamemModeType-box-gift-main .first-ul li {
        width: 591px !important;
        height: 291px !important;
        margin-left: 0 !important;
    }
    .gamemModeType-box-gift-main .two-ul {
        width: 625px !important;
        height: 200px !important;
    }
    .gamemModeType-box-gift-main li {
        width: 45.6% !important;
        height: 136px !important;
    }
    .swiperBox-gift .swiper {
        height: 472px !important;
        width: 1020px !important;
    }
    .swiperBox-gift .gbanner-menus {
        margin-top: -12px !important;
        height: 490px !important;
    }
    .gbanner-menus {
        margin-top: 18px !important;
        height: 504px !important;
    }
    .gbanner-menu-item {
        padding: 9px 10px !important;
    }
    .gbanner-menu-item .we-image {
        height: 80px !important;
    }
    .gameBox-tui-ul ul li {
        width: 182px !important;
        height: 93px !important;
    }
    .gameBox-tui-main ul li {
        width: 590px !important;
        height: 299px !important;
    }
    .banner-box-img {
        width: 1647px !important;
    }
    .banner-box-content {
        width: 1200px !important;
    }
    .main-content {
        width: 1200px !important;
    }
    .rankBox-li-first {
        height: 165px !important;
    }
    .rankBox-li-content ul li .text .text-title {
        width: 181px !important;
    }
    .gameBox .gameBox-li .game-banner {
        height: 139px !important;
    }
    .gameBox .gameBox-li {
        height: 235px !important;
    }
}
@media (min-width: 1600px) and (max-width: 1900px) {
    .head .menu {
        width: 87% !important;
    }
}
/* 
@media (min-width: 1600px) and (max-width: 2100px) {
    body {
        --banner-height: 569px;
        --thumb-icon-width: 52px;
        --banner-menu-width: 248px;
    }
    .content-scoll .preview-content {
        width: 1304px !important;
    }
    .swiperBox {
        width: 70% !important;
    }
    .main-content {
        width: 70% !important;
    }
    .swiper {
        height: 561px !important;
    }
    .gbanner-menus {
        margin-top: 26px !important;
    }
    .gbanner-menu-item {
        padding: 10px 10px !important;
        margin-bottom: 8px !important;
    }

    .rankBox-li-first {
        height: 170px !important;
    }
    .rankBox-li-content ul li .text .text-title {
        width: 219px !important;
    }
    .gameBox .gameBox-li .game-banner {
        height: 144px !important;
    }
    .gameBox .gameBox-li {
        height: 235px !important;
    }
} */
input:-moz-placeholder,
textarea:-moz-placeholder {
    color: var(--c-txt-vice);
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: var(--c-txt-vice);
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: var(--c-txt-vice);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}
* {
    touch-action: none;
}

input,
label,
i,
span {
    vertical-align: middle;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

i {
    color: var(--c-txt-asst);
}
p {
    margin: 0;
}

img {
    border: none;
}
/* 彻底干掉浏览器自动填充背景色 */
.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus,
.search-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 64px #333333 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* 隐藏自动填充的默认样式 */
.search-input:-internal-autofill-selected {
    appearance: none !important;
    background-color: transparent !important;
}
input[type="text"] {
    text-decoration: none;
    border: none;
    outline: none;
    border-radius: 3px;
    background-color: #e1e1e1;
    height: 24px;
    color: #3c3c3c;
    cursor: default;
    font-size: 12px;
}

.fleft {
    float: left;
}

.fright {
    float: right;
}

/* flex布局 */
.flex {
    display: flex;
}

.flex_A {
    display: flex;
    align-items: center;
}

.flex_E {
    display: flex;
    align-items: flex-end;
}

.flex_B {
    display: flex;
    justify-content: space-between;
}
.flex_A_B {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex_S_B {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.flex_A_D {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.flex_A_A {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.flex_A_C {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex_A_E {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.wrap {
    flex-wrap: wrap;
}

.center {
    text-align: center;
}

.clear {
    clear: both;
    overflow: hidden;
}

.line {
    height: 1px;
    background: var(--c-bg-left);
}
.relative {
    position: relative;
}

/*
滚动条样式
*/
/* .scroll::-webkit-scrollbar {
    width: 7px;
    height: 0px;
}

.scroll::-webkit-scrollbar-thumb {

    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 5px #d6d6d6;
    background: #d6d6d6;
}

.scroll::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px transparent;
    border-radius: 0;
    background: transparent;
    border-radius: 3px;
} */
/*
滚动条样式
*/
::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 7px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 0px;
}

::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 5px #1a1818;
    background: #353535;
}

::-webkit-scrollbar-track {
    /*滚动条里面轨道 101922 */
    -webkit-box-shadow: inset 0 0 5px transparent;
    border-radius: 0;
    background: transparent;
    border-radius: 3px;
}

/*
滚动条样式
*/
input[type="checkbox"] {
    visibility: hidden;
}

input[type="checkbox"]:after {
    position: relative;
    display: block;
    content: " ";
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    visibility: visible;
    border: 1px solid #88898b;
    border-radius: 40px;
}

input[type="checkbox"]:checked:after {
    content: "✔";
    width: 12px;
    height: 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    line-height: 12px;
    color: #2f2f33;
    background: #33ddcb;
    border: 1px solid #33ddcb;
}
/* 单选框 */
input[type="radio"] {
    visibility: hidden;
}
input[type="radio"]::after {
    position: relative;
    display: block;
    content: " ";
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    visibility: visible;
    border: 1px solid #88898b;
    border-radius: 40px;
}
input[type="radio"]:checked:after {
    content: "✔";
    width: 12px;
    height: 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 10px;
    line-height: 12px;
    color: #2b764f;
    background: #009944;
    border: 1px solid #009944;
}
