/* El Rincón del Gol – Fútbol en directo
   Concepto: noche de partido. Azul noche con las líneas del campo, marcador de estadio,
   amarillo tarjeta como acento y rojo para el directo. */
.rdg, .rdg-chrome {
	--rdg-night: #0b1020;
	--rdg-night-2: #141b31;
	--rdg-night-3: #1d2642;
	--rdg-chalk: #f4f5ef;
	--rdg-paper: #f1f2ec;
	--rdg-ink: #0e1324;
	--rdg-line: #dde0d8;
	--rdg-muted: #5f6678;
	--rdg-yellow: #ffcf1a;
	--rdg-red: #ff3b30;
	--rdg-win: #1f9d55;
	--rdg-draw: #9aa1ad;
	--rdg-loss: #d64545;
	--rdg-ucl: #2b63e8;
	--rdg-uel: #f08a1c;
	--rdg-uecl: #18a37a;
	--rdg-up: #1f9d55;
	--rdg-po: #e3b11b;
	--rdg-rel: #d64545;
	--rdg-cond: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
	--rdg-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rdg-max: 1240px;
	--rdg-gutter: clamp(16px, 3vw, 32px);
	--rdg-radius: 14px;
}
.rdg {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 0 48px;
	font-family: var(--rdg-body); color: var(--rdg-ink); font-size: 16px; box-sizing: border-box;
}
.rdg *, .rdg *::before, .rdg *::after { box-sizing: border-box; }
.rdg a { color: inherit; text-decoration: none; }
.rdg h1, .rdg h2, .rdg h3 { margin: 0; text-transform: none; color: inherit; }
.rdg p { margin: 0; }
.rdg-page { display: block; width: 100%; clear: both; }
body.rdg-fullwidth { overflow-x: clip; }
.rdg-wrap { width: 100%; max-width: var(--rdg-max); margin-inline: auto; padding-inline: var(--rdg-gutter); }

/* ---------- Cabecera: el campo de noche ---------- */
.rdg-hero {
	position: relative; overflow: hidden; color: var(--rdg-chalk);
	background-color: var(--rdg-night);
	background-image:
		radial-gradient(ellipse 60% 70% at 8% -10%, rgba(255,255,255,.10), transparent 60%),
		radial-gradient(ellipse 60% 70% at 92% -10%, rgba(255,255,255,.10), transparent 60%),
		radial-gradient(circle at 50% 100%, transparent 0 129px, rgba(255,255,255,.07) 130px 132px, transparent 133px),
		linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.07) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
		repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 80px, transparent 80px 160px);
	padding-block: clamp(32px, 5vw, 64px);
}
.rdg-kicker { display: flex; align-items: center; gap: 8px; font: 700 13px/1.3 var(--rdg-body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--rdg-yellow); }
.rdg-kicker a { text-decoration: underline; text-underline-offset: 3px; }
.rdg-hero__title { font: italic 800 clamp(48px, 8vw, 104px)/.9 var(--rdg-cond) !important; text-transform: uppercase; letter-spacing: -.01em; margin-top: 10px !important; color: var(--rdg-chalk); }
.rdg-hero__title em { color: var(--rdg-yellow); font-style: italic; }
.rdg-hero__title--league { font-size: clamp(40px, 6vw, 76px) !important; }
.rdg-hero__sub { margin-top: 8px !important; font: 600 20px/1.3 var(--rdg-cond) !important; letter-spacing: .04em; text-transform: uppercase; color: rgba(244,245,239,.75); }

