/*
Theme Name: La Cocinita
Theme URI: https://lacocinita.pro/
Description: Tema oscuro para análisis de fútbol con datos. Funciona junto al plugin La Cocinita Core.
Version: 1.5.8
Requires at least: 6.5
Requires PHP: 7.4
Author: La Cocinita
Text Domain: lacocinita
*/

/* Fuentes propias (licencia OFL), recortadas a los caracteres del español. */
@font-face { font-family: "Barlow"; src: url(assets/fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(assets/fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/barlow-condensed-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/barlow-condensed-800.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* Los colores y fuentes (--lc-*) vienen del plugin; aquí se repiten como respaldo. */
:root {
	--lc-bg: #0a1120;
	--lc-panel: #101a2c;
	--lc-panel-2: #152238;
	--lc-line: #213052;
	--lc-fg: #e9eef7;
	--lc-muted: #93a3bd;
	--lc-green: #22c55e;
	--lc-gold: #d8b25a;
	--lc-f-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--lc-f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lc-f-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Roboto Mono", "DejaVu Sans Mono", monospace;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--lc-bg); color: var(--lc-fg); font-family: var(--lc-f-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 40% at 50% -10%, rgba(34, 197, 94, .08), transparent 70%); }
img { max-width: 100%; height: auto; }
a { color: var(--lc-green); text-underline-offset: 3px; }
a:hover { color: #4ade80; }
:focus-visible { outline: 2px solid var(--lc-gold); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.lct-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--lc-green); color: #04130a; padding: 8px 12px; border-radius: 8px; }
.lct-skip:focus { left: 8px; }

.lct-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
@media (max-width: 480px) { .lct-wrap { padding-inline: 16px; } }
.lct-main { padding-bottom: 40px; min-height: 60vh; }

/* Cabecera */
.lct-header { position: sticky; top: 0; z-index: 100; background: rgba(10, 17, 32, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--lc-line); }
.admin-bar .lct-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lct-header { top: 0; } }
.lct-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.lct-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lc-fg); }
.lct-brand:hover { color: var(--lc-fg); }
.lct-brand__mark { color: var(--lc-gold); display: grid; }
.lct-brand__logo { width: 40px; height: 40px; object-fit: contain; }
.lct-brand__text { display: grid; line-height: 1; }
.lct-brand__text b { font-family: var(--lc-f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; }
.lct-brand__text small { font-size: .68rem; color: var(--lc-muted); letter-spacing: .04em; margin-top: 3px; }
/* Eslogan de la marca: dorado e itálica, igual en cabecera, pie, widget y redes. */
.lct-brand__text small.lct-slogan { font-size: .82rem; color: var(--lc-gold, #d8b25a); font-style: italic; font-weight: 600; letter-spacing: .01em; margin-top: 4px; }
.lct-slogan--foot { color: var(--lc-gold, #d8b25a); font-style: italic; font-weight: 600; font-size: 1.05rem; margin: 2px 0 8px; }
.lct-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.lct-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: #c4cfe0; text-decoration: none; font-weight: 600; font-size: .95rem; }
.lct-menu a:hover, .lct-menu .current-menu-item a { color: var(--lc-fg); background: var(--lc-panel-2); }
.lct-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--lc-line); background: var(--lc-panel); cursor: pointer; position: relative; }
.lct-burger span:first-child, .lct-burger span:first-child::before, .lct-burger span:first-child::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--lc-fg); content: ""; transition: transform .2s; }
.lct-burger span:first-child { top: 21px; }
.lct-burger span:first-child::before { left: 0; right: 0; top: -7px; }
.lct-burger span:first-child::after { left: 0; right: 0; top: 7px; }
.lct-burger[aria-expanded="true"] span:first-child { background: transparent; }
.lct-burger[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.lct-burger[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
	.lct-burger { display: block; }
	.lct-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--lc-bg); border-bottom: 1px solid var(--lc-line); padding: 8px 16px 16px; }
	.lct-nav.is-open { display: block; }
	.lct-menu { flex-direction: column; }
	.lct-menu a { padding: 12px; }
}
.lct-datebar { border-top: 1px solid rgba(33, 48, 82, .6); font-size: .78rem; color: var(--lc-muted); }
.lct-datebar .lct-wrap { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.lct-datebar::first-letter { text-transform: uppercase; }
.lct-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lc-green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }

/* Títulos */
.lct-h1 { font-family: var(--lc-f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: .95; letter-spacing: .005em; margin: 8px 0 14px; text-wrap: balance; }
.lct-h1 span { color: var(--lc-green); }
.lct-h1--sm { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.lct-mt { margin-top: 26px; }

/* Portada */
.lct-hero { padding: clamp(28px, 6vw, 64px) 0 clamp(20px, 4vw, 40px); position: relative; overflow: hidden; }
.lct-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
	repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 60px, transparent 60px 120px),
	radial-gradient(50% 70% at 85% 30%, rgba(216, 178, 90, .10), transparent 70%); }
.lct-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 900px) { .lct-hero__grid { grid-template-columns: 1fr; } }
.lct-hero__lead { font-size: 1.1rem; color: #c8d3e4; max-width: 56ch; margin: 0 0 22px; }
.lct-hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.lct-hero__side .lc-card { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.lct-scoreboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: linear-gradient(180deg, var(--lc-panel-2), var(--lc-panel)); border: 1px solid var(--lc-line); border-radius: 18px; padding: 18px; }
.lct-scoreboard div { display: grid; gap: 4px; text-align: center; }
.lct-scoreboard span { font-size: .72rem; color: var(--lc-muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--lc-f-mono); }
.lct-scoreboard b { font-family: var(--lc-f-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--lc-gold); font-variant-numeric: tabular-nums; }
.lct-scoreboard p { grid-column: 1 / -1; margin: 6px 0 0; font-size: .82rem; color: var(--lc-muted); text-align: center; }
.lct-block { margin: 40px 0; scroll-margin-top: 120px; }
.lct-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.lct-block__head .lc-h2 { margin: 0; }
.lct-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; margin-left: 6px; border-radius: 8px; background: var(--lc-panel-2); color: var(--lc-green); font-family: var(--lc-f-mono); font-size: .9rem; vertical-align: middle; }
.lct-more { font-weight: 600; text-decoration: none; }
.lct-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.lct-filters button { font-family: var(--lc-f-body); font-weight: 600; font-size: .82rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--lc-line); background: var(--lc-panel); color: var(--lc-muted); cursor: pointer; }
.lct-filters button[aria-pressed="true"] { background: var(--lc-green); border-color: var(--lc-green); color: #04130a; }
.lct-method { background: var(--lc-panel); border: 1px solid var(--lc-line); border-radius: 18px; padding: clamp(18px, 3vw, 28px); }
.lct-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; counter-reset: s; }
.lct-steps li { counter-increment: s; display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: var(--lc-panel-2); position: relative; }
.lct-steps li::before { content: counter(s); font-family: var(--lc-f-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--lc-green); }
.lct-steps b { font-family: var(--lc-f-display); font-size: 1.2rem; text-transform: uppercase; }
.lct-steps span { font-size: .9rem; color: var(--lc-muted); }
.lct-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 40px 0; padding: clamp(18px, 3vw, 30px); border-radius: 18px; border: 1px solid rgba(216, 178, 90, .4); background: radial-gradient(80% 120% at 0% 0%, rgba(216, 178, 90, .12), transparent 60%), var(--lc-panel); }
.lct-cta .lc-h2 { margin: 4px 0 6px; }
.lct-cta p { margin: 0; color: var(--lc-muted); }
.lct-cta .lc-eyebrow { color: var(--lc-gold); }

