/**
 * FIFA World Cup 2026 — Nepali-friendly UI (readable fonts, clean layout)
 */
.halchal-wc-strip-wrap,
.halchal-wc-page {
	--wc-font-base: 17px;
	font-family: var(--font-body, "Ek Mukta", "Noto Sans Devanagari", sans-serif);
	font-size: 17px;
}

/* ── Homepage strip ── */
.halchal-wc-strip-wrap {
	width: 100%;
	margin-top: 8px !important;
	margin-bottom: 8px !important;
}

.halchal-wc-strip {
	position: relative;
	overflow: hidden;
	background-color: #1a365d;
	background-image:
		linear-gradient(90deg, rgba(8, 28, 58, 0.93) 0%, rgba(8, 28, 58, 0.78) 42%, rgba(8, 28, 58, 0.42) 72%, rgba(8, 28, 58, 0.2) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%),
		url("https://digitalhub.fifa.com/transform/1c65031a-2dd8-430a-b7c4-1be340046703/FFF-AnnouncementAsset-Generative-3200x1800_NoLogo?focuspoint=0.5,0.5&io=transform:fill,aspectratio:16x9,width:1920&quality=75");
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	color: #fff;
	border-radius: 12px;
	padding: 14px 16px 12px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
}

.halchal-wc-strip-top,
.halchal-wc-strip-match,
.halchal-wc-strip-bottom,
.halchal-wc-explore-bar {
	position: relative;
	z-index: 1;
}

.halchal-wc-strip-title,
.halchal-wc-side span,
.halchal-wc-score-line {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.halchal-wc-strip-top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px 14px;
	margin-bottom: 10px;
}

.halchal-wc-strip-brand {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	flex: 1 1 220px;
}

.halchal-wc-strip-emoji {
	font-size: 1.6rem;
	line-height: 1;
	flex-shrink: 0;
}

.halchal-wc-strip-title {
	display: block;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 4px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.halchal-wc-strip-meta-line {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 17px;
	line-height: 1.35;
	opacity: 0.95;
}

.halchal-wc-strip-meta-line .fa {
	margin-right: 4px;
}

.halchal-wc-strip-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-shrink: 0;
}

.halchal-wc-strip-badge {
	font-size: 15px;
	font-weight: 700;
	padding: 5px 11px;
	border-radius: 999px;
	line-height: 1.2;
	white-space: nowrap;
}

.halchal-wc-strip-badge--is-live {
	background: #dc3545;
	color: #fff;
}

.halchal-wc-strip-badge--is-finished {
	background: #198754;
	color: #fff;
}

.halchal-wc-strip-badge--is-upcoming {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.halchal-wc-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	padding: 9px 15px;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	border: 0;
}