.rdg-leagues { display: flex; gap: 8px; margin: 22px 0 26px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.rdg-leagues::-webkit-scrollbar { display: none; }
.rdg-leagues a { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding: 8px 14px 8px 10px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font: 700 15px/1.2 var(--rdg-body) !important; color: var(--rdg-chalk) !important; transition: background .15s; }
.rdg-leagues a:hover { background: rgba(255,255,255,.16); }
.rdg-leagues .rdg-crest { background: #fff; border-radius: 50%; padding: 2px; }

.rdg-league-head { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); }
.rdg-league-head__logo { display: grid; place-items: center; flex: 0 0 auto; width: clamp(76px, 10vw, 112px); aspect-ratio: 1; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.rdg-league-head__logo .rdg-crest { width: 70%; height: auto; }
.rdg-league-head__logo--team { border-radius: 50%; }

.rdg-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; }
.rdg-stats > span { display: grid; gap: 2px; font: 600 12px/1.2 var(--rdg-body) !important; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,245,239,.65); }
.rdg-stats b { font: 800 30px/1 var(--rdg-cond) !important; color: var(--rdg-chalk); letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ---------- Marcador de estadio ---------- */
.rdg-board { display: grid; gap: 12px; }
.rdg-board__title { font: 700 20px/1.2 var(--rdg-cond) !important; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,245,239,.7); }
.rdg-board__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
.rdg-hero--league .rdg-board { margin-top: 26px; }

.rdg-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rdg-red); box-shadow: 0 0 0 0 rgba(255,59,48,.6); animation: rdg-pulse 1.6s infinite; flex: 0 0 auto; }
@keyframes rdg-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,48,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }

