.tr__header,
.tr__row {
    display: grid;
    grid-template-columns: 80px 1fr 90px 90px 90px 140px;
    align-items: center;
}

.tr {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: #fff;
}

.tr__header {
    background: rgba(217, 217, 217, 0.05);
    border: 1px solid #FF2B2B;
    border-radius: 8px;
    margin-bottom: 4px;
}

.tr__header .tr__col {
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FF2B2B;
    white-space: nowrap;
}

.tr__body {
    display: flex;
    flex-direction: column;
}

.tr__row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.15s;
}

.tr__row:nth-child(-n+4) {    
    background: rgba(255, 43, 43, 0.2);
}

.tr__row:last-child {
    border-bottom: none;
}

.tr__row:hover {
    background: rgba(255, 43, 43, 0.07);
}

.tr__row .tr__col {
    padding: 7px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.tr__col--pos {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tr__position {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.tr__arrow {
    font-size: 0.6rem;
}

.tr__arrow--up   { color: #4caf50; }
.tr__arrow--down { color: #FF2B2B; }
.tr__arrow--same { color: rgba(255, 255, 255, 0.3); }

.tr__col--team {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

.tr__logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tr__team-name, .tr__team-name-short {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #e8e8e8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tr__team-name-short {
    display: none;
}

.tr__col--pts,
.tr__col--w,
.tr__col--l {
    color: #e0e0e0;
}

.tr__col--pts strong {
    color: #fff;
    font-size: 1rem;
}

.tr__col--streak {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tr__streak-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.tr__streak-img--p { opacity: 0.4; }

.tr__empty {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    text-align: center;
    padding: 24px 0;
}

@media (max-width: 700px) {
    .tr__team-name {
        display: none;;
    }

    .tr__team-name-short {
        display: block;
    }
    .tr__header,
    .tr__row {
        grid-template-columns: 50px 1fr 50px 50px 50px 110px;
    }

    .tr__streak-img {
        width: 12px;
        height: 12px;
    }
    .tr__header .tr__col,
    .tr__row .tr__col {
        padding: 10px 8px;
        font-size: 0.75rem;
    }

    .tr__team-name {
        font-size: 0.78rem;
    }

    .tr__streak-img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .tr__header,
    .tr__row {
        grid-template-columns: 40px 1fr 50px 50px 50px 100px;
    }

     .tr__streak-img {
        width: 12px;
        height: 12px;
    }
}
