/*
 * LotoDatos - Bonoloto
 * Archivo: bonoloto.css
 *
 * Objetivo:
 * - Mantener la misma línea visual que EuroDreams.
 * - Usar bolas tipo billar con brillo y centro blanco.
 * - Cambiar la paleta a verde lima grisáceo para Bonoloto.
 * - Integrarse con las clases generadas por el plugin lotodatos-bonoloto.php.
 */

/* Variables generales de Bonoloto. */
:root {
	--bl-page-bg: #f5f6f3;
	--bl-surface: #ffffff;
	--bl-surface-soft: #fbfcf8;
	--bl-border: rgba(29, 29, 31, 0.08);
	--bl-border-strong: rgba(29, 29, 31, 0.14);
	--bl-text: #1d1d1f;
	--bl-text-soft: #6e6e73;
	--bl-heading: #111111;

	/* Verde lima grisáceo principal. */
	--bl-primary: #8fa866;
	--bl-primary-dark: #657844;
	--bl-primary-soft: #eef4e5;
	--bl-primary-focus: rgba(143, 168, 102, 0.22);

	/* Verde lima algo más marcado para complementario. */
	--bl-complementario: #a9bf63;
	--bl-complementario-dark: #718743;
	--bl-complementario-soft: #f1f6df;

	/* Verde grisáceo más sobrio para reintegro. */
	--bl-reintegro: #879a86;
	--bl-reintegro-dark: #5f705f;
	--bl-reintegro-soft: #edf3ec;

	/* Paleta para estados del comprobador. */
	--bl-success-bg: #effaf2;
	--bl-success-border: #b9e4c4;
	--bl-success-text: #1f6d3f;
	--bl-error-bg: #fff3f3;
	--bl-error-border: #f1c1c1;
	--bl-error-text: #9a2d2d;
	--bl-warning-bg: #fff8ec;
	--bl-warning-border: #f0d08f;
	--bl-warning-text: #8b6820;

	/* Sombras y radios reutilizados en todos los bloques. */
	--bl-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
	--bl-shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.03);
	--bl-radius: 28px;
	--bl-radius-sm: 18px;
}

/*
 * Contenedor opcional del shortcode completo.
 * Si usas shortcodes separados en Gutenberg, cada tarjeta seguirá teniendo estilo propio.
 */
.ld-bonoloto-page {
	max-width: 1120px;
	margin: 0 auto;
	padding: 28px 0 72px;
	color: var(--bl-text);
}

/*
 * Tarjeta base para todos los shortcodes.
 * Mantiene el estilo limpio y redondeado usado en EuroDreams.
 */
.ld-bonoloto-card {
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 28px;
	padding: 26px;
	background: var(--bl-surface);
	border: 1px solid var(--bl-border);
	border-radius: var(--bl-radius);
	box-shadow: var(--bl-shadow);
	color: var(--bl-text);
}

/* Títulos internos del shortcode, por si no se usa titulo="false". */
.ld-bonoloto-card h2,
.ld-bonoloto-title {
	margin: 0 0 18px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.03em;
	font-weight: 800;
	color: var(--bl-heading);
}

/* Texto introductorio de bloques como comprobador o combinación más repetida. */
.ld-bonoloto-intro {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--bl-text-soft);
}

/* Mensaje usado cuando todavía no hay datos suficientes. */
.ld-bonoloto-empty,
.ld-bonoloto-empty-value {
	margin: 0;
	padding: 16px 18px;
	border-radius: var(--bl-radius-sm);
	background: var(--bl-surface-soft);
	border: 1px solid var(--bl-border);
	color: var(--bl-text-soft);
}

.ld-bonoloto-empty-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0 10px;
	border-radius: 999px;
	font-weight: 800;
}

/*
 * Combinaciones de números.
 * Este bloque es el que evita que los números aparezcan pegados.
 */
.ld-bonoloto-balls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 16px 0;
}

