.kg-sl-topbar {
	position: relative;
	z-index: 60;
	color: #fff;
	background: linear-gradient(100deg, #d90d1e 0%, #9d0d17 44%, #171923 100%);
	border-bottom: 1px solid rgba(255,255,255,.12);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kg-sl-topbar-inner {
	width: min(1240px, calc(100% - 32px));
	min-height: 48px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
	overflow: hidden;
}

.kg-sl-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	white-space: nowrap;
}

.kg-sl-brand b {
	font-weight: 900;
}

.kg-sl-brand-mark {
	width: 25px;
	height: 25px;
	display: inline-grid;
	place-items: center;
	border-radius: 7px;
	background: #fff;
	color: #bd0d1b;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: -.04em;
	box-shadow: 0 2px 8px rgba(0,0,0,.24);
}

.kg-sl-nav {
	display: flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}

.kg-sl-nav a {
	color: rgba(255,255,255,.86);
	text-decoration: none;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 0;
}

.kg-sl-nav a:hover {
	color: #fff;
}

.kg-sl-bar-live {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
}

.kg-sl-live-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 58px;
	padding: 4px 7px;
	border: 1px solid rgba(255,255,255,.26);
	border-radius: 999px;
	font-size: 9px;
	line-height: 1;
	font-weight: 900;
	letter-spacing: .06em;
	color: #fff;
	background: rgba(0,0,0,.16);
	white-space: nowrap;
}

.kg-sl-live-pill.is-live {
	background: #fff;
	color: #c00d1c;
	border-color: #fff;
}

.kg-sl-live-pill.is-live::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d90d1e;
	box-shadow: 0 0 0 3px rgba(217,13,30,.18);
	animation: kg-sl-pulse 1.2s infinite;
}

.kg-sl-bar-matches {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.kg-sl-bar-matches::-webkit-scrollbar {
	display: none;
}

.kg-sl-bar-match {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	max-width: 310px;
	padding: 5px 8px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 7px;
	background: rgba(0,0,0,.2);
	color: #fff;
	text-decoration: none;
}

.kg-sl-bar-match:hover {
	background: rgba(0,0,0,.34);
	border-color: rgba(255,255,255,.3);
	color: #fff;
}

.kg-sl-bar-match.is-live {
	border-color: rgba(255,255,255,.5);
	background: rgba(0,0,0,.36);
}

.kg-sl-bar-status {
	font-size: 9px;
	font-weight: 900;
	color: #ffd7db;
	white-space: nowrap;
}

.kg-sl-bar-match.is-live .kg-sl-bar-status {
	color: #fff;
}

.kg-sl-bar-team {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	font-size: 10px;
	font-weight: 700;
}

.kg-sl-bar-team span:last-child {
	max-width: 88px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kg-sl-bar-away {
	margin-left: 1px;
}

.kg-sl-bar-logo {
	width: 15px;
	height: 15px;
	object-fit: contain;
	flex: 0 0 15px;
}

.kg-sl-bar-score {
	font-size: 11px;
	font-weight: 900;
	color: #fff;
	white-space: nowrap;
}

.kg-sl-bar-empty {
	color: rgba(255,255,255,.82);
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}

.kg-sl-all {
	margin-left: auto;
	color: #fff;
	text-decoration: none;
	font-size: 10px;
	font-weight: 800;
	white-space: nowrap;
	opacity: .85;
}

.kg-sl-all:hover {
	opacity: 1;
	color: #fff;
}

.kg-sl-logo-fallback {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(127,127,127,.18);
}

.kg-sl-page {
	--kg-sl-red: #d90d1e;
	--kg-sl-dark: #151821;
	--kg-sl-border: rgba(20, 24, 34, .12);
	--kg-sl-muted: #657083;
	--kg-sl-surface: var(--kg-bg, #fff);
	--kg-sl-soft: rgba(217, 13, 30, .055);
	margin: 18px 0 44px;
	color: var(--kg-text, #151821);
}

.kg-sl-page * {
	box-sizing: border-box;
}

.kg-sl-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	padding: 24px 26px;
	margin-bottom: 16px;
	border: 1px solid var(--kg-sl-border);
	border-radius: 14px;
	background:
		radial-gradient(circle at 88% 5%, rgba(217,13,30,.16), transparent 34%),
		linear-gradient(135deg, rgba(217,13,30,.07), transparent 60%),
		var(--kg-sl-surface);
}

.kg-sl-kicker {
	display: block;
	margin-bottom: 7px;
	color: var(--kg-sl-red);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.kg-sl-intro h2,
.kg-sl-table-head h2,
.kg-sl-panel-head h2,
.kg-sl-faq h2 {
	margin: 0 0 8px;
	font-size: clamp(21px, 2.5vw, 30px);
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -.025em;
}

.kg-sl-intro p {
	max-width: 700px;
	margin: 0;
	color: var(--kg-sl-muted);
	font-size: 13px;
	line-height: 1.65;
}

.kg-sl-updated {
	flex: 0 0 auto;
	padding: 10px 12px;
	border-left: 1px solid var(--kg-sl-border);
	text-align: right;
}

.kg-sl-updated span {
	display: block;
	color: var(--kg-sl-muted);
	font-size: 10px;
	font-weight: 600;
}

.kg-sl-updated strong {
	display: block;
	margin-top: 3px;
	font-size: 12px;
}

.kg-sl-live-panel,
.kg-sl-table-card {
	margin-bottom: 16px;
	border: 1px solid var(--kg-sl-border);
	border-radius: 14px;
	background: var(--kg-sl-surface);
	overflow: hidden;
}

.kg-sl-panel-head,
.kg-sl-table-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--kg-sl-border);
	background: linear-gradient(180deg, rgba(217,13,30,.035), transparent);
}

.kg-sl-panel-head h2,
.kg-sl-table-head h2 {
	margin-bottom: 0;
	font-size: 19px;
}

.kg-sl-live-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 5px;
	border-radius: 50%;
	background: var(--kg-sl-red);
	box-shadow: 0 0 0 4px rgba(217,13,30,.13);
	animation: kg-sl-pulse 1.2s infinite;
}

.kg-sl-refresh {
	color: var(--kg-sl-muted);
	font-size: 10px;
	white-space: nowrap;
	padding-top: 4px;
}

.kg-sl-live-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 16px;
}

