:root {
    --mpg: #e81f76;
    --mag: #d3e736;
    --meg: #f1d8a7;
    --pro: #4694d1;
    --pro-max: #b1b7c7;
    --gaming-red: #ff0016;
    --gaming-lightSeaGreen: #20adad;
    --mp-yellow: #ffda47;
}

.theme-meg {
    --theme: var(--meg);
}

.theme-mpg {
    --theme: var(--mpg);
}

.theme-mag {
    --theme: var(--mag);
}

.theme-pro {
    --theme: var(--pro);
}

.theme-pro-max {
    --theme: var(--pro-max);
}

.theme-gaming-red {
    --theme: var(--gaming-red);
}

.theme-gaming-lightSeaGreen {
    --theme: var(--gaming-lightSeaGreen);
}

.theme-mp-yellow {
    --theme: var(--mp-yellow);
}

/* --theme-- */
.theme {
    background: #000;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/mb-meg-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-meg-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-meg-bg-390px.jpg);
    }
}

/* -theme meg- */
.theme-meg {
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/mb-meg-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme-meg {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-meg-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-meg {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-meg-bg-390px.jpg);
    }
}

/* -theme mpg- */
.theme-mpg {
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/mb-mpg-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme-mpg {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-mpg-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-mpg {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-mpg-bg-390px.jpg);
    }
}

/* -theme mag- */
.theme-mag {
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/mb-mag-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme-mag {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-mag-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-mag {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-mag-bg-390px.jpg);
    }
}

/* -theme pro- */
.theme-pro {
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/mb-pro-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme-pro {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-pro-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-pro {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2022/images/msi-pro-bg-390px.jpg);
    }
}

/* -theme pro max- */
.theme-pro-max {
    background-image: url(https://storage-asset.msi.com/global/template/images/mb-pro-max-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme-pro-max {
        background-image: url(https://storage-asset.msi.com/global/template/images/msi-pro-max-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-pro-max {
        background-image: url(https://storage-asset.msi.com/global/template/images/msi-pro-max-bg-390px.jpg);
    }
}

/* -theme gp red- */
.theme-gaming-red {
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2023/images/mb-gaming-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme-gaming-red {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2023/images/mb-gaming-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-gaming-red {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/template/2023/images/mb-gaming-bg-390px.jpg);
    }
}

/* -theme gp lightSeaGreen- */
.theme-gaming-lightSeaGreen {
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/B760/b760-gaming-plus-wifi/mb-plus-bg-pc-new.jpg);
}

@media screen and (max-width: 960px) {
    .theme-gaming-lightSeaGreen {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/B760/b760-gaming-plus-wifi/msi-plus-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-gaming-lightSeaGreen {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/B760/b760-gaming-plus-wifi/msi-plus-bg-390px.jpg);
    }
}

/* -theme MPOWER Yellow - */
.theme-mp-yellow {
    background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/B850/b850mpower/images/msi-mp-yellow-bg-pc.jpg);
}

@media screen and (max-width: 960px) {
    .theme-mp-yellow {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/B850/b850mpower/images/msi-mp-yellow-bg-960px.jpg);
    }
}

