.mainWrap {
    width: 100%;
    height: 100%;
}
.mainWrap::before {
    display: table;
    content: "";
}
.peopleNumWrap {
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.peopleNum {
    font-size: 0.16rem;
    color: rgba(0, 0, 0, 0.75);
    background: #fff;
    display: inline-block;
    padding: 0.11rem 0.18rem;
    border-radius: 0.2rem;
    margin-right: 0.2rem;
}
/* 公共弹窗 */
.commonAlert {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: transparent;
}

.tipAlert {
    display: none;
}

.confirmAlert {
    display: none;
}

.toastAlert {
    display: none;
}

.alertBox {
    width: 5rem;
    background-color: #fff;
    border-radius: 0.2rem;
    margin-top: 15%;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    box-sizing: border-box;
    padding: 0.2rem;
}

.alertBox .alertTip {
    width: 100%;
    font-size: 0.2rem;
    font-weight: 700;
}

.alertBox .alertMsg {
    width: 100%;
    padding: 0.4rem 0;
    white-space: wrap;
}

.alertBox .alertWrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.alertBox .alertBtn {
    background-color: #4605cb;
    color: #fff;
    font-size: 0.18rem;
    padding: 0.1rem 0.3rem;
    border-radius: 0.1rem;
    cursor: pointer;
}

.alertBox .alertCancel {
    background-color: #f56c6c;
    color: #fff;
    font-size: 0.18rem;
    padding: 0.1rem 0.3rem;
    border-radius: 0.1rem;
    cursor: pointer;
    margin-right: 0.1rem;
}

.c_nav_box {
    width: 100%;
    height: 0.78rem;
    background: rgba(255, 255, 255, 0.2);
    position: fixed;
    bottom: 0;
    left: 0;
    justify-content: space-between;
    box-sizing: border-box;
    padding-left: 0.38rem;
    padding-right: 0.18rem;
    display: flex;
    align-items: center;
}
.c_item_nav {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.2rem;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.2rem;
    width: 1.16rem;
    padding: 0.1rem 0;
}

.c_lun_num {
    position: absolute;
    bottom: 0.82rem;
    left: 1.65rem;
	max-height: 85%;
	overflow-y: auto;
}
.c_lun_num::-webkit-scrollbar {
  display: none; /* 完全隐藏滚动条 */
}
.c_lun_item {
    width: 1.4rem;
    height: 0.4rem;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 0.1rem;
    color: #fff;
    border-radius: 0.04rem;
    margin-bottom: 0.1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.c_lun_tetx {
    height: 0.34rem;
    line-height: 0.34rem;
    transform: scale(0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.16rem;
}
.c_dw_img1 {
    position: absolute;
    right: 0.35rem;
    bottom: 1rem;
    width: 0.44rem;
    height: 0.44rem;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 0.04rem;
    cursor: pointer;
}
.c_dw_img2 {
    position: absolute;
    right: 0.84rem;
    top: 1.1rem;
    width: 0.45rem;
    height: 0.45rem;
}

.c_wai_bj {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #00000088;
    z-index: 100;
}
.c_gz_cbox {
    width: 14.59rem;
    height: 6.01rem;
    position: absolute;
    left: 3.7rem;
    top: 2.1rem;
}
.c_gz_head {
    width: 14.59rem;
    height: 6.01rem;
    position: absolute;
    left: 3.7rem;
    top: 2.1rem;
}
.c_gz_title {
    width: 100%;
    text-align: center;
    margin-top: 0.15rem;
}
.c_gz_concent {
    box-sizing: border-box;
    margin-top: 0.6rem;
    padding: 0rem 0.41rem 0 0.51rem;
    line-height: 0.35rem;
    max-height: 4.7rem;
    overflow-y: auto;
}
.close_bth {
    width: 0.28rem;
    height: 0.28rem;
    position: absolute;
    right: 3.5rem;
    top: 2rem;
}
.nav_yc {
    width: 0.23rem;
    height: 0.27rem;
    margin: auto;
}

/* 规则弹窗 */
.ruleBox {
    position: fixed;
    width: 100%;
    height: calc(100% - 0.78rem);
    left: 0;
    top: 0;
    z-index: 999;
}

.ruleWrap {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 83%;
    height: 70vh;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 0.32rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.6rem;
}

.ruleWrap .head {
    position: relative;
    width: 100%;
    height: 0.5rem;
    display: flex;
    justify-content: center;
    margin-top: 0.32rem;
}

.ruleWrap .head img {
    width: 4.76rem;
    height: 100%;
}

.ruleWrap .main {
    color: #000;
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 0.6rem 0.6rem 0;
}

/* 总排行榜 */
.allRank {
    text-align: center;
}
.allRank .headTitle {
    font-size: 0.4rem;
    color: #fff;
}
.allRank .headRank {
    width: 5.7rem;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 0.56rem;
    position: relative;
}
.allRank .headRank .podium {
    width: 5.7rem;
    height: auto;
}
.allRank .headRank .topNum {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.allRank .topBox {
    position: relative;
    width: 33.3%;
    height: 100%;
}

.allRank .top2 {
    position: absolute;
    left: 0;
    top: 0;
    color: #5f6163;
}

.allRank .top1 {
    position: absolute;
    left: 33.3%;
    top: 0;
    color: #cb6327;
}

.allRank .top3 {
    position: absolute;
    left: 66.6%;
    top: 0;
    color: #c67545;
}

.allRank .topBox .headImg {
    position: absolute;
    width: 0.68rem;
    height: 0.68rem;
    top: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
}

.allRank .top1 .headImg {
    top: -0.1rem;
}

.allRank .topBox .headImg .mark {
    width: 0.36rem;
    height: 0.36rem;
    position: absolute;
    right: -0.05rem;
    top: -0.18rem;
}

.allRank .topBox .headImg .useImg {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 50%;
}

.allRank .topBox .useName {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.1rem;
    margin-top: 1.66rem;
    font-size: 0.22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.allRank .topBox .useScore {
    margin-top: 0.06rem;
    font-size: 0.28rem;
    font-weight: 700;
}

.allRank .top1 .useName {
    margin-top: 1.36rem;
}

.allRank .top1 .useScore {
    font-size: 0.4rem;
}

.allRank .rankMain {
    width: 100%;
    box-sizing: border-box;
    padding: 0 8.02%;
    height: 4.7rem;
    overflow-y: auto;
    margin-top: 0.1rem;
}

.allRank .rankMain::-webkit-scrollbar {
    width: 0.04rem;
    background-color: #f5f5f5;
    border-radius: 0.04rem;
}
.allRank .rankMain::-webkit-scrollbar-thumb {
    background-color: #d3caca;
    border-radius: 5px;
}
.allRank .rankMain::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.allRank .rankMain .rankUnit {
    width: 1.68rem;
    height: 1.94rem;
    position: relative;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.12rem;
    margin-top: 0.34rem;
    float: left;
    margin-right: 0.35rem;
}
.allRank .rankMain .rankUnit:nth-child(8n) {
    margin-right: 0;
}
.allRank .rankMain .rankUnit::before {
    display: table;
    content: "";
}
.allRank .rankMain .rankUnit .userNum {
    width: 0.42rem;
    height: 0.42rem;
    position: absolute;
    left: -0.2rem;
    top: -0.2rem;
    text-align: center;
    line-height: 0.42rem;
    font-size: 0.24rem;
    color: #80acf1;
    background-color: #fff;
    border-radius: 50%;
}

.allRank .rankMain .rankUnit .headImg {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 50%;
    margin-top: 0.18rem;
    margin-left: 50%;
    transform: translateX(-50%);
}

.allRank .rankMain .rankUnit .userName {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 5%;
    margin-top: 0.1rem;
    font-size: 0.24rem;
    color: #fff;
}

.allRank .rankMain .rankUnit .userScore {
    width: 100%;
    margin-top: 0.08rem;
    font-size: 0.3rem;
    color: #fff;
    font-weight: 700;
}

/* 轮次排行榜 */
.rank {
    width: 73%;
    height: 71vh;
    margin-top: 10vh;
    margin-left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.32rem;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 0.72rem;
    color: #FFF;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.2rem;
}

.rank .headTitle {
    width: 4.76rem;
    height: 0.5rem;
    position: relative;
    margin-top: 0.2rem;
    margin-left: 50%;
    transform: translateX(-50%);
}

.rank .headTitle .headTitleImg {
    width: 100%;
    height: 100%;
}

.rank .headTitle .roundTitle {
    width: 74%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.26rem;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rank .rankDesc{
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 0.32rem;
    margin-bottom: 0.12rem;
}

.rank .rankDesc .item{
  font-size: 0.28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 修改为平均分布 */
.rank .item1{
    flex: 1; /* 平均分配空间 */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank .item2{
    flex: 1; /* 平均分配空间 */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank .item3{
    flex: 2; /* 占比稍大，保持原有比例感 */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank .item4{
    flex: 1; /* 平均分配空间 */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank .rankScroll{
    width: 100%;
    flex: 1;
    overflow-y: auto;
}

/* 为动态生成的内容单元添加样式 */
.rank .rankScroll .unit {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 0.12rem; /* 可选：添加间距 */
}

.rank .rankScroll .unit > div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 保持原有的比例关系，但使用flex布局实现平均分布 */
.rank .rankScroll .unit .item1 {
    flex: 1;
}

.rank .rankScroll .unit .item2 {
    flex: 1;
}

.rank .rankScroll .unit .item3 {
    flex: 2;
}

.rank .rankScroll .unit .item4 {
    flex: 1;
}

/* 设置滚动条的宽度和颜色 */
.rank .rankScroll::-webkit-scrollbar {
	width: 0.04rem;
	background-color: #f5f5f5;
    border-radius: 0.04rem;
}
/* 设置滚动条滑块的样式 */
.rank .rankScroll::-webkit-scrollbar-thumb {
	background-color: #d3caca;
	border-radius: 5px;
}
/* 设置滚动条滑块的hover状态样式 */
.rank .rankScroll::-webkit-scrollbar-thumb:hover {
	background-color: #555;
}

/* .rank .rankDesc .item3{
    margin-left: 0.4rem;
} */
.rank .rankScroll .unit{
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 0.12rem;
    height: 0.72rem;
}
.rank .rankScroll .unit .item2 img{
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
}

.rank .spItem{
    text-align: left;
}

.rank .rankScroll .unit .item1{
    font-size: 0.3rem;
}

.rank .rankScroll .unit .item3{
    font-size: 0.24rem;
}

.rank .rankScroll .unit .item4{
    font-size: 0.3rem;
    font-weight: 700;
}


/*登录弹窗*/
.hide {
    display: none;
}
.login {
    width: 100%;
    height: 100vh;
    background: rgb(0, 0, 0, 0.5);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login_box {
    width: 400px;
}
.login_box input {
    width: 92%;
    padding: 0.12rem 4%;
    border: 2px solid rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0.51);
    box-shadow: 0px 5px 8px rgb(0 0 0 / 46%) inset, 1px 2px 2px rgb(255 255 255 / 61%);
    border-radius: 0.2rem;
    margin-top: 0.3rem;
    text-align: center;
}

.login_title{
    width: 200%;
    margin-left: -50%;
}

.button-login {
    cursor: pointer;
    width: 100%;
    height: 0.45rem;
    border-radius: 0.12rem;
    -moz-border-radius: 6px;
    font-size: 0.24rem;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 37%);
    color: #fff;
    border: 0;
    background: -webkit-gradient(
        linear,
        50% 0%,
        50% 100%,
        color-stop(0%, rgba(255, 255, 255, 0.85)),
        color-stop(100%, rgba(218, 218, 218, 0))
    );
    box-shadow: 0 3px 3px rgb(0 0 0 / 36%);
    line-height: 0.45rem;
    margin-top: 0.3rem;
}
.button-login:hover {
    background: -webkit-gradient(
        linear,
        50% 0%,
        50% 100%,
        color-stop(0%, rgba(255, 255, 255, 0.85)),
        color-stop(100%, rgba(218, 218, 218, 0.3))
    );
}

.shake_effect {
    -webkit-animation-name: shake;
    animation-name: shake;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@-webkit-keyframes shake {
    from,
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

@keyframes shake {
    from,
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%,
    40%,
    60%,
    80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

/* -webkit- */
@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@-webkit-keyframes fadeInColor {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.5;
        background-color: rgba(255, 255, 255, 0);
    }
    100% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.3);
    }
}
@-webkit-keyframes slideIn {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-200px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0px);
    }
}
@-webkit-keyframes sizeDownMove {
    0% {
        -webkit-transform: scale(1);
        left: 100px;
    }
    100% {
        -webkit-transform: scale(0.6);
        left: 0px;
    }
}
@-webkit-keyframes fromBack {
    0% {
        opacity: 0;
    }
    100% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
}
/* -moz- */
@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@-moz-keyframes fadeInColor {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.5;
        background-color: rgba(255, 255, 255, 0);
    }
    100% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.3);
    }
}
@-moz-keyframes slideIn {
    0% {
        opacity: 0;
        -moz-transform: translateX(-200px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0px);
    }
}
@-moz-keyframes sizeDownMove {
    0% {
        -moz-transform: scale(1);
        left: 100px;
    }
    100% {
        -moz-transform: scale(0.6);
        left: 0px;
    }
}
@-moz-keyframes fromBack {
    0% {
        opacity: 0;
    }
    100% {
        -moz-transform: scale(1);
        opacity: 1;
    }
}
/**/
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes fadeInColor {
    0% {
        opacity: 0;
        background-color: rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 0.5;
        background-color: rgba(255, 255, 255, 0);
    }
    100% {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.3);
    }
}
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-200px);
    }
    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}
@keyframes sizeDownMove {
    0% {
        transform: scale(1);
        left: 100px;
    }
    100% {
        transform: scale(0.6);
        left: 0px;
    }
}
@keyframes fromBack {
    0% {
        /*transform: scale(0);*/
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 2025-1-6 轮次排行新增下拉选择 */
.rank_select{
	position: absolute;
	top:0.2rem;
	right: 0.5rem;
	display: none;
}
.useName2{
	margin-top: 0.1rem!important;
}