/*
 * Bola base estilo billar.
 * Se basa en el mismo concepto visual de EuroDreams:
 * - volumen con degradado radial
 * - brillo superior
 * - centro blanco
 */
.ld-bonoloto-ball {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 999px;
	color: #1d1d1f;
	font-size: 19px;
	font-weight: 800;
	line-height: 1;
}

/* Bola principal verde lima grisácea. */
.ld-bonoloto-ball-main,
.ld-bonoloto-ball:not(.ld-bonoloto-ball-complementario):not(.ld-bonoloto-ball-reintegro) {
	background: radial-gradient(circle at 32% 28%, #fbfff4 0%, #edf5dc 22%, #d5e3b3 52%, #abc179 78%, #829a55 100%);
	border: 1px solid rgba(94, 113, 55, 0.18);
	box-shadow:
		inset 0 -10px 18px rgba(94, 113, 55, 0.16),
		inset 0 8px 12px rgba(255, 255, 255, 0.55),
		0 8px 18px rgba(94, 113, 55, 0.13);
}

/* Bola del complementario con verde lima algo más visible. */
.ld-bonoloto-ball-complementario {
	background: radial-gradient(circle at 32% 28%, #fffff3 0%, #f1f7ce 22%, #dbe89a 52%, #bdcf69 78%, #91a348 100%);
	border: 1px solid rgba(105, 124, 49, 0.22);
	box-shadow:
		inset 0 -10px 18px rgba(105, 124, 49, 0.18),
		inset 0 8px 12px rgba(255, 255, 255, 0.55),
		0 8px 18px rgba(105, 124, 49, 0.16);
}

/* Brillo superior de las bolas. */
.ld-bonoloto-ball::before {
	content: "";
	position: absolute;
	left: 12px;
	top: 9px;
	width: 34%;
	height: 20%;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.45) 100%);
	transform: rotate(-28deg);
	filter: blur(0.2px);
	z-index: 0;
	pointer-events: none;
}

/* Centro blanco de bola de billar. */
.ld-bonoloto-ball::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 54%;
	height: 54%;
	transform: translate(-50%, -50%);
	border-radius: 999px;
	background: radial-gradient(circle, #ffffff 0%, #fbfbfb 72%, #d9d9d9 100%);
	box-shadow:
		inset 0 2px 3px rgba(255, 255, 255, 0.8),
		inset 0 -2px 4px rgba(0, 0, 0, 0.06);
	z-index: -1;
	pointer-events: none;
}

/*
 * Último sorteo.
 * Estructura tipo EuroDreams: números a la izquierda y datos especiales a la derecha.
 */
.ld-bonoloto-latest {
	position: relative;
	display: grid;
	grid-template-columns: 1fr minmax(260px, 0.82fr);
	grid-template-areas:
		"balls date"
		"balls specials";
	align-items: center;
	gap: 22px 36px;
	min-height: 214px;
	padding: 32px;
	text-align: left;
}

/* Línea divisoria vertical entre combinación y bloque informativo. */
.ld-bonoloto-latest::before {
	content: "";
	position: absolute;
	left: calc(100% - 260px - 36px);
	top: 34px;
	bottom: 34px;
	width: 1px;
	background: var(--bl-border);
}

/* En el último sorteo, la fecha se coloca en la mitad derecha. */
.ld-bonoloto-latest .ld-bonoloto-date {
	grid-area: date;
	margin: 0;
	text-align: center;
	font-size: 17px;
	font-weight: 800;
	color: var(--bl-heading);
}

/* Etiqueta FECHA como en EuroDreams. */
.ld-bonoloto-latest .ld-bonoloto-date::before {
	content: "FECHA";
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bl-text-soft);
}

/* La combinación de 6 números queda en la mitad izquierda. */
.ld-bonoloto-latest .ld-bonoloto-balls {
	grid-area: balls;
	margin: 0;
	justify-content: flex-start;
	align-content: center;
	gap: 14px;
}

