:root {
    --color1: #1a70da;
    --color1-light: #3686e8;
    --color1-dark: #1268d2;
    --color2: #8ebb34;
    --foot-nav-height: 58px;
    --page-padding: 20px;
    --rule-padding: 50px;
}

body {
    background: #f9f9f9
}

.fw-900 {
    font-weight: 900;
}

body:after {
    content: '';
    display: block;
    height: var(--foot-nav-height)
}

.container {
    max-width: 1024px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    box-shadow: var(--ui-shadow)
}

.container.blank {
    padding-left: 10px;
    padding-right: 10px
}

.header {
    padding: 15px;
    margin-bottom: 20px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: solid 1px #ddd;
    box-shadow: var(--ui-shadow);
}

.header:after {
    content: '';
    flex: 0 0 20px
}

.header__name {
    font-size: 18px;
}

.header__back {
    cursor: pointer
}

.header__back:before {
    content: '\e841';
    font-family: iconfont;
    font-size: 20px
}

.footer-nav-wrap {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    width: 100%
}

.footer-nav {
    max-width: 1024px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 -2px 5px 1px rgba(0, 0, 0, .1);
    display: grid;
    grid-template-columns:repeat(4, 1fr);
}

.footer-nav_item {
    color: #333;
    order: 0;
    padding: 5px 0;
    height: 58px;
    border-radius: 0;
    margin-bottom: 0;
    background: #f5f5f5;
    border-right: solid 1px #ddd;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-nav_item:last-child {
    border-right: 0
}

.footer-nav_item:hover {
    background: #f0f0f0
}

.footer-nav_item a {
    position: absolute;
    inset: 0;
    z-index: 1
}

.footer-nav_item span {
    font-size: 16px;
    color: #555
}

.home-banner {
    position: relative
}

.home-banner__slide {
    height: 550px !important;
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: cover
}

.main-title {
    position: relative;
    padding-left: 18px;
    padding-bottom: 18px;
    margin-bottom: 30px;
    border-bottom: solid 1px #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-title:before {
    content: '';
    width: 6px;
    height: 18px;
    background: var(--color1);
    position: absolute;
    top: 9px;
    left: 0;
}

.main-title span,a {
    font-size: 20px;
    text-transform: uppercase
}

.search {
    display: flex;
    flex: 0 0 200px;
    position: relative
}

.search:after {
    content: '\e71a';
    font-family: iconfont;
    font-size: 18px;
    position: absolute;
    top: 9px;
    right: 9px;
    color: #777
}

.search input[type=text] {
    border: solid 1px #ddd;
    width: 100%;
    height: 36px;
    padding-left: 9px;
    border-radius: 5px;
}

.search input[type=submit] {
    height: 36px;
    width: 36px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    cursor: pointer
}

@media (max-width: 512px) {
    :root {
        --foot-nav-height: 50px;
    }

    .header__name {
        font-size: 16px;
    }

    .footer-nav_item {
        height: 50px
    }

    .footer-nav_item span {
        font-size: 15px
    }

    .main-title:before {
        top: 10px
    }

    .main-title span,a{
        font-size: 17px
    }
}

@media (max-width: 1024px) {
    .home-banner__slide {
        height: 55vw !important
    }
}

@media (max-width: 414px) {
    .search {
        flex: 0 0 160px
    }
}

.home-list-wrap {
    padding: var(--page-padding)
}

.item-list {
    display: grid;
    grid-template-columns:repeat(5, 18%);
    justify-content: space-between;
    row-gap: 25px;
}

.item-list.row {
    border-bottom: dashed 1px #ddd;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.item-list__box {
    text-align: center;
    transition: transform .3s
}

.item-list__box:hover {
    transform: translateY(5px)
}

.item-list__img {
    width: 100%;
    aspect-ratio: 1/1
}

.item-list__img img {
    width: 100%
}

.item-list__txt {
    margin-top: 12px;
}

.item-list__txt a {
    font-size: 18px;
}

/*.item-list.home .item-list__box:nth-child(16) {*/
/*    display: none*/
/*}*/

