/* Tómbola Grupo K — colores tomados del logo */
.gk-tombola {
	--gk-navy: #001950;
	--gk-blue: #003d9d;
	--gk-sky: #2384b8;
	--gk-green: #72a600;
	--gk-lime: #8abf41;
	--gk-orange: #e76825;
	--gk-red: #af2d33;
	--gk-ink: #0b1b3a;
	--gk-muted: #5b6b85;
	--gk-line: #dfe6f1;
	position: relative;
	max-width: 1040px;
	margin: 0 auto 40px;
	padding: 28px 20px 32px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 15% 0%, rgba(138, 191, 65, .22), transparent 45%),
		radial-gradient(circle at 90% 10%, rgba(35, 132, 184, .25), transparent 50%),
		linear-gradient(160deg, #ffffff 0%, #f2f6fc 100%);
	box-shadow: 0 20px 60px rgba(0, 25, 80, .12);
	color: var(--gk-ink);
	font-family: inherit;
	overflow: hidden;
	box-sizing: border-box;
}
.gk-tombola *, .gk-tombola *::before, .gk-tombola *::after { box-sizing: border-box; }

.gk-confetti {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 99999;
}

.gk-head { text-align: center; margin-bottom: 18px; }
.gk-logo { width: 220px; max-width: 70%; height: auto; display: block; margin: 0 auto 10px; }
.gk-tombola .gk-title {
	margin: 6px 0 4px;
	font-size: clamp(1.6rem, 4.5vw, 2.6rem);
	line-height: 1.1;
	font-weight: 800;
	color: var(--gk-navy);
	letter-spacing: -.01em;
}
.gk-tombola .gk-sub { margin: 0; color: var(--gk-muted); font-size: 1rem; }

.gk-stage { display: flex; flex-direction: column; align-items: center; }

.gk-drum-wrap { position: relative; width: min(420px, 88vw); margin: 4px auto 0; }
.gk-drum { display: block; width: 100%; height: auto; position: relative; z-index: 2; }
.gk-stand {
	display: none;
	position: relative;
	z-index: 1;
	width: 62%;
	height: 34px;
	margin: -26px auto 0;
	border-radius: 0 0 18px 18px;
	background: linear-gradient(180deg, var(--gk-blue), var(--gk-navy));
	box-shadow: 0 10px 22px rgba(0, 25, 80, .25);
}

.gk-display {
	margin: 22px auto 0;
	width: min(560px, 100%);
	padding: 16px 20px 18px;
	border-radius: 20px;
	text-align: center;
	background: linear-gradient(135deg, var(--gk-navy), var(--gk-blue) 60%, var(--gk-sky));
	color: #fff;
	box-shadow: 0 12px 30px rgba(0, 61, 157, .35);
	transition: transform .3s ease;
}
.gk-display-label {
	display: block;
	text-transform: uppercase;
	letter-spacing: .2em;
	font-size: .72rem;
	opacity: .8;
}
.gk-display-name {
	display: block;
	min-height: 1.25em;
	font-size: clamp(1.6rem, 6vw, 2.6rem);
	font-weight: 800;
	line-height: 1.25;
	word-break: break-word;
	color: #fff;
}
.gk-display-num { display: block; min-height: 1.2em; font-size: .9rem; color: var(--gk-lime); font-weight: 700; }
.gk-tombola.is-spinning .gk-display-name { opacity: .85; filter: blur(.4px); }
.gk-tombola.is-winner .gk-display { animation: gk-pop .7s cubic-bezier(.2, 1.6, .4, 1); }
.gk-tombola.is-winner .gk-display-name { color: #fff; text-shadow: 0 0 18px rgba(138, 191, 65, .9); }

@keyframes gk-pop {
	0% { transform: scale(.85); }
	60% { transform: scale(1.08); }
	100% { transform: scale(1); }
}

.gk-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; width: 100%; }
.gk-tombola .gk-btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	border-radius: 999px;
	padding: 15px 30px;
	font: inherit;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
	background: linear-gradient(135deg, var(--gk-green), var(--gk-lime));
	box-shadow: 0 10px 24px rgba(114, 166, 0, .4);
	transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
	min-height: 52px;
	touch-action: manipulation;
}
.gk-tombola .gk-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(114, 166, 0, .45); }
.gk-tombola .gk-btn:active { transform: translateY(1px) scale(.98); }
.gk-tombola .gk-btn:focus-visible { outline: 3px solid var(--gk-orange); outline-offset: 3px; }
.gk-tombola .gk-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.gk-tombola .gk-btn-ghost {
	color: var(--gk-navy);
	background: #fff;
	border: 2px solid var(--gk-line);
	box-shadow: none;
	font-size: .95rem;
}
.gk-tombola .gk-btn-ghost:hover { border-color: var(--gk-sky); box-shadow: none; }