/* Complementario y reintegro quedan en la mitad derecha, debajo de la fecha. */
.ld-bonoloto-specials {
	grid-area: specials;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 18px;
	margin: 0;
}

.ld-bonoloto-extra {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bl-text-soft);
}

/*
 * Listados de frecuencias.
 * Se usan para números más repetidos, menos repetidos, complementario y reintegro.
 */
.ld-bonoloto-frequency-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.ld-bonoloto-frequency-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 20px 18px;
	border-radius: 22px;
	background: var(--bl-surface);
	border: 1px solid var(--bl-border);
	box-shadow: var(--bl-shadow-soft);
	text-align: center;
}

.ld-bonoloto-frequency-count {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bl-text-soft);
}

/*
 * Comprobador de combinación.
 */
.ld-bonoloto-checker {
	padding: 26px;
}

.ld-bonoloto-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 18px;
	padding: 24px;
	background: var(--bl-surface);
	border: 1px solid var(--bl-border);
	border-radius: var(--bl-radius);
	box-shadow: var(--bl-shadow-soft);
}

.ld-bonoloto-form-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
}

.ld-bonoloto-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ld-bonoloto-field span {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bl-text-soft);
}

.ld-bonoloto-field input {
	width: 100%;
	box-sizing: border-box;
	height: 54px;
	padding: 12px 14px;
	border: 1px solid var(--bl-border-strong);
	border-radius: 16px;
	background: #ffffff;
	color: var(--bl-heading);
	font-size: 17px;
	font-weight: 800;
	text-align: center;
}

.ld-bonoloto-field input:focus {
	outline: none;
	border-color: rgba(143, 168, 102, 0.55);
	box-shadow: 0 0 0 4px var(--bl-primary-focus);
}

.ld-bonoloto-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, #edf5d7 0%, #d7e5ad 55%, #b9cd76 100%);
	color: #25301b;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(103, 124, 63, 0.18);
	transition: background 0.2s ease, transform 0.2s ease;
}

.ld-bonoloto-button:hover {
	background: linear-gradient(180deg, #e4efc9 0%, #cddf98 55%, #aabd62 100%);
	transform: translateY(-1px);
}

/*
 * Resultado del comprobador.
 */
.ld-bonoloto-result {
	margin-top: 20px;
	padding: 16px 18px;
	border-radius: 18px;
	font-size: 16px;
	font-weight: 800;
}

.ld-bonoloto-result-found {
	background: var(--bl-success-bg);
	border: 1px solid var(--bl-success-border);
	color: var(--bl-success-text);
}

.ld-bonoloto-result-not-found {
	background: var(--bl-warning-bg);
	border: 1px solid var(--bl-warning-border);
	color: var(--bl-warning-text);
}

.ld-bonoloto-result p {
	margin: 0 0 12px;
}

.ld-bonoloto-result p:last-child {
	margin-bottom: 0;
}

.ld-bonoloto-result-draws {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.ld-bonoloto-result-draw {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.68);
	border: 1px solid rgba(29, 29, 31, 0.06);
}

.ld-bonoloto-result-date {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bl-text-soft);
}

/*
 * Combinación más repetida.
 */
.ld-bonoloto-most-repeated {
	text-align: center;
}

.ld-bonoloto-count {
	margin: 10px 0 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--bl-text-soft);
}

/*
 * Tablas.
 * Se usan en los últimos sorteos.
 */
.ld-bonoloto-table-wrapper {
	overflow-x: auto;
	background: var(--bl-surface);
	border-radius: 26px;
	box-shadow: var(--bl-shadow);
}

.ld-bonoloto-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

.ld-bonoloto-table thead th {
	padding: 18px;
	text-align: center;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bl-text-soft);
	background: transparent;
	border-bottom: 1px solid var(--bl-border);
}

.ld-bonoloto-table tbody td {
	padding: 18px;
	text-align: center;
	vertical-align: middle;
	font-size: 15px;
	color: var(--bl-text);
	border-bottom: 1px solid rgba(29, 29, 31, 0.06);
}