.kg-sl-live-card {
	padding: 12px;
	border: 1px solid var(--kg-sl-border);
	border-radius: 10px;
	background: rgba(127,127,127,.045);
}

.kg-sl-live-card.is-live {
	border-color: rgba(217,13,30,.38);
	background: var(--kg-sl-soft);
}

.kg-sl-live-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 9px;
}

.kg-sl-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(127,127,127,.12);
	color: var(--kg-sl-muted);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.kg-sl-live-card.is-live .kg-sl-status {
	background: var(--kg-sl-red);
	color: #fff;
}

.kg-sl-live-card.is-ended .kg-sl-status {
	background: var(--kg-sl-red);
	color: #fff;
}

.kg-sl-bar-match.is-ended .kg-sl-bar-status {
	color: #fff;
	background: var(--kg-sl-red, #d90d1e);
	padding: 2px 5px;
	border-radius: 4px;
}

.kg-sl-status-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff;
	animation: kg-sl-pulse 1.2s infinite;
}

.kg-sl-date {
	color: var(--kg-sl-muted);
	font-size: 9px;
	font-weight: 600;
	white-space: nowrap;
}

.kg-sl-live-card-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 8px;
}

.kg-sl-live-team {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	font-size: 12px;
	line-height: 1.25;
}

.kg-sl-live-team strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 800;
}

.kg-sl-live-away {
	justify-content: flex-end;
	text-align: right;
}

.kg-sl-live-logo {
	width: 26px;
	height: 26px;
	object-fit: contain;
	flex: 0 0 26px;
}

.kg-sl-live-score {
	min-width: 54px;
	padding: 4px 7px;
	border-radius: 6px;
	background: var(--kg-sl-dark);
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	text-align: center;
	white-space: nowrap;
}

.kg-sl-live-card.is-live .kg-sl-live-score {
	background: var(--kg-sl-red);
}

