/* Resultados MSJ — listado + tabla (patrón Candelaria) */

.msj-res-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.msj-res-list__card {
	display: grid;
	grid-template-columns: 5.5rem 1fr;
	gap: 0.85rem;
	align-items: stretch;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid rgba(43, 53, 69, 0.12);
	border-radius: 1rem;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.msj-res-list__card:hover {
	border-color: #54fdc8;
	box-shadow: 0 10px 28px rgba(10, 13, 17, 0.08);
	transform: translateY(-1px);
}

.msj-res-list__card--soon {
	opacity: 0.85;
}

.msj-res-list__year {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 5.5rem;
	background: linear-gradient(160deg, #0a0d11 0%, #2b3545 100%);
	color: #54fdc8;
	font-family: 'Space Grotesk', system-ui, sans-serif;
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
}

.msj-res-list__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.15rem;
	padding: 0.85rem 1rem 0.85rem 0;
	min-width: 0;
}

.msj-res-list__eyebrow {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #ff8c00;
}

.msj-res-list__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0a0d11;
	line-height: 1.25;
}

.msj-res-list__meta {
	margin: 0;
	font-size: 0.88rem;
	color: rgba(43, 53, 69, 0.75);
}

.msj-res-list__cta {
	margin-top: 0.35rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: #0a0d11;
}

.msj-res-list__cta--muted {
	color: rgba(43, 53, 69, 0.5);
}

.msj-res-back {
	color: #2b3545;
	font-weight: 600;
	text-decoration: none;
}

.msj-res-back:hover {
	color: #0a0d11;
	text-decoration: underline;
}

.msj-res-peak {
	margin: 0;
	padding: 0 0 1rem;
}

.msj-res-peak__status {
	margin: 0.5rem 0 1rem;
	font-size: 0.95rem;
	color: #2b3545;
}

.msj-res-peak__status.is-error {
	color: #b91c1c;
	font-weight: 600;
}

.msj-res-peak__toolbar {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.msj-res-peak__search {
	width: 100%;
	border: 1px solid rgba(43, 53, 69, 0.2);
	border-radius: 0.75rem;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	background: #fff;
}

.msj-res-peak__search:focus {
	outline: 2px solid #54fdc8;
	outline-offset: 1px;
	border-color: #54fdc8;
}

.msj-res-peak__dists,
.msj-res-peak__gens {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.msj-res-peak__chip {
	border: 1px solid rgba(43, 53, 69, 0.18);
	background: #fff;
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	color: #2b3545;
}

.msj-res-peak__chip.is-active {
	background: #0a0d11;
	border-color: #0a0d11;
	color: #54fdc8;
}

.msj-res-peak__meta {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	color: rgba(43, 53, 69, 0.7);
}

.msj-res-peak__cards {
	display: grid;
	gap: 0.55rem;
	margin-bottom: 1rem;
}

.msj-res-card {
	display: grid;
	grid-template-columns: 2.75rem 1fr auto;
	gap: 0.65rem;
	align-items: center;
	background: #fff;
	border: 1px solid rgba(43, 53, 69, 0.1);
	border-radius: 0.85rem;
	padding: 0.65rem 0.85rem;
}

.msj-res-card__pos {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 0.65rem;
	background: #0a0d11;
	color: #54fdc8;
	font-weight: 800;
	font-size: 0.95rem;
}

.msj-res-card__name {
	margin: 0;
	font-weight: 700;
	color: #0a0d11;
	font-size: 0.95rem;
}

.msj-res-card__meta {
	margin: 0.15rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-size: 0.78rem;
}

.msj-res-card__dorsal,
.msj-res-dorsal {
	display: inline-block;
	font-weight: 700;
	padding: 0.1rem 0.4rem;
	border-radius: 0.35rem;
	background: rgba(43, 53, 69, 0.08);
}

.msj-res-card__dorsal--m,
.msj-res-dorsal--m {
	background: rgba(37, 99, 235, 0.12);
	color: #1d4ed8;
}

.msj-res-card__dorsal--f,
.msj-res-dorsal--f {
	background: rgba(219, 39, 119, 0.12);
	color: #be185d;
}

.msj-res-card__cat {
	color: rgba(43, 53, 69, 0.7);
}

.msj-res-card__time {
	margin: 0;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #0a0d11;
	font-size: 0.95rem;
}

.msj-res-card__empty,
.msj-res-card__more {
	margin: 0.5rem 0;
	font-size: 0.9rem;
	color: rgba(43, 53, 69, 0.65);
}

.msj-res-peak__wrap {
	overflow-x: auto;
	border: 1px solid rgba(43, 53, 69, 0.1);
	border-radius: 0.85rem;
	background: #fff;
}

.msj-res-peak__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.msj-res-peak__table th,
.msj-res-peak__table td {
	padding: 0.55rem 0.65rem;
	text-align: left;
	border-bottom: 1px solid rgba(43, 53, 69, 0.08);
	white-space: nowrap;
}

.msj-res-peak__table th {
	background: #0a0d11;
	color: #fff;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.msj-res-peak__table tbody tr:nth-child(even) {
	background: rgba(43, 53, 69, 0.03);
}

.msj-res-peak__name {
	font-weight: 600;
	white-space: normal !important;
	min-width: 10rem;
}

.msj-res-peak__time {
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.msj-res-peak__credit {
	margin: 1rem 0 0;
	font-size: 0.78rem;
	color: rgba(43, 53, 69, 0.5);
}

@media (min-width: 768px) {
	.msj-res-peak__cards {
		display: none;
	}
}

@media (max-width: 767px) {
	.msj-res-peak__wrap {
		display: none;
	}

	.msj-res-list__card {
		grid-template-columns: 4.5rem 1fr;
	}
}
