/* Styles for the legacy [bongdako_compare] shortcode (LegacyShortcode::bongdako_compare).
 * Scoped under .game-compare only — trimmed from the v1 plugin's compare/style.css,
 * which also carried unrelated .news/.newsetting rules for a different v1 widget. */

.game-compare {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 4px;
}

.game-compare .title-tm {
    padding: 10px !important;
    line-height: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.game-compare .d-flex {
    display: flex;
    align-items: center;
}

.game-compare .list-game {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    padding: 0 10px;
}

.game-compare .list-game .game-cmpr {
    font-size: 10px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
}

.game-compare .list-game .game-cmpr:last-child {
    border-bottom: unset;
}

.game-compare .list-game .game-cmpr:hover {
    background-color: #f2f2f2;
}

.game-compare .list-game .game-des {
    font-size: 10px;
    font-weight: 600;
    text-align: left;
    color: #9a9a9a;
    margin-bottom: 6px;
    line-height: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.game-compare .list-game .logos {
    display: flex;
    margin-bottom: 10px;
}

.game-compare .list-game .logos > div {
    width: 24px;
    height: 24px;
}

.game-compare .list-game .logos > div img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.game-compare .list-game .logos > span {
    font-size: 17px;
    margin: 0 5px;
    color: #9a9a9a;
}

.game-compare .list-game .infos {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.game-compare .list-game .t-r {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    line-height: 14px;
}

.game-compare .list-game .t-r .team-name {
    font-size: 10px;
    font-weight: 700;
    color: #de6c48;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 90%;
}

.game-compare .list-game .comment-team-home .team-name {
    color: #07adf5;
}

.game-compare .list-game .comment-team-away .team-name {
    color: #e4a80f;
}

.game-compare .list-game .t-r .draw-name {
    font-weight: 400;
    font-size: 10px;
    color: #717171;
}

.game-compare .list-game .t-r .team-rate {
    font-weight: 500;
}

.dark .game-compare,
body.dark .game-compare {
    background: #1a1a1a;
}

.dark .game-compare .title-tm,
body.dark .game-compare .title-tm {
    color: #fff;
}

.dark .game-compare .list-game .game-cmpr,
body.dark .game-compare .list-game .game-cmpr {
    border-bottom: 1px solid #000;
}

.dark .game-compare .list-game .game-des,
body.dark .game-compare .list-game .game-des,
.dark .game-compare .list-game .draw-name,
body.dark .game-compare .list-game .draw-name,
.dark .game-compare .list-game .team-rate,
body.dark .game-compare .list-game .team-rate,
.dark .game-compare .list-game .logos > span,
body.dark .game-compare .list-game .logos > span {
    color: #9a9a9a;
}

.dark .game-compare .list-game .comment-team-home .team-name,
body.dark .game-compare .list-game .comment-team-home .team-name {
    color: #07adf5;
}

.dark .game-compare .list-game .comment-team-away .team-name,
body.dark .game-compare .list-game .comment-team-away .team-name {
    color: #e4a80f;
}
