/* ==========================================================================
   LIFAT — sistema de diseño del sitio público
   Paleta tomada del escudo: azul profundo + plata, con acento ámbar.
   ========================================================================== */

:root {
	--navy-900: #071a45;
	--navy-800: #0b2566;
	--blue-600: #1649c9;
	--blue-500: #2563eb;
	--blue-100: #e3ecff;
	--silver:   #c8d0e0;
	--accent:   #ffb81c;
	--accent-d: #e39a00;
	--green:    #16a34a;

	--bg:       #f4f6fb;
	--surface:  #ffffff;
	--ink:      #101828;
	--ink-2:    #475467;
	--line:     #e4e8f0;

	--radius:   16px;
	--radius-s: 10px;
	--shadow-s: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
	--shadow-m: 0 10px 30px -10px rgba(11,37,102,.25);
	--wrap:     1160px;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lf {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
.lf img { max-width: 100%; display: block; }
.lf a { color: inherit; text-decoration: none; }
.lf h1, .lf h2, .lf h3, .lf h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.lf p { margin: 0; }
.lf ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--navy-900); color: #fff; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: var(--accent); }
.section--dark .eyebrow { color: var(--accent); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-top: 8px; }
.link-more { font-weight: 700; font-size: 15px; color: var(--blue-600); display: inline-flex; gap: 6px; align-items: center; }
.link-more:hover { gap: 10px; }
.link-more { transition: gap .15s; }

/* Botones ------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
	transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--navy-900); box-shadow: 0 6px 18px -6px rgba(255,184,28,.7); }
.btn--primary:hover { background: #ffc94d; }
.btn--blue { background: var(--blue-600); color: #fff; }
.btn--blue:hover { background: var(--blue-500); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* Header -------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 20px; font-weight: 900; letter-spacing: .04em; color: var(--navy-800); }
.brand-text span { font-size: 11px; color: var(--ink-2); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--blue-100); color: var(--blue-600); }
.nav a.is-active { color: var(--blue-600); background: var(--blue-100); }
.nav a.nav-cta { background: var(--navy-800); color: #fff; margin-left: 8px; }
.nav a.nav-cta:hover { background: var(--blue-600); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--blue-100); border-radius: 12px; cursor: pointer; color: var(--navy-800); font-size: 20px; }

/* Hero ---------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(37,99,235,.55), transparent 60%),
		radial-gradient(700px 400px at 0% 110%, rgba(255,184,28,.18), transparent 60%),
		linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, #123a9a);
}
.hero::after { /* líneas de cancha */
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
	background:
		radial-gradient(circle at 78% 55%, transparent 118px, #fff 119px, #fff 122px, transparent 123px);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 72px 0 88px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 900; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: #cfdaf5; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-logo { display: flex; justify-content: center; }
.hero-logo img { width: min(340px, 70%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 600; }

/* Accesos rápidos (solapados al hero) -------------------------------- */
.quick { margin-top: -48px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick-card {
	display: flex; gap: 16px; align-items: center;
	padding: 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-m);
	border: 1px solid var(--line); transition: transform .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-4px); border-color: var(--blue-500); }
.quick-ico { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--blue-100); color: var(--blue-600); }
.quick-card:nth-child(2) .quick-ico { background: #fff3d6; color: var(--accent-d); }
.quick-card:nth-child(3) .quick-ico { background: #dcfce7; color: var(--green); }
.quick-card h3 { font-size: 17px; }
.quick-card p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }

/* Noticias ------------------------------------------------------------ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
	display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius);
	overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s);
	transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.news-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-img.is-empty::after { content: "\f1e3"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; color: rgba(255,255,255,.25); }
.news-date {
	position: absolute; left: 14px; top: 14px; z-index: 1; text-align: center; line-height: 1;
	background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: var(--shadow-s);
}
.news-date b { display: block; font-size: 22px; font-weight: 900; color: var(--navy-800); }
.news-date span { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--accent-d); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 { font-size: 19px; line-height: 1.25; }
.news-body p { color: var(--ink-2); font-size: 15px; }
.news-body .link-more { margin-top: auto; padding-top: 6px; }

.news-grid .news-card.is-featured { grid-column: span 2; flex-direction: row; }
.news-grid .news-card.is-featured .news-img { flex: 1.2; aspect-ratio: auto; min-height: 320px; }
.news-grid .news-card.is-featured .news-body { flex: 1; justify-content: center; padding: 32px; }
.news-grid .news-card.is-featured h3 { font-size: clamp(24px, 3vw, 32px); }
.news-grid .news-card.is-featured p { font-size: 16px; }
.badge { align-self: flex-start; background: var(--accent); color: var(--navy-900); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* Historia ------------------------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(28px, 4vw, 42px); margin: 10px 0 18px; }
.about p { color: #c4d0ee; font-size: 17px; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.stat b { display: block; font-size: 40px; font-weight: 900; color: var(--accent); line-height: 1; }
.stat span { font-size: 14px; color: #b5c3e8; }

/* CTA clubes ---------------------------------------------------------- */
.cta {
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	padding: 40px; border-radius: 24px; color: #fff;
	background: linear-gradient(120deg, var(--blue-600), var(--navy-800));
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta p { color: #cfdaf5; margin-top: 8px; }

/* Páginas internas ---------------------------------------------------- */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 48px 0 56px; }
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); margin-top: 10px; }
.page-hero p { color: #cfdaf5; margin-top: 8px; max-width: 60ch; }
.crumbs { font-size: 14px; color: #a9b8e0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }

.article { max-width: 760px; margin: -32px auto 0; position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-m); padding: clamp(22px, 5vw, 48px); border: 1px solid var(--line); }
.article-cover { border-radius: var(--radius-s); overflow: hidden; margin-bottom: 28px; }
.article-cover img { width: 100%; height: auto; }
.article-meta { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 18px; }
.article-body { font-size: 18px; line-height: 1.75; color: #1d2939; overflow-wrap: anywhere; }
.article-body p { margin-bottom: 1.1em; }
.article-body img { height: auto; border-radius: var(--radius-s); margin: 1em 0; }
.article-body a { color: var(--blue-600); text-decoration: underline; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); }
.pager a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.pager .is-current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #b5c3e8; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text span { color: #8fa1d1; }
.site-footer .brand { margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 18px; color: #fff; }
.social a:hover { background: var(--accent); color: var(--navy-900); }

/* ==========================================================================
   FIXTURE & TABLAS
   ========================================================================== */
.fx { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; margin-top: -32px; position: relative; }
.fx-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-m); }
.fx-side { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); display: flex; flex-direction: column; overflow: hidden; }
.fx-side-head { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-weight: 800; }
.fx-side-head button { display: none; border: 0; background: var(--blue-100); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 16px; }
.fx-tree { overflow-y: auto; padding: 8px; }
.fx-tree::-webkit-scrollbar { width: 6px; }
.fx-tree::-webkit-scrollbar-thumb { background: var(--silver); border-radius: 6px; }