/* Ficha */
.lct-single { padding-top: 22px; }
.lct-crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--lc-muted); margin-bottom: 10px; }
.lct-crumbs a { color: var(--lc-muted); text-decoration: none; }
.lct-crumbs a:hover { color: var(--lc-fg); }
.lct-single__title { font-family: var(--lc-f-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.15; margin: 0 0 16px; color: #c8d3e4; text-wrap: balance; }

/* Archivo */
.lct-archive { padding-top: 28px; }
.lct-archive__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.lct-archive__desc { color: var(--lc-muted); margin: 0; }
.lct-filterform { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 14px; margin-bottom: 20px; background: var(--lc-panel); border: 1px solid var(--lc-line); border-radius: 14px; }
.lct-filterform label { display: grid; gap: 4px; font-size: .78rem; color: var(--lc-muted); }
.lct-filterform select { min-width: 170px; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--lc-line); background: var(--lc-panel-2); color: var(--lc-fg); font: inherit; }
.lct-filterform__check { display: flex !important; align-items: center; gap: 8px; padding-bottom: 10px; color: var(--lc-fg) !important; font-size: .9rem !important; }
.lct-pagination { margin: 28px 0; }
.lct-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.lct-pagination .page-numbers { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--lc-line); color: var(--lc-fg); text-decoration: none; }
.lct-pagination .page-numbers.current { background: var(--lc-green); border-color: var(--lc-green); color: #04130a; }
.lct-entry { background: var(--lc-panel); border: 1px solid var(--lc-line); border-radius: 14px; padding: 16px; }
.lct-entry a { color: var(--lc-fg); text-decoration: none; }
.lct-entry__meta { color: var(--lc-muted); font-size: .8rem; margin: 0; }

/* Páginas */
.lct-page { padding-top: 32px; }
.lct-page__head { margin-bottom: 18px; }
.lct-prose { max-width: 72ch; color: #d1dbea; line-height: 1.7; }
.lct-prose--wide { max-width: none; }
.lct-prose h2 { font-family: var(--lc-f-display); text-transform: uppercase; font-size: 1.6rem; color: var(--lc-fg); margin: 1.6em 0 .5em; }
.lct-prose h3 { font-family: var(--lc-f-display); font-size: 1.25rem; color: var(--lc-fg); }
.lct-prose ul, .lct-prose ol { padding-left: 1.2em; }
.lct-prose li { margin: .35em 0; }
.lct-404 { text-align: center; padding-block: 60px; }
.lct-404__code { font-family: var(--lc-f-display); font-weight: 800; font-size: 7rem; line-height: 1; margin: 0; color: var(--lc-gold); }

/* Pie */
.lct-footer { margin-top: 40px; border-top: 1px solid var(--lc-line); background: #070d18; padding-top: 34px; }
.lct-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 860px) { .lct-footer__grid { grid-template-columns: 1fr; } }
.lct-footer__brand b { font-family: var(--lc-f-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; }
.lct-footer__brand p { color: var(--lc-muted); font-size: .9rem; margin: 8px 0 14px; max-width: 42ch; }
.lct-footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.lct-footer__links a { color: #c4cfe0; text-decoration: none; font-size: .9rem; }
.lct-footer__links a:hover { color: var(--lc-fg); }
.lct-footer__legal { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: var(--lc-muted); }
.lct-footer__legal p { margin: 0; }
.lct-18 { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--lc-gold); color: var(--lc-gold); font-family: var(--lc-f-display); font-weight: 800; font-size: 1.1rem; }
.lct-footer__bottom { border-top: 1px solid var(--lc-line); margin-top: 26px; padding-block: 16px 24px; font-size: .78rem; color: #8391a8; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Firma y autor */
.lct-byline { margin: -8px 0 16px; font-size: .82rem; color: var(--lc-muted); }
.lct-byline a { color: var(--lc-muted); }
.lct-author { display: flex; gap: 14px; align-items: flex-start; margin: 30px 0 10px; padding: 16px; border: 1px solid var(--lc-line); border-radius: 14px; background: var(--lc-panel); }
.lct-author img { border-radius: 50%; flex: none; }
.lct-author div { display: grid; gap: 4px; }
.lct-author b { font-family: var(--lc-f-display); font-size: 1.2rem; }
.lct-author p { margin: 0; color: var(--lc-muted); font-size: .9rem; }

/* Móvil primero: barra inferior, selector de día y filtros deslizables */
.lct-tabbar { display: none; }
@media (max-width: 860px) {
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
	.lct-tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(7, 13, 24, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--lc-line); }
	.lct-tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 10px; color: var(--lc-muted); text-decoration: none; font-size: .66rem; font-weight: 600; }
	.lct-tabbar a[aria-current="page"] { color: var(--lc-green); background: rgba(34, 197, 94, .08); }
	.lct-hero { padding-top: 22px; }
	.lct-hero__lead { font-size: 1rem; }
	.lct-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; width: calc(100% + 32px); }
	.lct-filters::-webkit-scrollbar { display: none; }
	.lct-filters button { flex: none; }
	.lct-footer { padding-bottom: 10px; }
}
.lct-daytabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--lc-panel); border: 1px solid var(--lc-line); }
.lct-daytabs a { padding: 8px 18px; border-radius: 9px; color: var(--lc-muted); text-decoration: none; font-weight: 700; font-size: .9rem; }
.lct-daytabs a[aria-current="page"] { background: var(--lc-green); color: #04130a; }
.lct-block__head { row-gap: 12px; }

/* Portada: destacados → menú por liga o país → partidos por hora */
.lct-hero--compact { padding: clamp(22px, 4vw, 44px) 0 clamp(8px, 2vw, 16px); }
.lct-hero--compact .lct-hero__lead { margin-bottom: 16px; }
.lct-block--first { margin-top: 12px; }
.lct-sub { margin-top: 26px; }
h2.lct-sub { margin-bottom: 14px; }
.lct-note { font-size: .8rem; color: var(--lc-muted); font-family: var(--lc-f-mono); }
.lct-browse { display: grid; gap: 10px; margin-bottom: 16px; }
.lct-seg { display: inline-flex; justify-self: start; padding: 3px; gap: 3px; border-radius: 10px; background: var(--lc-panel); border: 1px solid var(--lc-line); }
.lct-seg button { font-family: var(--lc-f-body); font-weight: 700; font-size: .82rem; padding: 6px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--lc-muted); cursor: pointer; }
.lct-seg button[aria-pressed="true"] { background: var(--lc-panel-2); color: var(--lc-fg); box-shadow: inset 0 0 0 1px var(--lc-line); }
.lct-filters button[hidden] { display: none; }
.lct-filters button small { margin-left: 4px; font-family: var(--lc-f-mono); font-size: .72rem; opacity: .75; }
.lct-feat .lc-card { border-color: rgba(216, 178, 90, .45); }
@media (max-width: 640px) {
	.lct-hero--compact .lct-h1 { font-size: 2.1rem; margin-bottom: 10px; }
	.lct-hero--compact .lct-hero__lead { font-size: .95rem; margin-bottom: 0; }
	.lct-hero--compact .lct-hero__ctas { display: none; }
}