@media screen and (max-width: 480px) {
    .theme-mp-yellow {
        background-image: url(https://storage-asset.msi.com/global/picture/image/feature/mb/B850/b850mpower/images/msi-mp-yellow-bg-390px.jpg);
    }
}

/* --theme mpg end-- */

.theme .mb {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.theme .mb img {
    max-width: 100%;
}

/* --mb__Group-- */
.theme .mb__Group {
    display: block;
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 2% 1%;
    overflow: hidden;
}

@media (min-width: 1921px) and (max-width: 3840px) {
    .theme .mb__Group {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media screen and (max-width: 1366px) {
    .theme .mb__Group {
        padding: 5% 1%;
    }
}

@media screen and (max-width: 960px) {
    .theme .mb__Group {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

/* --mb__Group end-- */

/* --mb__leftword-- */
.theme .mb__leftword {
    position: absolute;
    left: 0;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
    font-family: "industry-inc-base", sans-serif;
    bottom: 0;
    text-transform: uppercase;
    font-size: 70px;
    opacity: 0.1;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .theme .mb__leftword {
        display: none;
    }
}

/* --mb__leftword end-- */

/* --mb__sideMenu-- */
.theme .mb__sideMenu {
    display: block;
    position: relative;
    font-family: "industry-inc-base", sans-serif;
    text-align: left;
    -webkit-transition: 0.7s;
    transition: 0.7s;
    max-width: 1280px;
    margin: 0 auto;
}

@media screen and (max-width: 960px) {
    .theme .mb__sideMenu {
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
        background: #000000;
    }
}

.theme .mb__sideMenu-fake {
    max-height: 0;
    -webkit-transition: 0.7s;
    transition: 0.7s;
}

@media screen and (max-width: 960px) {
    .theme .mb__sideMenu-fake {
        max-height: none;
    }
}

@media screen and (max-width: 960px) {
    .theme .mb__sideMenu--fixed {
        position: fixed;
        top: 63px;
        width: 100%;
        z-index: 3;
    }
}

.theme .mb__sideMenu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

@media screen and (max-width: 960px) {
    .theme .mb__sideMenu ul {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

.theme .mb__sideMenu ul li {
    margin: 0 20px 0;
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 1;
    color: #999;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
}

@media screen and (max-width: 1280px) {
    .theme .mb__sideMenu ul li {
        font-size: 16px;
    }
}

@media screen and (max-width: 960px) {
    .theme .mb__sideMenu ul li {
        text-align: center;
        font-size: 18px;
        margin: 10px;
    }

    .theme .mb__sideMenu ul li.active {
        padding: 10px 5px 5px;
    }
}

.theme .mb__sideMenu ul li.active {
    color: #fff;
    padding: 10px 20px 5px;
    border-radius: 5px;
}

/* --mb__sideMenu active 背景（改用變數）-- */
.theme-meg .mb__sideMenu ul li.active {
    background: var(--meg);
    color: #000000;
}

.theme-mpg .mb__sideMenu ul li.active {
    background: var(--mpg);
}

.theme-mag .mb__sideMenu ul li.active {
    background: var(--mag);
    color: #000000;
}

.theme-pro .mb__sideMenu ul li.active {
    background: var(--pro);
    color: #ffffff;
}

.theme-pro-max .mb__sideMenu ul li.active {
    background: var(--pro-max);
    color: #000000;
}

.theme-gaming-red .mb__sideMenu ul li.active {
    background: var(--gaming-red);
    color: #ffffff;
}

.theme-gaming-lightSeaGreen .mb__sideMenu ul li.active {
    background: var(--gaming-lightSeaGreen);
    color: #ffffff;
}

.theme-mp-yellow .mb__sideMenu ul li.active {
    background: var(--mp-yellow);
    color: #000000;
}

/* --mb__sideMenu end-- */

/* --slick-track-- */
@media screen and (min-width: 1700px) {
    .theme .slick-track {
        padding: 0;
    }
}

.theme .slick-track li {
    flex: 1;
}

.theme .slick-prev {
    left: -30px;
}

/* --slick-track end-- */

/* --mb__featureBox-- */
.theme .mb__featureBlock {
    position: relative;
    width: 80%;
    max-width: 1280px;
    margin: 0 auto;
}

.theme .mb__featureBox {
    display: block;
    width: 100%;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.theme .mb__featureBox--active {
    position: relative;
    pointer-events: auto;
    opacity: 1;
    z-index: 2;
}

@media screen and (max-width: 960px) {
    .theme .mb__featureBox {
        width: 100%;
        margin: 0 auto;
    }
}

.theme .mb__featureBox .topMenu {
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 1367px) {
    .theme .mb__featureBox .topMenu {
        display: block;
        width: 75%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 960px) {
    .theme .mb__featureBox .topMenu {
        display: none;
    }
}

.theme .mb__featureBox .topMenu .slick-next:before {
    content: "→";
    font-weight: bold;
    font-size: 25px;
    color: rgb(238, 238, 238);
}

.theme .mb__featureBox .topMenu .slick-prev:before {
    content: "←";
    font-weight: bold;
    font-size: 25px;
    color: rgb(238, 238, 238);
}

.theme .mb__featureBox .topMenu ul {
    width: 100%;
    margin: 0 auto;
    margin: 0px;
    text-align: center;
    margin: auto;
}

.theme .mb__featureBox .topMenu ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    text-transform: uppercase;
    margin: 0px;
    font-weight: 500;
    color: #636363;
    padding: 20px 0;
}

.theme .mb__featureBox .topMenu ul li:hover {
    color: #ffffff;
    cursor: pointer;
}

.theme .mb__featureBox .topMenu ul li.active {
    color: #ffffff;
}

.theme .mb__featureBox .featureContainer {
    display: block;
    width: 100%;
    margin: 0 auto;
    background-color: transparent;
    position: relative;
}

.theme .mb__featureBox .featureContainer__box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

@media screen and (max-width: 960px) {
    .theme .mb__featureBox .featureContainer__box {
        position: relative;
        top: auto;
        left: auto;
        pointer-events: auto;
        opacity: 1;
    }
}

.theme .mb__featureBox .featureContainer__box--active {
    position: relative;
    pointer-events: auto;
    opacity: 1;
}

/* --mb__featureBox  meg-- */
.theme-meg .mb__featureBox .topMenu ul li.active {
    color: var(--meg);
}

.theme-meg .mb__featureBox .topMenu ul li {
    border-right: 1px solid rgba(150, 132, 98, 0.7);
}

.theme-meg .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid rgba(150, 132, 98, 0.7);
}

.theme-meg .mb__featureBox .topMenu ul li.active::before,
.theme-meg .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(226, 192, 128, 0.7511598389) 9%,
            rgba(226, 192, 128, 0.4570421919) 37%,
            rgba(226, 192, 128, 0.4122242647) 53%,
            rgba(226, 192, 128, 0.4402354692) 74%,
            rgba(226, 192, 128, 0.020067402) 100%);
}

.theme-meg .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-meg .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox  mpg-- */
.theme-mpg .mb__featureBox .topMenu ul li.active {
    color: var(--mpg);
}

.theme-mpg .mb__featureBox .topMenu ul li {
    border-right: 1px solid #e81f7673;
    /* 有透明度，保留原值 */
}

.theme-mpg .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid #e81f7673;
}

.theme-mpg .mb__featureBox .topMenu ul li.active::before,
.theme-mpg .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(231, 54, 122, 0.751) 9%,
            rgba(231, 54, 122, 0.457042) 37%,
            rgba(231, 54, 122, 0.412224) 53%,
            rgba(231, 54, 122, 0.440235) 74%,
            rgba(211, 231, 54, 0.0200674) 100%);
}

.theme-mpg .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-mpg .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox  mag-- */
.theme-mag .mb__featureBox .topMenu ul li.active {
    color: #d2e736;
}

/* 與 var(--mag) 相差 1，保留 */
.theme-mag .mb__featureBox .topMenu ul li {
    border-right: 1px solid #d2e73681;
    /* 有透明度，保留 */
}

.theme-mag .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid #d2e73681;
}

.theme-mag .mb__featureBox .topMenu ul li.active::before,
.theme-mag .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(211, 231, 54, 0.75116) 9%,
            rgba(211, 231, 54, 0.457042) 37%,
            rgba(211, 231, 54, 0.412224) 53%,
            rgba(211, 231, 54, 0.440235) 74%,
            rgba(211, 231, 54, 0.0200674) 100%);
}