/* ---------- Partido ---------- */
.rdg-match {
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "meta meta meta" "home score away";
	align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--rdg-line);
	transition: border-color .2s;
}
.rdg-match__meta { grid-area: meta; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; }
.rdg-match__lg { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1.2 var(--rdg-body) !important; color: var(--rdg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdg-match__status { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font: 700 14px/1.2 var(--rdg-cond) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--rdg-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rdg-match__team { display: flex; align-items: center; gap: 10px; min-width: 0; font: 600 16px/1.2 var(--rdg-body) !important; }
.rdg-match__team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdg-match__team:first-of-type { grid-area: home; }
.rdg-match__team--away { grid-area: away; justify-content: flex-end; text-align: right; }
.rdg-match__team:hover span { text-decoration: underline; text-underline-offset: 3px; }
.rdg-match__team.is-winner { font-weight: 700 !important; }
.rdg-match.is-done .rdg-match__team:not(.is-winner) { color: var(--rdg-muted); }
.rdg-match__score { grid-area: score; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 76px; padding: 4px 10px; border-radius: 8px; background: var(--rdg-paper); font: 800 26px/1 var(--rdg-cond) !important; font-variant-numeric: tabular-nums; }
.rdg-match__score i { font-style: normal; opacity: .45; font-size: 18px; }
.rdg-match__score i:only-child { font: 700 15px/1 var(--rdg-cond) !important; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.rdg-match.is-live { border-color: rgba(255,59,48,.55); box-shadow: inset 3px 0 0 var(--rdg-red); }
.rdg-match.is-live .rdg-match__status { color: var(--rdg-red); }
.rdg-match.is-goal .rdg-match__score { animation: rdg-goal 1.4s ease; }
@keyframes rdg-goal { 0%, 100% { background: var(--rdg-paper); } 15%, 60% { background: var(--rdg-yellow); color: var(--rdg-ink); } }

/* Partido sobre el campo de noche */
.rdg-board .rdg-match { background: var(--rdg-night-2); border-color: rgba(255,255,255,.08); color: var(--rdg-chalk); }
.rdg-board .rdg-match__lg, .rdg-board .rdg-match__status { color: rgba(244,245,239,.6); }
.rdg-board .rdg-match.is-live .rdg-match__status { color: #ff6b62; }
.rdg-board .rdg-match__score { background: #050812; color: var(--rdg-yellow); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.rdg-board .rdg-match.is-done .rdg-match__team:not(.is-winner) { color: rgba(244,245,239,.6); }
.rdg-board .rdg-crest { background: #fff; border-radius: 50%; padding: 2px; }

.rdg-crest { display: inline-block; object-fit: contain; flex: 0 0 auto; }
.rdg-crest--empty { border-radius: 50%; background: var(--rdg-line); }

/* ---------- Secciones ---------- */
.rdg-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; }
.rdg > *, .rdg-section > *, .rdg-split > * { min-width: 0; }
.rdg-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 3px solid var(--rdg-ink); padding-bottom: 8px; }
.rdg-head h2 { font: italic 800 clamp(28px, 3.4vw, 38px)/1 var(--rdg-cond) !important; text-transform: uppercase; letter-spacing: .01em; }
.rdg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.rdg-empty { padding: 18px; border-radius: 12px; background: var(--rdg-paper); color: var(--rdg-muted); }
.rdg-note { font-size: 13px; color: var(--rdg-muted); }
.rdg-round { font: 800 20px/1.2 var(--rdg-cond) !important; letter-spacing: .05em; text-transform: uppercase; color: var(--rdg-muted); margin: 6px 0 2px !important; }

.rdg-days { display: grid; gap: 18px; }
.rdg-day { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 8px 10px; }
.rdg-day__label { grid-column: 1 / -1; }
.rdg-split .rdg-day { grid-template-columns: minmax(0, 1fr); }
.rdg-day__label { font: 700 13px/1.3 var(--rdg-body) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--rdg-muted); }

/* ---------- Pestañas ---------- */
.rdg-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--rdg-paper); width: max-content; max-width: 100%; overflow-x: auto; }
.rdg-tabs button { flex: 0 0 auto; border: 0; border-radius: 9px; padding: 10px 18px; background: transparent; font: 800 17px/1 var(--rdg-cond) !important; letter-spacing: .05em; text-transform: uppercase; color: var(--rdg-muted); cursor: pointer; }
.rdg-tabs button[aria-selected="true"] { background: var(--rdg-ink); color: var(--rdg-yellow); }
.rdg-tabs button:focus-visible { outline: 2px solid var(--rdg-yellow); outline-offset: 2px; }

/* ---------- Clasificación ---------- */
.rdg-table__wrap { overflow-x: auto; border: 1px solid var(--rdg-line); border-radius: 12px; background: #fff; }
.rdg-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 0; border: 0; }
.rdg-table th { padding: 10px 8px; font: 700 12px/1.2 var(--rdg-body) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--rdg-muted); text-align: center; background: var(--rdg-paper); border: 0; white-space: nowrap; }
.rdg-table td { padding: 9px 8px; text-align: center; border: 0; border-top: 1px solid var(--rdg-line); font-size: 15px; white-space: nowrap; background: transparent; }
.rdg-table th.rdg-c-team, .rdg-table td.rdg-c-team { text-align: left; width: 100%; }
.rdg-c-team a { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.rdg-c-team a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.rdg-c-pos { width: 44px; position: relative; }
.rdg-c-pos span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; font: 800 16px/1 var(--rdg-cond) !important; }
.rdg-c-pts { font: 800 19px/1 var(--rdg-cond) !important; }
.rdg-table tr[class*="rdg-z-"] td.rdg-c-pos span { color: #fff; }
.rdg-table tr.rdg-z-other td.rdg-c-pos span { color: inherit; }
.rdg-table tr.rdg-z-ucl .rdg-c-pos span, .rdg-z-dot.rdg-z-ucl { background: var(--rdg-ucl); }
.rdg-table tr.rdg-z-uel .rdg-c-pos span, .rdg-z-dot.rdg-z-uel { background: var(--rdg-uel); }
.rdg-table tr.rdg-z-uecl .rdg-c-pos span, .rdg-z-dot.rdg-z-uecl { background: var(--rdg-uecl); }
.rdg-table tr.rdg-z-up .rdg-c-pos span, .rdg-z-dot.rdg-z-up { background: var(--rdg-up); }
.rdg-table tr.rdg-z-po .rdg-c-pos span, .rdg-z-dot.rdg-z-po { background: var(--rdg-po); }
.rdg-table tr.rdg-z-rel .rdg-c-pos span, .rdg-z-dot.rdg-z-rel { background: var(--rdg-rel); }
.rdg-table tr.is-me td { background: #fff7d1; }
.rdg-table tbody tr:hover td { background: #fafbf7; }
.rdg-table__group { font: 800 18px/1.2 var(--rdg-cond) !important; text-transform: uppercase; margin: 10px 0 6px !important; }

.rdg-form { display: inline-flex; gap: 3px; }
.rdg-form i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; font: 800 12px/1 var(--rdg-cond) !important; font-style: normal; color: #fff; }
.rdg-form__g { background: var(--rdg-win); }
.rdg-form__e { background: var(--rdg-draw); }
.rdg-form__p { background: var(--rdg-loss); }
.rdg-stats .rdg-form { margin-bottom: 4px; }

.rdg-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 14px; color: var(--rdg-muted); }
.rdg-legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.rdg-z-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }

.rdg-table--compact td { padding: 7px 8px; font-size: 14px; }
.rdg-table--compact .rdg-c-pos span { width: 22px; height: 22px; font-size: 14px !important; }

/* ---------- Tarjetas de ligas ---------- */
.rdg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.rdg-card { display: grid; gap: 12px; align-content: start; padding: 16px; border-radius: var(--rdg-radius); background: #fff; border: 1px solid var(--rdg-line); }
.rdg-card .rdg-table__wrap { border: 0; border-radius: 0; }
.rdg-card .rdg-table th { background: transparent; border-bottom: 1px solid var(--rdg-line); }
.rdg-card__head { display: flex; align-items: center; gap: 12px; }
.rdg-card__head span { display: grid; }
.rdg-card__head strong { font: italic 800 24px/1 var(--rdg-cond) !important; text-transform: uppercase; }
.rdg-card__head small { font-size: 13px; color: var(--rdg-muted); }
.rdg-card__more { font: 700 14px/1.3 var(--rdg-body) !important; color: var(--rdg-ucl) !important; }

/* ---------- Plantilla ---------- */
.rdg-squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.rdg-player { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--rdg-line); overflow: hidden; }
a.rdg-player:hover { border-color: var(--rdg-ink); }
.rdg-player__num { position: absolute; right: 8px; top: -6px; font: italic 800 58px/1 var(--rdg-cond) !important; color: var(--rdg-paper); z-index: 0; pointer-events: none; }
.rdg-player__img { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--rdg-paper); position: relative; z-index: 1; }
.rdg-player__name { position: relative; z-index: 1; font: 700 15px/1.25 var(--rdg-body) !important; align-self: end; }
.rdg-player__meta { position: relative; z-index: 1; font-size: 13px; color: var(--rdg-muted); align-self: start; }
.rdg-player__meta em { font-style: normal; color: var(--rdg-ucl); font-weight: 600; }

/* ---------- Alturas de línea a prueba del tema ---------- */
.rdg p, .rdg span, .rdg a, .rdg td, .rdg th, .rdg li { line-height: 1.4; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.rdg-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.rdg { gap: 36px; }
	.rdg-board__grid, .rdg-cards { grid-template-columns: minmax(0, 1fr); }
	.rdg-match { padding: 10px 12px; gap: 6px 8px; }
	.rdg-match__team { font-size: 15px !important; gap: 8px; }
	.rdg-match__score { min-width: 64px; font-size: 22px !important; padding: 4px 8px; }
	.rdg-hide-s { display: none; }
	.rdg-table td, .rdg-table th { padding: 8px 5px; }
	.rdg-c-team a span { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
	.rdg-squad { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rdg-player { grid-template-columns: 44px minmax(0, 1fr); padding: 10px; column-gap: 10px; }
	.rdg-player__img { width: 44px; height: 44px; }
	.rdg-player__num { font-size: 44px !important; }
	.rdg-player__name { font-size: 14px !important; }
	.rdg-league-head { align-items: flex-start; }
	.rdg-tabs { width: 100%; }
	.rdg-tabs button { flex: 1 1 0; min-width: 0; padding: 10px 4px; font-size: 14px !important; letter-spacing: .02em; }
}
@media (max-width: 480px) {
	.rdg-hide-xs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.rdg-pulse, .rdg-match.is-goal .rdg-match__score { animation: none; }
}


/* =================== Cabecera =================== */
.rdg-chrome { font-family: var(--rdg-body); box-sizing: border-box; }
.rdg-chrome *, .rdg-chrome *::before, .rdg-chrome *::after { box-sizing: border-box; }
.rdg-chrome a { text-decoration: none; }
.rdg-chrome ul { list-style: none; margin: 0; padding: 0; }
.rdg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rdg-header { position: sticky; top: 0; z-index: 9000; background: var(--rdg-night); color: var(--rdg-chalk); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.admin-bar .rdg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .rdg-header { top: 0; } }
.rdg-header__in { display: flex; align-items: center; gap: 28px; max-width: var(--rdg-max); margin: 0 auto; padding: 0 var(--rdg-gutter); min-height: 70px; }
.rdg-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--rdg-chalk) !important; flex: 0 0 auto; }
.rdg-brand__ball { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--rdg-yellow); }
.rdg-brand__ball svg { width: 34px; height: 34px; }
.rdg-brand__text { display: grid; line-height: 1 !important; }
.rdg-brand__top { font: 700 12px/1 var(--rdg-body) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--rdg-yellow); }
.rdg-brand__name { font: italic 800 28px/.95 var(--rdg-cond) !important; text-transform: uppercase; letter-spacing: .01em; }
.rdg-header .custom-logo { max-height: 50px; width: auto; }