.kg-sl-no-match {
	grid-column: 1 / -1;
	padding: 20px;
	border: 1px dashed var(--kg-sl-border);
	border-radius: 9px;
	color: var(--kg-sl-muted);
	font-size: 12px;
	text-align: center;
}

.kg-sl-source {
	margin: 0;
	padding: 0 16px 14px;
	color: var(--kg-sl-muted);
	font-size: 9px;
}

.kg-sl-tabs {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.kg-sl-tabs button {
	border: 1px solid var(--kg-sl-border);
	border-radius: 6px;
	padding: 6px 10px;
	background: transparent;
	color: var(--kg-sl-muted);
	cursor: pointer;
	font: inherit;
	font-size: 10px;
	font-weight: 800;
}

.kg-sl-tabs button:hover {
	border-color: var(--kg-sl-red);
	color: var(--kg-sl-red);
}

.kg-sl-tabs button.is-active {
	border-color: var(--kg-sl-red);
	background: var(--kg-sl-red);
	color: #fff;
}

.kg-sl-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.kg-sl-table {
	width: 100%;
	min-width: 690px;
	border-collapse: collapse;
	font-size: 12px;
}

.kg-sl-table th,
.kg-sl-table td {
	padding: 9px 8px;
	border-bottom: 1px solid var(--kg-sl-border);
	text-align: center;
	vertical-align: middle;
}

.kg-sl-table th {
	background: rgba(127,127,127,.055);
	color: var(--kg-sl-muted);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.kg-sl-table th:nth-child(2),
.kg-sl-table td:nth-child(2) {
	text-align: left;
}

.kg-sl-table tbody tr:hover {
	background: rgba(217,13,30,.035);
}

.kg-sl-table tbody tr:last-child td {
	border-bottom: 0;
}

.kg-sl-table .kg-sl-pos {
	width: 30px;
	color: var(--kg-sl-muted);
	font-weight: 800;
}

.kg-sl-table tr.is-ucl .kg-sl-pos {
	color: #1368c5;
	box-shadow: inset 3px 0 #1368c5;
}

.kg-sl-table tr.is-uel .kg-sl-pos {
	color: #d56a00;
	box-shadow: inset 3px 0 #f29400;
}

.kg-sl-table tr.is-uecl .kg-sl-pos {
	color: #108a70;
	box-shadow: inset 3px 0 #16a085;
}

.kg-sl-table tr.is-rel .kg-sl-pos {
	color: #c51622;
	box-shadow: inset 3px 0 #d90d1e;
}

.kg-sl-team-cell {
	min-width: 210px;
}

.kg-sl-team-wrap {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.kg-sl-team-logo {
	width: 22px;
	height: 22px;
	object-fit: contain;
	flex: 0 0 22px;
}

.kg-sl-team-name {
	font-weight: 800;
	white-space: nowrap;
}

.kg-sl-qual {
	max-width: 100px;
	padding: 2px 5px;
	border-radius: 4px;
	background: rgba(127,127,127,.09);
	color: var(--kg-sl-muted);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kg-sl-points {
	font-weight: 900;
	color: var(--kg-sl-red);
}

.kg-sl-form {
	display: inline-flex;
	gap: 2px;
}

.kg-sl-form-dot {
	display: inline-grid;
	place-items: center;
	width: 17px;
	height: 17px;
	border-radius: 4px;
	color: #fff;
	font-size: 8px;
	font-weight: 900;
}

.kg-sl-form-dot.is-w {
	background: #159b62;
}

.kg-sl-form-dot.is-d {
	background: #8b95a5;
}

.kg-sl-form-dot.is-l {
	background: #d0444f;
}

.kg-sl-form-empty {
	color: var(--kg-sl-muted);
}

.kg-sl-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 12px 18px;
	border-top: 1px solid var(--kg-sl-border);
	color: var(--kg-sl-muted);
	font-size: 9px;
	font-weight: 600;
}

.kg-sl-legend span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.kg-sl-legend i {
	width: 8px;
	height: 8px;
	border-radius: 2px;
	display: inline-block;
}

.kg-sl-legend i.is-ucl {
	background: #1368c5;
}

.kg-sl-legend i.is-uel {
	background: #f29400;
}

.kg-sl-legend i.is-uecl {
	background: #16a085;
}

.kg-sl-legend i.is-rel {
	background: #d90d1e;
}

.kg-sl-faq {
	margin-top: 16px;
	padding: 20px;
	border: 1px solid var(--kg-sl-border);
	border-radius: 14px;
	background: var(--kg-sl-surface);
}

.kg-sl-faq h2 {
	margin-bottom: 12px;
	font-size: 19px;
}

.kg-sl-faq-item {
	border-bottom: 1px solid var(--kg-sl-border);
}

.kg-sl-faq-item:last-child {
	border-bottom: 0;
}

.kg-sl-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 0;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	list-style: none;
}

.kg-sl-faq-item summary::-webkit-details-marker {
	display: none;
}

.kg-sl-faq-item summary span {
	color: var(--kg-sl-red);
	font-size: 19px;
	line-height: 1;
	font-weight: 500;
	transition: transform .18s ease;
}

.kg-sl-faq-item[open] summary span {
	transform: rotate(45deg);
}

.kg-sl-faq-answer {
	padding: 0 0 14px;
	color: var(--kg-sl-muted);
	font-size: 12px;
	line-height: 1.75;
}

.kg-sl-faq-answer p {
	margin: 0;
}

.kg-sl-bar-goal {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #ffd7db;
	font-size: 9px;
	font-weight: 800;
}

.kg-sl-bar-goal .kg-sl-ball {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	border-radius: 50%;
	object-fit: cover;
}

.kg-sl-goals {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 10px;
	padding-top: 9px;
	border-top: 1px dashed var(--kg-sl-border);
}

.kg-sl-goal {
	display: flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	font-size: 10px;
	line-height: 1.35;
}

.kg-sl-goal.is-away {
	justify-content: flex-end;
	text-align: right;
}

.kg-sl-ball {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	border-radius: 50%;
	object-fit: cover;
	vertical-align: middle;
}

.kg-sl-goal-minute {
	color: var(--kg-sl-red);
	font-weight: 900;
	white-space: nowrap;
}

.kg-sl-goal-player {
	font-weight: 800;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kg-sl-goal-team {
	color: var(--kg-sl-muted);
	font-size: 9px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kg-sl-goal-assist {
	color: var(--kg-sl-muted);
	font-size: 9px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@keyframes kg-sl-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .38; }
}

@media (max-width: 900px) {
	.kg-sl-nav {
		display: none;
	}

	.kg-sl-live-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.kg-sl-topbar-inner {
		width: calc(100% - 20px);
		gap: 8px;
		min-height: 44px;
	}

	.kg-sl-brand > span:last-child {
		display: none;
	}

	.kg-sl-brand-mark {
		width: 23px;
		height: 23px;
	}

	.kg-sl-all {
		display: none;
	}

	.kg-sl-bar-live {
		gap: 5px;
	}

	.kg-sl-live-pill {
		min-width: 46px;
		padding: 4px 6px;
		font-size: 8px;
	}

	.kg-sl-bar-match {
		max-width: 250px;
		padding: 4px 6px;
		gap: 4px;
	}

	.kg-sl-bar-team span:last-child {
		max-width: 62px;
	}

	.kg-sl-intro,
	.kg-sl-panel-head,
	.kg-sl-table-head {
		display: block;
		padding: 16px;
	}

	.kg-sl-updated {
		margin-top: 12px;
		padding: 8px 0 0;
		border-left: 0;
		border-top: 1px solid var(--kg-sl-border);
		text-align: left;
	}

	.kg-sl-live-grid {
		padding: 12px;
	}

	.kg-sl-tabs {
		margin-top: 12px;
	}

	.kg-sl-team-cell {
		min-width: 178px;
	}

	.kg-sl-team-name {
		max-width: 150px;
		overflow: hidden;
		text-overflow: ellipsis;
		display: inline-block;
		vertical-align: middle;
	}

	.kg-sl-table {
		font-size: 11px;
	}

	.kg-sl-faq {
		padding: 16px;
	}
}
