/* The Postdom – LIDOM en vivo
   Colores y tipografías tomados del tema The League tal como está configurado en thepostdom.com */
.pdl-bar,
.pdl-standings {
	--pdl-red: #ff0000;
	--pdl-black: #000;
	--pdl-ink: #222;
	--pdl-muted: #888;
	--pdl-line: #ddd;
	--pdl-zebra: #f6f6f6;
	font-family: "Titillium Web", sans-serif;
	box-sizing: border-box;
}
.pdl-bar *,
.pdl-standings * { box-sizing: border-box; }

/* ===================== BARRA DE MARCADORES ===================== */
.pdl-bar {
	background: var(--pdl-black);
	border-top: 1px solid #222;
	color: #fff;
	width: 100%;
	position: relative;
	z-index: 5;
}
.pdl-bar-in {
	display: flex;
	align-items: stretch;
	height: 64px;
	margin: 0 auto;
	position: relative;
	float: none !important;
}
.pdl-bar-label {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border-right: 1px solid #222;
}
.pdl-bar-label span {
	background: var(--pdl-red);
	color: #fff;
	font-size: 11.2px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1;
	padding: 5px 12px;
	text-transform: uppercase;
}
.pdl-bar-label small {
	color: #aaa;
	font-size: 11px;
	font-weight: 600;
	margin-top: 5px;
	text-transform: uppercase;
	white-space: nowrap;
}
.pdl-bar-label a {
	color: #aaa;
	font-size: 11px;
	font-weight: 700;
	margin-top: 3px;
	text-decoration: none;
	text-transform: uppercase;
}
.pdl-bar-label a:hover { color: #fff; }

.pdl-games {
	flex: 1 1 auto;
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.pdl-games::-webkit-scrollbar { display: none; }

.pdl-game {
	flex: 0 0 auto;
	min-width: 168px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	padding: 0 14px;
	border-right: 1px solid #222;
}
.pdl-game-status {
	color: #aaa;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.pdl-game.is-live .pdl-game-status { color: var(--pdl-red); }
.pdl-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pdl-red);
	animation: pdl-pulse 1.4s infinite;
}
@keyframes pdl-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .25; }
}
.pdl-team {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.15;
}
.pdl-team img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex: 0 0 18px;
}
.pdl-team .pdl-abr { flex: 1 1 auto; }
.pdl-team .pdl-runs {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 15px;
	font-weight: 700;
	min-width: 16px;
	text-align: right;
}
.pdl-team .pdl-rec {
	color: var(--pdl-muted);
	font-size: 11px;
	font-weight: 600;
}
.pdl-game.is-final .pdl-team.lost { color: var(--pdl-muted); }