.rdg-nav { display: flex; align-items: center; gap: 20px; flex: 1 1 auto; min-width: 0; }
.rdg-nav__list { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; }
.rdg-nav__list > li { position: relative; }
.rdg-nav__list > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 8px; font: 700 18px/1 var(--rdg-cond) !important; letter-spacing: .05em; text-transform: uppercase; color: var(--rdg-chalk) !important; white-space: nowrap; }
.rdg-nav__list > li > a:hover, .rdg-nav__list > li.current-menu-item > a { background: rgba(255,255,255,.08); color: var(--rdg-yellow) !important; }
.rdg-nav__list > li.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.rdg-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px; background: var(--rdg-night-2); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10; }
.rdg-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.rdg-nav__list > li:hover > .sub-menu, .rdg-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.rdg-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font: 600 15px/1.3 var(--rdg-body) !important; color: var(--rdg-chalk) !important; }
.rdg-nav .sub-menu a:hover { background: rgba(255,207,26,.12); color: var(--rdg-yellow) !important; }

.rdg-nav__tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.rdg-search { position: relative; display: flex; align-items: center; margin: 0; }
.rdg-search input[type="search"] { width: 220px; height: 42px; margin: 0; padding: 0 40px 0 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; background: rgba(255,255,255,.06); font: 500 15px var(--rdg-body) !important; color: var(--rdg-chalk); box-shadow: none; transition: width .2s, border-color .2s; }
.rdg-search input[type="search"]::placeholder { color: rgba(244,245,239,.5); }
.rdg-search input[type="search"]:focus { width: 270px; border-color: var(--rdg-yellow); outline: none; background: rgba(255,255,255,.1); }
.rdg-search button { position: absolute; right: 4px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 99px; background: transparent; color: rgba(244,245,239,.7); cursor: pointer; padding: 0; }
.rdg-live-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 10px; background: var(--rdg-yellow); color: var(--rdg-ink) !important; font: 800 17px/1 var(--rdg-cond) !important; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.rdg-live-btn.is-on { background: var(--rdg-red); color: #fff !important; }
.rdg-live-btn.is-on .rdg-pulse { background: #fff; }

.rdg-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; place-items: center; }
.rdg-burger__bars, .rdg-burger__bars::before, .rdg-burger__bars::after { display: block; width: 20px; height: 2px; background: var(--rdg-chalk); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.rdg-burger__bars::before, .rdg-burger__bars::after { content: ""; position: absolute; left: 0; }
.rdg-burger__bars::before { top: -6px; }
.rdg-burger__bars::after { top: 6px; }
.rdg-burger[aria-expanded="true"] .rdg-burger__bars { background: transparent; }
.rdg-burger[aria-expanded="true"] .rdg-burger__bars::before { transform: translateY(6px) rotate(45deg); }
.rdg-burger[aria-expanded="true"] .rdg-burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Barra de marcadores */
.rdg-ticker { background: #050812; border-top: 1px solid rgba(255,255,255,.06); }
.rdg-ticker__in { display: flex; align-items: stretch; max-width: var(--rdg-max); margin: 0 auto; padding: 0 var(--rdg-gutter); }
.rdg-ticker__label { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; padding-right: 14px; margin-right: 6px; border-right: 1px solid rgba(255,255,255,.1); font: 800 15px/1 var(--rdg-cond) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--rdg-yellow); }
.rdg-ticker__track { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.rdg-ticker__track::-webkit-scrollbar { display: none; }
.rdg-tick { display: grid; gap: 2px; flex: 0 0 auto; padding: 8px 14px; border-right: 1px solid rgba(255,255,255,.06); color: var(--rdg-chalk) !important; }
.rdg-tick:hover { background: rgba(255,255,255,.04); }
.rdg-tick__teams { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1.2 var(--rdg-body) !important; white-space: nowrap; }
.rdg-tick__teams .rdg-crest { background: #fff; border-radius: 50%; padding: 1px; }
.rdg-tick__score { display: inline-flex; gap: 3px; padding: 1px 7px; margin: 0 2px; border-radius: 5px; background: #121a30; font: 800 16px/1.2 var(--rdg-cond) !important; color: var(--rdg-yellow); font-variant-numeric: tabular-nums; }
.rdg-tick__score i { font-style: normal; opacity: .5; }
.rdg-tick__status { display: inline-flex; align-items: center; gap: 5px; font: 700 12px/1 var(--rdg-cond) !important; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,245,239,.55); }
.rdg-tick.is-live .rdg-tick__status { color: #ff6b62; }
.rdg-tick.is-goal .rdg-tick__score { animation: rdg-goal 1.4s ease; }

@media (max-width: 1100px) {
	.rdg-search input[type="search"] { width: 160px; }
	.rdg-search input[type="search"]:focus { width: 200px; }
}
@media (max-width: 980px) {
	.rdg-header__in { min-height: 62px; gap: 12px; }
	.rdg-brand__ball { width: 36px; height: 36px; }
	.rdg-brand__ball svg { width: 30px; height: 30px; }
	.rdg-brand__name { font-size: 24px !important; }
	.rdg-burger { display: grid; }
	.rdg-nav { position: fixed; inset: 62px 0 0 0; display: none; flex-direction: column; align-items: stretch; gap: 18px; padding: 18px var(--rdg-gutter) calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--rdg-night); overflow-y: auto; border-top: 1px solid rgba(255,255,255,.08); z-index: 5; }
	.admin-bar .rdg-nav { inset: 108px 0 0 0; }
	.rdg-nav.is-open { display: flex; }
	.rdg-nav__list { flex-direction: column; align-items: stretch; gap: 0; flex: 0 0 auto; }
	.rdg-nav__list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
	.rdg-nav__list > li > a { padding: 14px 4px; font-size: 24px !important; }
	.rdg-nav__list > li.menu-item-has-children > a::after { display: none; }
	.rdg-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
	.rdg-nav .sub-menu a { padding: 8px 4px; color: rgba(244,245,239,.75) !important; }
	.rdg-nav__tools { flex-direction: column; align-items: stretch; }
	.rdg-search input[type="search"], .rdg-search input[type="search"]:focus { width: 100%; height: 48px; }
	.rdg-live-btn { justify-content: center; height: 48px; }
	body.rdg-nav-open { overflow: hidden; }
	.rdg-ticker__label { font-size: 13px !important; padding-right: 10px; }
}

/* =================== Noticias en portada =================== */
.rdg--after { padding-top: 0; margin-top: -8px; }
.rdg-head__more { margin-left: auto; font: 700 15px/1.2 var(--rdg-body) !important; color: var(--rdg-ucl) !important; }
.rdg-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 18px; }
.rdg-news__item { display: grid; gap: 10px; align-content: start; color: var(--rdg-ink) !important; }
.rdg-news__item.is-lead { grid-column: span 2; grid-row: span 2; }
.rdg-news__img { display: block; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--rdg-night-2) center / cover no-repeat; background-image: radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(255,255,255,.08) 39px 41px, transparent 42px), linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.08) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.rdg-news__img[style] { background-size: cover; }
.rdg-news__item.is-lead .rdg-news__img { aspect-ratio: 16 / 10; }
.rdg-news__body { display: grid; gap: 4px; }
.rdg-news__cat { font: 700 12px/1.2 var(--rdg-body) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--rdg-ucl); }
.rdg-news__title { font: 700 18px/1.25 var(--rdg-body) !important; }
.rdg-news__item.is-lead .rdg-news__title { font: italic 800 clamp(26px, 3vw, 36px)/1.05 var(--rdg-cond) !important; text-transform: uppercase; }
.rdg-news__item:hover .rdg-news__title { text-decoration: underline; text-underline-offset: 3px; }
.rdg-news__date { font-size: 13px; color: var(--rdg-muted); }
@media (max-width: 900px) {
	.rdg-news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.rdg-news { grid-template-columns: minmax(0, 1fr); }
	.rdg-news__item.is-lead { grid-column: auto; grid-row: auto; }
	.rdg-news__item:not(.is-lead) { grid-template-columns: 110px minmax(0, 1fr); align-items: start; }
	.rdg-news__item:not(.is-lead) .rdg-news__img { aspect-ratio: 1; }
	.rdg-news__title { font-size: 16px !important; }
}

