 
        .startlist-page {
            padding: 24px 0 40px;
        }

        .startlist-list-page {
            display: grid;
            gap: 12px;
        }

        .startlist-link-card {
            display: grid;
            grid-template-columns: 130px 1fr 160px;
            gap: 18px;
            align-items: center;
            padding: 16px 18px;
            border: 1px solid #2f2f2f;
       
            background: #1c1c1c;
            text-decoration: none;
        }

        .startlist-link-card:hover {
            border-color: #3b82f6;
            text-decoration: none;
        }



        .startlist-link-title {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-size: 19px;
           
            line-height: 1.3;
        }

        .startlist-badge {
            justify-self: end;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 9px 14px;
            border-radius: 5px;
            background: #e0e0e0;
            border: 1px solid #f5f5f5;
            color: #121212;
            font-size: 13px;
            font-weight: 800;
            white-space: nowrap;
            transition: transform 0.15s ease, background 0.15s ease;
        }

        .startlist-link-card:hover .startlist-badge {
            background: #ffffff;
            transform: translateX(3px);
        }

        .startlist-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 16px;
        }

        .meta-pill {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 8px 12px;
            border-radius: 5px;
            background: #232323;
            border: 1px solid #3a3a3a;
            color: #d6d6d6;
            font-size: 14px;
        }

        .startlist-teams {
            display: grid;
            gap: 16px;
        }

        .team-card {
            padding: 16px;
            border: 1px solid #2f2f2f;
            
            background: linear-gradient(180deg, #1d1d1d 0%, #171717 100%);
        }

        .team-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #2f2f2f;
        }

        .team-heading h2 {
            margin: 0;
            color: #fff;
            font-size: 20px;
            line-height: 1.25;
        }

        .team-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 10px;
            border-radius: 5px;
            background: #232323;
            border: 1px solid #3a3a3a;
            color: #d6d6d6;
            font-size: 12px;
            white-space: nowrap;
        }

        .riders-list {
            display: grid;
            gap: 7px;
        }

        .rider-row {
            display: grid;
            grid-template-columns: 46px 1fr;
            gap: 10px;
            align-items: center;
            padding: 9px 10px;
      
            background: #202020;
        }

        .rider-number {
            color: #fff;
            
            text-align: center;
        }

        .rider-name {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            
            line-height: 1.35;
        }

        .rider-flag {
            width: 20px;
            height: 15px;
            object-fit: cover;
            border-radius: 3px;
            box-shadow: 0 0 0 1px #444;
            flex: 0 0 auto;
        }

        .startlist-error {
            padding: 16px;
            border: 1px solid rgba(239, 68, 68, 0.45);
            background: rgba(239, 68, 68, 0.1);
            color: #fecaca;
            border-radius: 16px;
        }

        .back-link {
            display: inline-flex;
            margin-bottom: 16px;
            color: #93c5fd;
            font-weight: 700;
        }

        @media (max-width: 900px) {
            .startlist-link-card {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .startlist-badge {
                justify-self: start;
            }
        }

        @media (max-width: 640px) {
            .team-card {
                padding: 13px;
                border-radius: 16px;
            }

            .team-heading {
                align-items: flex-start;
                flex-direction: column;
                gap: 8px;
            }

            .team-heading h2 {
                font-size: 18px;
            }

            .rider-row {
                grid-template-columns: 38px 1fr;
                padding: 8px;
            }

            .rider-name {
                font-size: 14px;
            }
        }
		
		.startlist-link-main {
    min-width: 0;
}
    
	
	.startlist-link-card {
    display: grid;
    grid-template-columns: 130px 1fr 160px;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #2f2f2f;
    
    background: #1c1c1c;
    text-decoration: none;
}

.startlist-link-main {
    min-width: 0;
}

.startlist-link-date {
    
    color: #fff;
    white-space: nowrap;
}

.startlist-link-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 19px;
    
    line-height: 1.3;
    min-width: 0;
}

.startlist-link-title span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.startlist-badge {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 5px;
    background: #e0e0e0;
    border: 1px solid #f5f5f5;
    color: #121212;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 0.15s ease, background 0.15s ease;
}

.startlist-link-card:hover .startlist-badge {
    background: #ffffff;
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .startlist-link-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .startlist-badge {
        justify-self: start;
    }
}


.team-title {
    display: flex;
    align-items: center;
}

.team-name-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 5px;
     background: linear-gradient(180deg, #f1f1f1 0%, #dcdcdc 100%);
    box-shadow: 0 1px 0 rgba(0,0,0,0.25);
    border: 1px solid #f5f5f5;
    color: #121212;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.startlist-status {
    margin-top: 10px;
}

/* wspólne */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* zielony - oficjalna */
.status-badge--official {
    background: #16a34a;
    border: 1px solid #4ade80;
    color: #ecfdf5;
}

/* niebieski - wstępna */
.status-badge--preliminary {
    background: #2563eb;
    border: 1px solid #60a5fa;
    color: #eff6ff;
}





.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.hero-button:hover {
    text-decoration: none;
}

.hero-button--route {
    background: #dc2626;
    border: 1px solid #f87171;
    color: #fff;
}

.hero-button--route:hover {
    background: #ef4444;
}

.hero-button--results {
    background: #e0e0e0;
    border: 1px solid #f5f5f5;
    color: #121212;
}

.hero-button--results:hover {
    background: #ffffff;
}