.pdl-arrow {
	flex: 0 0 26px;
	background: #111;
	border: 0;
	border-right: 1px solid #222;
	color: #fff;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	padding: 0;
}
.pdl-arrow.pdl-next { border-right: 0; border-left: 1px solid #222; }
.pdl-arrow:hover { background: var(--pdl-red); }
.pdl-arrow[disabled] { opacity: .3; cursor: default; background: #111; }

/* Nombres de jugadores con enlace a su perfil */
a.pdl-plink, a.pdl-plink:visited { color: inherit; text-decoration: none; }
a.pdl-plink:hover { color: #ff0000; text-decoration: underline; }

.pdl-loading,
.pdl-empty {
	align-self: center;
	color: #aaa;
	font-size: 13px;
	padding: 0 16px;
}

@media (max-width: 767px) {
	.pdl-bar-in { height: 58px; }
	.pdl-bar-label { padding: 0 8px; }
	.pdl-bar-label small { display: none; }
	.pdl-arrow { display: none; }
	.pdl-game { min-width: 132px; padding: 0 10px; }
	.pdl-team { font-size: 13px; }
	.pdl-team .pdl-rec { display: none; }
}

/* ===================== TABLA DE POSICIONES ===================== */
.pdl-standings {
	color: var(--pdl-ink);
	margin: 0 0 30px;
	width: 100%;
}
/* Mismo encabezado que las secciones del tema ("MORE NEWS", etc.) */
.pdl-head {
	border-bottom: 1px solid var(--pdl-line);
	font-family: "Titillium Web", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	margin: 0 0 12px;
	padding: 0;
}
.pdl-head span {
	border-bottom: 1px solid var(--pdl-red);
	color: #111;
	display: inline-block;
	font-size: 17.6px;
	margin-bottom: -1px;
	padding-bottom: 10px;
	text-transform: uppercase;
}
.pdl-table-wrap { overflow-x: auto; overflow-y: hidden; }
/* Versión compacta (barra lateral): más estrecha para que quepa sin desplazamiento */
.pdl-standings:not(.pdl-full) .pdl-table { font-size: 13px; }
.pdl-standings:not(.pdl-full) .pdl-table th,
.pdl-standings:not(.pdl-full) .pdl-table td { padding-left: 4px; padding-right: 4px; }
.pdl-standings:not(.pdl-full) .pdl-table td.pdl-col-team,
.pdl-standings:not(.pdl-full) .pdl-table th.pdl-col-team { padding-left: 6px; }
.pdl-table {
	border-collapse: collapse;
	font-size: 14px;
	width: 100%;
}
.pdl-table th {
	background: var(--pdl-black);
	color: #fff;
	font-size: 11.2px;
	font-weight: 700;
	padding: 8px 6px;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}
.pdl-table th.pdl-col-team { text-align: left; padding-left: 10px; }
.pdl-table td {
	border-bottom: 1px solid #eee;
	padding: 9px 6px;
	text-align: center;
	white-space: nowrap;
}
.pdl-table tbody tr:nth-child(even) td { background: var(--pdl-zebra); }
.pdl-table td.pdl-col-team {
	font-weight: 700;
	text-align: left;
	padding-left: 10px;
}
.pdl-team-cell {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pdl-team-cell img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}
.pdl-pos {
	color: var(--pdl-muted);
	font-size: 12px;
	font-weight: 700;
	width: 12px;
}
.pdl-standings .pdl-table tbody tr:first-child td.pdl-col-team { box-shadow: inset 3px 0 0 var(--pdl-red); }
.pdl-table td.pdl-col-pct { font-weight: 700; }
.pdl-streak-W { color: #0a8a3a; font-weight: 700; }
.pdl-streak-L { color: var(--pdl-red); font-weight: 700; }
.pdl-table .pdl-long { display: none; }
.pdl-full .pdl-table .pdl-long { display: table-cell; }
.pdl-full .pdl-table .pdl-short { display: none; }
.pdl-table .pdl-name-long { display: none; }
.pdl-full .pdl-table .pdl-name-long { display: inline; }
.pdl-full .pdl-table .pdl-name-short { display: none; }
.pdl-foot {
	color: var(--pdl-muted);
	font-size: 11.5px;
	margin-top: 8px;
}
.pdl-standings .pdl-loading { color: var(--pdl-muted); padding: 12px 0; }

/* Juegos de la barra: enlaces a su página */
a.pdl-game { color: #fff; text-decoration: none; transition: background .15s; }
a.pdl-game:hover { background: #151515; color: #fff; }
a.pdl-game:hover .pdl-abr { text-decoration: underline; text-decoration-color: var(--pdl-red); }

/* ===================== PÁGINA DE JUEGO / TABLA ===================== */
.pdl-page-wrap { padding-top: 10px; padding-bottom: 30px; }
.pdl-page-title {
	color: #000;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 20px;
}
.pdl-gamepage {
	--pdl-red: #ff0000;
	--pdl-black: #000;
	--pdl-ink: #222;
	--pdl-muted: #888;
	--pdl-line: #ddd;
	--pdl-zebra: #f6f6f6;
	color: #222;
	font-family: "Titillium Web", sans-serif;
	max-width: 900px;
	margin: 0 auto;
}
.pdl-gamepage .pdl-loading { color: var(--pdl-muted); padding: 40px 0; text-align: center; }

.pdl-gp-hero {
	background: #000;
	color: #fff;
	padding: 18px 24px 16px;
	margin-bottom: 26px;
}
.pdl-gp-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pdl-gp-badge {
	background: var(--pdl-red);
	color: #fff;
	font-size: 11.2px;
	font-weight: 700;
	padding: 5px 20px;
	text-transform: uppercase;
}
.pdl-gp-status {
	color: #ccc;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}
.pdl-gp-hero.is-live .pdl-gp-status { color: var(--pdl-red); }
.pdl-gp-teams { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pdl-gp-team { flex: 1 1 0; display: flex; align-items: center; gap: 14px; }
.pdl-gp-team:last-child { flex-direction: row-reverse; text-align: right; }
.pdl-gp-team img { width: 64px; height: 64px; object-fit: contain; flex: 0 0 64px; }
.pdl-gp-team-name { flex: 1 1 auto; display: flex; flex-direction: column; }
.pdl-gp-team-name strong {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.05;
}
.pdl-gp-team-name small { color: #aaa; font-size: 13px; margin-top: 3px; }
.pdl-gp-score {
	font-family: "Roboto Condensed", sans-serif;
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
	min-width: 48px;
	text-align: center;
}
.pdl-gp-team.lost .pdl-gp-score,
.pdl-gp-team.lost .pdl-gp-team-name strong { color: #777; }
.pdl-gp-vs { color: #666; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.pdl-gp-info { border-top: 1px solid #222; color: #aaa; font-size: 13px; margin-top: 16px; padding-top: 10px; }
.pdl-gp-info::first-letter { text-transform: uppercase; }

.pdl-gp-live {
	align-items: center;
	background: #111;
	color: #fff;
	display: flex;
	gap: 26px;
	margin: -18px 0 26px;
	padding: 14px 24px;
}
.pdl-diamond { width: 60px; height: 44px; flex: 0 0 60px; }
.pdl-gp-count { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; }
.pdl-gp-count span { display: flex; align-items: center; gap: 4px; }
.pdl-gp-count i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #666; display: inline-block; }
.pdl-gp-count i.on-b { background: #0a8a3a; border-color: #0a8a3a; }
.pdl-gp-count i.on-s, .pdl-gp-count i.on-o { background: var(--pdl-red); border-color: var(--pdl-red); }
.pdl-gp-matchup { display: flex; gap: 30px; }
.pdl-gp-matchup small { color: #aaa; display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.pdl-gp-matchup strong { font-size: 16px; }

.pdl-gp-sec { margin-bottom: 28px; }
.pdl-gp-starters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pdl-gp-starter { display: flex; align-items: center; gap: 12px; border: 1px solid var(--pdl-line); padding: 12px 14px; }
.pdl-gp-starter img { width: 40px; height: 40px; object-fit: contain; }
.pdl-gp-starter small { color: var(--pdl-muted); display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.pdl-gp-starter strong { display: block; font-size: 17px; }
.pdl-gp-starter span { color: var(--pdl-muted); font-size: 13px; }

.pdl-linescore td, .pdl-linescore th { min-width: 26px; }
.pdl-linescore .pdl-rhe { background: #f0f0f0; font-weight: 700; }
.pdl-linescore thead .pdl-rhe { background: #222; }
.pdl-linescore tbody tr:nth-child(even) td.pdl-rhe { background: #e9e9e9; }

.pdl-box { margin-bottom: 14px; }
.pdl-box td.pdl-col-team { font-weight: 600; }
.pdl-box td.pdl-col-team small { color: var(--pdl-muted); font-weight: 700; margin-left: 3px; }
.pdl-box tr.pdl-sub td.pdl-col-team { padding-left: 22px; font-weight: 400; }
.pdl-box tr.pdl-tot td { background: #f0f0f0 !important; font-weight: 700; border-top: 2px solid #ccc; }

/* Box score: lado a lado (final) o con botón (en vivo / celular) */
.pdl-box2-tabs { display: flex; gap: 0; margin-bottom: 14px; border: 2px solid #000; width: max-content; max-width: 100%; }
.pdl-box2-tabs button {
	align-items: center;
	background: #fff;
	border: 0;
	color: #000;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	padding: 8px 20px;
	text-transform: uppercase;
}
.pdl-box2-tabs button.is-active { background: #000; color: #fff; box-shadow: inset 0 -3px 0 #ff0000; }
.pdl-box2-tabs img { width: 20px; height: 20px; object-fit: contain; }
.pdl-box2-col { display: none; min-width: 0; }
.pdl-box2-col.is-active { display: block; }
.pdl-box2-team {
	align-items: center;
	display: flex;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 18px;
	font-weight: 700;
	gap: 8px;
	margin-bottom: 8px;
}
.pdl-box2-team img { width: 26px; height: 26px; object-fit: contain; }
.pdl-box2.is-live .pdl-box2-team { display: none; }

/* Juego terminado en pantalla ancha: los dos equipos lado a lado, sin botón. */
@media (min-width: 900px) {
	.pdl-box2.is-final .pdl-box2-tabs { display: none; }
	.pdl-box2.is-final .pdl-box2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
	.pdl-box2.is-final .pdl-box2-col { display: block; }
	.pdl-box2.is-final .pdl-table { font-size: 13px; }
	.pdl-box2.is-final .pdl-table th,
	.pdl-box2.is-final .pdl-table td { padding-left: 4px; padding-right: 4px; }
	.pdl-box2.is-final .pdl-hide-sm { display: none; }
}
@media (min-width: 900px) {
	.pdl-gamepage.pdl-wide { max-width: 1100px; }
}

.pdl-dec, .pdl-hr-tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 3px 5px;
	vertical-align: middle;
	color: #fff;
}
.pdl-dec-G { background: #0a8a3a; }
.pdl-dec-P { background: var(--pdl-red); }
.pdl-dec-SV { background: #222; }
.pdl-hr-tag { background: #000; }

.pdl-gp-notes { list-style: none; margin: 0; padding: 0; }
.pdl-gp-notes li { border-bottom: 1px solid #eee; font-size: 15px; padding: 9px 0; }
.pdl-gp-notes small { color: var(--pdl-muted); }

.pdl-gp-links { margin: 10px 0 6px; }
.pdl-gp-links a { color: var(--pdl-red); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 14px; }
.pdl-gp-links a:hover { text-decoration: underline; }

@media (max-width: 767px) {
	.pdl-gp-hero { padding: 14px 14px 12px; }
	.pdl-gp-team { flex-direction: column !important; text-align: center !important; gap: 6px; }
	.pdl-gp-team img { width: 44px; height: 44px; flex-basis: 44px; }
	.pdl-gp-team-name strong { font-size: 17px; }
	.pdl-gp-score { font-size: 40px; }
	.pdl-gp-live { gap: 14px; padding: 12px 14px; flex-wrap: wrap; }
	.pdl-gp-matchup { gap: 16px; }
	.pdl-gp-starters { grid-template-columns: 1fr; }
	.pdl-gamepage .pdl-hide-sm { display: none; }
	.pdl-page-title { font-size: 1.6rem; }
}

/* ===================== MENÚ DE LA SECCIÓN LIDOM ===================== */
.pdl-subnav {
	align-items: stretch;
	background: #000;
	display: flex;
	flex-wrap: wrap;
	font-family: "Titillium Web", sans-serif;
	margin: 0 0 22px;
}
.pdl-subnav-badge {
	align-self: center;
	background: #ff0000;
	color: #fff;
	font-size: 11.2px;
	font-weight: 700;
	margin: 0 6px 0 12px;
	padding: 5px 14px;
	text-transform: uppercase;
}
.pdl-subnav a {
	border-bottom: 3px solid transparent;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 13px 14px 10px;
	text-decoration: none;
	text-transform: uppercase;
}
.pdl-subnav a:visited { color: #fff; }
.pdl-subnav a:hover { color: #ff0000; }
/* Que los enlaces visitados no cambien de color (el tema los pone azules). */
.pdl-gp-links a:visited,
.pdl-ld-more:visited { color: #ff0000; }
.pdl-bar-label a:visited { color: #aaa; }
a.pdl-game:visited { color: #fff; }
.pdl-subnav a.is-active { border-bottom-color: #ff0000; }

/* ===================== CRÓNICA Y COMPARTIR (página del juego) ===================== */
.pdl-gp-cronica {
	background: #ff0000;
	color: #fff !important;
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-top: 14px;
	padding: 10px 14px;
	text-decoration: none;
}
.pdl-gp-cronica span {
	background: #000;
	font-size: 10.5px;
	margin-right: 10px;
	padding: 3px 8px;
	text-transform: uppercase;
	vertical-align: 2px;
}
.pdl-gp-cronica:hover { background: #d40000; }

.pdl-share {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-family: "Titillium Web", sans-serif;
	gap: 8px;
	margin: 6px 0 22px;
}
.pdl-share > span { color: #888; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.pdl-share a,
.pdl-share button {
	align-items: center;
	border: 0;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	gap: 7px;
	height: 38px;
	justify-content: center;
	min-width: 38px;
	padding: 0 12px;
	text-decoration: none;
}
.pdl-share-wa { background: #25d366; }
.pdl-share-fb { background: #3b5998; }
.pdl-share-x { background: #000; }
.pdl-share-copy { background: #555; }
.pdl-share a:hover, .pdl-share button:hover { opacity: .85; }
.pdl-gp-links a { margin-right: 22px; }

/* ===================== LÍDERES ===================== */
.pdl-leaders {
	--pdl-red: #ff0000;
	color: #222;
	font-family: "Titillium Web", sans-serif;
}
.pdl-ld-group {
	border-bottom: 1px solid #ddd;
	color: #000;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 22px;
	margin: 6px 0 16px;
	padding-bottom: 8px;
	text-transform: uppercase;
}
.pdl-ld-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	margin-bottom: 30px;
}
.pdl-ld-card { border: 1px solid #e5e5e5; }
.pdl-ld-card h5 {
	background: #000;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	margin: 0;
	padding: 8px 12px;
	text-transform: uppercase;
}
.pdl-ld-top {
	align-items: center;
	border-bottom: 1px solid #eee;
	display: flex;
	gap: 12px;
	padding: 12px;
}
.pdl-ld-photo {
	background: #f0f0f0;
	border-radius: 50%;
	height: 72px;
	object-fit: cover;
	width: 72px;
}
.pdl-ld-top > div { flex: 1 1 auto; min-width: 0; }
.pdl-ld-top strong { display: block; font-size: 16px; line-height: 1.15; }
.pdl-ld-top small { align-items: center; color: #888; display: flex; font-size: 12.5px; font-weight: 700; gap: 5px; margin-top: 4px; }
.pdl-ld-val {
	color: #ff0000;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 30px;
	font-weight: 700;
}
.pdl-ld-list { list-style: none; margin: 0; padding: 4px 12px 8px; }
.pdl-ld-list li { align-items: center; border-bottom: 1px solid #f2f2f2; display: flex; font-size: 14px; gap: 10px; padding: 6px 0; }
.pdl-ld-list li:last-child { border-bottom: 0; }
.pdl-ld-pos { color: #888; font-size: 12px; font-weight: 700; width: 14px; }
.pdl-ld-name { flex: 1 1 auto; }
.pdl-ld-name small { color: #888; font-weight: 700; }

/* Botón Básico / Avanzado */
.pdl-ld-mode { display: inline-flex; margin: 0 0 20px; border: 2px solid #000; }
.pdl-ld-mode button {
	background: #fff;
	border: 0;
	color: #000;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	padding: 9px 26px;
	text-transform: uppercase;
}
.pdl-ld-mode button.is-active { background: #000; color: #fff; box-shadow: inset 0 -3px 0 #ff0000; }
.pdl-ld-gloss {
	background: #f6f6f6;
	border-left: 3px solid #ff0000;
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 14px;
	padding: 12px 16px;
}

/* Versión barra lateral */
.pdl-leaders-compact .pdl-ld-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.pdl-leaders-compact .pdl-ld-tabs button {
	background: #eee;
	border: 0;
	color: #222;
	cursor: pointer;
	flex: 1 1 0;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	padding: 7px 0;
}
.pdl-leaders-compact .pdl-ld-tabs button.is-active { background: #000; color: #fff; box-shadow: inset 0 -3px 0 #ff0000; }
.pdl-leaders-compact .pdl-ld-card h5 { display: none; }
.pdl-ld-more { color: #ff0000; display: inline-block; font-size: 13px; font-weight: 700; margin-top: 8px; text-decoration: none; text-transform: uppercase; }

/* ===================== PERFIL DE JUGADOR ===================== */
.pdl-pf-hero { align-items: center; display: flex; gap: 24px; }
.pdl-pf-photo { background: #222; border-radius: 50%; height: 130px; object-fit: cover; width: 130px; flex: 0 0 auto; }
.pdl-pf-main { flex: 1 1 auto; min-width: 0; }
.pdl-pf-team { align-items: center; color: #ccc; display: inline-flex; font-size: 14px; font-weight: 700; gap: 6px; }
.pdl-pf-team img { height: 22px; object-fit: contain; width: 22px; }
.pdl-pf-name {
	color: #fff;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 38px;
	font-weight: 700;
	line-height: 1.05;
	margin: 4px 0 8px;
}
.pdl-pf-name span { color: #ff0000; font-size: 26px; }
.pdl-pf-bio { color: #bbb; font-size: 14px; line-height: 1.6; }
.pdl-pf-compare { color: #fff !important; display: inline-block; font-size: 13px; font-weight: 700; margin-top: 12px; padding: 7px 14px; background: #ff0000; text-decoration: none; text-transform: uppercase; }
.pdl-pf-compare:hover { background: #d40000; }
.pdl-pf-stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.pdl-pf-stat { border: 1px solid #e5e5e5; padding: 12px 10px; text-align: center; }
.pdl-pf-stat span { color: #888; display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.pdl-pf-stat b { color: #000; display: block; font-family: "Roboto Condensed", sans-serif; font-size: 28px; line-height: 1.2; }
.pdl-hist td small { color: #888; }
.pdl-gamepage .pdl-box a, .pdl-gamepage .pdl-box a:visited { color: #222; text-decoration: underline; text-decoration-color: #ff0000; }

/* Botones del perfil */
.pdl-pf-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pdl-pf-actions .pdl-pf-compare { margin-top: 0; }
.pdl-pf-roster-btn {
	background: transparent;
	border: 1px solid #fff;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	text-transform: uppercase;
}
.pdl-pf-roster-btn:hover, .pdl-pf-roster-btn[aria-expanded="true"] { background: #fff; color: #000; }

/* Panel de plantilla */
.pdl-roster-slot { margin: -14px 0 26px; }
.pdl-roster-panel { border: 1px solid #e5e5e5; border-top: 3px solid #ff0000; padding: 14px 16px; }
.pdl-roster-top { align-items: center; display: flex; justify-content: space-between; margin-bottom: 10px; }
.pdl-roster-top b { font-size: 16px; text-transform: uppercase; }
.pdl-roster-top a, .pdl-roster-top a:visited { color: #ff0000; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.pdl-roster-group h5 { color: #888; font-size: 12px; font-weight: 700; margin: 12px 0 6px; text-transform: uppercase; }
.pdl-roster-grid { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pdl-roster-chip, .pdl-roster-chip:visited {
	align-items: center;
	border: 1px solid #eee;
	color: #222;
	display: flex;
	gap: 8px;
	padding: 5px 8px;
	text-decoration: none;
}
.pdl-roster-chip:hover { border-color: #000; }
.pdl-roster-chip.is-current { background: #000; border-color: #000; color: #fff; }
.pdl-roster-chip.is-idle { opacity: .55; }
.pdl-roster-chip img { background: #eee; border-radius: 50%; height: 36px; object-fit: cover; width: 36px; flex: 0 0 36px; }
.pdl-roster-chip span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pdl-roster-chip b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdl-roster-chip small { color: #888; font-size: 11.5px; }
.pdl-roster-chip.is-current small { color: #bbb; }

/* Botones de splits y métricas */
.pdl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pdl-chips button {
	background: #fff;
	border: 1px solid #ccc;
	color: #222;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	padding: 7px 14px;
}
.pdl-chips button:hover { border-color: #000; }
.pdl-chips button.is-active { background: #000; border-color: #000; color: #fff; box-shadow: inset 0 -3px 0 #ff0000; }

/* Gráficos */
.pdl-chart { position: relative; }
.pdl-chart-svg { display: block; height: auto; width: 100%; }
.pdl-chart-grid { stroke: #eee; stroke-width: 1; }
.pdl-chart-ax { fill: #888; font-family: "Titillium Web", sans-serif; font-size: 11px; }
.pdl-chart-line { fill: none; stroke: #ff0000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.pdl-chart-end { fill: #ff0000; stroke: #fff; stroke-width: 2; }
.pdl-chart-lbl { fill: #222; font-family: "Roboto Condensed", sans-serif; font-size: 13px; font-weight: 700; }
.pdl-chart-bar { fill: #222; }
.pdl-chart-hit { fill: transparent; cursor: crosshair; }
.pdl-chart-cross { stroke: #999; stroke-dasharray: 3 3; stroke-width: 1; }
.pdl-chart-dot { fill: #ff0000; stroke: #fff; stroke-width: 2; pointer-events: none; }
.pdl-chart-tip {
	background: #000;
	color: #fff;
	font-size: 12px;
	line-height: 1.35;
	padding: 6px 10px;
	pointer-events: none;
	position: absolute;
	white-space: nowrap;
	z-index: 5;
}
.pdl-chart-tip small { color: #bbb; display: block; }
.pdl-chart-tip b { font-size: 14px; }
.pdl-chart-cap { color: #888; font-size: 13px; margin: -6px 0 6px; }

/* Páginas de equipos */
.pdl-team-logo { background: #fff; border-radius: 50%; height: 110px; object-fit: contain; padding: 10px; width: 110px; flex: 0 0 auto; }
.pdl-roster-table td.pdl-col-team a { align-items: center; display: inline-flex; gap: 8px; }
.pdl-roster-table td.pdl-col-team img { background: #eee; border-radius: 50%; height: 26px; object-fit: cover; width: 26px; }
.pdl-teams-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pdl-team-card, .pdl-team-card:visited {
	align-items: center;
	border: 1px solid #e5e5e5;
	border-top: 3px solid #000;
	color: #222;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 14px;
	text-align: center;
	text-decoration: none;
}
.pdl-team-card:hover { border-top-color: #ff0000; }
.pdl-team-card img { height: 64px; object-fit: contain; width: 64px; }
.pdl-team-card b { font-family: "Roboto Condensed", sans-serif; font-size: 20px; }
.pdl-team-card small { color: #888; font-size: 13px; font-weight: 700; }
.pdl-team-card span { color: #ff0000; font-size: 13px; font-weight: 700; text-transform: uppercase; }

/* Selector de equipos (arriba del perfil de equipo) */
.pdl-team-switch { display: grid; gap: 6px; grid-template-columns: repeat(6, 1fr); margin: 0 0 16px; }
.pdl-team-switch a, .pdl-team-switch a:visited {
	align-items: center;
	border: 1px solid #e5e5e5;
	color: #222;
	display: flex;
	flex-direction: column;
	font-size: 12.5px;
	font-weight: 700;
	gap: 4px;
	padding: 8px 4px;
	text-decoration: none;
	text-transform: uppercase;
}
.pdl-team-switch a:hover { border-color: #000; }
.pdl-team-switch a.is-active { background: #000; border-color: #000; color: #fff; box-shadow: inset 0 -3px 0 #ff0000; }
.pdl-team-switch img { height: 34px; object-fit: contain; width: 34px; }
.pdl-team-switch a.is-active img { background: #fff; border-radius: 50%; padding: 2px; }

/* Posición entre los equipos en las tarjetas */
.pdl-pf-stat em { color: #888; display: block; font-size: 11.5px; font-style: normal; font-weight: 700; margin-top: 2px; }
.pdl-pf-stat.is-top { border-color: #ff0000; box-shadow: inset 0 3px 0 #ff0000; }
.pdl-pf-stat.is-top em { color: #ff0000; }
.pdl-roster-title { border-top: 3px solid #000; color: #000; font-family: "Roboto Condensed", sans-serif; font-size: 26px; margin: 34px 0 14px; padding-top: 14px; text-transform: uppercase; }

/* Lideratos colectivos */
.pdl-team-leaders { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.pdl-team-leader, .pdl-team-leader:visited { border: 1px solid #e5e5e5; color: #222; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; text-decoration: none; }
.pdl-team-leader:hover { border-color: #000; }
.pdl-tl-cat { background: #000; color: #fff; font-size: 11px; font-weight: 700; margin: -10px -12px 2px; padding: 6px 12px; text-transform: uppercase; }
.pdl-tl-main { align-items: center; display: flex; gap: 10px; }
.pdl-tl-main img { height: 40px; object-fit: contain; width: 40px; }
.pdl-tl-main span { display: flex; flex-direction: column; line-height: 1.1; }
.pdl-tl-main b { font-size: 16px; }
.pdl-tl-main em { color: #ff0000; font-family: "Roboto Condensed", sans-serif; font-size: 26px; font-style: normal; font-weight: 700; }
.pdl-team-leader small { color: #888; font-size: 12px; font-weight: 600; }

/* Tablas colectivas */
.pdl-team-stats th.pdl-sortable { cursor: pointer; }
.pdl-team-stats th.pdl-sortable:hover, .pdl-team-stats th.is-sorted { box-shadow: inset 0 -3px 0 #ff0000; }
.pdl-team-stats td.is-best { color: #ff0000; font-weight: 700; }
.pdl-team-stats td.pdl-col-team a { align-items: center; display: inline-flex; gap: 8px; font-weight: 700; }
.pdl-team-stats td.pdl-col-team img { height: 22px; object-fit: contain; width: 22px; }

@media (max-width: 767px) {
	.pdl-team-switch { grid-template-columns: repeat(3, 1fr); }
}

/* ===================== BUSCADOR DE ATLETAS ===================== */
.pdl-atl-field { align-items: center; display: flex; position: relative; }
.pdl-atl-field svg { color: #888; height: 18px; left: 12px; pointer-events: none; position: absolute; width: 18px; }
.pdl-atl-field input {
	border: 2px solid #000;
	font-family: "Titillium Web", sans-serif;
	font-size: 16px;
	padding: 10px 12px 10px 38px;
	width: 100%;
}
.pdl-atl-field input:focus { border-color: #ff0000; outline: none; }
.pdl-atl-item, .pdl-atl-item:visited {
	align-items: center;
	border-bottom: 1px solid #eee;
	color: #222;
	display: flex;
	gap: 10px;
	padding: 8px 10px;
	text-decoration: none;
}
.pdl-atl-item:hover, .pdl-atl-item.is-sel { background: #f4f4f4; }
.pdl-atl-item > img { background: #eee; border-radius: 50%; height: 40px; object-fit: cover; width: 40px; flex: 0 0 40px; }
.pdl-atl-txt { display: flex; flex: 1 1 auto; flex-direction: column; line-height: 1.2; min-width: 0; }
.pdl-atl-txt b { font-size: 15px; }
.pdl-atl-txt small { align-items: center; color: #888; display: flex; font-size: 12.5px; font-weight: 600; gap: 5px; }
.pdl-atl-txt small img { height: 14px; object-fit: contain; width: 14px; }
.pdl-atl-liga { background: #000; color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 8px; text-transform: uppercase; }
.pdl-atl-hint { color: #888; font-size: 14px; padding: 12px 10px; margin: 0; }
.pdl-atl-all, .pdl-atl-all:visited { color: #ff0000; display: block; font-size: 13px; font-weight: 700; padding: 10px; text-decoration: none; text-transform: uppercase; }

/* Página /atletas/ */
.pdl-atl-page { margin: 0 auto; max-width: 760px; }
.pdl-atl-sub { color: #666; margin: -10px 0 18px; }
.pdl-atl-box .pdl-atl-field input { font-size: 19px; padding: 14px 14px 14px 44px; }
.pdl-atl-box .pdl-atl-field svg { height: 22px; left: 14px; width: 22px; }
.pdl-atl-ligas { margin: 12px 0 6px; }
.pdl-atl-ligas button[disabled] { cursor: default; opacity: .45; }
.pdl-atl-ligas small { font-weight: 600; }
.pdl-atl-results { border-top: 1px solid #eee; }

/* Mini buscador en el menú de LIDOM */
.pdl-subnav-search { margin-left: auto; padding: 6px 8px; position: relative; width: 250px; }
.pdl-subnav-search .pdl-atl-field input { background: #1a1a1a; border: 1px solid #444; color: #fff; font-size: 14px; padding: 6px 10px 6px 32px; }
.pdl-subnav-search .pdl-atl-field input:focus { border-color: #ff0000; }
.pdl-subnav-search .pdl-atl-field svg { height: 15px; left: 10px; width: 15px; }
/* Que los enlaces del desplegable no hereden el estilo del menú negro */
.pdl-subnav .pdl-atl-drop a.pdl-atl-item,
.pdl-subnav .pdl-atl-drop a.pdl-atl-item:visited {
	border-bottom: 1px solid #eee;
	color: #222;
	font-size: 14px;
	padding: 8px 10px;
	text-transform: none;
}
.pdl-subnav .pdl-atl-drop a.pdl-atl-item:hover,
.pdl-subnav .pdl-atl-drop a.pdl-atl-item.is-sel { background: #f4f4f4; color: #222; }
.pdl-subnav .pdl-atl-drop a.pdl-atl-all,
.pdl-subnav .pdl-atl-drop a.pdl-atl-all:visited { border: 0; color: #ff0000; font-size: 13px; padding: 10px; }
.pdl-atl-drop { background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.35); max-height: 420px; overflow-y: auto; position: absolute; right: 8px; top: 100%; width: 340px; z-index: 30; }

/* Bloque de atletas en los resultados de búsqueda del sitio */
.pdl-atl-site { font-family: "Titillium Web", sans-serif; margin: 0 0 26px; }
.pdl-atl-grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

@media (max-width: 767px) {
	.pdl-subnav-search { margin-left: 0; width: 100%; }
	.pdl-atl-drop { left: 8px; right: 8px; width: auto; }
}

/* Botón Por temporada / Por equipo del historial */
.pdl-hist-mode { margin: 0 0 14px; }
.pdl-hist-mode button { font-size: 12.5px; padding: 6px 16px; }

/* Premios */
.pdl-aw-h { color: #888; font-size: 12px; font-weight: 700; margin: 4px 0 8px; text-transform: uppercase; }
.pdl-aw-list { display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); list-style: none; margin: 0 0 12px; padding: 0; }
.pdl-aw-list li { border-left: 3px solid #ddd; font-size: 14px; line-height: 1.35; padding: 4px 0 4px 10px; }
.pdl-aw-list.is-major li { border-left-color: #ff0000; }
.pdl-aw-list small { color: #888; display: block; font-size: 12.5px; }
.pdl-aw-x { background: #000; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; }
.pdl-aw-more summary { cursor: pointer; font-size: 13px; font-weight: 700; margin: 6px 0 10px; text-transform: uppercase; }
.pdl-aw-more summary:hover { color: #ff0000; }

/* ===================== COMPARADOR ===================== */
.pdl-cmp-head { align-items: start; background: #000; display: grid; gap: 12px; grid-template-columns: 1fr 60px 1fr; margin-bottom: 26px; padding: 22px 16px; }
.pdl-cmp-vs { align-self: center; color: #ff0000; font-family: "Roboto Condensed", sans-serif; font-size: 30px; font-weight: 700; text-align: center; }
.pdl-cmp-pick { align-items: center; display: flex; flex-direction: column; gap: 8px; position: relative; text-align: center; }
.pdl-cmp-pick .pdl-pf-photo { height: 96px; width: 96px; }
.pdl-cmp-empty { align-items: center; border: 2px dashed #555; border-radius: 50%; color: #777; display: flex; font-size: 40px; height: 96px; justify-content: center; width: 96px; }
.pdl-cmp-name, .pdl-cmp-name:visited { color: #fff !important; font-family: "Roboto Condensed", sans-serif; font-size: 22px; font-weight: 700; text-decoration: none; }
.pdl-cmp-pick input {
	background: #1a1a1a;
	border: 1px solid #444;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	margin-top: 4px;
	max-width: 260px;
	padding: 8px 10px;
	width: 100%;
}
.pdl-cmp-list { background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); left: 50%; max-width: 300px; position: absolute; top: 100%; transform: translateX(-50%); width: 100%; z-index: 20; }
.pdl-cmp-list button { align-items: center; background: #fff; border: 0; border-bottom: 1px solid #eee; color: #222; cursor: pointer; display: flex; font-family: inherit; font-size: 14px; font-weight: 700; gap: 8px; padding: 8px 10px; text-align: left; width: 100%; }
.pdl-cmp-list button:hover { background: #f4f4f4; }
.pdl-cmp-list img { border-radius: 50%; height: 30px; object-fit: cover; width: 30px; }
.pdl-cmp-list small { color: #888; font-weight: 600; margin-left: auto; }
.pdl-cmp-none { color: #888; font-size: 13px; padding: 10px; }
.pdl-cmp-msg { background: #f6f6f6; border-left: 3px solid #ff0000; padding: 12px 16px; }
.pdl-cmp-row { align-items: center; border-bottom: 1px solid #eee; display: grid; gap: 14px; grid-template-columns: 90px 1fr 90px; padding: 10px 0; }
.pdl-cmp-row > b { color: #888; font-family: "Roboto Condensed", sans-serif; font-size: 22px; text-align: center; }
.pdl-cmp-row > b.is-best { color: #000; }
.pdl-cmp-mid span { color: #222; display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; text-align: center; text-transform: uppercase; }
.pdl-cmp-mid span i { color: #888; font-style: normal; }
.pdl-cmp-bar { display: flex; gap: 3px; height: 8px; }
.pdl-cmp-bar i { background: #ddd; display: block; height: 100%; }
.pdl-cmp-bar i.is-best { background: #ff0000; }

@media (max-width: 767px) {
	.pdl-pf-hero { flex-direction: column; text-align: center; }
	.pdl-pf-name { font-size: 28px; }
	.pdl-cmp-head { grid-template-columns: 1fr 34px 1fr; padding: 16px 8px; }
	.pdl-cmp-vs { font-size: 20px; }
	.pdl-cmp-name { font-size: 16px; }
	.pdl-cmp-row { grid-template-columns: 64px 1fr 64px; gap: 8px; }
	.pdl-cmp-row > b { font-size: 17px; }
}

/* ===================== CALENDARIO ===================== */
.pdl-calendar { color: #222; font-family: "Titillium Web", sans-serif; }
.pdl-cal-day { margin-bottom: 24px; }
.pdl-cal-day .pdl-head span::first-letter { text-transform: uppercase; }
.pdl-cal-game {
	align-items: center;
	border-bottom: 1px solid #eee;
	color: #222 !important;
	display: grid;
	gap: 14px;
	grid-template-columns: 110px minmax(250px, 1.4fr) 1fr 90px;
	padding: 12px 6px;
	text-decoration: none;
}
.pdl-cal-game:hover { background: #f7f7f7; }
.pdl-cal-status { align-items: center; color: #888; display: flex; font-size: 13px; font-weight: 700; gap: 6px; text-transform: uppercase; }
.pdl-cal-game.is-pre .pdl-cal-status { color: #000; }
.pdl-cal-game.is-live .pdl-cal-status { color: #ff0000; }
.pdl-cal-match { align-items: center; display: flex; gap: 12px; }
.pdl-cal-team { align-items: center; display: flex; flex: 1 1 0; gap: 8px; }
.pdl-cal-team img { height: 28px; object-fit: contain; width: 28px; }
.pdl-cal-name { display: flex; flex-direction: column; line-height: 1.1; }
.pdl-cal-name b { font-size: 15px; }
.pdl-cal-name small { color: #888; font-size: 12px; }
.pdl-cal-team em { font-family: "Roboto Condensed", sans-serif; font-size: 22px; font-style: normal; font-weight: 700; margin-left: auto; }
.pdl-cal-team.lost { color: #999; }
.pdl-cal-at { color: #aaa; font-size: 13px; font-weight: 700; }
.pdl-cal-info { color: #666; font-size: 13px; }
.pdl-cal-sp { color: #888; font-size: 12px; margin-top: 2px; }
.pdl-cal-go { color: #ff0000; font-size: 13px; font-weight: 700; text-align: right; text-transform: uppercase; }

@media (max-width: 767px) {
	.pdl-cal-game { grid-template-columns: 1fr; gap: 6px; }
	.pdl-cal-go { text-align: left; }
	.pdl-subnav a { font-size: 13px; padding: 11px 9px 8px; }
	.pdl-subnav-badge { margin-left: 8px; }
	.pdl-share-copy span { display: none; }
}

@media (max-width: 600px) {
	.pdl-full .pdl-table .pdl-hide-sm { display: none; }
	.pdl-full .pdl-table .pdl-name-long { display: none; }
	.pdl-full .pdl-table .pdl-name-short { display: inline; }
}

/* Selector de temporada en la página del equipo */
.pdl-temp-sel { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font: 700 11px/1 'Roboto Condensed', sans-serif; text-transform: uppercase; color: #777; }
.pdl-temp-sel select { font: 700 13px/1.2 'Roboto Condensed', sans-serif; padding: 4px 8px; border: 1px solid #ddd; border-radius: 3px; background: #fff; color: #000; cursor: pointer; }
.pdl-temp-sel select:focus { outline: 2px solid #ff0000; outline-offset: 1px; }
[data-pdl="equipo"].is-loading { opacity: .5; pointer-events: none; transition: opacity .15s; }
