/* Senadores En Vivo */
.slv {
	--slv-navy: #003361;
	--slv-navy-d: #00213f;
	--slv-orange: #ee6b1e;
	--slv-cream: #fafdf7;
	--slv-ink: #13203a;
	--slv-muted: #6b7486;
	--slv-line: #e6e9ef;
	--slv-card: #ffffff;
	--slv-live: #e5322d;
	--slv-win: #1d8a4e;
	--slv-head: "Inter Tight", "DM Sans", system-ui, sans-serif;
	--slv-body: "DM Sans", system-ui, sans-serif;
	color: var(--slv-ink);
	font-family: var(--slv-body);
	font-size: 15px;
	line-height: 1.4;
	width: 100%;
}
.slv *, .slv *::before, .slv *::after { box-sizing: border-box; }
.slv img.slv-logo { display: block; flex: none; object-fit: contain; max-width: none; border-radius: 0; }
.slv-logo--empty { display: inline-block; border-radius: 50%; background: rgba(127,127,127,.2); }
.slv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.slv-loading, .slv-error {
	padding: 28px;
	text-align: center;
	color: var(--slv-muted);
}

.slv-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
.slv-main { display: grid; gap: 24px; min-width: 0; }
.slv-aside { min-width: 0; display: grid; gap: 24px; }

.slv-card {
	position: relative;
	background: var(--slv-card);
	border: 1px solid var(--slv-line);
	border-radius: 16px;
	box-shadow: 0 10px 30px -18px rgba(0, 33, 63, .35);
	overflow: hidden;
}
.slv-card-head { padding: 20px 22px 6px; }
.slv-card-head h3 {
	margin: 2px 0 0;
	font-family: var(--slv-head);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--slv-navy);
	letter-spacing: -.01em;
}
.slv-eyebrow {
	display: block;
	font-family: var(--slv-head);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--slv-orange);
}

/* ---------- Tarjeta principal ---------- */
.slv-featured {
	border: 0;
	color: #fff;
	background:
		linear-gradient(115deg, transparent 0 78%, rgba(238,107,30,.95) 78% 83%, var(--slv-cream) 83% 83.8%, transparent 83.8%),
		radial-gradient(120% 140% at 0% 0%, #0a4a86 0%, var(--slv-navy) 45%, var(--slv-navy-d) 100%);
	padding: 22px 26px 20px;
}
.slv-featured--empty { padding: 32px; text-align: center; }
.slv-featured-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.slv-featured .slv-eyebrow { color: #ffb37f; }

.slv-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	font-family: var(--slv-head);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	background: rgba(255,255,255,.14);
	color: #fff;
	white-space: nowrap;
}
.slv-chip--live { background: var(--slv-live); }
.slv-chip--live i, .slv-row-status.is-live i, .slv-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	display: inline-block;
	animation: slv-pulse 1.4s ease-in-out infinite;
}
.slv-chip--next { background: var(--slv-orange); }
.slv-chip--final { background: rgba(255,255,255,.18); }
@keyframes slv-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.slv-matchup {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin: 22px 0 10px;
}
.slv-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	min-width: 0;
}
.slv-side strong {
	font-family: var(--slv-head);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
	margin-top: 4px;
}
.slv-side small { font-size: 13px; color: rgba(255,255,255,.7); }
.slv-side.is-team strong { color: #ffb37f; }
.slv-center { text-align: center; padding: 0 6px; }
.slv-score {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--slv-head);
	font-size: 64px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.slv-score em { font-style: normal; font-size: 40px; opacity: .5; }
.slv-featured--final .slv-score span:not(.is-win) { opacity: .6; }
.slv-vs {
	font-family: var(--slv-head);
	font-size: 40px;
	font-weight: 800;
	opacity: .9;
}
.slv-time {
	margin-top: 6px;
	font-family: var(--slv-head);
	font-size: 18px;
	font-weight: 700;
	color: #ffb37f;
}
.slv-meta {
	margin: 4px 0 14px;
	text-align: center;
	font-size: 14px;
	color: rgba(255,255,255,.8);
}

/* Anotación por entradas */
.slv-ls-wrap {
	overflow-x: auto;
	margin: 6px -6px 0;
	padding: 0 6px;
	-webkit-overflow-scrolling: touch;
}
.slv-ls {
	width: 100%;
	min-width: 440px;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	font-size: 14px;
	background: var(--slv-navy-d);
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	z-index: 1;
}
.slv .slv-ls tr,
.slv .slv-ls th,
.slv .slv-ls td {
	background: transparent !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: none !important;
}
.slv-ls th, .slv-ls td {
	padding: 8px 4px;
	text-align: center;
}
.slv .slv-ls thead th {
	font-family: var(--slv-head);
	font-size: 11px;
	font-weight: 700;
	color: rgba(255,255,255,.6) !important;
	letter-spacing: .06em;
}
.slv .slv-ls tbody tr + tr { border-top: 1px solid rgba(255,255,255,.1) !important; }
.slv-ls .slv-ls-team {
	text-align: left;
	padding-left: 12px;
	white-space: nowrap;
}
.slv-ls tbody .slv-ls-team { display: flex; align-items: center; gap: 8px; font-family: var(--slv-head); font-weight: 800; }
.slv .slv-ls .slv-ls-sum { font-weight: 800; background: rgba(255,255,255,.07) !important; width: 34px; }
.slv .slv-ls tr.is-team .slv-ls-team span { color: #ffb37f !important; }

.slv-more {
	display: inline-block;
	margin-top: 14px;
	font-family: var(--slv-head);
	font-size: 13px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	opacity: .85;
}
.slv-more:hover { opacity: 1; color: #ffb37f !important; }

/* ---------- Mini tarjetas ---------- */
.slv-minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.slv-mini { padding: 18px 20px; }
.slv-mini-teams { list-style: none; margin: 12px 0 10px; padding: 0; display: grid; gap: 8px; }
.slv-mini-teams li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--slv-head);
	font-size: 17px;
	font-weight: 700;
	color: var(--slv-ink);
}
.slv-mini-teams li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slv-mini-teams li b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--slv-muted); }
.slv-mini-teams li.is-win b { color: var(--slv-ink); }
.slv-mini-teams li.is-team span { color: var(--slv-navy); }
.slv-mini-foot {
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid var(--slv-line);
	font-size: 13px;
	font-weight: 700;
	color: var(--slv-navy);
}
.slv-mini-foot span { font-weight: 400; color: var(--slv-muted); }

