/* 通用样式 */
* {
    margin: 0;
    padding: 0;
}
body {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: none;
    color: inherit;
}
input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #cacaca;
}
input:-ms-input-placeholder {
    /* IE 10+ */
    color: #cacaca;
}
input:-moz-placeholder {
    /* Firefox 18- */
    color: #cacaca;
    opacity: 1;
}
input::-moz-placeholder {
    /* Firefox 19+ */
    color: #cacaca;
    opacity: 1;
}
input {
    box-sizing: border-box;
    width: 100%;
    height: .75rem;
    margin-top: .4rem;
    padding: 0 .2rem;
    border: 1px solid #efeded;
    outline: none;
    border-radius: .2rem;
    font: inherit;
    text-align: inherit;
    font-size: .32rem;
}
button.primary {
    width: calc(100% - .8rem);
    font-size: .4rem;
    background-color: #1886f8;
    color: #fff;
    height: 1rem;
    margin: .2rem .4rem;
    text-align: center;
    line-height: 1rem;
    border-radius: .5rem;
}
.btn-group {
    display: flex;
    align-items: stretch;
    height: .88rem;
    font-size: .32rem;
    line-height: .88rem;
    text-align: center;
    border-top: 1px solid #ebedf0;
    background-color: #fff;
    cursor: pointer;
    color: #323233;
}
.btn-group .claim-btn {
    background: #d03515;
    color: #fff;
}
.c-red {
    color: #ff1a0d;
}
.c-red6 {
    color: #ed6643;
}
.bg-red {
    background-color: #e31b01;
    background-image: url('../images/hb_bg_new3.jpg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top left;
}
.bg-red2 {
    background-color: #e31b01;
    background-image: url('../images/hb_bg_new3.jpg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top left;
}
.bg-red4 {
    background-color: #e31b01;
    background-image: url('../images/hb_bg_new.jpg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top left;
}
.bg-red6 {
    background-color: #e31b01;
    background-image: url('../images/hb_bg_six.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top left;
}
.bg-red7 {
    background-color: #e31b01;
    background-image: url('../images/hb_bg_new7.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top left;
}
.bg-replenish {
    background-color: #d03515;
    background-image: url('../images/replenish.webp');
    background-size: 100% auto;
    background-position: top left;
}
.p-r {
    position: relative;
}
.p-a {
    position: absolute;
}
.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}
.f-1 {
    flex: 1;
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.ta-c {
    text-align: center;
}
.mask {
    display: flex;
    margin: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 14, 20, .8);
    z-index: 2002;
}
.mask-content {
    margin: auto;
}
.mask-content .title {
    padding: .4rem 0;
    text-align: center;
    font-size: .4rem;
}
.mask-content .info {
    font-size: .32rem;
    color: #888787;
    background: white;
}
/* 通用样式 end */
.rule-text {
    background-color: #fff;
    color: #333;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    margin-top:1.5rem; /* 新增：距离顶部 2rem */
    font-size: 0.2rem;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 5.3rem;
    margin-left: 0.1rem;

}

.rule-text h4 {
    margin-top:0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.3rem;
    color: #d9534f;
}

.rule-text ol,
.rule-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.rule-text li {
    margin-bottom: 0.5rem;
}
@keyframes big_and_small {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.1);
    }
}