/* ===== Estética trading ===== */
/* Cinta de cotizaciones */
.lct-ticker { position: relative; overflow: hidden; height: 38px; border-bottom: 1px solid var(--lc-line); background: linear-gradient(180deg, #0c1527, #0a1120); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.lct-ticker__track { display: flex; width: max-content; height: 100%; animation: lct-tape var(--lct-dur, 40s) linear infinite; }
.lct-ticker:hover .lct-ticker__track, .lct-ticker:focus-within .lct-ticker__track { animation-play-state: paused; }
.lct-ticker__set { display: flex; align-items: center; }
.lct-tk { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 22px; border-right: 1px solid rgba(255, 255, 255, .06); color: var(--lc-muted); text-decoration: none; font-family: var(--lc-f-mono); font-size: .78rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lct-tk b { color: var(--lc-fg); letter-spacing: .06em; }
.lct-tk:hover b { color: var(--lc-gold); }
.lct-tk .is-up { color: #34d27a; }
.lct-tk .is-down { color: #f07a7a; }
.lct-tk time { color: var(--lc-gold); }
.lct-tk__live { width: 7px; height: 7px; border-radius: 50%; background: #f05252; box-shadow: 0 0 0 0 rgba(240, 82, 82, .6); animation: lct-ping 1.6s infinite; }
@keyframes lct-tape { to { transform: translateX(-50%); } }
@keyframes lct-ping { 70% { box-shadow: 0 0 0 7px rgba(240, 82, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 82, 82, 0); } }

/* Cabecera con gráfico de velas */
.lct-hero--chart::before { background:
	linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 100% 48px,
	linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 48px 100%,
	radial-gradient(45% 60% at 82% 35%, rgba(34, 197, 94, .16), transparent 70%),
	radial-gradient(40% 60% at 10% 90%, rgba(216, 178, 90, .08), transparent 70%); }
.lct-chart { position: absolute; z-index: -1; right: max(-40px, calc((100vw - 1200px) / 2)); top: 50%; width: min(56vw, 620px); height: auto; transform: translateY(-50%); opacity: .9; pointer-events: none; }
.lct-chart__grid path { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.lct-chart__c .u { stroke: #22c55e; fill: rgba(34, 197, 94, .55); stroke-width: 2; }
.lct-chart__c .d { stroke: #ef6b6b; fill: rgba(239, 107, 107, .5); stroke-width: 2; }
.lct-chart__line { fill: none; stroke: #4ade80; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(74, 222, 128, .55)); stroke-dasharray: 900; stroke-dashoffset: 900; animation: lct-draw 2.4s .2s ease-out forwards; }
.lct-chart__dot { fill: #4ade80; filter: drop-shadow(0 0 8px #4ade80); animation: lct-blink 2s 2.4s infinite; }
@keyframes lct-draw { to { stroke-dashoffset: 0; } }
@keyframes lct-blink { 50% { opacity: .35; } }
.lct-live i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lc-green); vertical-align: 1px; box-shadow: 0 0 10px var(--lc-green); animation: lct-blink 1.8s infinite; }

/* Indicadores tipo terminal */
.lct-kpis { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.lct-kpis div { min-width: 104px; padding: 10px 14px; border: 1px solid var(--lc-line); border-radius: 10px; background: rgba(16, 26, 44, .72); backdrop-filter: blur(4px); }
.lct-kpis dt { font-family: var(--lc-f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-muted); }
.lct-kpis dd { margin: 2px 0 0; font-family: var(--lc-f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--lc-fg); font-variant-numeric: tabular-nums; }
.lct-kpis .is-up { color: #34d27a; text-shadow: 0 0 18px rgba(52, 210, 122, .35); }
.lct-kpis .is-gold { color: var(--lc-gold); }

/* Rótulos de sección */
.lct-kicker { margin: 0 0 4px; font-family: var(--lc-f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lc-green); }
.lct-kicker::before { content: "// "; color: var(--lc-muted); }
.lct-kicker + .lc-h2, .lct-kicker + .lct-block__head { margin-top: 0; }
.lct-kicker.lct-sub { margin-top: 34px; }
.lct-filters button[aria-pressed="true"], .lct-daytabs a[aria-current="page"] { box-shadow: 0 0 18px -4px rgba(34, 197, 94, .7); }

@media (max-width: 1100px) { .lct-chart { opacity: .32; } }
@media (max-width: 640px) {
	.lct-chart { width: 120vw; right: -30vw; opacity: .28; }
	.lct-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
	.lct-kpis div { min-width: 0; padding: 8px 6px; text-align: center; }
	.lct-kpis dt { font-size: .56rem; letter-spacing: .06em; }
	.lct-kpis dd { font-size: 1.35rem; }
	.lct-tk { padding: 0 16px; font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
	.lct-ticker { overflow-x: auto; }
	.lct-ticker__track, .lct-chart__line, .lct-chart__dot, .lct-live i, .lct-tk__live { animation: none; }
	.lct-chart__line { stroke-dashoffset: 0; }
	.lct-ticker__set[aria-hidden] { display: none; }
}

/* Menú de ligas/países: en un panel propio, más grande y fijo bajo la cabecera al bajar por la lista */
.lct-browse { position: sticky; top: calc(var(--lct-head, 100px) + 8px); z-index: 50; display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 12px; border: 1px solid rgba(34, 197, 94, .35); border-radius: 14px; background: linear-gradient(180deg, rgba(21, 34, 56, .97), rgba(14, 23, 40, .97)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 34px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04); }
.lct-browse .lct-seg { flex: none; }
.lct-browse .lct-filters { flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 2px 2px 4px; width: auto; scrollbar-width: none; }
.lct-browse .lct-filters::-webkit-scrollbar { display: none; }
.lct-browse .lct-filters button { flex: none; font-size: .9rem; padding: 9px 15px; color: var(--lc-fg); border-color: #2b3e63; background: rgba(21, 34, 56, .9); }
.lct-browse .lct-filters button:hover { border-color: var(--lc-green); }
.lct-browse .lct-filters button[aria-pressed="true"] { background: var(--lc-green); border-color: var(--lc-green); color: #04130a; }
.lct-browse .lct-filters .is-feat { color: var(--lc-gold); border-color: rgba(216, 178, 90, .55); }
.lct-browse .lct-filters .is-feat[aria-pressed="true"] { background: var(--lc-gold); border-color: var(--lc-gold); color: #1a1205; box-shadow: 0 0 18px -4px rgba(216, 178, 90, .8); }
@media (max-width: 640px) {
	.lct-browse { margin-inline: -8px; padding: 8px; gap: 8px; border-radius: 12px; }
	.lct-browse .lct-seg button { padding: 7px 10px; font-size: .78rem; }
	.lct-browse .lct-filters button { font-size: .85rem; padding: 8px 12px; }
}

/* Lupa: busca equipo, liga o país desde cualquier página */
.lct-header__row .lct-brand { margin-right: auto; }
.lct-search-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--lc-line); background: var(--lc-panel); color: var(--lc-fg); cursor: pointer; }
.lct-search-btn:hover, .lct-search-btn[aria-expanded="true"] { border-color: var(--lc-green); color: var(--lc-green); }
.lct-search { border-top: 1px solid rgba(33, 48, 82, .6); padding: 12px 0 14px; }
.lct-search[hidden] { display: none; }
.lct-search__form, .lct-searchpage { display: flex; gap: 8px; align-items: center; }
.lct-search__form input, .lct-searchpage input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #2b3e63; background: var(--lc-panel-2); color: var(--lc-fg); font: inherit; font-size: 16px; }
.lct-search__form input:focus, .lct-searchpage input:focus { outline: 2px solid var(--lc-green); outline-offset: 0; border-color: transparent; }
.lct-search__form .lc-btn, .lct-searchpage .lc-btn { flex: none; height: 48px; }
.lct-sugg { max-height: min(62vh, 480px); overflow-y: auto; overscroll-behavior: contain; }
.lct-sugg:empty { display: none; }
.lct-sugg__h { margin: 14px 0 6px; font-family: var(--lc-f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lc-muted); }
.lct-sugg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lct-sugg li a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--lc-line); background: var(--lc-panel); color: var(--lc-fg); text-decoration: none; }
.lct-sugg li a:hover, .lct-sugg li a:focus-visible { border-color: var(--lc-green); background: var(--lc-panel-2); outline: none; }
.lct-sugg b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lct-sugg small { margin-left: auto; padding-left: 8px; flex: none; color: var(--lc-muted); font-size: .78rem; }
.lct-sugg img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.lct-sugg__ico { width: 24px; flex: none; text-align: center; font-style: normal; }
.lct-sugg__all { display: block; margin-top: 10px; padding: 10px; text-align: center; font-weight: 600; text-decoration: none; }
.lct-sugg__none { margin: 12px 0 0; color: var(--lc-muted); }
.lct-searchpage { margin-bottom: 14px; }
.lct-searchterms { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lct-searchterms a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(34, 197, 94, .45); background: var(--lc-panel); color: var(--lc-fg); font-weight: 600; font-size: .88rem; text-decoration: none; }
.lct-searchterms a:hover { border-color: var(--lc-green); }
.lct-searchterms small { color: var(--lc-muted); font-weight: 400; margin-right: 2px; }
@media (max-width: 860px) { .lct-header__row { gap: 8px; } }

/* Instalar la app e idiomas */
.lct-nav__extra { display: none; }
.lct-footer__cta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.lct-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; font-size: .85rem; color: var(--lc-muted); }
.lct-lang svg { flex: none; }
.lct-lang a { color: var(--lc-muted); text-decoration: none; padding: 4px 2px; }
.lct-lang a:hover { color: var(--lc-fg); text-decoration: underline; }
.lct-lang span[aria-current] { color: var(--lc-fg); font-weight: 600; }
@media (max-width: 860px) {
	.lct-nav__extra { display: grid; gap: 10px; padding: 12px; margin-top: 8px; border-top: 1px solid var(--lc-line); }
	.lct-nav__extra .lct-install[hidden] { display: none; }
	.lct-nav__extra .lct-lang { margin: 0; }
}

/* +18 discreto */
.lct-datebar__day { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lct-datebar__18 { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: .72rem; color: var(--lc-muted); white-space: nowrap; }
.lct-datebar__18 b { padding: 1px 6px; border-radius: 99px; border: 1px solid var(--lc-gold); color: var(--lc-gold); font-size: .66rem; font-weight: 800; }
@media (max-width: 520px) { .lct-datebar__18 > span { display: none; } }
.lct-age { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 130; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(10, 16, 30, .96); border: 1px solid rgba(241, 196, 15, .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-size: .8rem; color: #d7deea; }
.lct-age[hidden] { display: none; }
.lct-age p { margin: 0; line-height: 1.35; }
.lct-age__18 { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--lc-gold); color: var(--lc-gold); font-size: .78rem; }
.lct-age__ok { flex: none; padding: 8px 12px; border: 0; border-radius: 99px; background: var(--lc-gold); color: #1a1205; font-weight: 800; font-size: .76rem; cursor: pointer; }
@media (max-width: 860px) { .lct-age { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } }
.lct-age { padding: 8px 10px; font-size: .76rem; }
.lct-age__18 { width: 28px; height: 28px; font-size: .68rem; }
.lct-age__ok { padding: 7px 12px; font-family: inherit; }
.lct-age-on .lc-scrollhint { display: none !important; }

/* Filtros de la portada: internacionales y países en una sola fila */
.lct-filters__lbl { align-self: center; flex: none; margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--lc-line); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lc-muted); white-space: nowrap; }

/* Cifras de la portada con iconos; en el celular la portada empieza directo en las cifras */
.lct-kpis__ico { display: block; width: 26px; height: 26px; margin: 0 0 6px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: #7f93b3; }
.lct-kpis--ico div:nth-child(2) .lct-kpis__ico { color: var(--lc-green); filter: drop-shadow(0 0 6px rgba(34, 197, 94, .55)); }
.lct-kpis--ico div:nth-child(4) .lct-kpis__ico { color: var(--lc-gold); }
.lct-kpis--ico div:nth-child(3) .lct-kpis__ico { color: #b9c6dc; }
@media (max-width: 640px) {
	.lct-hero.lct-hero--compact { padding-top: 14px; padding-bottom: 14px; }
	.lct-hero--compact .lct-live, .lct-hero--compact .lct-hero__lead, .lct-hero--compact .lct-hero__ctas { display: none; }
	/* El título sigue para Google y lectores de pantalla, sin ocupar espacio. */
	.lct-hero--compact .lct-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.lct-kpis--ico { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; }
	.lct-kpis--ico div { min-width: 0; padding: 10px 6px 9px; text-align: center; border-radius: 12px; }
	.lct-kpis--ico .lct-kpis__ico { margin: 0 auto 6px; width: 28px; height: 28px; }
	.lct-kpis--ico dt { font-size: .55rem; letter-spacing: .06em; line-height: 1.2; }
	.lct-kpis--ico dd { font-size: 1.5rem; margin-top: 4px; }
}
