.lavoz-mundial-ticker {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: linear-gradient(90deg, #0b4f8a 0%, #1a73b5 50%, #0b4f8a 100%);
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.lavoz-mundial-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	font-size: 16px;
}

.lavoz-mundial-label {
	font-weight: 700;
	font-size: 16px;
	background: rgba(255,255,255,.15);
	padding: 7px 14px;
	border-radius: 22px;
	flex-shrink: 0;
	border: none;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.lavoz-mundial-label:hover {
	background: rgba(255,255,255,.25);
}
.lavoz-mundial-caret {
	font-size: 11px;
	transition: transform .15s ease;
}
.lavoz-mundial-label[aria-expanded="true"] .lavoz-mundial-caret {
	transform: rotate(180deg);
}

/* ---------------- FLECHAS DE SCROLL ---------------- */

.lavoz-mundial-scroll-arrow {
	flex-shrink: 0;
	background: rgba(255,255,255,.18);
	border: none;
	color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lavoz-mundial-scroll-arrow:hover {
	background: rgba(255,255,255,.32);
}

.lavoz-mundial-matches-viewport {
	flex: 1;
	overflow: hidden;
	min-width: 0;
}

.lavoz-mundial-matches {
	display: flex;
	align-items: center;
	gap: 10px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}
.lavoz-mundial-matches::-webkit-scrollbar {
	display: none;
}

.lavoz-mundial-match {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	padding: 7px 14px;
	border-radius: 8px;
	background: rgba(255,255,255,.07);
	border: none;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	flex-shrink: 0;
}
.lavoz-mundial-match:hover {
	background: rgba(255,255,255,.15);
}

.lavoz-mundial-match.is-live {
	background: rgba(255,255,255,.18);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}

.lavoz-mundial-match.is-finished {
	opacity: .72;
	padding: 5px 10px;
	font-size: 13px;
}

.lavoz-mundial-match.is-argentina {
	background: linear-gradient(90deg, rgba(116,192,252,.4), rgba(255,255,255,.18));
	box-shadow: inset 0 0 0 1px #fff;
}

.lavoz-mundial-crest {
	width: 20px;
	height: 20px;
	object-fit: contain;
	vertical-align: middle;
	border-radius: 2px;
}
.lavoz-mundial-match.is-finished .lavoz-mundial-crest {
	width: 16px;
	height: 16px;
}
.lavoz-mundial-crest-fallback {
	font-size: 16px;
	display: inline-block;
}

.lavoz-mundial-score {
	font-weight: 700;
	font-size: 15px;
}
.lavoz-mundial-match.is-finished .lavoz-mundial-score {
	font-size: 13px;
}

.lavoz-mundial-status {
	font-size: 12px;
	opacity: .8;
	margin-left: 2px;
	font-weight: 400;
}

.lavoz-mundial-status.live-dot::before {
	content: "●";
	color: #ff5252;
	margin-right: 4px;
	animation: lavoz-pulse 1.1s infinite;
}

.lavoz-mundial-countdown {
	font-variant-numeric: tabular-nums;
	font-size: 11px;
	opacity: .68;
}

@keyframes lavoz-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}

.lavoz-mundial-copyright {
	flex-shrink: 0;
	font-size: 10px;
	opacity: .55;
	white-space: nowrap;
	padding-left: 6px;
	border-left: 1px solid rgba(255,255,255,.2);
}

@media (max-width: 780px) {
	.lavoz-mundial-copyright { display: none; }
}

/* ---------------- POPUP DE PARTIDO ---------------- */

.lavoz-mundial-match-popup {
	position: absolute;
	top: 100%;
	margin-top: 4px;
	background: #0e2a44;
	color: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0,0,0,.4);
	padding: 14px 16px;
	min-width: 260px;
	max-width: 90vw;
	font-size: 13px;
	z-index: 99998;
}

.lavoz-mundial-popup-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 6px;
}
.lavoz-mundial-popup-header .lavoz-mundial-crest {
	width: 22px;
	height: 22px;
}
.lavoz-mundial-popup-score {
	font-weight: 700;
	margin: 0 4px;
}

