/* voting.css */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    user-select: none;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    position: relative;
    color: #555;
    transition: color 0.1s;
}

.star.empty {
    color: #555;
}

.star.full {
    color: #ff4ddb;
}

.star.half {
    background: linear-gradient(90deg, #ff4ddb 50%, #555 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-display {
    margin-left: 8px;
    font-size: 1rem;
    color: #888;
    min-width: 2em;
    display: none;
}

.trackgrid {
    * {
        text-align: center;
    }
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 45px 15px;

    > div {
        max-width: 100%;
        .cover-container {
            position: relative;

            > div {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 50px;
                height: 50px;
                border-radius: 90px;
                border: 2px solid white;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                background: radial-gradient(#0006, #0000);
                opacity: 0.7;
                transition: opacity 0.2s;

                &:hover {
                    opacity: 1;
                }

                &:has(.aicon-play.hidden) {
                    opacity: 1;
                }

                *::before {
                    color: white;
                    margin-left: 1px;
                }
            }

            width: 100%;

            img {
                width: 100%;
                outline: 1px solid #ccc;
            }
        }

        display: flex;
        flex-direction: column;
        align-items: center;

        h1 {
            font-size: 20px;
            word-wrap: break-word;
            overflow-wrap: break-word;
            text-overflow: ellipsis;
            max-width: 170px;
            margin-top: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .voter {
            margin-top: auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    }
}


.results {
    margin-top: 12px;
    background: #eee;
    padding: 18px;
    margin-bottom: 48px;
}

.results > h1 {
    margin-bottom: 24px;
}

.result-track {
    position: relative;
}

.result-track .rank {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #ddd;
    color: #000;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1;
}

.result-track:nth-child(1) .rank { background: #ffd700; }
.result-track:nth-child(2) .rank { background: #c0c0c0; }
.result-track:nth-child(3) .rank { background: #cd7f32; }

.rating-result {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.rating-result .stars {
    color: #ffd700;
    font-weight: bold;
}

.rating-result .vote-count {
    color: #888;
    font-size: 14px;
}

.staff-results {
    border-top: 2px solid #aaa;
    padding-top: 32px;
}

.result-track h1 .rank {
    color: #222;
    margin-right: 4px;
}

.contest-header {
    h1 {
        font-size: 40px;
        font-weight: 400;
    }
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
}
.toolbar {
    width: 100%;
}
.toolbar .button.download {
    margin-left: auto !important;
    margin-right: 0px !important;
}


/*# sourceMappingURL=voting.css.map*/