#tuitorial .cover { display: none; }
#tuitorial .cover.active { display: block; }
.gfg { cursor: pointer; user-select: none; }
.tchev { transition: transform .15s; font-size: 11px; color: var(--ink-2); width: 14px; text-align: center; flex: none; }
.gfg-down > .tchev, .gfg-down .tchev:first-child { transform: rotate(90deg); }

.t-torneo { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--navy-800); }
.t-torneo:hover { background: var(--blue-100); }
.t-torneo .fa-trophy { color: var(--accent-d); }
.t-dep, .t-zona { display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.t-dep { margin-left: 14px; }
.t-zona { margin-left: 28px; color: var(--ink-2); }
.t-dep:hover, .t-zona:hover { background: var(--bg); }
.t-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.t-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.t-year { margin-left: 44px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.t-year:hover { background: var(--bg); }
.chip {
	display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
	font-size: 11px; font-weight: 800; letter-spacing: .04em; border: 1px solid transparent; cursor: pointer;
	transition: background .15s, color .15s;
}
.chip--fix  { background: var(--blue-100); color: var(--blue-600); }
.chip--fix:hover  { background: var(--blue-600); color: #fff; }
.chip--pos  { background: #dcfce7; color: #15803d; }
.chip--pos:hover  { background: #15803d; color: #fff; }
.chip--gral { background: #fff3d6; color: #b45309; }
.chip--gral:hover { background: var(--accent-d); color: #fff; }
.chip--fem  { background: #fde2ee; color: #be185d; }
.chip--fem:hover  { background: #be185d; color: #fff; }
.t-empty { padding: 8px 16px; color: var(--ink-2); font-size: 13px; }

.fx-main { min-width: 0; padding: clamp(16px, 3vw, 28px); min-height: 420px; }
.fx-open { display: none; margin-bottom: 14px; }
.fx-overlay { display: none; position: fixed; inset: 0; background: rgba(7,26,69,.55); z-index: 140; }
.fx-overlay.active { display: block; }

.fx-welcome { text-align: center; padding: 56px 16px; color: var(--ink-2); }
.fx-welcome i { font-size: 44px; color: var(--silver); margin-bottom: 16px; }
.fx-welcome h3 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }
.fx-loading { text-align: center; padding: 56px; color: var(--ink-2); font-weight: 600; }

/* Resultado del ajax: título */
.flexTitleTorneo {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	font-size: 22px; font-weight: 900; color: var(--navy-800); letter-spacing: -.01em;
	padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); width: 100%;
}
.titleCatSel { font-size: 14px; font-weight: 700; color: var(--blue-600); background: var(--blue-100); padding: 5px 12px; border-radius: 999px; }
.titleCatSel b { font-weight: 600; color: var(--ink-2); }
.fx-main .flex { display: block; }

/* Partidos */
.boxFixture { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.flexTitleFixture { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 10px 16px; background: var(--bg); font-size: 13px; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--line); }
.boxFixture > .flex { display: grid !important; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 10px; padding: 16px; }
.boxFixture .col2 { font-weight: 700; font-size: 16px; line-height: 1.25; }
.txtAlignRight { text-align: right; }
.txtAlignLeft { text-align: left; }
.txtVs { font-size: 11px; color: var(--ink-2); letter-spacing: .1em; }
.colResult { display: flex; }
.boxGoles {
	width: 46px; height: 46px; text-align: center; font: inherit; font-size: 22px; font-weight: 900;
	color: #fff; background: var(--navy-800); border: 0; border-radius: 12px; padding: 0; outline: none;
}
.boxGoles[value=""] { background: var(--line); }

/* Tabla de posiciones (divs con clases heredadas del ajax) */
.contentList { width: 100%; }
.contenedor { border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; margin-bottom: 8px; background: var(--surface); }
.contenedor > div { display: grid; grid-template-columns: 52px minmax(150px, 1fr) repeat(8, 46px); align-items: center; min-width: 620px; }
.contenedor .columna { padding: 12px 6px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.contenedor .alignLeft { text-align: left; padding-left: 8px; }
#headerList { background: var(--navy-800); color: #fff; }
#headerList .headColumn { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 13px 6px; }
.contenedor .filaPar, .contenedor .filaImpar { border-top: 1px solid var(--line); }
.contenedor .filaImpar { background: #f8fafe; }
.contenedor > div:not(#headerList):hover { background: var(--blue-100); }
.contenedor > div:nth-child(2) .columna:first-child b { background: var(--accent); color: var(--navy-900); }
.contenedor > div .columna:first-child b { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 8px; background: var(--bg); font-size: 13px; }
.contenedor > div:nth-child(3) .columna:first-child b { background: #e5e7eb; }
.contenedor > div:nth-child(4) .columna:first-child b { background: #fde7c9; }
.contenedor > div:not(#headerList) .columna:nth-child(3) { font-weight: 900; color: var(--navy-800); }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
	.hero .wrap { grid-template-columns: 1fr; padding: 48px 0 72px; }
	.hero-logo { order: -1; }
	.hero-logo img { width: 150px; }
	.quick-grid { grid-template-columns: 1fr; }
	.news-grid { grid-template-columns: repeat(2, 1fr); }
	.news-grid .news-card.is-featured { grid-column: span 2; }
	.about-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > :first-child { grid-column: span 2; }

	.fx { grid-template-columns: 1fr; margin-top: -24px; }
	.fx-open { display: inline-flex; }
	.fx-side {
		position: fixed; z-index: 150; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); max-height: none;
		border-radius: 0 var(--radius) var(--radius) 0; transform: translateX(-105%); transition: transform .25s ease;
	}
	.fx-side.is-open { transform: translateX(0); }
	.fx-side-head button { display: block; }
}
@media (max-width: 760px) {
	:root { --header-h: 64px; }
	.section { padding: 52px 0; }
	.brand img { height: 44px; }
	.nav-toggle { display: grid; place-items: center; }
	.nav {
		position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
		background: #fff; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
		display: none;
	}
	.nav.is-open { display: flex; }
	.nav a { padding: 13px 16px; border-radius: 12px; }
	.nav a.nav-cta { margin: 6px 0 0; text-align: center; }
	.news-grid { grid-template-columns: 1fr; }
	.news-grid .news-card.is-featured { grid-column: auto; flex-direction: column; }
	.news-grid .news-card.is-featured .news-img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
	.news-grid .news-card.is-featured .news-body { padding: 20px 22px 24px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.cta { padding: 28px 22px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-grid > :first-child { grid-column: auto; }
	.boxFixture > .flex { grid-template-columns: 1fr auto auto auto 1fr; padding: 14px 10px; gap: 6px; }
	.boxFixture .col2 { font-size: 13px; }
	.boxGoles { width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}

/* Ajax: títulos de ronda y vacíos */
.rondaTitle { display: inline-block; margin: 8px 0 12px; padding: 8px 16px; border-radius: 999px; background: #0f766e; color: #fff; font-weight: 800; font-size: 14px; }
.rondaTotal { background: var(--navy-800); }
.contenedor + .rondaTitle { margin-top: 28px; }
.nombreRonda { color: var(--blue-600); font-weight: 800; }
.fx-empty { text-align: center; color: var(--ink-2); padding: 40px 16px; font-weight: 600; }

/* Tabla de posiciones en celular: entra sin scroll (se ocultan GF y GC) */
@media (max-width: 760px) {
	.contenedor { overflow-x: hidden; }
	.contenedor > div { grid-template-columns: 36px minmax(0, 1fr) repeat(6, 28px); min-width: 0; padding-right: 6px; }
	.contenedor .columna:nth-child(8), .contenedor .columna:nth-child(9) { display: none; }
	.contenedor .columna { padding: 12px 2px; font-size: 13px; }
	.contenedor .alignLeft { font-size: 12px; overflow-wrap: anywhere; }
	#headerList .headColumn { font-size: 10px; letter-spacing: 0; }
}

/* Pestañas de posiciones (tabla general / por ronda) */
.posTabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; padding: 5px; background: var(--bg); border-radius: 999px; width: fit-content; max-width: 100%; }
.posTab { border: 0; background: transparent; color: var(--ink-2); font: 700 13px/1 'Inter', sans-serif; padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; text-align: center; }
.posTab:hover { color: var(--blue-600); }
.posTab.is-active { background: var(--navy-800); color: #fff; box-shadow: 0 4px 12px -4px rgba(11,37,102,.5); }
.posPanel { display: none; }
.posPanel.is-active { display: block; }
@media (max-width: 760px) {
	.posTabs { width: 100%; border-radius: 16px; }
	.posTab { flex: 1 1 auto; padding: 11px 12px; font-size: 12px; }
}