.halchal-wc-btn--explore {
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.halchal-wc-btn--explore:hover {
	color: #1a1a1a;
	opacity: 0.94;
	text-decoration: none;
}

.halchal-wc-btn--refresh {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}

.halchal-wc-btn--refresh:hover {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.halchal-wc-strip-match {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 10px 16px;
	padding: 10px 0 6px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.halchal-wc-side {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.halchal-wc-side--home {
	justify-content: flex-start;
}

.halchal-wc-side--away {
	justify-content: flex-end;
	text-align: right;
}

.halchal-wc-side img {
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
	flex-shrink: 0;
	object-fit: cover;
}

.halchal-wc-side span {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.halchal-wc-mid {
	text-align: center;
	padding: 0 6px;
}

.halchal-wc-score-line {
	display: block;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.1;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.halchal-wc-strip-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	margin-top: 6px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 15px;
}

.halchal-wc-strip-wrap .halchal-wc-updated {
	color: rgba(255, 255, 255, 0.88);
}

.halchal-wc-strip-wrap .halchal-wc-updated::before {
	content: '\f017 ';
	font-family: FontAwesome;
	margin-right: 3px;
}

/* Full-width “explore more” — clear on mobile */
.halchal-wc-explore-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
	padding: 11px 14px;
	background: #fff;
	color: #1a1a1a;
	border-radius: 10px;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	transition: opacity 0.15s, transform 0.15s;
}

.halchal-wc-explore-bar:hover,
.halchal-wc-explore-bar:focus {
	color: #1a1a1a;
	text-decoration: none;
	opacity: 0.94;
}

.halchal-wc-explore-bar .fa-angle-right {
	font-size: 1.15rem;
	opacity: 0.75;
}

@media (min-width: 768px) {
	.halchal-wc-explore-bar {
		display: none;
	}
}

@media (max-width: 767px) {
	.halchal-wc-strip-top {
		flex-direction: column;
		align-items: stretch;
	}

	.halchal-wc-strip-actions {
		width: 100%;
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 8px;
		align-items: center;
	}

	.halchal-wc-strip-badge {
		justify-self: start;
	}

	.halchal-wc-btn--explore {
		display: none;
	}

	.halchal-wc-btn--refresh {
		justify-self: end;
	}

	.halchal-wc-strip-meta-line {
		flex-direction: column;
		gap: 4px;
	}

	.halchal-wc-side span {
		font-size: 17px;
	}

	.halchal-wc-score-line {
		font-size: 24px;
	}

	.halchal-wc-strip-bottom {
		justify-content: center;
		width: 100%;
	}
}

/* ── Full page ── */
.halchal-wc-page {
	--wc-accent: #0b5cab;
	--wc-live: #d93025;
	--wc-bg: #f6f8fb;
	--wc-card: #ffffff;
	--wc-border: #dde4ee;
	--wc-text: #1a2332;
	--wc-muted: #5a6778;
	font-size: 17px;
	line-height: 1.5;
}

.halchal-wc-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	border-radius: 14px;
	padding: 1.5rem 1.65rem;
	margin-bottom: 1.35rem;
	background: linear-gradient(
		105deg,
		#0a3d8f 0%,
		#0b6b4a 22%,
		#ea580c 52%,
		#eab308 78%,
		#facc15 100%
	);
	box-shadow:
		0 4px 18px rgba(10, 61, 143, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.halchal-wc-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.12) 0%,
		rgba(0, 0, 0, 0.02) 45%,
		rgba(0, 0, 0, 0.18) 100%
	);
	pointer-events: none;
}

.halchal-wc-hero h1,
.halchal-wc-hero p,
.halchal-wc-disclaimer {
	position: relative;
	z-index: 1;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.halchal-wc-hero h1 {
	margin: 0 0 0.5rem;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.25;
}

.halchal-wc-hero p {
	margin: 0;
	font-size: 17px;
	line-height: 1.45;
	opacity: 1;
}

.halchal-wc-disclaimer {
	margin-top: 0.85rem;
	font-size: 15px;
	opacity: 0.95;
	line-height: 1.45;
	padding: 0.5rem 0.65rem;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	border-left: 3px solid rgba(255, 255, 255, 0.55);
}

.halchal-wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-bottom: 0.65rem;
}

.halchal-wc-tab {
	border: 2px solid var(--wc-border);
	background: var(--wc-card);
	color: var(--wc-text);
	border-radius: 999px;
	padding: 0.6rem 1.15rem;
	font-size: 17px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.halchal-wc-tab:hover,
.halchal-wc-tab.is-active {
	background: var(--wc-accent);
	border-color: var(--wc-accent);
	color: #fff;
}

.halchal-wc-tab-hint {
	margin: 0 0 1rem;
	padding: 0.65rem 0.9rem;
	background: var(--wc-bg);
	border-left: 4px solid var(--wc-accent);
	border-radius: 0 8px 8px 0;
	font-size: 17px;
	color: var(--wc-muted);
}

.halchal-wc-section-title {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 0.85rem;
	color: var(--wc-text);
}

.halchal-wc-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 768px) {
	.halchal-wc-grid--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.halchal-wc-match {
	background: var(--wc-card);
	border: 1px solid var(--wc-border);
	border-radius: 12px;
	padding: 1rem 1.15rem;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.halchal-wc-match--live {
	border-color: rgba(217, 48, 37, 0.45);
	box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.1);
}

.halchal-wc-match-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.65rem;
	font-size: 15px;
	color: var(--wc-muted);
	margin-bottom: 0.75rem;
}

.halchal-wc-status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: #6c757d;
}

.halchal-wc-status-pill--is-live {
	background: var(--wc-live);
}

.halchal-wc-status-pill--is-finished {
	background: #198754;
}

.halchal-wc-status-pill--is-upcoming {
	background: #0b5cab;
}

.halchal-wc-match-teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.75rem 1rem;
}

