/* Puan Durumu — modern standings */

.hk-front .hk-standings-section {
	background: var(--hk-bg, #f4f6fb);
}

.hk-front .hk-standings {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hk-front .hk-standings__panel {
	background: var(--hk-surface, #fff);
	border: 1px solid var(--hk-border, #e2e8f0);
	border-radius: 20px;
	box-shadow: var(--hk-shadow, 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06));
	overflow: hidden;
}

.hk-front .hk-standings__head {
	align-items: center;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	justify-content: space-between;
	padding: 1.15rem 1.25rem;
}

.hk-front .hk-standings__head-main {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.hk-front .hk-standings__eyebrow {
	color: rgba(255, 255, 255, 0.65);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hk-front .hk-standings__title {
	color: #fff;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.hk-front .hk-standings__season {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 0.4rem 0.75rem;
	white-space: nowrap;
}

.hk-front .hk-standings__leagues {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding: 0.85rem 1rem;
}

.hk-front .hk-standings__league {
	background: #f8fafc;
	border: 1px solid var(--hk-border, #e2e8f0);
	border-radius: 999px;
	color: #475569;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	padding: 0.45rem 0.85rem;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hk-front .hk-standings__league:hover {
	background: #fff;
	border-color: #cbd5e1;
	color: #0f172a;
}

.hk-front .hk-standings__league.is-active {
	background: linear-gradient(145deg, #e11d48 0%, #be123c 100%);
	border-color: transparent;
	box-shadow: 0 4px 14px rgba(225, 29, 72, 0.28);
	color: #fff;
}

.hk-front .hk-standings__legend {
	border-bottom: 1px solid var(--hk-border, #e2e8f0);
	color: var(--hk-muted, #64748b);
	display: flex;
	flex-wrap: wrap;
	font-size: 11px;
	gap: 0.65rem 1rem;
	padding: 0.65rem 1rem;
}

.hk-front .hk-standings__legend span {
	align-items: center;
	display: inline-flex;
	gap: 0.35rem;
}

.hk-front .hk-standings__legend i {
	border-radius: 3px;
	display: inline-block;
	height: 10px;
	width: 10px;
}

.hk-front .hk-standings__legend .is-top {
	background: #10b981;
}

.hk-front .hk-standings__legend .is-drop {
	background: #ef4444;
}

.hk-front .hk-standings__table-wrap {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.hk-front .hk-standings__table {
	border-collapse: collapse;
	min-width: 720px;
	width: 100%;
}

.hk-front .hk-standings__table thead th {
	background: #f8fafc;
	border-bottom: 2px solid var(--hk-border, #e2e8f0);
	color: #64748b;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	padding: 0.85rem 0.65rem;
	position: sticky;
	text-align: center;
	text-transform: uppercase;
	top: 0;
	white-space: nowrap;
	z-index: 1;
}

.hk-front .hk-standings__table thead th:nth-child(2) {
	text-align: left;
}

.hk-front .hk-standings__table tbody td {
	border-bottom: 1px solid #f1f5f9;
	color: #0f172a;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	padding: 0.78rem 0.65rem;
	text-align: center;
	vertical-align: middle;
}

.hk-front .hk-standings__table tbody tr:hover td {
	background: #fafafa;
}

.hk-front .hk-standings__table tbody tr.is-top td {
	background: #f0fdf4;
}

.hk-front .hk-standings__table tbody tr.is-top td:first-child {
	box-shadow: inset 3px 0 0 #10b981;
}

.hk-front .hk-standings__table tbody tr.is-drop td {
	background: #fef2f2;
}

.hk-front .hk-standings__table tbody tr.is-drop td:first-child {
	box-shadow: inset 3px 0 0 #ef4444;
}

.hk-front .hk-standings__rank {
	color: #64748b;
	font-weight: 800;
	width: 42px;
}

.hk-front .hk-standings__team {
	min-width: 220px;
	text-align: left !important;
}

.hk-front .hk-standings__team-inner {
	align-items: center;
	display: inline-flex;
	gap: 0.65rem;
	max-width: 100%;
}

.hk-front .hk-standings__logo,
.hk-front .hk-standings__logo-fallback {
	border-radius: 10px;
	flex: 0 0 auto;
	height: 32px;
	object-fit: contain;
	width: 32px;
}

.hk-front .hk-standings__logo-fallback {
	align-items: center;
	background: #f1f5f9;
	color: #64748b;
	display: inline-flex;
	font-size: 10px;
	font-weight: 800;
	justify-content: center;
}

.hk-front .hk-standings__name {
	font-weight: 700;
	line-height: 1.25;
}

.hk-front .hk-standings__points {
	color: #be123c;
	font-size: 1rem;
	font-weight: 800;
}

/* Mobil kompakt liste — yatay kaydırma yerine tek ekran */
.hk-front .hk-standings__mobile-list {
	display: none;
}

.hk-front .hk-standings__mobile-row {
	align-items: center;
	border-bottom: 1px solid #f1f5f9;
	display: grid;
	gap: 0.45rem;
	grid-template-columns: 24px 28px minmax(0, 1fr) auto;
	padding: 0.5rem 0.75rem;
}

.hk-front .hk-standings__mobile-row:last-child {
	border-bottom: none;
}

.hk-front .hk-standings__mobile-row.is-top {
	background: #f0fdf4;
	box-shadow: inset 3px 0 0 #10b981;
}

.hk-front .hk-standings__mobile-row.is-drop {
	background: #fef2f2;
	box-shadow: inset 3px 0 0 #ef4444;
}

.hk-front .hk-standings__mobile-rank {
	color: #64748b;
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.hk-front .hk-standings__mobile-logo,
.hk-front .hk-standings__mobile-logo-fallback {
	border-radius: 8px;
	flex: 0 0 auto;
	height: 28px;
	object-fit: contain;
	width: 28px;
}

.hk-front .hk-standings__mobile-logo-fallback {
	align-items: center;
	background: #f1f5f9;
	color: #64748b;
	display: inline-flex;
	font-size: 9px;
	font-weight: 800;
	justify-content: center;
}

.hk-front .hk-standings__mobile-info {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.hk-front .hk-standings__mobile-name {
	color: #0f172a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hk-front .hk-standings__mobile-meta {
	color: #64748b;
	font-size: 10px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	line-height: 1.2;
}

.hk-front .hk-standings__mobile-points {
	color: #be123c;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 1;
	min-width: 2rem;
	text-align: right;
}

@media (max-width: 767px) {
	.hk-front .hk-standings-section.section-space-default,
	.hk-front .hk-standings-section {
		padding-bottom: 1.25rem;
		padding-top: 1.25rem;
	}

	.hk-front .hk-standings-section .container {
		padding-left: 0.65rem;
		padding-right: 0.65rem;
	}

	.hk-front .hk-standings__panel {
		border-radius: 16px;
	}

	.hk-front .hk-standings__head {
		padding: 0.85rem 0.9rem;
	}

	.hk-front .hk-standings__title {
		font-size: 1.05rem;
	}

	.hk-front .hk-standings__season {
		font-size: 11px;
		padding: 0.3rem 0.6rem;
	}

	.hk-front .hk-standings__leagues {
		flex-wrap: nowrap;
		gap: 0.35rem;
		overflow-x: auto;
		padding: 0.55rem 0.75rem 0.45rem;
		scrollbar-width: none;
	}

	.hk-front .hk-standings__leagues::-webkit-scrollbar {
		display: none;
	}

	.hk-front .hk-standings__league {
		flex: 0 0 auto;
		font-size: 11px;
		padding: 0.35rem 0.7rem;
	}

	.hk-front .hk-standings__legend {
		font-size: 10px;
		gap: 0.5rem 0.75rem;
		padding: 0.45rem 0.75rem;
	}

	.hk-front .hk-standings__table-wrap--desktop {
		display: none;
	}

	.hk-front .hk-standings__mobile-list {
		display: block;
	}
}
