/* ======================================================
   TOP TRAINING DAYS – PREMIUM RESPONSIVE (FINAL)
====================================================== */

.tm-top-training-days {
    max-width: 960px;
    margin: 60px auto;
    padding: 0 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.tm-top-training-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

/* ================= ITEM BASE ================= */
.tm-top-training-item {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: linear-gradient(145deg, #0f0f0f, #151515);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
    transition: transform .25s ease, box-shadow .25s ease;
}

.tm-top-training-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.75);
}

/* ================= POSICIÓN ================= */
.tm-rank-position {
    font-weight: 900;
    font-size: 16px;
    color: #ff7a00;
}

/* ================= AVATAR ================= */
.tm-rank-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
    border: 2px solid rgba(255,255,255,0.15);
}

/* ================= NOMBRE ================= */
.tm-rank-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================= TEAM ================= */
.tm-rank-team {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
}

/* ================= ENTRENAMIENTOS ================= */
.tm-rank-days {
    font-weight: 900;
    font-size: 14px;
    color: #ff7a00;
    white-space: nowrap;
}

/* ======================================================
   TOP 1 / 2 / 3 – DISTINCIÓN LIMPIA (SIN ETIQUETAS)
====================================================== */

.tm-top-training-item:nth-child(1) {
    background: linear-gradient(145deg, #1a1206, #241707);
    border: 2px solid rgba(255,193,97,0.5);
    box-shadow:
        0 0 30px rgba(255,193,97,0.35),
        0 25px 60px rgba(0,0,0,0.85);
}

.tm-top-training-item:nth-child(2) {
    background: linear-gradient(145deg, #141414, #1c1c1c);
    border: 1px solid rgba(200,200,200,0.35);
}

.tm-top-training-item:nth-child(3) {
    background: linear-gradient(145deg, #18110b, #21150c);
    border: 1px solid rgba(205,127,50,0.45);
}

/* ======================================================
   RESPONSIVE MOBILE – REAL
====================================================== */

@media (max-width: 720px) {

    .tm-top-training-item {
        grid-template-columns: auto auto 1fr;
        grid-template-areas:
            "pos avatar name"
            ". team days";
        row-gap: 10px;
    }

    .tm-rank-position {
        grid-area: pos;
        align-self: start;
    }

    .tm-rank-avatar {
        grid-area: avatar;
        width: 46px;
        height: 46px;
    }

    .tm-rank-name {
        grid-area: name;
        font-size: 15px;
    }

    .tm-rank-team {
        grid-area: team;
        justify-self: start;
    }

    .tm-rank-days {
        grid-area: days;
        justify-self: end;
        font-size: 13px;
    }
}
