#tpms-matches {
    font-size: 0.9rem;
}

#tpms-matches thead th,
#tpms-matches tbody td {
    text-align: left;
}

.tpms-rm-row {
    cursor: pointer;
}

.tpms-rm-row:hover td {
    background: rgba(255, 255, 255, 0.04);
}

#tpms-matches .schedule {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#tpms-matches .schedule-date {
    font-weight: 600;
    white-space: nowrap;
}

#tpms-matches .schedule-time {
    font-size: 0.78rem;
    opacity: 0.6;
}

.tpms-rm-event {
    font-size: 0.82rem;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 160px;
}

a.tpms-rm-event:hover {
    text-decoration: underline;
    opacity: 1;
}

.tpms-rm-team-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tpms-rm-team-info .team-info-1,
.tpms-rm-team-info .team-info-2 {
    display: flex;
    align-items: center;
    width: 100%;
}

.tpms-rm-team-info .team-info-logo {
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex-shrink: 0;
}

.tpms-rm-team-info .team-info-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tpms-rm-team-info .team-info-short-name {
    margin-left: 0.4rem;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0.5;
}

.tpms-rm-team-info .team-info-score {
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 8px;
    min-width: 18px;
    text-align: right;
}

.tpms-rm-team-info .team-extra {
    display: none;
}

.tpms-rm-team-info .win .team-info-short-name {
    font-weight: 700;
}

.tpms-rm-team-info .win .team-info-score {
    color: var(--color-win);
}

.tpms-rm-team-info .lose .team-info-short-name {
    color: var(--color-default-text-70);
}

.tpms-rm-team-info .lose .team-info-score {
    color: var(--color-lose);
}

.tpms-rm-team-info .lose .team-info-logo {
    opacity: 0.7;
}

.tpms-rm-team-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.tpms-rm-team-link:hover .team-info-short-name {
    color: var(--color-red-theme);
    text-decoration: underline;
}

#tpms-matches .match-statistics {
    color: var(--color-default-text-70);
    font-size: 1rem;
    transition: color .15s ease;
}

#tpms-matches .match-statistics:hover {
    color: var(--color-red-theme);
}
