* {
    margin: 0;
    padding: 0;
}

body {
    background: url("img/bj.png") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    animation: backgroundFade 10s infinite alternate;
}

@keyframes backgroundFade {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
    100% { filter: brightness(1); }
}

.XY-talk {
    background: #ffe4e1;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
    transition: transform 0.3s, box-shadow 0.3s;
}

.XY-talk:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.XY-talk:nth-child(4n+1) {
    background-color: #ffebcd;
    color: #ff69b4;
}

.XY-talk:nth-child(4n+2) {
    background-color: #fff0f5;
    color: #ff1493;
}

.XY-talk:nth-child(4n+3) {
    background-color: #ffe4e1;
    color: #db7093;
}

.XY-talk:nth-child(4n+4) {
    background-color: #ffb6c1;
    color: #ff1493;
}

.XY-talk-time {
    font-size: 12px;
    color: #999;
}

.XY-talk-content {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@keyframes luandong {
    0% { transform: translateY(-300px); }
    50% { transform: translateY(-100px); }
    100% { transform: translateY(100px); }
}

@keyframes popIn {
    0% {
        transform: scale3d(0.5, 0.5, 0.5);
        opacity: 0;
    }
    50% {
        animation-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
    }
    100% {
        transform: scale3d(1, 1, 1);
        animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
        opacity: 1;
    }
}

@keyframes fadeleftIn {
    0% {
        transform: translate3d(100%, 0, 0);
    }
    100% {
        transform: none;
    }
}

@keyframes dou {
    0% { transform: rotate(4deg); }
    50% { transform: rotate(-4deg); }
    100% { transform: rotate(0deg); }
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.col-lg-12 { width: 100%; }
.col-lg-11 { width: 91.66666667%; }
.col-lg-10 { width: 83.33333333%; }
.col-lg-9 { width: 75%; }
.col-lg-8 { width: 66.66666667%; }
.col-lg-7 { width: 58.33333333%; }
.col-lg-6 { width: 50%; }
.col-lg-5 { width: 41.66666667%; }
.col-lg-4 { width: 33.33333333%; }
.col-lg-3 { width: 25%; }
.col-lg-2 { width: 16.66666667%; }
.col-lg-1 { width: 8.33333333%; }

@media (min-width: 768px) {
    .container { width: 482px; }
}
@media (min-width: 992px) {
    .container { width: 692px; }
}
@media (min-width: 1200px) {
    .container { width: 900px; }
}

.XY-box {
    margin: 20px auto;
    border-radius: 10px;
    border: 1px solid #ffb6c1;
    box-shadow: 0px 5px 15px 2px rgba(10, 10, 10, 0.1);
    background-color: #fff;
    padding: 0px;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.XY-box .XY-title {
    color: #fff;
    text-align: center;
    line-height: 38px;
    font-size: 20px;
    height: 38px;
    width: 100%;
    line-height: 38px;
    padding: 3px 0px;
    background: linear-gradient(to right, #ffb6c1, #ff69b4);
    border-bottom: 2px solid #ffb6c1;
    animation: gradientMove 5s infinite alternate;
}

@keyframes gradientMove {
    0% { background-position: left; }
    100% { background-position: right; }
}

.XY-box .XY-body {
    animation: popIn .6s;
    padding: 12px 12px;
}

.XY-box > img {
    width: 100%;
    border-bottom: 2px solid #ffb6c1;
}

.XY-head-tx {
    margin-bottom: 10px;
    text-align: center;
}

.XY-head-tx .portrait {
    background: linear-gradient(0deg, #ffb6c1 1%, #ff69b4 100%);
    border: 3px solid rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 10px 3px rgba(255, 182, 193, 0.5);
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    transition: transform 0.3s;
}

.XY-head-tx .portrait:hover {
    animation: dou 0.9s;
    transform: scale(1.1);
}

.XY-head-tx .portrait {
    width: 5rem;
    height: 5rem;
}

.XY-head-tx .portrait img {
    width: 100%;
    height: 100%;
}

.XY-head-tx .love {
    display: inline-block;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0px 8px;
    font-size: 1rem;
    animation: mymove 3s infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

.XY-head-tx .love img {
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .XY-box img { height: 40px; }
}
@media (min-width: 992px) {
    .XY-box img { height: 140px; }
}
@media (min-width: 1200px) {
    .XY-box img { height: 240px; }
}

.XY-micro {
    padding: 10px 14px;
    border-radius: 2px;
    border: 0px solid rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 7px 3px rgba(155, 155, 155, 0.2);
    border-left-style: solid;
    border-left-color: #ffb6c1;
    border-left-width: 10px;
    color: #000;
    font-size: 16px;
    animation: popIn .6s;
    margin: 12px 12px;
    margin-bottom: 9px;
}

.XY-xlrq {
    padding-top: 10px;
    font-size: 20px;
    text-align: center;
    color: #ff69b4;
    font-weight: 600;
    animation: textGlow 1.5s infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px #ff69b4; }
    100% { text-shadow: 0 0 20px #ff69b4; }
}

.XY-record {
    animation: fadeleftIn .6s;
    padding: 10px 14px;
    border-radius: 5px;
    border: 0px solid rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 7px 3px rgba(155, 155, 155, 0.2);
    color: #000;
    font-size: 16.5px;
    width: 70%;
    margin: 0px auto;
    margin-top: 12px;
    background-color: #fff;
}

.XY-record span {
    color: #ff69b4;
    font-size: 18px;
    font-weight: 600;
}

.XY-color-green {
    background: linear-gradient(to right, #6DE195, #C4E759);
}

.XY-color-blue {
    background: linear-gradient(to right, #ffb6c1, #ff69b4);
}

.XY-color-black {
    background: linear-gradient(to right, #121317, #323B42);
}

.XY-color-pink {
    background: linear-gradient(to right, #ffb6c1, #ff69b4);
    color: #fff;
}

.XY-color-yellow {
    background: linear-gradient(to right, #ffe259, #ffa751);
}

.enlarge {
    position: relative;
    animation: mymove 3s infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

@keyframes mymove {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

.XY-card-body {
    height: 450px;
    overflow-x: scroll;
    margin: 12px 0px;
    padding: 0px 12px;
}

.XY-card-body::-webkit-scrollbar {
    display: none;
}

.XY-card-left {
    float: left;
    width: 48%;
    margin: 12px 0px;
}

.XY-card-right {
    float: right;
    width: 48%;
    margin: 12px 0px;
}

.XY-card {
    border-radius: 6px;
    border: 0px solid rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 10px 3px rgba(255, 182, 193, 0.5);
    color: #000;
    font-size: 16.5px;
    min-height: 50px;
    margin: 10px 0px;
    overflow: hidden;
    padding: 0px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.XY-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px 5px rgba(255, 182, 193, 0.5);
}

.XY-card .txt {
    padding: 10px 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.XY-card .big-img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.XY-card .big-img:hover {
    transform: scale(1.1);
}

.XY-button {
    display: inline-block;
    padding: 4px 14px;
    text-align: center;
    border: 0px;
    border-radius: 40px;
    background-color: #ffb6c1;
    box-shadow: 0px 1px 8px 2px rgba(10, 10, 10, 0.2);
    color: #fff;
    margin: 12px 6px;
    outline: none;
    font-size: 17px;
    position: relative;
    font-weight: 600;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.XY-button:hover {
    cursor: pointer;
    bottom: 2px;
    background-color: #ff69b4;
    transform: scale(1.05);
}

.XY-everyday-title {
    margin-left: 12px;
    margin-top: 5px;
    font-size: 20px;
    text-align: left;
    font-weight: 600;
    color: #ff69b4;
    animation: textGlow 1.5s infinite alternate;
}

.XY-everyday-accum {
    animation: dou 1.2s;
    border-radius: 10px;
    width: 99%;
    height: 11.5rem;
    margin: 20px 0px;
    display: inline-block;
    background-color: #ffb6c1;
    box-shadow: 0px 0px 10px 3px rgba(255, 182, 193, 0.5);
    background-position: center;
    background-size: 100% 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.XY-everyday-accum .left {
    width: 47%;
    height: 100%;
    float: left;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.XY-everyday-accum .right {
    width: 53%;
    height: 100%;
    overflow: hidden;
    text-align: left;
}

.XY-everyday-accum .left > .img {
    width: 100%;
    border-radius: 17px;
    display: inline-block;
    overflow: hidden;
    margin-top: 10px;
    max-height: 98%;
    transition: transform 0.3s;
}

.XY-everyday-accum .left > .img:hover {
    transform: scale(1.1);
}

.XY-everyday-accum .left > .img img {
    width: 100%;
    height: 100%;
}

.XY-everyday-accum .right .title {
    text-align: left;
    color: #fff;
    margin-top: 15px;
    margin-right: 11px;
    font-size: 18.5px;
    font-weight: 600;
}

.XY-everyday-accum .right .txt {
    text-align: left;
    margin-right: 7px;
    margin-top: 4px;
    font-size: 10px;
    color: #fea13e;
    overflow: hidden;
    height: 48px;
}

.XY-everyday-accum .right .tab {
    font-size: 13px;
    color: #fff;
    font-weight: 550;
    background: rgba(255, 255, 255, 0.3);
    display: inline-block;
    text-align: left;
    padding: 1.8px 10px;
    border-radius: 40px;
    margin-bottom: 14px;
    margin-top: 7px;
    height: 18px;
    overflow: hidden;
}

.XY-advanced {
    width: 100%;
    height: 110px;
    box-shadow: 0px 2px 7px 3px rgba(155, 155, 155, 0.3);
    border-radius: 10px;
    background: #ffb6c1;
    margin: 0px auto;
    text-align: center;
}

.XY-advanced .date {
    font-size: 3rem;
    font-weight: 600;
    margin: 5px 0px;
    padding: 25px 0px;
    animation: textGlow 1.5s infinite alternate;
}
