/* Timeline event row */
.xscores-result-row-note{
	display: flex;
	align-items: center;
	border-bottom: 1px solid #f0f0f0;
	transition: background-color 0.15s ease;
}
.xscores-result-row-note:hover{
	background-color: rgba(0,0,0,0.015);
}

/* Side (home / away) */
.xscores-note-side{
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
}
.xscores-note-home{
	justify-content: flex-end;
	border-left: 3px solid transparent;
}
.xscores-note-away{
	justify-content: flex-start;
	border-right: 3px solid transparent;
}
.xscores-note-home.homeBorder{
	border-left-color: #5c9801;
}
.xscores-note-away.awayBorder{
	border-right-color: #5c9801;
}

/* Player name / assist */
.xscores-note-player{
	min-width: 0;
}
.xscores-note-home .xscores-note-player{
	text-align: right;
	order: -1;
}
.xscores-note-away .xscores-note-player{
	text-align: left;
	order: -1;
}
.xscores-result-row-note .name{
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.4;
	overflow-wrap: break-word;
	color: #1a1a1a;
}
.xscores-result-row-note .assist{
	font-size: 0.78rem;
	line-height: 1.3;
	overflow-wrap: break-word;
	color: #6c757d;
}

/* Icon */
.xscores-note-icon{
	flex-shrink: 0;
	width: 28px;
	text-align: center;
}
.xscores-result-row-note .icon{
	font-size: 1.3rem;
	color: #404040;
}
.xscores-result-row-note .icon.green{
	color: #5c9801;
}
.xscores-result-row-note .icon.yellow{
	color: #FFCE54;
	filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}
.xscores-result-row-note .icon.red{
	color: #dc3545;
}
.xscores-result-row-note .icon.autogol{
	color: #e88b38;
}
.xscores-result-row-note .icon.penalty{
	color: #6a6a6a;
}

/* Score info (goal result) */
.xscores-note-score{
	flex-shrink: 0;
	font-size: 0.82rem;
	font-weight: 700;
	color: #1a1a1a;
}

/* Center time column */
.xscores-note-time{
	flex-shrink: 0;
	width: 50px;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f5;
}
.xscores-note-time .time{
	font-weight: 700;
	font-size: 0.78rem;
	color: #555;
	line-height: 1.3;
}

/* Responsive: small screens */
@media (max-width: 767px){
	.xscores-note-side.d-none{
		display: none !important;
	}
	.xscores-note-time{
		width: 42px;
	}
	.xscores-note-time .time{
		font-size: 0.72rem;
	}
	.xscores-result-row-note .name{
		font-size: 0.82rem;
	}
	.xscores-result-row-note .assist{
		font-size: 0.72rem;
	}
	.xscores-result-row-note .icon{
		font-size: 1.1rem;
	}
}

/* Timeline container */
.xscores-timeline-container{
	border-radius: 8px;
	overflow: hidden;
}

/* Period separators */
.xscores-timeline-separator{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 8px 16px;
	background: #f0f0f0;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}
.xscores-timeline-separator-text{
	font-weight: 700;
	font-size: 0.78rem;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.xscores-timeline-separator-score{
	font-weight: 800;
	font-size: 0.85rem;
	color: #1a1a1a;
}

/* Injury time inline */
.xscores-timeline-injury{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 5px 16px;
	background: #fff8f0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #e88b38;
}

/* Injury Times Table (fallback) */
.xscores-injury-times{
	border-radius: 8px;
	overflow: hidden;
}
.xscores-section-title{
	font-weight: 700;
	font-size: 0.88rem;
	color: #333;
	padding: 8px 12px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-bottom: 1px solid #dee2e6;
}