.lavoz-mundial-popup-when {
	font-size: 12px;
	opacity: .75;
	margin-bottom: 10px;
}

.lavoz-mundial-popup-h2h {
	font-size: 12px;
	border-top: 1px solid rgba(255,255,255,.15);
	padding-top: 8px;
}

.lavoz-mundial-h2h-summary {
	font-weight: 600;
	margin-bottom: 6px;
}

.lavoz-mundial-h2h-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	opacity: .9;
}

.lavoz-mundial-h2h-error {
	color: #ffd39c;
	display: block;
}

.lavoz-mundial-h2h-detail {
	font-size: 11px;
	opacity: .6;
	margin-top: 4px;
	font-style: italic;
}

/* ---------------- PANEL DESPLEGABLE ---------------- */

.lavoz-mundial-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 75vh;
	overflow-y: auto;
	background: #0e2a44;
	color: #fff;
	box-shadow: 0 8px 20px rgba(0,0,0,.35);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	z-index: 99997;
}

.lavoz-mundial-panel-tabs {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 12px;
	background: #09203a;
	position: sticky;
	top: 0;
}

.lavoz-mundial-tab {
	background: transparent;
	border: none;
	color: rgba(255,255,255,.7);
	font-size: 14px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 6px;
	cursor: pointer;
	font-family: inherit;
}
.lavoz-mundial-tab:hover {
	color: #fff;
	background: rgba(255,255,255,.08);
}
.lavoz-mundial-tab.is-active {
	color: #0e2a44;
	background: #fff;
}

.lavoz-mundial-panel-close {
	margin-left: auto;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 15px;
	cursor: pointer;
	opacity: .7;
}
.lavoz-mundial-panel-close:hover { opacity: 1; }

.lavoz-mundial-panel-body {
	padding: 16px;
}

.lavoz-mundial-tabpanel {
	display: none;
	font-size: 14px;
}
.lavoz-mundial-tabpanel.is-active {
	display: block;
}

/* Llaves */
.lavoz-mundial-bracket {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.lavoz-mundial-bracket-col {
	min-width: 220px;
	flex-shrink: 0;
}

.lavoz-mundial-bracket-title {
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	opacity: .75;
	margin-bottom: 8px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255,255,255,.15);
}

.lavoz-mundial-bracket-match {
	background: rgba(255,255,255,.06);
	border-radius: 8px;
	padding: 9px 11px;
	margin-bottom: 8px;
}
.lavoz-mundial-bracket-match.is-live {
	box-shadow: inset 0 0 0 1px #ff5252;
}

.lavoz-mundial-bracket-team {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	padding: 2px 0;
}
.lavoz-mundial-bracket-team span {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.lavoz-mundial-bracket-team b {
	font-size: 13px;
}

.lavoz-mundial-bracket-when {
	font-size: 11px;
	opacity: .65;
	margin-top: 4px;
}

/* Tablas (grupos y goleadores) */
.lavoz-mundial-groups {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;
}

.lavoz-mundial-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.lavoz-mundial-table th,
.lavoz-mundial-table td {
	padding: 6px 7px;
	text-align: center;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.lavoz-mundial-table th:first-child,
.lavoz-mundial-table td:first-child {
	text-align: left;
}
.lavoz-mundial-table thead th {
	opacity: .6;
	font-weight: 600;
	font-size: 11.5px;
	text-transform: uppercase;
}
.lavoz-mundial-table tr.is-argentina-row {
	background: rgba(116,192,252,.15);
}

@media (max-width: 600px) {
	.lavoz-mundial-inner { padding: 8px 10px; gap: 8px; }
	.lavoz-mundial-label { font-size: 13px; padding: 6px 11px; }
	.lavoz-mundial-match { font-size: 13px; padding: 6px 10px; }
	.lavoz-mundial-panel { max-height: 80vh; }
	.lavoz-mundial-bracket-col { min-width: 190px; }
	.lavoz-mundial-match-popup { min-width: 220px; left: 8px !important; right: 8px; }
}