.theme-mag .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-mag .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox  pro-- */
.theme-pro .mb__featureBox .topMenu ul li.active {
    color: var(--pro);
}

.theme-pro .mb__featureBox .topMenu ul li {
    border-right: 1px solid #4694d17a;
    /* 接近但不同色，且含透明度 */
}

.theme-pro .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid #4694d17a;
}

.theme-pro .mb__featureBox .topMenu ul li.active::before,
.theme-pro .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(70, 148, 209, 0.75116) 9%,
            rgba(70, 148, 209, 0.457042) 37%,
            rgba(70, 148, 209, 0.412224) 53%,
            rgba(70, 148, 209, 0.440235) 74%,
            rgba(211, 231, 54, 0.0200674) 100%);
}

.theme-pro .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-pro .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox  pro max-- */
.theme-pro-max .mb__featureBox .topMenu ul li.active {
    color: var(--pro-max);
}

.theme-pro-max .mb__featureBox .topMenu ul li {
    border-right: 1px solid #445a727a;
    /* 接近但不同色，且含透明度 */
}

.theme-pro-max .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid #445a727a;
}

.theme-pro-max .mb__featureBox .topMenu ul li.active::before,
.theme-pro-max .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(177, 183, 199, 0.75116) 9%,
            rgba(177, 183, 199, 0.457042) 37%,
            rgba(177, 183, 199, 0.412224) 53%,
            rgba(177, 183, 199, 0.440235) 74%,
            rgba(211, 231, 54, 0.0200674) 100%);
}