/* ---------- Lista de juegos ---------- */
.slv-list ul { list-style: none; margin: 0; padding: 6px 12px 12px; }
.slv-row {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 10px;
}
.slv-row + .slv-row { border-top: 1px solid var(--slv-line); border-radius: 0; }
.slv-row-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 5px 8px;
	border-radius: 8px;
	font-family: var(--slv-head);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	background: #eef1f6;
	color: var(--slv-muted);
	white-space: nowrap;
}
.slv-row-status.is-live { background: var(--slv-live); color: #fff; }
.slv-row-status.is-next { background: #fff1e8; color: var(--slv-orange); text-transform: none; }
.slv-row-teams { display: grid; gap: 6px; min-width: 0; }
.slv-row-team { display: flex; align-items: center; gap: 10px; font-family: var(--slv-head); font-weight: 700; font-size: 15px; }
.slv-row-team span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slv-row-team b { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--slv-muted); }
.slv-row-team.is-win b, .slv-row--live .slv-row-team b { color: var(--slv-ink); }
.slv-row-team.is-team span { color: var(--slv-navy); }

/* ---------- Posiciones ---------- */
.slv-st-wrap { overflow-x: auto; padding: 4px 8px 12px; }
.slv-st {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}
.slv .slv-st tr,
.slv .slv-st th,
.slv .slv-st td {
	background: transparent !important;
	border: 0 !important;
	color: var(--slv-ink) !important;
}
.slv-st th, .slv-st td {
	padding: 10px 6px;
	text-align: center;
}
.slv .slv-st thead th {
	font-family: var(--slv-head);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--slv-muted) !important;
	border-bottom: 1px solid var(--slv-line) !important;
}
.slv .slv-st tbody tr + tr td { border-top: 1px solid var(--slv-line) !important; }
.slv-st .slv-st-team { text-align: left; }
.slv-st td.slv-st-team { display: flex; align-items: center; gap: 10px; font-family: var(--slv-head); font-weight: 700; }
.slv-st-short { display: none; }
.slv .slv-st .slv-pos { font-family: var(--slv-head); font-weight: 800; color: var(--slv-muted) !important; width: 26px; }
.slv .slv-st tr.is-team td { background: #fff4ec !important; }
.slv .slv-st tr.is-team td:first-child { box-shadow: inset 4px 0 0 var(--slv-orange); color: var(--slv-orange) !important; }
.slv .slv-st tr.is-team .slv-st-team { color: var(--slv-navy) !important; }
.slv-form { white-space: nowrap; }
.slv-form i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin: 0 1px;
	border-radius: 5px;
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	color: #fff;
}
.slv-form i.w { background: var(--slv-win); }
.slv-form i.l { background: #b8bfcc; }

.slv-foot {
	margin: 16px 0 0;
	font-size: 13px;
	color: var(--slv-muted);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.slv-foot a { color: var(--slv-navy); font-weight: 700; }
.slv-foot .slv-dot { background: var(--slv-live); }

/* ---------- Responsive (según el ancho real del bloque, no de la pantalla) ---------- */
.slv { container: slv / inline-size; }
.slv-standings { container: slvst / inline-size; }
.slv-featured { container: slvf / inline-size; }

@container slv (max-width: 880px) {
	.slv-grid { grid-template-columns: 1fr; }
	/* En una columna: resultado → próximo juego → posiciones → hoy en la Liga */
	.slv-main, .slv-aside { display: contents; }
	.slv-featured { order: 1; }
	.slv-minis { order: 2; }
	.slv-standings { order: 3; }
	.slv-list { order: 4; }
}
@container slv (max-width: 600px) {
	.slv-featured {
		padding: 18px 16px 16px;
		background: radial-gradient(120% 140% at 0% 0%, #0a4a86 0%, var(--slv-navy) 45%, var(--slv-navy-d) 100%);
	}
	.slv-grid, .slv-main, .slv-aside { gap: 16px; }
	.slv-minis { grid-template-columns: 1fr; gap: 16px; }
	.slv-row { grid-template-columns: 66px minmax(0, 1fr); gap: 10px; padding: 10px 4px; }
}
@container slvf (max-width: 560px) {
	.slv-side img.slv-logo { width: 60px; height: 60px; }
	.slv-side strong { font-size: 17px; }
	.slv-side small { font-size: 12px; }
	.slv-score { font-size: 46px; gap: 8px; }
	.slv-score em { font-size: 28px; }
	.slv-vs { font-size: 30px; }
}
@container slvst (max-width: 460px) {
	.slv-st-full { display: none; }
	.slv-st-short { display: inline; }
	.slv-st th, .slv-st td { padding: 9px 4px; font-size: 13px; }
	.slv-st .slv-form i { width: 17px; height: 17px; font-size: 10px; }
}
@container slvst (max-width: 360px) {
	.slv-st .slv-c-gb { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.slv-chip--live i, .slv-row-status.is-live i, .slv-dot { animation: none; }
}
