.styledx-input {
    width: 50px;
    padding: 6px 5px;
    text-align: center;
    margin: 1px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;}
.styledx-input:focus { border-color: #fb7299; box-shadow: 0 0 8px #fb7299; outline: none; } 
.styled-input::placeholder { color: #aaa; }  
img.code{
    padding: 1px;
    background-color: #FFF;
    margin: 5px 10px 0 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    max-width: 98%;
    border: 1px solid #EEE;
}
img.code:hover{ 
  border-color: #fb7299; 
  box-shadow: 0 0 8px #fb7299;
   outline: none; 
  }


a.l, a.l:link, a.l:visited, a.l:active {
    color: #fb7299;
    /* border: 0; */
    /* text-decoration: none; */
}
a.l:hover{
    color: #0084B4;
    border: 0;
}

div.quote {
    margin: 5px 0;
    width: 430px;
    font-size: 12px;
    color: #666;
}

div.quote q {
    font-size: 12px;
    quotes: "\201C" "\201D" "\2018" "\2019";
    display: inline-block;
    margin: 0 0 0 0;
    padding: 0 15px 0 0;
}

div.quote q:after {
    content: close-quote;
    display: inline;
    height: 0;
    line-height: 0;
    left: 5px;
    position: relative;
    top: 20px;
    font-size: 30px;
    color: #CCC;
}
div.quote q:before {
    content: open-quote;
    display: inline;
    height: 0;
    line-height: 0;
    left: 0px;
    padding-right: 5px;
    position: relative;
    top: 15px;
    font-size: 30px;
    color: #CCC;
}

span.text_mask:hover {
    color: #FFF !important;
    text-shadow: #FFF 0 0 0px;
}
span.text_mask {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    -ms-transition: all .5s linear;
    -o-transition: all .5s linear;
    text-shadow: #555 0 0 20px;
}
.emjoy6{
    width: 22px;
    height: 22px;
}




.love_action a i{
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-right: 0.1rem;font-size: 145%;vertical-align: top;
}


.love_action{
    display: block;
    position: relative;
    float: left;
}
.love_action ul{
    opacity: 0;
    z-index: 100; 
    display: block;
    visibility: hidden;
    position: absolute;
    top: 18px;
    /* right: -5px; */
    min-width: 100px;
    line-height: 100%;
    -webkit-transition: visibility 0s, opacity 0.15s linear;
    -moz-transition: visibility 0s, opacity 0.15s linear;
    -ms-transition: visibility 0s, opacity 0.15s linear;
    -o-transition: visibility 0s, opacity 0.15s linear;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgba(254, 254, 254, 0.9);
    -moz-box-shadow: inset 0 1px 1px hsla(0, 0%, 100%, 0.3), inset 0 -1px 0 hsla(0, 0%, 100%, 0.1), 0 2px 4px hsla(0, 0%, 0%, 0.2);
    -webkit-box-shadow: inset 0 1px 1px hsla(0, 0%, 100%, 0.3), inset 0 -1px 0 hsla(0, 0%, 100%, 0.1), 0 2px 4px hsla(0, 0%, 0%, 0.2);
    box-shadow: inset 0 1px 1px hsla(0, 0%, 100%, 0.3), inset 0 -1px 0 hsla(0, 0%, 100%, 0.1), 0 2px 4px hsla(0, 0%, 0%, 0.2);
}

.love_action:hover ul.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.love_action:hover ul {
    visibility: visible;
    opacity: 1;
    display: block;
    z-index: 99;
}


.love_action ul li {
    margin: 0;
    padding: 0;
}

.love_action:hover ul.grid li a {
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}


.love_action ul li:first-child a {
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}
.love_action ul li a {
    display: block;
    padding: 8px 15px;
    color: #0084B4;
}

.love_action ul li img.emoji {
    z-index: 10000;
    width: 25px;
    height: 25px;
    image-rendering: pixelated;
}

.love_action ul li a:hover {
    color: #FFF;
    background-color: #02A3FB;
}

.love_grid {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    -webkit-transition: all linear 0.1s;
    -moz-transition: all linear 0.1s;
    -ms-transition: all linear 0.1s;
    -o-transition: all linear 0.1s;
}


.love_grid .item {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    justify-content: center;
    line-height: 100%;
    box-sizing: border-box;
    padding: 2px 5px 3px 8px;
    color: #F09199;
    font-size: 12px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 20px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    -webkit-transition: all linear 0.1s;
    -moz-transition: all linear 0.1s;
    -ms-transition: all linear 0.1s;
    -o-transition: all linear 0.1s;
    background: #FEFEFE;
}

.love_grid .item:hover {
    cursor: pointer;
    background-color: #369CF8;
    color: #FFF;
    border-color: #369CF8;
    .num{
        color: #FFF!important;
    }
}
.love_grid .item.selected {
    -webkit-box-shadow: 0 0 2px #369CF8;
    -moz-box-shadow: 0 0 2px #369CF8;
    box-shadow: 0 0 2px #369CF8;
}




.love_grid .item .emoji {
    display: inline-block;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    background-size: 100% auto;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

#love_grid_data {
    position: relative;
    /* 其他样式 */
}
.love_grid .item .num{
    color: #888;
}
.love_grid .item.selected .num 
{ color: #0084B4; }




/* 火花效果样式 */
.spark {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fb7299; /* 将在JavaScript中设置随机颜色 */
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001; /* 确保在圆圈之上 */
    animation: sparkAnimation 1s forwards;
}

/* 火花动画 */
@keyframes sparkAnimation {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* 表情放大缩小动画 */
.emoji-pop {
    pointer-events: none;
    animation: emojiScale 1s forwards;
    
}

/* 表情放大缩小动画关键帧 */
@keyframes emojiScale {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.8);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 圆圈爆炸动画 */
.emoji-circle {
    position: absolute;
    width: 80px; /* 初始大小，刚好包裹住表情 */
    height: 80px;
    background: #fb7299;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999; /* 设置为高于表情的层级 */
    animation: circleExplode 0.4s cubic-bezier(0.01, 0, 0.95, 0.05) forwards; /* 使用新的 cubic-bezier 时间函数 */
}

.topiclist_thumb1:hover .play {
    opacity: 1;
    filter: alpha(opacity=1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.topiclist_thumb1 .play {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-size: 38% 38% !important;
    opacity: 0;
    transform: scale(1.5);
    transition: opacity .35s ease-out, transform .35s ease-out;
    background: rgba(0, 0, 0, 0.4) url(../img/play.svg) center no-repeat;
}

.banner-wtopq {
    width: 100%;
    overflow: hidden;
    z-index: 1;
    transition: all 0.6s ease;
    position: relative;
}

.banner-topq {
    opacity: 0;
    margin: 0 auto;
    transition: all 0.6s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 31rem;
    padding-top: 16px;
    padding-bottom: 35px;
    overflow: hidden;
    z-index: 3;
}

.banner-topq.opacity-top,
.banner-wtopq.opacity-top {
    opacity: 1;
}

.banner-mark {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
}

.banner-topq .swiper-slide {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    transform: scale(1);
    box-shadow: 0 10px 10px rgba(0, 0, 0, .16), 0 8px 10px rgba(0, 0, 0, .08);
    transition: transform 0.6s ease,
        box-shadow 0.6s ease,
        opacity 0.6s ease;
    overflow: hidden;
}

.banner-topq a.topiclist_thumb1 {
    display: block;
    width: 100%;
    padding-top: 45%;
    position: relative;
    background-color: #333;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 6px;
    overflow: hidden;
}

.banner-topq .swiper-slide.swiper-slide-active {
    transform: scale(1.18);
    -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, .16), 0 8px 10px rgba(0, 0, 0, .08);
    box-shadow: 0 10px 10px rgba(0, 0, 0, .16),
        0 8px 10px rgba(0, 0, 0, .08);
    transition: transform 0.6s ease,
        box-shadow 0.6s ease,
        opacity 0.6s ease;

}

.banner-topq .swiper-slide.is-hover-target {
    transform: scale(1.18);
    -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, .16), 0 8px 10px rgba(0, 0, 0, .08);
    box-shadow: 0 10px 10px rgba(0, 0, 0, .16), 0 8px 10px rgba(0, 0, 0, .08);
    transition: transform 0.6s ease,
        box-shadow 0.6s ease,
        opacity 0.6s ease;
}

.banner-topq .swiper-slide.is-suppressed {
    transform: scale(1);
}

.bg_wtopq {
    position: absolute;
    width: 100%;
    height: 3.5rem;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: -webkit-linear-gradient(#111111d1, transparent);
    background-image: linear-gradient(#111111d1, transparent);
}

.wbalist_titbox .wba_ico:hover {
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
    cursor: pointer;
}

.title_name {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding: 0.125rem 0.25rem;
    -o-text-overflow: ellipsis;
    background-repeat: no-repeat;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: #FFFFFF;
}

.bg_wpx {
    background-image: linear-gradient(rgb(32, 32, 32), transparent);
}

.wba_text {
    height: 35%;
}

.whs_s {
    margin-left: -7px;
    margin-top: 7px;
}