.gk-counter { margin: 12px 0 0; color: var(--gk-muted); font-size: .92rem; text-align: center; }

.gk-lists {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 28px;
}
.gk-card {
	background: #fff;
	border: 1px solid var(--gk-line);
	border-radius: 20px;
	padding: 18px 18px 14px;
	min-width: 0;
}
.gk-tombola .gk-card h3 {
	margin: 0 0 12px;
	font-size: 1.1rem;
	color: var(--gk-navy);
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 8px;
}
.gk-badge {
	margin-left: auto;
	background: var(--gk-navy);
	color: #fff;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: .8rem;
}

.gk-tombola ol.gk-winners { list-style: none; margin: 0; padding: 0; counter-reset: gk; }
.gk-tombola .gk-winners li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	margin: 0 0 8px;
	border-radius: 14px;
	background: linear-gradient(90deg, rgba(138, 191, 65, .16), rgba(35, 132, 184, .08));
	font-weight: 700;
	color: var(--gk-ink);
	animation: gk-in .5s ease;
}
.gk-tombola .gk-winners li .gk-pos {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--gk-navy);
	color: #fff;
	font-size: .9rem;
}
.gk-tombola .gk-winners li:nth-child(1) .gk-pos { background: #d4a514; }
.gk-tombola .gk-winners li:nth-child(2) .gk-pos { background: #8e9aab; }
.gk-tombola .gk-winners li:nth-child(3) .gk-pos { background: var(--gk-orange); }
.gk-tombola .gk-winners li .gk-time { margin-left: auto; font-weight: 400; font-size: .8rem; color: var(--gk-muted); }
.gk-tombola .gk-winners li.gk-empty { background: none; color: var(--gk-muted); font-weight: 400; padding-left: 0; animation: none; }

.gk-tombola ul.gk-players {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-height: 320px;
	overflow: auto;
}
.gk-tombola .gk-players li {
	margin: 0;
	padding: 5px 11px;
	border-radius: 999px;
	background: #eef3fa;
	color: var(--gk-blue);
	font-size: .85rem;
	font-weight: 600;
	transition: all .4s ease;
}
.gk-tombola .gk-players li.is-hit { background: var(--gk-orange); color: #fff; transform: scale(1.1); }

@keyframes gk-in {
	from { opacity: 0; transform: translateY(-8px) scale(.97); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
	.gk-tombola { padding: 22px 14px 24px; border-radius: 20px; }
	.gk-lists { grid-template-columns: 1fr; }
	.gk-card-winners { order: -1; }
	.gk-actions .gk-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.gk-tombola.is-winner .gk-display, .gk-tombola .gk-winners li { animation: none; }
}

/* ---------- Detalles comunes (nombre + empresa) ---------- */
.gk-display-emp { display: block; min-height: 1.1em; font-size: clamp(.9rem, 2.6vw, 1.1rem); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.gk-tombola .gk-winners li .gk-wname { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.gk-tombola .gk-winners li .gk-wname small { font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-top: 2px; }
.gk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tema Fiesta Navideña ---------- */
.gk-tombola.gk-theme-navidad {
	--nv-red: #5a0f12;
	--nv-red2: #7a1418;
	--nv-cream: #f1efe2;
	--nv-gold: #d4a514;
	--nv-gold2: #f3d27a;
	max-width: 1100px;
	color: var(--nv-cream);
	background: var(--nv-red) url(navidad/fondo.jpg) center top / cover no-repeat;
	box-shadow: 0 24px 70px rgba(60, 6, 8, .45);
	isolation: isolate;
}
.gk-theme-navidad > *:not(.gk-snow) { position: relative; z-index: 2; }
.gk-theme-navidad .gk-snow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 3;
}
.gk-theme-navidad .gk-head { padding-top: 6px; }
.gk-theme-navidad .gk-logo { width: 170px; max-width: 46%; margin-bottom: 30px; opacity: .95; }
.gk-theme-navidad .gk-lettering { display: block; width: 470px; max-width: 86%; height: auto; margin: 0 auto 26px; filter: drop-shadow(5px 5px 0 #2e0406); } /* sombra sólida paralela, rojo muy oscuro */
.gk-tombola.gk-theme-navidad .gk-title { color: var(--nv-cream); }
.gk-tombola.gk-theme-navidad .gk-sub {
	color: var(--nv-gold2);
	text-transform: uppercase;
	letter-spacing: .28em;
	font-size: .78rem;
	font-weight: 700;
}

.gk-theme-navidad .gk-display {
	background: linear-gradient(135deg, rgba(122, 20, 24, .92), rgba(70, 8, 11, .95));
	border: 2px solid rgba(243, 210, 122, .75);
	box-shadow: 0 14px 34px rgba(30, 2, 4, .5), inset 0 0 30px rgba(243, 210, 122, .12);
}
.gk-theme-navidad .gk-display-label { color: var(--nv-gold2); opacity: 1; }
.gk-theme-navidad .gk-display-name { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.gk-theme-navidad .gk-display-emp { color: var(--nv-cream); }
.gk-theme-navidad .gk-display-num { color: var(--nv-gold2); }
.gk-tombola.gk-theme-navidad.is-winner .gk-display-name { text-shadow: 0 0 22px rgba(243, 210, 122, .85); }

.gk-tombola.gk-theme-navidad .gk-btn {
	color: #4a0a0d;
	background: linear-gradient(135deg, #f7e3a3, var(--nv-gold) 55%, #b8862b);
	box-shadow: 0 10px 26px rgba(20, 2, 3, .45);
}
.gk-tombola.gk-theme-navidad .gk-btn:hover { box-shadow: 0 14px 30px rgba(20, 2, 3, .55); }
.gk-tombola.gk-theme-navidad .gk-btn:focus-visible { outline-color: #fff; }
.gk-tombola.gk-theme-navidad .gk-btn-ghost {
	color: var(--nv-cream);
	background: rgba(255, 255, 255, .06);
	border: 2px solid rgba(241, 239, 226, .45);
	box-shadow: none;
}
.gk-tombola.gk-theme-navidad .gk-btn-ghost:hover { border-color: var(--nv-gold2); }
.gk-theme-navidad .gk-counter { color: rgba(241, 239, 226, .85); }

.gk-theme-navidad .gk-card {
	background: rgba(40, 4, 6, .45);
	border: 1px solid rgba(243, 210, 122, .35);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.gk-tombola.gk-theme-navidad .gk-card h3 { color: var(--nv-cream); }
.gk-theme-navidad .gk-badge { background: var(--nv-gold); color: #4a0a0d; }
.gk-tombola.gk-theme-navidad .gk-winners li {
	color: #fff;
	background: linear-gradient(90deg, rgba(243, 210, 122, .22), rgba(255, 255, 255, .05));
}
.gk-tombola.gk-theme-navidad .gk-winners li .gk-pos { background: var(--nv-red2); border: 1px solid rgba(243, 210, 122, .6); }
.gk-tombola.gk-theme-navidad .gk-winners li:nth-child(1) .gk-pos { background: #d4a514; color: #4a0a0d; }
.gk-tombola.gk-theme-navidad .gk-winners li:nth-child(2) .gk-pos { background: #c9ccd3; color: #3a3a3a; }
.gk-tombola.gk-theme-navidad .gk-winners li:nth-child(3) .gk-pos { background: #b8662b; }
.gk-tombola.gk-theme-navidad .gk-winners li .gk-time,
.gk-tombola.gk-theme-navidad .gk-winners li.gk-empty { color: rgba(241, 239, 226, .75); }
.gk-tombola.gk-theme-navidad .gk-players li { background: rgba(255, 255, 255, .1); color: var(--nv-cream); }
.gk-tombola.gk-theme-navidad .gk-players li.is-hit { background: var(--nv-gold); color: #4a0a0d; }
.gk-tombola.gk-theme-navidad ul.gk-players { max-height: 360px; }

@media (max-width: 720px) {
	.gk-theme-navidad .gk-logo { margin-bottom: 20px; }
	.gk-theme-navidad .gk-lettering { max-width: 92%; margin-bottom: 18px; filter: drop-shadow(3px 3px 0 #2e0406); }
	.gk-tombola.gk-theme-navidad .gk-sub { letter-spacing: .16em; font-size: .7rem; }
}

/* ---------- Ancho completo: sale del contenedor del tema ---------- */
.gk-tombola.gk-full {
	--gk-vw: calc(100vw - var(--gk-sbw, 0px));
	width: var(--gk-vw);
	max-width: none;
	margin-left: calc(50% - var(--gk-vw) / 2);
	margin-right: calc(50% - var(--gk-vw) / 2);
	margin-bottom: 0;
	border-radius: 0;
	padding: 40px max(16px, calc((var(--gk-vw) - 1100px) / 2)) 56px;
	min-height: 100vh;
}
@media (max-width: 720px) {
	.gk-tombola.gk-full { padding: 26px 14px 36px; }
}

/* ---------- Caja del ganador: más ancha y de alto fijo (no cambia de tamaño al girar) ---------- */
.gk-tombola .gk-display {
	width: min(860px, 100%);
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.gk-tombola .gk-display-name {
	min-height: 2.5em;            /* reserva siempre 2 líneas de nombre */
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}
@media (max-width: 720px) {
	.gk-tombola .gk-display { min-height: 190px; padding: 14px 14px 16px; }
	.gk-tombola .gk-display-name { font-size: clamp(1.35rem, 6.4vw, 1.9rem); }
}

/* ---------- Nombre del ganador en una sola línea (el JS ajusta el tamaño si no cabe) ---------- */
.gk-tombola .gk-display { min-height: 180px; }
.gk-tombola .gk-display-name,
.gk-tombola.gk-theme-navidad .gk-display-name {
	display: block;
	width: 100%;
	min-height: 0;
	height: 3.6rem;
	line-height: 3.6rem;
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
	font-size: clamp(1.5rem, 5vw, 2.5rem);
}
.gk-tombola.is-spinning .gk-display-name { filter: none; }
@media (max-width: 720px) {
	.gk-tombola .gk-display { min-height: 150px; }
	.gk-tombola .gk-display-name,
	.gk-tombola.gk-theme-navidad .gk-display-name { height: 2.8rem; line-height: 2.8rem; font-size: clamp(1.25rem, 6.4vw, 1.8rem); }
}

/* El sitio trae una regla global «li { font-size: 40px }» en celular: fijamos nuestros tamaños */
.gk-tombola .gk-winners li { font-size: 15px; line-height: 1.3; }
.gk-tombola .gk-winners li.gk-empty { font-size: 14px; }
.gk-tombola .gk-players li { font-size: 13px; line-height: 1.3; }

/* El tema trae en celular «.entry-content-wrapper div li { margin-bottom: 81px !important; border-bottom … !important }»: lo anulamos solo dentro de la tómbola */
.entry-content-wrapper .gk-tombola ul.gk-players li,
.gk-tombola ul.gk-players li { margin: 0 !important; border-bottom: 0 !important; line-height: 1.3 !important; }
.entry-content-wrapper .gk-tombola ol.gk-winners li,
.gk-tombola ol.gk-winners li { margin: 0 0 8px !important; border-bottom: 0 !important; line-height: 1.3 !important; padding: 10px 12px !important; }
.entry-content-wrapper .gk-tombola ol.gk-winners li.gk-empty,
.gk-tombola ol.gk-winners li.gk-empty { padding: 6px 0 !important; }

/* ---------- v1.5: varios ganadores, buscador, deshacer, Excel y ventanas ---------- */
.gk-tombola [hidden] { display: none !important; }

/* Casillas de giro múltiple */
.gk-tombola .gk-modes { border: 0; margin: 16px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.gk-tombola .gk-modes legend { width: 100%; text-align: center; font-size: .85rem; font-weight: 700; margin-bottom: 8px; padding: 0; color: var(--gk-navy); }
.gk-tombola .gk-modes legend small { font-weight: 500; opacity: .75; }
.gk-tombola .gk-mode { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--gk-line); background: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; user-select: none; transition: all .2s; }
.gk-tombola .gk-mode input { width: 20px; height: 20px; margin: 0; accent-color: var(--gk-green); cursor: pointer; }
.gk-tombola .gk-mode small { display: block; font-weight: 500; font-size: .72rem; opacity: .75; }
.gk-tombola .gk-mode:has(input:checked) { border-color: var(--gk-green); background: rgba(138, 191, 65, .15); }
.gk-tombola .gk-mode:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.gk-theme-navidad .gk-modes legend { color: var(--nv-cream); }
.gk-theme-navidad .gk-mode { background: rgba(255, 255, 255, .06); border-color: rgba(241, 239, 226, .4); color: var(--nv-cream); }
.gk-theme-navidad .gk-mode input { accent-color: #d4a514; }
.gk-theme-navidad .gk-mode:has(input:checked) { border-color: var(--nv-gold2); background: rgba(243, 210, 122, .22); color: #fff; box-shadow: 0 0 0 3px rgba(243, 210, 122, .25); }

/* Cuadro con varios ganadores: misma caja, rejilla de nombres */
.gk-tombola .gk-display-list { display: none; }
.gk-tombola.is-multi .gk-display-name,
.gk-tombola.is-multi .gk-display-emp { display: none; }
.gk-tombola.is-multi .gk-display-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin: 10px 0 8px; }
.gk-tombola .gk-ml-item { display: flex; flex-direction: column; justify-content: center; flex: 0 1 calc(33.333% - 7px); box-sizing: border-box; background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 12px; min-width: 0; text-align: center; animation: gk-in .45s ease both; }
.gk-tombola .gk-display-list[data-n="4"] .gk-ml-item,
.gk-tombola .gk-display-list[data-n="2"] .gk-ml-item { flex-basis: calc(50% - 5px); }
.gk-tombola .gk-ml-item:nth-child(2) { animation-delay: .1s; } .gk-tombola .gk-ml-item:nth-child(3) { animation-delay: .2s; }
.gk-tombola .gk-ml-item:nth-child(4) { animation-delay: .3s; } .gk-tombola .gk-ml-item:nth-child(5) { animation-delay: .4s; }
.gk-tombola .gk-ml-item:nth-child(6) { animation-delay: .5s; }
.gk-tombola .gk-ml-name { display: flex; align-items: center; justify-content: center; min-height: 2.5em; font-size: 1.35rem; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.gk-tombola .gk-ml-emp { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gk-theme-navidad .gk-ml-item { background: rgba(243, 210, 122, .14); border: 1px solid rgba(243, 210, 122, .35); }
.gk-theme-navidad .gk-ml-name { color: #fff; font-family: Georgia, 'Times New Roman', serif; }
.gk-theme-navidad .gk-ml-emp { color: var(--nv-cream); }

/* Encabezado de la tarjeta de ganadores con botón de Excel */
.gk-tombola .gk-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.gk-tombola .gk-card-head h3 { margin: 0; }
.gk-tombola .gk-btn.gk-btn-small { min-height: 36px; padding: 8px 16px; font-size: .85rem; }

/* Botón «devolver a la tómbola» en cada ganador */
.gk-tombola .gk-winners li .gk-wname { flex: 1 1 auto; }
.gk-tombola .gk-return { appearance: none; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; opacity: .55; cursor: pointer; font-size: 16px; line-height: 1; padding: 0; transition: opacity .2s, background .2s; }
.gk-tombola .gk-return:hover, .gk-tombola .gk-return:focus-visible { opacity: 1; background: rgba(255, 255, 255, .15); }
.gk-tombola.is-busy .gk-return { visibility: hidden; }

/* Buscador de participantes */
.gk-tombola .gk-search { display: block; width: 100%; box-sizing: border-box; margin: 0 0 6px; padding: 11px 14px; border-radius: 12px; border: 2px solid var(--gk-line); font: inherit; font-size: 15px; line-height: 1.2; background: #fff; color: var(--gk-ink); }
.gk-tombola .gk-search:focus { outline: none; border-color: var(--gk-sky); }
.gk-tombola .gk-hint { margin: 0 0 10px; font-size: .78rem; opacity: .75; }
.gk-tombola .gk-nomatch { margin: 8px 0 0; font-size: .85rem; opacity: .75; }
.gk-tombola .gk-players li[data-id] { cursor: pointer; }
.gk-tombola .gk-players li[data-id]:hover, .gk-tombola .gk-players li[data-id]:focus-visible { outline: 2px solid var(--gk-orange); outline-offset: 1px; }
.gk-tombola.is-busy .gk-players li[data-id] { cursor: default; }
.gk-theme-navidad .gk-search { background: rgba(255, 255, 255, .1); border-color: rgba(241, 239, 226, .4); color: #fff; }
.gk-theme-navidad .gk-search::placeholder { color: rgba(241, 239, 226, .7); }
.gk-theme-navidad .gk-search:focus { border-color: var(--nv-gold2); }
.gk-theme-navidad .gk-hint, .gk-theme-navidad .gk-nomatch { color: var(--nv-cream); }
.gk-tombola.gk-theme-navidad .gk-players li[data-id]:hover, .gk-tombola.gk-theme-navidad .gk-players li[data-id]:focus-visible { outline-color: var(--nv-gold2); }

/* Ventanas de confirmación (pasar a ganador, devolver, deshacer, reiniciar) */
.gk-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 14, 30, .62); animation: gk-fade .18s ease; font-family: inherit; }
.gk-modal-box { width: min(460px, 100%); max-height: 90vh; overflow: auto; background: #fff; color: #1d2433; border-radius: 20px; padding: 24px 22px 20px; text-align: center; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); animation: gk-pop .35s cubic-bezier(.2, 1.4, .4, 1); }
.gk-modal .gk-modal-title { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.25; font-weight: 800; color: inherit; }
.gk-modal .gk-modal-body p { margin: 8px 0; font-size: .95rem; line-height: 1.45; }
.gk-modal .gk-modal-name { display: block; font-size: 1.45rem; line-height: 1.2; margin-top: 4px; }
.gk-modal .gk-modal-emp { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.gk-modal .gk-modal-alert { display: block; font-size: 1.05rem; color: #b3261e; margin-bottom: 6px; }
.gk-modal .gk-modal-item { display: block; font-size: .9rem; padding: 3px 0; font-weight: 600; }
.gk-modal .gk-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.gk-modal .gk-btn { appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: 12px 22px; min-height: 46px; font: inherit; font-weight: 800; font-size: .98rem; line-height: 1.1; color: #fff; background: linear-gradient(135deg, #5a9e1a, #8abf41); }
.gk-modal .gk-btn-ghost { color: #1d2433; background: #fff; border: 2px solid #d5dbe6; }
.gk-modal .gk-btn-danger { background: linear-gradient(135deg, #8f1a14, #c0392b); }
.gk-modal .gk-btn:focus-visible { outline: 3px solid #f39c12; outline-offset: 2px; }
.gk-modal.is-danger .gk-modal-box { border-top: 6px solid #c0392b; }
.gk-modal.gk-theme-navidad .gk-modal-box { background: #fbf8ec; border: 2px solid #d4a514; }
.gk-modal.gk-theme-navidad .gk-btn:not(.gk-btn-ghost):not(.gk-btn-danger) { color: #4a0a0d; background: linear-gradient(135deg, #f7e3a3, #d4a514 55%, #b8862b); }
.gk-modal.gk-theme-navidad .gk-modal-title { color: #5a0f12; }
@keyframes gk-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 720px) {
	.gk-tombola .gk-mode { flex: 1 1 calc(50% - 10px); justify-content: center; }
	.gk-tombola.is-multi .gk-display-list { gap: 6px; }
	.gk-tombola .gk-display-list .gk-ml-item { flex-basis: calc(50% - 3px); padding: 7px 6px; }
	.gk-tombola .gk-ml-name { font-size: 1rem; }
	.gk-modal .gk-btn { flex: 1 1 100%; }
}

/* El tema pinta de gris (#444) el texto dentro de las etiquetas: en Navidad va blanco */
.gk-tombola.gk-theme-navidad .gk-mode,
.gk-tombola.gk-theme-navidad .gk-mode span,
.gk-tombola.gk-theme-navidad .gk-mode small,
.gk-tombola.gk-theme-navidad .gk-modes legend,
.gk-tombola.gk-theme-navidad .gk-modes legend small { color: #fff !important; }
.gk-tombola.gk-theme-navidad .gk-mode small { opacity: .85; }
