@font-face {
    font-family: "cusong";
    src: url(//www.changyou.com/font/tlbbgl/汉仪粗宋简.ttf);
}

.wrap,
.wrap *,
.header,
.header * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    min-width: 1200px;
}

input[type="text"] {
    border: none;
    outline: none;
    box-shadow: none;
    line-height: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
}

input[type="text"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

.text-overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.container {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
    font-display: swap;
    word-break: break-all;
}

.title {
    margin: 0 auto;
    background: url(../img/title.png) no-repeat;
}

.sprite {
    position: relative;
    background: url(../img/sprite.png) no-repeat;
}

.switch {
    background: url(../img/switch.png) no-repeat;
}

.fontSong {
    font-family: cusong;
}

.text-hide {
    text-indent: -999em;
    overflow: hidden;
    white-space: nowrap;
}

.header {
    width: 100%;
    height: 1080px;
    padding-top: 836px;
    margin: 0 auto;
    overflow: hidden;
    background: url(../img/header.jpg) no-repeat center top;
    position: relative;
    font-size: 22px;
    color: #be2242;
}

.header a {
    color: #FDDB53;
    text-decoration: underline;
    display: inline-block;
}

a.logo {
    background: url(../img/logo.png) no-repeat;
    width: 200px;
    height: 101px;
    display: block;
    position: absolute;
    top: -810px;
    left: -10px;
}

.header .enter {
    width: 370px;
    height: 110px;
    background: url(../img/enter.png) no-repeat;
    /* margin: 0 auto; */
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
    will-change: transform;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -185px;
}

.header .enter:not(.gray):hover {
    filter: brightness(110%);
    transform: scale(1.03);
}

.header .enter:not(.gray) {
    animation: heartbeat 1.6s ease-in-out infinite;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.05);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(1);
    }
}

.header .login_box,
.header .logout_box {
    width: fit-content;
    /* height: 34px; */
    margin: 117px auto 0;
    line-height: 34px;
    text-align: center;
    color: #FDDB53;
    font-family: 'simSun';
    font-weight: bolder;
    background-color: rgb(0 0 0 / 50%);
    padding: 4px 10px;
    border-radius: 30px;
}

.wrap {
    /* height: 6820px; */
    padding-bottom: 140px;
    margin: 0 auto;
    overflow: hidden;
    background: url(../img/bg.jpg) no-repeat center top;
}

.list-content {
    /* margin-top: 10px; */
}

.list-content .title {
    width: 1226px;
    height: 227px;
    margin: 0 auto 30px;
    background: url(../img/title2.png) no-repeat;
}

.fliter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fliter-box .sort {
    font-size: 0;
}

.fliter-box .sort a {
    display: inline-block;
    width: 143px;
    height: 43px;
    background: url(../img/sprite.png) no-repeat;
    background-position: 0 0;
}

.fliter-box .sort a.news.on {
    background-position: -145px -132px;
}

.fliter-box .sort a.hots {
    background-position: -145px 0;
    margin-right: 20px;
}

.fliter-box .sort a.hots.on {
    background-position: -145px -177px;
}

.fliter-box .search {
    width: 215px;
    height: 45px;
    background-position: 0 -45px;
    padding: 4px 4px 4px 14px;
}

.fliter-box input {
    vertical-align: middle;
    height: calc(45px - 8px);
    width: 150px;
    font-size: 22px;
    line-height: 32px;
    color: #f8eaa7;
    background-color: transparent;
}

.fliter-box input::placeholder {
    color: #f8eaa7;
}

.fliter-box .search-btn {
    display: inline-block;
    vertical-align: middle;
    width: calc(45px - 8px);
    height: calc(45px - 8px);
    cursor: pointer;
}

.list-box {
    height: 822px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: space-between;
}

.list-box .item {
    width: 327px;
    height: 411px;
    background: url(../img/card.png) no-repeat;
    padding: 49px 42px;
    margin: 0 -15px;
}

.list-box .item .img-show {
    width: 230px;
    height: 193px;
    overflow: hidden;
    mask-image: url(../img/img-mask.png);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    position: relative;
    margin: 0 auto;
}

