.route-card-clean > [data-route-card-legacy="1"] {
    display: none !important;
}

.route-card-ui {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    text-align: left;
}

.route-card-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.route-card-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.route-card-label {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0f2f4;
    color: var(--text, #111827);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.route-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.route-card-stat {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 7px;
    background: #f5f6f8;
    color: #5f6976;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.route-card-time {
    align-self: center;
    min-width: 58px;
    color: var(--text, #111827);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .route-card-ui {
        gap: 10px;
    }

    .route-card-main {
        gap: 7px;
    }

    .route-card-label {
        min-height: 22px;
        padding: 4px 8px;
        font-size: 11px;
    }

    .route-card-stat {
        min-height: 22px;
        padding: 4px 7px;
        font-size: 10.5px;
    }

    .route-card-time {
        min-width: 54px;
        font-size: 17px;
    }
}
