.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 æ—¶é—´å‡½æ•° */
}
