.recent-kills-section {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.recent-kills-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.recent-kills-tab {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--bg-medium);
    color: var(--text-secondary);
    border: 2px solid var(--bg-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.recent-kills-tab:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--primary-color);
}

.recent-kills-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.recent-kills-content {
    position: relative;
    min-height: 200px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.recent-kills-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: none;
}

.recent-kills-panel.active {
    display: block;
}

.recent-kills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.recent-kill-card {
    background: var(--bg-medium);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.kill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.kill-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.kill-player-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-height: 2rem; /* Ensure consistent spacing */
}

.player-awards {
    display: flex;
    justify-content: center;
    gap: 1px;
    margin-top: 1px;
    min-height: 8px; /* Ensure consistent spacing even when empty */
}

.player-awards .season-award-badge .bot-hunter-badge {
    width: 20px;
    height: 20px;
}

.player-awards .season-award-badge .season-overlay {
    font-size: 6px;
    padding: 0px 1px;
}

.kill-header .player-name {
    font-weight: 600;
}

.kill-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kill-separator .kill-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
}

.kill-separator .kill-icon-fallback {
    font-size: 1.2rem;
    display: inline-block;
}

.mercy-kill-container {
    margin-bottom: 1rem;
}

.mercy-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.kill-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    place-items: center;
}

.kill-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    align-items: center;
    text-align: center;
    width: 100%;
}

.detail-item .label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.detail-item .value {
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
}

.map-date {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 0.125rem;
    font-weight: normal;
}

.weapon-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weapon-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: crisp-edges;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-dark);
    border: 2px solid var(--bg-medium);
    /* Default size, will be overridden by JS for zoomed view */
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    box-sizing: border-box;
}

.map-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: var(--bg-dark);
    color: var(--text-secondary);
}

.map-placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.map-placeholder-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.map-placeholder-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.kill-marker {
    position: absolute;
    font-size: 2rem;
    filter: drop-shadow(0 0 4px rgba(74, 144, 226, 0.8));
    z-index: 10;
    cursor: pointer;
    pointer-events: none;
    animation: pulse 2s infinite;
    transform-origin: center;
    display: block;
    visibility: visible;
    color: #4a90e2;
    text-shadow: 0 0 8px rgba(74, 144, 226, 1);
    opacity: 0.8; /* Default semi-transparent so map is visible underneath */
    /* Initial position (will be overridden by JS) */
    left: 0;
    top: 0;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .recent-kills-grid {
        grid-template-columns: 1fr;
    }

    .recent-kills-section {
        padding: 1rem;
    }

    .kill-row {
        gap: 0.75rem;
    }

    .map-image {
        max-height: 300px;
    }
}

