 #map {
  height: 520px;
  width: 90%;
  max-width: 1100px;
  border-radius: 12px;
  margin: 50px auto;
}
	
	.race-image {
  display: block;        
  margin: 40px auto;     
  max-width: 1200px;     
  width: 100%;           
  height: auto;         
  border-radius: 14px;   
}

/* Dropdown container */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;

  background: #1a1a1a;   
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  padding: 8px 0;
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #fff;         
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.08);
}

/* Klasa otwierająca */
.dropdown.open .dropdown-content {
  display: block;
}

/* MOBILE */
@media (max-width: 900px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
  }
}

.stage-result-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    background: #2563eb;
    border: 1px solid #60a5fa;
    color: #fff;
    transition: all 0.2s ease;
}

.stage-result-button:hover {
    background: #3b82f6;
    border-color: #93c5fd;
    
	transform: translateY(-1px);
}


.embedded-broadcasts {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid #2f2f2f;
    border-radius: 20px;
    background: #181818;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.embedded-broadcasts-heading {
    margin-bottom: 18px;
}

.embedded-broadcasts-heading h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
}

.embedded-broadcasts-list {
    display: grid;
    gap: 12px;
}

.embedded-broadcast-card {
    display: grid;
    grid-template-columns: 150px 1fr 190px;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #2f2f2f;
    border-radius: 16px;
    background: linear-gradient(180deg, #1d1d1d 0%, #171717 100%);
}

.embedded-broadcast-time {
    display: grid;
    gap: 4px;
    color: #fff;
    white-space: nowrap;
}

.embedded-broadcast-time strong {
    font-size: 15px;
}

.embedded-broadcast-time span {
    color: #bdbdbd;
    font-size: 14px;
}

.embedded-broadcast-main h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 4px;
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
}

.embedded-broadcast-main p {
    margin: 0;
    color: #a8a8a8;
    font-size: 14px;
    line-height: 1.4;
}

.embedded-broadcast-flag {
    display: block;
    border-radius: 3px;
    box-shadow: 0 0 0 1px #444;
    flex: 0 0 auto;
}

.embedded-broadcast-channel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.embedded-watch-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.embedded-broadcaster-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.embedded-broadcaster-link:hover {
    text-decoration: none;
}

.embedded-broadcaster-logo {
    max-width: 150px;
    max-height: 42px;
    border-radius: 8px;
}

.embedded-channel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #e0e0e0;
    border: 1px solid #f5f5f5;
    color: #121212;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.embedded-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.embedded-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ef4444;
    display: inline-block;
    animation: embeddedLivePulse 1.4s infinite;
    box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
}

@keyframes embeddedLivePulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(239,68,68,0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(239,68,68,0);
    }
}

@media (max-width: 900px) {
    .embedded-broadcast-card {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }

    .embedded-broadcast-channel {
        align-items: flex-start;
    }
}