.list-box .item .img-show img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-box .item .img-show .tips {
    height: 35px;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    padding: 0 10px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.card-content-box {
    margin-top: 8px;
    line-height: 34px;
    font-size: 16px;
    color: #fff;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content-box .info-box {
    flex: 1;
}

.card-content-box .btn-box a {
    display: block;
    width: 118px;
    height: 42px;
    background-position: 0 -90px;
}

.card-content-box .btn-box a.view-btn {
    background-position: -120px -90px;
    margin-bottom: 5px;
}

.pagination-box {
    margin-top: 40px;
    font-size: 20px;
    color: #eebf99;
    user-select: none;
}

.pagination-box .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-box .page-num {
    display: inline-block;
    margin: 9px;
    padding: 0px 6px;
    cursor: pointer;
    line-height: 29px;
    min-width: 30px;
    height: 30px;
    text-align: center;
}

.pagination-box .page-num.current {
    color: #fff;
    background-color: #d2b77b;
    border-radius: 15px;
}

.pagination-box .page-numbers {
    min-width: 460px;
}

.pagination-box .prev-btn,
.pagination-box .next-btn {
    width: 72px;
    height: 69px;
    text-indent: -999em;
    overflow: hidden;
    background: url(../img/sprite.png) no-repeat;
    background-position: 0 -132px;
    /* margin: 0 76px; */
    cursor: pointer;
}

.pagination-box .next-btn {
    background-position: -72px -132px;
}

.prize-content h2.title {
    width: 1042px;
    height: 228px;
    margin: 140px auto 0;
    background: url(../img/title3.png) no-repeat;
}

.prize-content .title-small1 {
    width: 595px;
    height: 50px;
    background-position: 0 -499px;
    margin: 64px auto 0;
}

.prize-content .title-small2 {
    width: 475px;
    height: 50px;
    background-position: 0 -550px;
    margin: 64px auto 0;
}

.show-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.show-box2.show-box {
    width: 100%;
    /* background: url(/act/tlbbgl/goddess/20261010/6b29bf/pc/img/prize-bg.png) no-repeat; */
    background-position: 55px 24px;
    margin-top: -40px;
}

.show-box2.show-box .show-item {
    background: none;
    color: #b05800;
    width: auto;
}

.show-box .show-item {
    width: 925px;
    height: 905px;
    background: url(/act/tlbbgl/goddess/20261010/6b29bf/pc/img/yszm.png) no-repeat;
    position: relative;
    color: #f26d8a;
    font-size: 20px;
    display: none;
}

.show-box .show-item.on {
    display: block;
}

.show-box2.show-box .show-item span {
    right: 116px;
}

.show-box .show-item span {
    position: absolute;
    top: 56px;
    right: 144px;
    width: 214px;
    text-align: center;
}

.show-box .show-item span img {
    display: block;
    margin: 0 auto;
}

.switch-box {
    font-size: 30px;
    color: #fff;
}

.switch-box.switch-box2 li {
    background-position: 0 0;
}

.switch-box li {
    width: 104px;
    height: 99px;
    line-height: 99px;
    background-position: 0 0;
    cursor: pointer;
    position: absolute;
    user-select: none;
    color: #ffeeb9;
}

.switch-box .switch:nth-child(1) {
    top: 37px;
    right: 210px;
}

.switch-box .switch:nth-child(2) {
    top: 200px;
    right: 97px;
}

.switch-box .switch:nth-child(3) {
    top: 368px;
    right: 59px;
}

.switch-box .switch:nth-child(4) {
    top: 530px;
    right: 97px;
}

.switch-box .switch:nth-child(5) {
    top: 694px;
    right: 210px;
}

.switch-box.switch-box2 .switch:nth-child(1) {
    top: 63px;
    right: 219px;
}

.switch-box.switch-box2 .switch:nth-child(2) {
    top: 201px;
    right: 105px;
}

.switch-box.switch-box2 .switch:nth-child(3) {
    top: 340px;
    right: 45px;
}

.switch-box.switch-box2 .switch:nth-child(4) {
    top: 476px;
    right: 105px;
}

.switch-box li.font-28 {
    font-size: 28px;
}

.switch-box li.font-22 {
    width: 169px;
    height: 169px;
    background: url(../img/yb-bg.png) no-repeat;
    background-size: contain;
    background-position: 0 0;
    font-size: 22px;
    position: relative;
    padding-top: 50px;
    display: flex;
    line-height: 26px;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: 618px;
    right: 179px;
    color: #fffdf8;
}

.switch-box li.font-22 img {
    width: 76px;
    position: relative;
    z-index: 2;
}

.switch-box li.font-22 span.xftext {
    display: block;
    width: 114px;
    height: 49px;
    background: url(../img/xftext.png) no-repeat;
    text-indent: -999em;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: -14px;
}

.switch-box li.font-22.on,
.switch-box li.font-22:hover {
    background: url(../img/yb-bg-on.png) no-repeat;
    color: #fffdf8;
}

.switch-box li.font-22::before,
.switch-box li.font-22::after {
    content: " ";
    display: block;
    width: 100%;
    height: 100%;
    background: url(../img/light.png) no-repeat center center;
    background-size: cover;
    position: absolute;
    top: -9px;
    left: 0;
    opacity: 0;
    /* 初始透明 */
    z-index: 1;
    pointer-events: none;
}

/* 第一个伪元素 - 设置旋转角度和动画 */
.switch-box li.font-22::before {
    transform: rotate(15deg);
    /* 向右旋转15度 */
    animation: flashBlink 2s infinite ease-in-out;
}

/* 第二个伪元素 - 设置相反角度和延迟动画 */
.switch-box li.font-22::after {
    transform: rotate(-15deg);
    /* 向左旋转15度 */
    animation: flashBlink 2s infinite ease-in-out;
    animation-delay: 1s;
    /* 错开1秒，交替闪烁 */
}

/* 定义闪烁动画 */
@keyframes flashBlink {

    0%,
    100% {
        opacity: 0;
        transform: rotate(var(--angle)) scale(0.9);
        filter: brightness(0.8) drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
    }

    10%,
    90% {
        opacity: 0.3;
        transform: rotate(var(--angle)) scale(1);
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
    }

    50% {
        opacity: 0.8;
        transform: rotate(var(--angle)) scale(1.1);
        filter: brightness(1.5) drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
    }
}

/* 为每个伪元素设置自定义属性以保持角度 */
.switch-box li.font-22::before {
    --angle: 15deg;
}

.switch-box li.font-22::after {
    --angle: -15deg;
}

.switch-box.switch-box2 .switch.on,
.switch-box.switch-box2 .switch:hover {
    background-position: 0 -99px;
    color: #fdffec;
}

.switch-box .switch.on,
.switch-box .switch:hover {
    background-position: 0 -99px;
}

.prize-content .title .prize-content .title-small2 {
    width: 475px;
    height: 50px;
    background-position: 0 -549px;
    margin: 66px auto 0;
}

.signup-content {
    /* margin-top: 10px; */
}

.signup-content .title {
    width: 1054px;
    height: 227px;
    background: url(../img/title1.png) no-repeat;
    margin-bottom: 29px;
}

.banner img {
    width: 100%;
    height: auto;
}

.rules-content .title {
    width: 928px;
    height: 228px;
    background: url(../img/title4.png) no-repeat;
    margin: 80px auto 58px;
}

.rule-item {
    font-size: 18px;
    color: #fffbc3;
    text-align: left;
    margin-bottom: 24px;
    font-family: 'simSun';
    font-weight: bold;
}
.rule-item .rule-item {
    margin-bottom: 6px;
}
.rule-item p {
    padding-left: 28px;
    line-height: 28px;
}

.rule-item table {
    width: 80%;
    margin: 6px auto;
    border-collapse: collapse;
}

.rule-item table th {
    font-weight: bolder
}

.rule-item table th,
.rule-item table td {
    border: 1px solid;
    text-align: center;
    padding: 6px 0;
}

.rule-item span {
    display: block;
    width: fit-content;
    height: 29px;
    color: #fff586;
    font-size: 20px;
    line-height: 29px;
    padding: 0 28px;
    background: url(../img/text-bg.png) no-repeat;
    background-position: right;
    position: relative;
}

.rule-item span i {
    width: 28px;
    height: 28px;
    font-style: normal;
    position: absolute;
    background-position: -261px -46px;
    position: absolute;
    left: -14px;
    top: 0px;
    text-align: center;
    line-height: 24px;
}

.sideMenu {
    width: 202px;
    height: 490px;
    background: url(../img/side.png);
    position: fixed;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 89px;
    padding-left: 4px;
    z-index: 2;
}

.sideMenu a {
    display: block;
    width: 138px;
    height: 30px;
    margin-bottom: 14px;
    background: url(../img/menu.png) no-repeat;
    text-indent: -999em;
    overflow: hidden;
}

.sideMenu a:nth-child(1) {
    background-position: 0 0;
}

.sideMenu a:nth-child(2) {
    background-position: 0 -30px;
}

.sideMenu a:nth-child(3) {
    background-position: 0 -60px;
}

.sideMenu a:nth-child(4) {
    background-position: 0 -90px;
    margin-bottom: 26px;
}

.sideMenu a:nth-child(1):hover,
.sideMenu a:nth-child(1).on {
    background-position: -140px 0;
}

.sideMenu a:nth-child(2):hover,
.sideMenu a:nth-child(2).on {
    background-position: -140px -30px;
}

.sideMenu a:nth-child(3):hover,
.sideMenu a:nth-child(3).on {
    background-position: -140px -60px;
}

.sideMenu a:nth-child(4):hover,
.sideMenu a:nth-child(4).on {
    background-position: -140px -90px;
}

.sideMenu p {
    color: #fff;
    font-size: 13px;
    padding-top: 2px;
}

.sideMenu img {
    width: 84px;
    height: 84px;
    margin-left: 3px;
}

.sideMenu .back-top {
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-top: 27px;
}

/* 置灰 */
.gray {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

.voteNum {
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    /* 添加过渡效果，让数值变化更平滑 */
    transition: transform 0.2s ease;
}

.card-content-box .voteNum {
    max-width: 65px;
}

.voteNum.addAnimate {
    /* 点击时有轻微的上弹效果 */
    transform: translateY(-2px);
}

.float-up {
    position: absolute;
    top: 4px;
    right: 0;
    line-height: normal;
    font-size: 12px;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    user-select: none;
    z-index: 100;
    animation: floatUp .8s ease-out forwards;
    opacity: 0;
    text-indent: 0;
}

/* 定义浮起动画 */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }

    20% {
        opacity: 1;
        transform: translateY(-10px) scale(1.1);
    }

    40% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-36px);
    }
}

img:not([src]),
img[src=""] {
    display: none;
}

.save-tips {
    color: #fff;
}