* {
    padding: 0;
}

body {
    font-family: "AvantGarde BK BT";
}

a:hover, a:active, a:link, a:visited {
    color: inherit;
    text-decoration: none;
}

.app {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 18px;
    color: #5B5B5B;
}

.user-info {
    font-size: 18px;
    display: flex;
    align-items: center;
    color: #919191;
    padding: 48px 0;
}

.user-info>span {
    margin-right: 58px;
}

.recharge {
    color: #4C7F36;
    font-weight: bold;
}

.username {
    color: #4785C8;
    display: flex;
    align-items: center;
}

.username>.account-vip {
    margin-left: 18px;
}

.inline-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.nav {
    display: flex;
    border: #B1C4DA solid 2px;
    text-align: center;
    border-radius: 13px;
    cursor: pointer;
    overflow: hidden;
    height: 40px;
}

.nav-item {
    flex: 1;
    color: #4785C8;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item:not(:last-child) {
    border-right: #B1C4DA solid 2px;
}

.navchecked {
    background-color: #4785C8;
    color: white;
}

.nav-item > a {
    display: block;
    width: 100%;
    height: 100%;
}

#vip-recharge {
    margin-bottom: 106px;
}

.cards {
    margin: 0 auto;
    display: grid;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(278px, 1fr));
    margin-bottom: 50px;
}

.card-btn {
    width: 268px;
    height: 91px;
    border: 2px solid #B1C4DA;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #4B79C0;
    cursor: pointer;
    font-size: 18px;
    box-sizing: border-box;
    font-weight: bold;
}

.card-btn.checked {
    color: white;
    background-color: #4785C8;
    border: 2px solid #4785C8;
}

h2 {
    color: #5B5B5B;
    font-size: 18px;
}

.title-ft {
    margin-left: 12px;
}

.referral-code-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 66px;
}

.referral-code-box h2 {
    margin-right: 20px;
}

.code-input {
    border: 2px solid #B1C4DA;
    border-radius: 13px;
    margin-right: 20px;
    line-height: 2;
    padding: 0 12px;
    font-size: 16px;
}

.code-input:focus {
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

.tips {
    color: #4C7F36;
    font-size: 16px;
}

.pay-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 72px;
}

.pay-select>h2 {
    margin-right: 43px;
}

.pay-options {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 16;
}

.option {
    display: flex;
    align-items: center;
    margin-right: 84px;
}

.option>.cb {
    margin-right: 21px;
}

.option .radio {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 2px solid #B1C4DA;
    position: relative;
}

.pay-label {
    display: inline-block;
    white-space: nowrap;
    color: #5B5B5B;
    font-weight: bold;
    margin-left: 4px;
}

input[type='radio']:checked+div::after {
    display: block;
    content: " ";
    width: 18px;
    height: 18px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: auto;
    background-color: #B1C4DA;
    border-radius: 100%;
}

.option input {
    display: none;
}

.submit-box {
    text-align: center;
}

.submit-btn {
    border-radius: 32.5px;
    border: none;
    width: 163px;
    background-color: #4785C8;
    color: white;
    line-height: 1.8;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
}

#wd-recharge {
    margin: 149px 0 0 0;
}

.recharge-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.recharge-code-title {
    margin-right: 20px;
    transform: translateY(-30%);
    font-size: 18px;
}

.account-tip {
    display: block;
    color: #5B5B5B;
    font-size: 16px;
    margin-top: 9px;
}

.inline-title {
    display: inline-block;
    margin-right: 27px;
}

.unit {
    font-weight: bold;
}

.buy-input {
    width: 268px;
}

/**icons**/

.icon {
    display: inline-block;
    width: 26px;
    height: 23px;
    background-size: cover;
}

.wechat {
    background-image: url(/images/3.png);
}

.alipay {
    background-image: url(/images/4.png);
}

.wd {
    background-image: url(/images/5.png);
}

.gold {
    background-image: url(/images/1.png);
}

.silver {
    background-image: url(/images/2.png);
}

.paytips {
    list-style-type: circle;
    font-size: 12px;
    color: #4B4B4B;
    margin-top: 30px;
}

.paytips li {
    list-style-type: circle;
    margin-bottom: 0.5em;
    margin-left: 18px;
}

.paytips li a {
    color: #4B79C0;
    font-weight: bold;
}

@media screen and (max-width: 1187px) {
    .cards {
        justify-items: center;
    }
    .pay-select {
        flex-direction: column;
    }
    .pay-options {
        flex-direction: column;
    }
    .option {
        margin-right: 0;
        margin-bottom: 18px;
    }
    h2.inline-title {
        display: block;
    }
}

.buy-wd {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 66px;
    align-items: center;
}

@media screen and (max-width: 608px) {
    h2 {
        text-align: center;
    }

    .user-info>span {
        margin-right: 24px;
    }

    .recharge-code-title {
        margin-right: 14px;
    }
}

.gift-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.gift-wrapper img{
    max-width: 100%;
}