.halchal-wc-team {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
}

.halchal-wc-team--home {
	justify-content: flex-start;
}

.halchal-wc-team--away {
	flex-direction: row-reverse;
	text-align: right;
	justify-content: flex-start;
}

.halchal-wc-team img {
	flex-shrink: 0;
	border-radius: 4px;
	object-fit: cover;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.halchal-wc-team-name {
	font-weight: 700;
	font-size: 17px;
	line-height: 1.3;
	word-break: break-word;
}

.halchal-wc-score {
	font-size: 24px;
	font-weight: 800;
	color: var(--wc-accent);
	white-space: nowrap;
	text-align: center;
	padding: 0 0.25rem;
}

.halchal-wc-match-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.25rem;
	margin-top: 0.75rem;
	padding-top: 0.7rem;
	border-top: 1px dashed var(--wc-border);
	font-size: 17px;
	color: var(--wc-muted);
}

.halchal-wc-match-meta .fa {
	margin-right: 4px;
	color: var(--wc-accent);
}

.halchal-wc-groups {
	display: grid;
	gap: 1.1rem;
}

@media (min-width: 992px) {
	.halchal-wc-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.halchal-wc-group-card {
	background: var(--wc-card);
	border: 1px solid var(--wc-border);
	border-radius: 12px;
	overflow: hidden;
}

.halchal-wc-group-card h3 {
	margin: 0;
	padding: 0.75rem 1rem;
	background: var(--wc-bg);
	font-size: 19px;
	font-weight: 800;
	border-bottom: 1px solid var(--wc-border);
}

.halchal-wc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 17px;
}

.halchal-wc-table th,
.halchal-wc-table td {
	padding: 0.55rem 0.6rem;
	border-bottom: 1px solid var(--wc-border);
	text-align: center;
}

.halchal-wc-table th {
	background: #fafbfc;
	font-weight: 700;
	color: var(--wc-muted);
	font-size: 15px;
}

.halchal-wc-table td.team-cell {
	text-align: left;
	font-weight: 700;
	font-size: 17px;
}

.halchal-wc-table td.team-cell img {
	vertical-align: middle;
	margin-right: 0.45rem;
}

.halchal-wc-empty {
	padding: 1.5rem 1.25rem;
	text-align: center;
	color: var(--wc-muted);
	background: var(--wc-bg);
	border-radius: 12px;
	font-size: 17px;
	line-height: 1.5;
}

.halchal-wc-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.halchal-wc-page .halchal-wc-refresh-btn {
	border: 2px solid var(--wc-border);
	background: #fff;
	border-radius: 10px;
	padding: 0.5rem 1rem;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
}

.halchal-wc-page .halchal-wc-refresh-btn:hover {
	border-color: var(--wc-accent);
	color: var(--wc-accent);
}

.halchal-wc-page .halchal-wc-updated {
	font-size: 15px;
	color: var(--wc-muted);
}

.halchal-wc-knockout-list .halchal-wc-match {
	margin-bottom: 0.75rem;
}
