@charset "UTF-8";

:root {
    --tagcol: #fff;
    --tagbg: #2c6af0;
    /* 购买钥匙 */
    --btnkey: linear-gradient(45deg, #a234dae3 0%, #ee3b3b 51%, #ca4ce3 100%);
    /* 抽奖按钮 */
    --btnlottery: #b956fd;
    --btnbatch: #4a59ef;
    /* 兑换按钮背景色 */
    --exchangeBtnBg: #f56a3d;
}

.highlight-name {
    color: red;
    font-weight: bold;
}

.m-b-sm {
    margin-bottom: .5rem;
}

/* 体验版 */
.trial {
    color: #fff;
    padding: .4rem 1rem;
    margin-bottom: .6rem;
    background-color: #FF4742;
}

/* 包抽群 start */
.bao_group {
    margin: .2rem 0 .6rem;
    display: flex;
    font-size: .8rem;
    justify-content: center;
    align-items: center;
}

.bao_group button {
    border: none;
    outline: none;
    border-radius: 4px;
    font-size: .7rem;
    margin-left: .5rem;
    padding: 2px 5px;
    background: #fc3535 !important;
}

/* 购买钥匙 */
.purchase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.purchase button {
    width: 45%;
    padding: .5rem .6rem;
}

.purchase button:nth-child(odd) {
    margin-right: .5rem;
}

.purchase button:nth-child(1),
.purchase button:nth-child(2) {
    margin-bottom: .52rem;
}

/* 奖池道具 */
.prize {
    text-align: center;
    margin: .8rem 0;
}

.center-box {
    position: relative;
    padding: 0 !important;
}

.center {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
}

/* 抽奖按钮 */
.lottery {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.lottery button {
    flex-basis: 45%;
    padding: .5rem 0;
}

.lottery button:nth-child(odd) {
    margin-right: .5rem;
}

.lottery button:nth-child(1),
.lottery button:nth-child(2) {
    margin-bottom: .6rem;
}

/* 抽奖统计 */
.census {
    font-size: .8rem;
}

.census .coupon {
    margin-top: .9rem;
    margin-bottom: .4rem;
}

.census table {
    margin-top: .9rem;
}

/* 暂存箱 */
.store {
    font-size: 13px;
}

.can-count {
    font-size: .8rem;
    text-align: center;
}

.todo {
    cursor: pointer;
    color: #fff;
    background: #f53434;
}

/* 道具兑换 */

.exchange {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    font-size: .8rem;
}

.exchange .item {
    position: relative;
    flex-basis: 45%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 12px 2px;
    box-sizing: border-box;
}

.exchange .item:nth-child(n + 3) {
    margin-top: .5rem
}

.exchange .item:nth-child(odd) {
    margin-right: .5rem;
}

.exchange .item div {
    font-size: 12px;
    margin-bottom: .4rem;
}

.exchange .item .tag {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1px 1rem;
    color: var(--tagcol);
    background-color: var(--tagbg);
    border-top-right-radius: 1px;
    border-bottom-right-radius: 1px;
}

.exchange .item .name {
    margin-top: 1rem;
}

.exchange .item button {
    padding: 5px 10px;
    font-size: 11px;
    color: #fff;
    width: 80%;
    max-width: 150px;
    background-color: var(--exchangeBtnBg);
}

.paging {
    text-align: center;
    font-size: .9rem;
    margin-top: 15px;
}

.page {
    cursor: pointer;
}

.surplus-points {
    text-align: center;
    font-size: .8rem;
    margin-bottom: .6rem;
}

.can-count {
    margin-bottom: .5rem;
}

.store-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-bottom: .7rem;
}

.store-btn button {
    color: #fff;
    font-size: .7rem;
    border-radius: 4px;
    padding: .4rem 0rem;
    max-width: 320px;
    background-color: var(--btnbatch);
    flex-basis: calc(47% - .5rem);
}

.store-btn button:nth-child(odd) {
    margin-right: .5rem;
}

.store-btn button:nth-child(3),
.store-btn button:nth-child(4) {
    margin-top: .5rem;
}

/******** 页面底部按钮区域样式 ********/

/* 公共样式 */
.intro,
.advert {
    width: 320px;
    display: flex;
    flex-wrap: wrap;
    margin: .7rem auto 0;
}

.intro button,
.advert button {
    font-size: 13px;
    padding: .45rem 2rem;
}

/* 宣传 */

.advert button {
    flex: 1;
    background-color: #aa49fa;
}

.advert button:nth-child(odd) {
    margin-right: .7rem;
}

/* 福利按钮 */

.welfare {
    margin-top: .9rem;
    text-align: center;
}

.welfare button {
    width: 320px;
    color: #fff;
    padding: .6rem 3rem;
    background-color: #5677ff;
}

.welfare button:not(:last-child) {
    margin-bottom: 10px;
}

/* 底部按钮 */

.intro button {
    flex: calc(50% - .8rem);
    padding: .45rem 0rem;
    background-color: #507ef1;
}

.intro button:not(:nth-child(1), :nth-child(2)),
.advert button:not(:nth-child(1), :nth-child(2)) {
    margin-top: .7rem;
}

.intro button:nth-child(odd) {
    margin-right: .7rem;
}

/* 常见问题 */

.faq {
    width: 320px;
    display: flex;
    margin: .7rem auto 0;
}

.faq button {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: .45rem 0rem;
    flex: calc(50% - .7rem);
    background-color: #f06060;
}

.faq button:nth-child(odd) {
    margin-right: .8rem;
}