@media (max-width: 768px) {
    .item-list__txt a {
        font-size: 16px;
    }
}

@media (max-width: 512px) {
    :root {
        --page-padding: 15px;
    }

    .home-list-wrap {
        padding: var(--page-padding);
    }

    .item-list {
        margin-bottom: 20px;
        grid-template-columns:repeat(4, 23%);
        row-gap: 20px;
    }

    .item-list.home .item-list__box:nth-child(16) {
        display: block
    }
}

@media (max-width: 414px) {
    .item-list__txt a {
        font-size: 15px;
    }
}

.rule-banner {
    margin: 23px var(--page-padding);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdf0f0;
    font-size: 20px;
}

.rule-banner img {
    width: 100%
}

.rule-list {
    padding: var(--page-padding);
    display: grid;
    grid-template-columns:repeat(5, 19%);
    justify-content: space-between;
    row-gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: dashed 1px #eee
}

.rule-list__box {
}

.rule-list__main {
    display: flex;
    align-items: center
}

.rule-list__img {
    flex: 0 0 calc(100% - var(--rule-padding));
    width: calc(100% - var(--rule-padding))
}

.rule-list__img img {
    width: 100%;
    aspect-ratio: 1/1
}

.rule-list__prop {
    font-size: 16px;
    flex: 0 0 var(--rule-padding);
    width: var(--rule-padding);
    padding-left: 9px
}

.rule-list__name {
    margin-top: 9px;
    font-size: 16px;
    text-align: center;
    margin-right: var(--rule-padding)
}

@media (max-width: 768px) {
    :root {
        --rule-padding: 30px;
    }

    .rule-list {
        grid-template-columns:repeat(4, 24%)
    }

    .rule-list__name,
    .rule-list__prop {
        font-size: 12px
    }
}

@media (max-width: 512px) {

}

@media (max-width: 414px) {

}

@media (max-width: 320px) {
    .rule-list {
        grid-template-columns:repeat(2, 48%)
    }

    .rule-list__name {
        font-size: 12px
    }

    .rule-list__prop {
        font-size: 12px
    }
}

.detail-video {
    margin: 0 var(--page-padding)
}

.detail-video video {
    width: 100%;
    height: 100%;
    object-fit: fill
}

.detail-content {
    padding: var(--page-padding);
    display: flex;
    justify-content: space-between;
}

.detail-info {
}

.detail-btn {
    padding: 20px var(--page-padding);
    display: flex;
}

.detail-btn button {
    color: #fff;
    border-radius: 3px;
    padding: 10px 35px;
    margin-right: 15px;
    font-size: 15px;
}

.detail-btn button:nth-child(1) {
    background: #1a70da
}

.detail-btn button:nth-child(2) {
    background: #fb6b02
}

.detail-btn button:nth-child(3) {
    background: #1cad70;
    margin-right: 0
}

.detail-hp-title {
    font-size: 20px;
}

.detail-hp-attr {
    margin-bottom: 15px;
    font-size: 16px;
    display: grid;
    grid-template-columns: 50px auto
}

.detail-hp-attr label {
    color: #777
}

.detail-hp-attr:nth-child(1) span {
    color: #1a70da
}

.detail-hp-attr:nth-child(2) span {
    color: #fb6b02
}

.detail-hp-attr:nth-child(3) span {
    color: #1cad70
}

.detail-hp-attr:nth-child(4) span {
    color: #f65500
}

.detail-img {
    max-width: 70%
}

.detail-img img {
    width: 100%
}

@media (max-width: 512px) {
    .detail-btn button {
        padding: 8px 25px;
        margin-right: 15px
    }

    .detail-img {
        max-width: 60%
    }
}

@media (max-width: 414px) {
    .detail-img {
        max-width: 50%
    }
}

.detail-article {
    padding: 0 var(--page-padding) 15px
}

.detail-article h3 {
    margin-bottom: 20px;
}

.detail-article p {
    margin-bottom: 16px;
    line-height: 1.7
}

.battle-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    font-size: 20px
}