// 公共样式表
@import url("base.less");

.liangzai_lamp {
    --background: linear-gradient(to right, #000, #000);
    --font-color: linear-gradient(to right, #F00 15%, #ff0, #0f0, #0ff, #00f, #f0f);
    font-size: 16px;
    font-weight: bold;
    // display: inline-block;
    margin: 0px auto;
    padding: 10px 5px;
    background: var(--font-color), var(--background);
    -webkit-background-clip: text, border-box;
    -webkit-text-fill-color: transparent;
    background-clip: text, border-box;
    color: transparent;
    text-align: center;

    animation: mymove 0.2s ease infinite;
    -webkit-animation: mymove 0.2s ease infinite;
}

@keyframes mymove {
    from {
        --font-color: linear-gradient(to right, #F00 15%, #ff0, #0f0, #0ff, #00f, #f0f);
    }

    to {
        // --font-color: linear-gradient(to left, #F00 15%, #ff0, #0f0, #0ff, #00f, #f0f);
        --font-color: linear-gradient(to left, #F00 15%, #00f, #f0f,#0ff,#0f0, #ff0);
    }
}

@-webkit-keyframes mymove {
    from {
        --font-color: linear-gradient(to right, #F00 15%, #ff0, #0f0, #0ff, #00f, #f0f);
    }

    to {
        // --font-color: linear-gradient(to left, #F00 15%, #ff0, #0f0, #0ff, #00f, #f0f);
        --font-color: linear-gradient(to left, #F00 15%, #00f, #f0f,#0ff,#0f0, #ff0);
    }
}

.game_list {
    padding: 0 10px;
    overflow: hidden;
    background: #fff;

    .col {
        padding: 15px 5px;
        border-bottom: 1px solid #f5f5f5;

        .img {
            width: 70px;
            height: 70px;
            overflow: hidden;
            border-radius: 10px;
            position: relative;

            img {
                object-fit: cover;
            }

            .num {
                background: #f60;
                position: absolute;
                width: 26px;
                height: 20px;
                line-height: 20px;
                text-align: center;
                left: 0;
                bottom: 0;
                font-size: 12px;
                color: #fff;
                z-index: 10;
                border-radius: 0 10px 0 10px;
            }
        }

        .txt {
            width: calc(100% - 192px);
            margin-left: 12px;
            margin-right: 10px;

            // background: #00f;
            .tit {
                font-size: 15px;
                font-weight: bold;
                margin-bottom: 8px;
            }

            .people {
                font-size: 13px;
                color: #999;

                .iconfont {
                    color: #f96900;
                    margin-right: 2px;
                }
            }
        }

        .btn {
            width: 100px;
            height: 40px;
            line-height: 40px;
            border-radius: 40px;
            font-size: 15px;
            text-align: center;
            background: linear-gradient(315deg, #6772FF 0, #00F9E5 100%);
            color: #fff;
            overflow: hidden;
        }

    }

    .col:nth-child(1) {
        padding: 20px 5px;
        border-bottom: 1.5px dashed #00F9E5;

        .txt {
            .tit {
                font-size: 18px;
                color: #000;
            }
        }
    }

    .col:nth-child(1),
    .col:nth-child(2),
    .col:nth-child(3) {
        .num {
            font-weight: bold;
            font-size: 14px;
        }
    }

    .col:nth-child(1) .num {
        background: #F44336 !important;
    }

    .col:nth-child(2) .num {
        background: #FF5722 !important;
    }

    .col:nth-child(3) .num {
        background: #FF9800 !important;
    }

    .col:nth-child(3n+1) .num {
        background: #4CAF50;
    }

    .col:nth-child(3n+2) .num {
        background: #00BCD4;
    }

    .col:nth-child(3n) .num {
        background: #2196F3;
    }

    .col:nth-child(5n+2) .num {
        background: #E040FB;
    }

    .col:nth-child(5n+3) .num {
        background: #FFA000;
    }

    .col:nth-child(5n+4) .num {
        background: #AFB42B;
    }

    .col:nth-child(5n) .num {
        background: #00796B;
    }

    .col:last-child {
        border-bottom: none;
    }
}