/* =================== Pie =================== */
.rdg-footer { position: relative; overflow: hidden; background: var(--rdg-night); color: rgba(244,245,239,.75); clear: both; }
.rdg-footer__pitch { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 100% 50%, transparent 0 159px, rgba(255,255,255,.05) 160px 162px, transparent 163px), linear-gradient(90deg, transparent calc(100% - 1px), rgba(255,255,255,.05) calc(100% - 1px)), repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 80px, transparent 80px 160px); }
.rdg-footer__in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; max-width: var(--rdg-max); margin: 0 auto; padding: 56px var(--rdg-gutter) 40px; }
.rdg-footer__brand { display: grid; gap: 16px; align-content: start; }
.rdg-footer__brand p { margin: 0; max-width: 34ch; font-size: 15px; line-height: 1.6; }
.rdg-footer__title { margin: 0 0 12px; font: 800 18px/1 var(--rdg-cond) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--rdg-yellow); }
.rdg-footer__col ul { display: grid; gap: 8px; }
.rdg-footer__col a { display: inline-flex; align-items: center; gap: 8px; color: rgba(244,245,239,.85) !important; font-size: 15px; line-height: 1.35; }
.rdg-footer__col a:hover { color: #fff !important; text-decoration: underline; }
.rdg-footer__teams .rdg-crest { background: #fff; border-radius: 50%; padding: 1px; }
.rdg-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: var(--rdg-max); margin: 0 auto; padding: 18px var(--rdg-gutter) calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.rdg-footer__bottom p { margin: 0; }
@media (max-width: 900px) {
	.rdg-footer__in { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-top: 40px; }
	.rdg-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.rdg-footer__in { grid-template-columns: 1fr; }
}