.ld-bonoloto-table tbody tr:last-child td {
	border-bottom: 0;
}

/* Las combinaciones dentro de tabla se muestran más compactas. */
.ld-bonoloto-table .ld-bonoloto-balls {
	justify-content: center;
	gap: 8px;
	margin: 0;
}

/* Bolas más pequeñas dentro de tablas para mejorar lectura en móvil. */
.ld-bonoloto-table .ld-bonoloto-ball {
	width: 42px;
	height: 42px;
	font-size: 15px;
}

/* En tablas quitamos el brillo superior para que se lea mejor. */
.ld-bonoloto-table .ld-bonoloto-ball::before {
	display: none;
}

/*
 * Ajustes v3 - afinado visual para igualar EuroDreams.
 * 1) En último sorteo, complementario y reintegro pasan al bloque derecho.
 * 2) En últimos sorteos, se quita la caja exterior y se conserva solo la tabla blanca.
 * 3) Se mantienen quitadas las cajas exteriores de comprobador y estadísticas.
 * 4) Cuando una estadística tiene una sola tarjeta, se centra.
 */

/* Comprobador: quitamos la caja grande exterior y dejamos solo el formulario como caja blanca. */
.ld-bonoloto-checker {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.ld-bonoloto-checker .ld-bonoloto-form {
	margin-top: 0;
}

/* Estadísticas: quitamos la caja exterior que contiene las tarjetas internas. */
.ld-bonoloto-stat {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

/* Si una lista solo tiene una tarjeta, la centramos. */
.ld-bonoloto-frequency-list .ld-bonoloto-frequency-item:only-child {
	grid-column: 1 / -1;
	justify-self: center;
	width: min(100%, 420px);
}

/* Tabla de últimos sorteos: quitamos la caja exterior y dejamos solo la tabla. */
.ld-bonoloto-table-card {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.ld-bonoloto-table-card .ld-bonoloto-table-wrapper {
	background: var(--bl-surface);
	border: 1px solid var(--bl-border);
	border-radius: 26px;
	box-shadow: var(--bl-shadow);
}

/*
 * Ajustes para pantallas medianas y grandes.
 */
@media (min-width: 768px) {
	.ld-bonoloto-page {
		padding: 36px 0 84px;
	}

	.ld-bonoloto-frequency-list {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*
 * Ajustes para escritorio ancho.
 */
@media (min-width: 1024px) {
	.ld-bonoloto-latest {
		padding: 32px;
	}
}

/*
 * Ajustes para tablet y pantallas estrechas.
 */
@media (max-width: 900px) {
	.ld-bonoloto-latest {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 18px;
		padding: 28px 20px;
		text-align: center;
	}

	.ld-bonoloto-latest::before {
		display: none;
	}

	.ld-bonoloto-latest .ld-bonoloto-balls {
		justify-content: center;
	}

	.ld-bonoloto-specials {
		width: 100%;
	}
}

/*
 * Ajustes para móvil.
 */
@media (max-width: 767px) {
	.ld-bonoloto-page {
		padding: 22px 0 56px;
	}

	.ld-bonoloto-card {
		margin-bottom: 22px;
		padding: 22px 18px;
		border-radius: 22px;
	}

	.ld-bonoloto-card h2,
	.ld-bonoloto-title {
		font-size: clamp(26px, 7vw, 34px);
	}

	.ld-bonoloto-balls {
		gap: 10px;
	}

	.ld-bonoloto-ball {
		width: 54px;
		height: 54px;
		font-size: 18px;
	}

	.ld-bonoloto-form {
		padding: 18px;
		border-radius: 22px;
	}

	.ld-bonoloto-form-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ld-bonoloto-field input {
		height: 52px;
		font-size: 16px;
	}

	.ld-bonoloto-frequency-list {
		grid-template-columns: 1fr;
	}

	.ld-bonoloto-frequency-item {
		min-height: 138px;
	}

	.ld-bonoloto-table {
		min-width: 720px;
	}

	.ld-bonoloto-table .ld-bonoloto-ball {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	/* Ajuste móvil para el bloque "Último sorteo". */
	.ld-bonoloto-latest {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 18px;
		min-height: auto;
		padding: 24px 16px;
		text-align: center;
		overflow: hidden;
	}

	/* Eliminamos cualquier pseudo-elemento decorativo que pueda crear manchas visuales. */
	.ld-bonoloto-latest::before,
	.ld-bonoloto-latest::after,
	.ld-bonoloto-latest .ld-bonoloto-balls::before,
	.ld-bonoloto-latest .ld-bonoloto-balls::after {
		content: none !important;
		display: none !important;
	}

	/* La fecha queda arriba y centrada. */
	.ld-bonoloto-latest .ld-bonoloto-date {
		order: 1;
		width: 100%;
		margin: 0;
		padding: 0;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.4;
		color: var(--bl-text-soft);
		text-align: center;
	}

	/* La combinación queda debajo de la fecha, centrada y con separación. */
	.ld-bonoloto-latest .ld-bonoloto-balls {
		order: 2;
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	/* Complementario y reintegro quedan debajo de la combinación. */
	.ld-bonoloto-latest .ld-bonoloto-specials {
		order: 3;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 14px;
	}

	/* Bolas algo más pequeñas en móvil para que no se monten. */
	.ld-bonoloto-latest .ld-bonoloto-ball {
		width: 46px;
		height: 46px;
		font-size: 16px;
		flex: 0 0 auto;
	}
}

/* =========================================================
   AJUSTES VISUALES DEL ÚLTIMO SORTEO DE BONOLOTO
   - Corrige la disposición de complementario y reintegro
   - Elimina líneas o separadores mal colocados
   - Da al reintegro un color verde más intenso
   ========================================================= */

/* 
 * Contenedor de complementario y reintegro en el bloque
 * "Último sorteo".
 */
.ld-bonoloto-latest .ld-bonoloto-specials {
    /* Colocamos ambos bloques uno al lado del otro */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 36px;

    /* Damos separación superior respecto a los números principales */
    margin-top: 22px;
    padding-top: 0;

    /* Eliminamos posibles líneas heredadas */
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;

    /* Importante para evitar elementos superpuestos */
    position: relative;
}

/* 
 * Eliminamos pseudo-elementos que puedan estar dibujando
 * líneas decorativas fuera de lugar.
 */
.ld-bonoloto-latest .ld-bonoloto-specials::before,
.ld-bonoloto-latest .ld-bonoloto-specials::after,
.ld-bonoloto-latest .ld-bonoloto-special-item::before,
.ld-bonoloto-latest .ld-bonoloto-special-item::after {
    content: none !important;
    display: none !important;
}

/* 
 * Cada bloque individual: Complementario / Reintegro.
 */
.ld-bonoloto-latest .ld-bonoloto-special-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 120px;
    text-align: center;
}

/* 
 * Etiqueta superior de cada bloque.
 */
.ld-bonoloto-latest .ld-bonoloto-special-label {
    display: block;
    margin: 0;
    padding: 0;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;

    color: #6e6e6e;
}

/* 
 * Damos un pequeño margen superior a las bolas especiales
 * dentro del último sorteo.
 */
.ld-bonoloto-latest .ld-bonoloto-special-item .ld-bonoloto-ball {
    margin-top: 2px;
}

/* 
 * Ajuste del reintegro:
 * mismo estilo que el resto de bolas, pero más intenso.
 * Verde lima grisáceo más marcado.
 */
.ld-bonoloto-ball-reintegro {
    background: linear-gradient(145deg, #c1d889 0%, #93af58 100%) !important;
    border: 1px solid #7f9850 !important;
    color: #1d1d1f !important;

    /* Sombra suave para integrarlo con el resto */
    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.70),
        0 4px 10px rgba(101, 120, 68, 0.22) !important;
}

/* 
 * Si la bola usa pseudo-elementos para brillos internos,
 * reforzamos el acabado.
 */
.ld-bonoloto-ball-reintegro::before {
    opacity: 1 !important;
}

.ld-bonoloto-ball-reintegro::after {
    opacity: 1 !important;
}

/* 
 * Valor vacío cuando un sorteo antiguo no tiene reintegro.
 */
.ld-bonoloto-empty-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    border-radius: 50%;

    background: #eef2e8;
    border: 1px solid #d8dfcf;
    color: #657844;
    font-weight: 700;
}

/* 
 * Ajuste móvil:
 * en pantallas pequeñas seguimos dejando los dos bloques centrados,
 * pero con un poco menos de separación.
 */
@media (max-width: 767px) {
    .ld-bonoloto-latest .ld-bonoloto-specials {
        gap: 22px;
    }

    .ld-bonoloto-latest .ld-bonoloto-special-item {
        min-width: 100px;
    }

    .ld-bonoloto-latest .ld-bonoloto-special-label {
        font-size: 13px;
    }
}

/* =========================================================
   AJUSTE FINAL BONOLOTO - ÚLTIMO SORTEO
   - Reintegro con el mismo color que Complementario
   - Eliminación definitiva de la línea vertical separadora
   ========================================================= */

/*
 * Eliminamos la línea vertical del bloque Último sorteo.
 * Esa línea venía de la estructura tipo EuroDreams y en Bonoloto
 * cruza la zona de Complementario/Reintegro.
 */
.ld-bonoloto-latest::before,
.ld-bonoloto-latest::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/*
 * Eliminamos también cualquier pseudo-elemento interno que pueda
 * estar generando líneas dentro de la zona de bolas especiales.
 */
.ld-bonoloto-latest .ld-bonoloto-specials::before,
.ld-bonoloto-latest .ld-bonoloto-specials::after,
.ld-bonoloto-latest .ld-bonoloto-special-item::before,
.ld-bonoloto-latest .ld-bonoloto-special-item::after,
.ld-bonoloto-latest .ld-bonoloto-extra::before,
.ld-bonoloto-latest .ld-bonoloto-extra::after {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/*
 * El reintegro usa exactamente la misma paleta visual que el complementario.
 */
.ld-bonoloto-ball-reintegro {
    background: radial-gradient(circle at 32% 28%, #fbfff5 0%, #eef8d4 22%, #d7e9a6 52%, #bfd773 78%, #9fb952 100%) !important;
    border: 1px solid rgba(101, 120, 68, 0.22) !important;
    color: #1d1d1f !important;
    box-shadow:
        inset 0 -10px 18px rgba(101, 120, 68, 0.16),
        inset 0 8px 12px rgba(255, 255, 255, 0.55),
        0 8px 18px rgba(101, 120, 68, 0.14) !important;
}

/*
 * Mantenemos el mismo brillo superior que las bolas de Bonoloto.
 */
.ld-bonoloto-ball-reintegro::before {
    content: "" !important;
    position: absolute;
    left: 12px;
    top: 9px;
    width: 34%;
    height: 20%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.45) 100%);
    transform: rotate(-28deg);
    filter: blur(0.2px);
    z-index: 0;
    pointer-events: none;
}

/*
 * Mantenemos el centro blanco tipo bola de billar.
 */
.ld-bonoloto-ball-reintegro::after {
    content: "" !important;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54%;
    height: 54%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: radial-gradient(circle, #ffffff 0%, #fbfbfb 72%, #d9d9d9 100%);
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06);
    z-index: -1;
    pointer-events: none;
}

/*
 * Ajuste de separación para que Complementario y Reintegro queden limpios
 * y sin interferencias visuales.
 */
.ld-bonoloto-latest .ld-bonoloto-specials {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}