.theme-pro-max .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-pro-max .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox  gaming red-- */
.theme-gaming-red .mb__featureBox .topMenu ul li.active {
    color: var(--gaming-red);
}

.theme-gaming-red .mb__featureBox .topMenu ul li {
    border-right: 1px solid #ff00158f;
    /* 透明度，保留 */
}

.theme-gaming-red .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid #ff00158f;
}

.theme-gaming-red .mb__featureBox .topMenu ul li.active::before,
.theme-gaming-red .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(255, 0, 22, 0.75116) 9%,
            rgba(255, 0, 22, 0.457042) 37%,
            rgba(255, 0, 22, 0.412224) 53%,
            rgba(255, 0, 22, 0.440235) 74%,
            rgba(211, 231, 54, 0.0200674) 100%);
}

.theme-gaming-red .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-gaming-red .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox  gaming lightSeaGreen-- */
.theme-gaming-lightSeaGreen .mb__featureBox .topMenu ul li.active {
    color: var(--gaming-lightSeaGreen);
}

.theme-gaming-lightSeaGreen .mb__featureBox .topMenu ul li {
    border-right: 1px solid #20adad8f;
    /* 透明度，保留 */
}

.theme-gaming-lightSeaGreen .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid #20adad8f;
}

.theme-gaming-lightSeaGreen .mb__featureBox .topMenu ul li.active::before,
.theme-gaming-lightSeaGreen .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(51, 204, 204, 0.75116) 9%,
            rgba(51, 204, 204, 0.457042) 37%,
            rgba(51, 204, 204, 0.412224) 53%,
            rgba(51, 204, 204, 0.440235) 74%,
            rgba(51, 204, 204, 0) 100%);
}

.theme-gaming-lightSeaGreen .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-gaming-lightSeaGreen .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox  MPOWER Yellow-- */
.theme-mp-yellow .mb__featureBox .topMenu ul li.active {
    color: var(--mp-yellow);
}

.theme-mp-yellow .mb__featureBox .topMenu ul li {
    border-right: 1px solid #ffda478f;
    /* 透明度，保留 */
}

.theme-mp-yellow .mb__featureBox .topMenu ul li:first-child {
    border-left: 1px solid #ffda478f;
}

.theme-mp-yellow .mb__featureBox .topMenu ul li.active::before,
.theme-mp-yellow .mb__featureBox .topMenu ul li.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    z-index: 1;
    background: radial-gradient(circle,
            rgba(255, 218, 71, 0.75116) 9%,
            rgba(255, 218, 71, 0.457042) 37%,
            rgba(255, 218, 71, 0.412224) 53%,
            rgba(255, 218, 71, 0.440235) 74%,
            rgba(51, 204, 204, 0) 100%);
}

.theme-mp-yellow .mb__featureBox .topMenu ul li.active::before {
    top: 0;
}

.theme-mp-yellow .mb__featureBox .topMenu ul li.active::after {
    bottom: 0;
}

/* --mb__featureBox end-- */