/* Top 10 Taquillómetro – front-end */
.t10-wrap { max-width: 1080px; margin: 0 auto 1.5em; }
.t10 { --t10-bg1:#0f8a5f; --t10-bg2:#1b3a6b; --t10-acc:#e3262f; --t10-top:#f5b800; box-sizing: border-box; }
.t10 *, .t10 *::before, .t10 *::after { box-sizing: border-box; }

/* ---------- Encabezado ---------- */
.t10-head { text-align: center; margin-bottom: 18px; }
.t10-icon { max-height: 72px; width: auto; display: inline-block; }
.t10-title { margin: 6px 0 0; font-size: clamp(22px, 3.4vw, 36px); font-weight: 800; line-height: 1.1; }
.t10-sub { margin: 4px 0 0; font-size: 15px; opacity: .85; }
.t10-src { margin: 16px 0 0; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; opacity: .75; }

/* ---------- Cuadrícula ---------- */
.t10-grid {
	background: linear-gradient(135deg, var(--t10-bg1), var(--t10-bg2));
	padding: clamp(16px, 3vw, 32px); border-radius: 14px; color: #fff;
}
.t10-grid .t10-title, .t10-grid .t10-sub, .t10-grid .t10-src { color: #fff; }
.t10-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 16px 28px;
	grid-template-columns: 1fr 1fr; grid-auto-flow: column;
	grid-template-rows: repeat(var(--t10-rows), auto);
}
.t10-cols-1 .t10-list { grid-template-columns: 1fr; }
.t10-list li { margin: 0; padding: 0; }
/* Anula la numeración y sangría que algunos temas ponen a las listas */
.t10-wrap .t10-grid ol.t10-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	counter-reset: none !important;
}
.t10-wrap .t10-grid ol.t10-list > li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}
.t10-wrap .t10-grid ol.t10-list > li::marker { content: none !important; }
.t10-wrap .t10-grid ol.t10-list > li::before,
.t10-wrap .t10-grid ol.t10-list > li::after { content: none !important; display: none !important; }
.t10-item {
	display: flex; align-items: stretch; height: 76px;
	background: #f4f1ec; color: #111; text-decoration: none;
	border-radius: 40px; overflow: hidden;
	box-shadow: 0 7px 0 var(--t10-acc);
	transition: transform .15s ease;
}
.t10-item.is-top { box-shadow: 0 7px 0 var(--t10-top); }
a.t10-item:hover { transform: translateY(-2px); color: #111; }
.t10-rank {
	flex: 0 0 58px; display: flex; align-items: center; justify-content: center;
	font-size: 30px; font-weight: 900; line-height: 1;
}
.t10-img { flex: 1 1 auto; min-width: 0; background: #222; }
.t10-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t10-noimg { display: flex; align-items: center; height: 100%; padding: 0 12px; color: #fff; font-weight: 700; font-size: 14px; }
.t10-val {
	flex: 0 0 auto; min-width: 96px; padding: 0 16px 0 12px;
	display: flex; flex-direction: column; justify-content: center; line-height: 1.05;
}
.t10-val strong { font-size: 20px; font-weight: 900; }
.t10-val em { font-size: 22px; font-weight: 900; font-style: italic; }

@media (max-width: 680px) {
	.t10-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap: 14px; }
	.t10-item { height: 64px; }
	.t10-rank { flex-basis: 46px; font-size: 24px; }
	.t10-val { min-width: 80px; padding: 0 12px 0 8px; }
	.t10-val strong { font-size: 17px; }
	.t10-val em { font-size: 18px; }
}

/* ---------- Tabla ---------- */
.t10-tabla { background: #fff; color: #111; padding: clamp(16px, 3vw, 32px); border-radius: 8px; }
.t10-tabla .t10-head { text-align: left; }
.t10-tabla .t10-title { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.t10-tabla table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 16px; }
.t10-tabla th {
	text-align: left; font-weight: 700; vertical-align: bottom; padding: 8px 10px;
	border: 0; border-bottom: 3px solid #333; background: none;
}
.t10-tabla td { padding: 10px; border: 0; border-bottom: 1px dotted #555; vertical-align: middle; background: none; }
.t10-tabla .t10-c-rank { width: 52px; text-align: center; }
.t10-tabla .t10-c-name { font-weight: 700; }
.t10-tabla .t10-c-name a { color: inherit; }
.t10-tabla .t10-c-bar { width: 32%; }
.t10-mini { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: 10px; }
.t10-track { display: block; background: #ececec; height: 34px; }
.t10-bar {
	display: flex; align-items: center; justify-content: flex-end; height: 100%;
	min-width: 3.2em; background: var(--t10-acc); color: #fff; padding: 0 8px;
}
.t10-bar b { font-weight: 500; font-size: 15px; }
.t10-tabla .t10-src { color: #666; opacity: 1; }

@media (max-width: 680px) {
	.t10-tabla table { font-size: 14px; }
	.t10-tabla .t10-c-bar { width: 38%; }
	.t10-tabla td, .t10-tabla th { padding: 8px 5px; }
	.t10-tabla .t10-c-rank { width: 30px; }
}

/* ---------- Descargar ---------- */
.t10-dl-wrap { text-align: right; margin: 10px 0 0; }
.t10-dl {
	cursor: pointer; border: 0; border-radius: 6px; padding: 8px 14px;
	background: #1d2327; color: #fff; font-size: 14px;
}
.t10-dl[disabled] { opacity: .6; cursor: wait; }
