/* Torneig Handbol — estils del frontend (widgets d'Elementor) */

.ht-w {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	color: #1d2327;
	max-width: 100%;
	--ht-accent: #1d4ed8;
}

/* ---------------------------------------------------------------- */
/* Classificació                                                     */
/* ---------------------------------------------------------------- */
.ht-classificacio-wrap { overflow-x: auto; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ht-classificacio-titol { margin: 20px 0 10px; font-size: 16px; font-weight: 700; }
.ht-classificacio-titol:first-child { margin-top: 0; }
.ht-classificacio { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.ht-classificacio thead th {
	background: #1d2327; color: #fff; padding: 12px 10px; text-align: center;
	text-transform: uppercase; font-size: 11px; letter-spacing: .5px; font-weight: 600;
}
.ht-classificacio thead th:first-child { border-radius: 10px 0 0 0; }
.ht-classificacio thead th:last-child { border-radius: 0 10px 0 0; }
.ht-classificacio td { padding: 11px 10px; text-align: center; border-bottom: 1px solid #eceef0; }
.ht-classificacio tbody tr:nth-child(even) { background: #f8f9fb; }
.ht-classificacio tbody tr:hover { background: #eef3ff; }
.ht-classificacio tbody tr:last-child td { border-bottom: none; }
.ht-classificacio td.ht-posicio { font-weight: 700; color: #646970; width: 32px; }
.ht-classificacio td.ht-equip-cel { text-align: left; }
.ht-classificacio td.ht-equip-cel .ht-equip-cel-inner { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ht-classificacio td.ht-equip-cel img { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.ht-classificacio td.ht-punts { font-weight: 800; color: var(--ht-accent); font-size: 15px; }
.ht-classificacio-final-etiqueta { font-weight: 400; color: #646970; font-size: 12px; }
/* Primer classificat: una mica de festa perquè es noti d'un cop d'ull. */
.ht-classificacio:not(.ht-classificacio-sense-trofeu) tbody tr:first-child { background: linear-gradient(90deg,#fff9e6 0%,#fff 60%); }
.ht-classificacio:not(.ht-classificacio-sense-trofeu) tbody tr:first-child td.ht-posicio::after { content: '🏆'; margin-left: 4px; font-size: 12px; }

/* ---------------------------------------------------------------- */
/* Pestanyes (Calendari i Classificació: grups / fase final)         */
/* ---------------------------------------------------------------- */
.ht-tab-botons { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ht-tab-boto {
	font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
	padding: 8px 16px; border-radius: 20px; border: 1px solid #d5d8dc;
	background: #fff; color: #1d2327; transition: background .15s, color .15s, border-color .15s;
}
.ht-tab-boto:hover { border-color: var(--ht-accent); }
.ht-tab-boto.ht-tab-actiu { background: var(--ht-accent); border-color: var(--ht-accent); color: #fff; }

/* ---------------------------------------------------------------- */
/* Calendari / Resultats                                             */
/* ---------------------------------------------------------------- */
.ht-calendari { display: flex; flex-direction: column; gap: 8px; }
.ht-jornada-titol {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
	color: #fff; background: #1d2327; display: inline-block; padding: 4px 12px; border-radius: 20px;
	margin: 18px 0 4px;
}
.ht-jornada-titol:first-child { margin-top: 4px; }

.ht-partit-fila {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px 18px; background: #fff; border-radius: 10px; flex-wrap: wrap;
	box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .15s ease, transform .15s ease;
}
.ht-partit-fila:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); transform: translateY(-1px); }
.ht-partit-fila.ht-jugat { background: #fbfbfc; }

.ht-partit-equips { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 240px; }
.ht-partit-equip { display: flex; align-items: center; gap: 8px; flex: 1; font-weight: 600; font-size: 14px; }
.ht-partit-equip img { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.ht-partit-equip.visitant { justify-content: flex-end; text-align: right; }

.ht-partit-resultat {
	font-weight: 700; color: #8c8f94; min-width: 54px; text-align: center;
	font-size: 14px; padding: 4px 10px; border-radius: 6px;
}
.ht-partit-resultat.ht-te-resultat { color: #1d2327; font-size: 17px; font-weight: 800; background: #f0f1f3; }

.ht-partit-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8c8f94; white-space: nowrap; }
.ht-estat-tag {
	font-size: 10px; text-transform: uppercase; letter-spacing: .4px; font-weight: 700;
	padding: 3px 9px; border-radius: 20px; background: #eceef0; color: #646970;
}
.ht-estat-tag.ht-finalitzat { background: #e5f5ea; color: #1a7a3c; }
.ht-data-pendent { font-style: italic; color: #b0b3b8; }

/* En directe */
.ht-en-directe-tag {
	display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .5px; color: #fff; background: #d92626;
	padding: 4px 10px; border-radius: 20px;
}
.ht-punt-directe {
	width: 8px; height: 8px; border-radius: 50%; background: #fff; display: inline-block;
	animation: ht-pulsa 1.2s infinite;
}
@keyframes ht-pulsa {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .4; transform: scale(.7); }
}
/* Descans / Temps mort: mateixa insígnia però en ambre, i sense animació
   (no té sentit fer pampallugues quan el joc està aturat). */
.ht-partit-fila[data-fase-joc="descans"] .ht-en-directe-tag,
.ht-partit-fila[data-fase-joc="temps_mort"] .ht-en-directe-tag,
.ht-resum-partit[data-fase-joc="descans"] .ht-en-directe-tag,
.ht-resum-partit[data-fase-joc="temps_mort"] .ht-en-directe-tag {
	background: #b26a00;
}
.ht-punt-groc { animation: none; opacity: 1; }
.ht-icona-esdeveniments {
	background: none; border: none; cursor: pointer; padding: 2px; color: #646970;
	display: inline-flex; vertical-align: middle; border-radius: 4px;
}
.ht-icona-esdeveniments:hover { color: #1d4ed8; background: #eef3ff; }
.ht-icona-oficial { display: inline-flex; vertical-align: middle; color: #1a7a3c; }
.ht-icona-estadistiques { display: inline-flex; vertical-align: middle; color: #1d4ed8; }
.ht-icona-estadistiques:hover { color: #1541a0; }

/* Modal d'esdeveniments */
.ht-modal-fons {
	position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99999;
	display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ht-modal-caixa {
	background: #fff; border-radius: 12px; padding: 24px; max-width: 420px; width: 100%;
	max-height: 70vh; overflow-y: auto; position: relative;
}
.ht-modal-tancar {
	position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer;
	font-size: 16px; color: #8c8f94;
}
.ht-modal-caixa h3 { margin-top: 0; }
.ht-modal-caixa ul { list-style: none; margin: 0; padding: 0; }
.ht-modal-caixa li { padding: 8px 0; border-bottom: 1px solid #f0f1f3; font-size: 13.5px; }
.ht-modal-caixa li:last-child { border-bottom: none; }

/* Esdeveniments del partit — fila amb escut i insígnia de color */
.ht-ev-fila { display: flex; align-items: center; gap: 10px; }
.ht-ev-minut { font-weight: 800; font-family: 'Courier New', monospace; min-width: 30px; color: #1d2327; }
.ht-ev-escut { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.ht-ev-escut-placeholder { width: 24px; height: 24px; border-radius: 50%; background: #dcdcde; color: #646970; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.ht-ev-detall { display: flex; flex-direction: column; gap: 2px; }
.ht-ev-jugador { font-size: 13px; font-weight: 600; }
.ht-ev-tipus-badge { display: inline-block; width: fit-content; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; padding: 2px 8px; border-radius: 10px; }
.ht-ev-tipus-badge.ht-ev-gol { background: #e5f5ea; color: #1a7a3c; }
.ht-ev-tipus-badge.ht-ev-exclusio_2min { background: #fdf1e0; color: #b26a00; }
.ht-ev-tipus-badge.ht-ev-targeta_groga { background: #fff6d6; color: #8a6d00; }
.ht-ev-tipus-badge.ht-ev-targeta_vermella { background: #fdecea; color: #b32d2e; }
.ht-ev-tipus-badge.ht-ev-targeta_blava { background: #e6f0ff; color: #1d4ed8; }
.ht-ev-tipus-badge.ht-ev-aturada { background: #eceef0; color: #3c434a; }
.ht-streaming-icon { display: inline-flex; color: #ff0000; }
.ht-streaming-icon svg { width: 20px; height: 20px; vertical-align: middle; }

/* ---------------------------------------------------------------- */
/* Resum de partit                                                   */
/* ---------------------------------------------------------------- */
.ht-resum-partit { border-radius: 14px; padding: 28px 24px; text-align: center; background: linear-gradient(160deg,#fff 0%,#f6f8fc 100%); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.ht-resum-marcador { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 14px 0; }
.ht-resum-equip { flex: 1; max-width: 200px; font-weight: 700; font-size: 15px; }
.ht-resum-equip img { max-width: 60px; max-height: 60px; object-fit: contain; margin-bottom: 8px; }
.ht-resum-resultat { font-size: 36px; font-weight: 800; color: #1d2327; letter-spacing: 1px; }
.ht-resum-info { font-size: 13px; color: #646970; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ht-resum-exclusions:empty { display: none; }
.ht-resum-exclusions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -4px 0 10px; }
.ht-resum-exclusio {
	display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800;
	color: #8a5a00; background: #fff2d9; border: 1px solid #ffd166; border-radius: 12px; padding: 3px 10px;
	font-family: 'Courier New', monospace;
}
/* Versió compacta al llistat de calendari/resultats (CalendariWidget):
   mateixes insígnies però més petites i alineades a l'esquerra, ja que
   aquí conviuen amb files més estretes en comptes d'un marcador gran. */
.ht-partit-exclusions:empty { display: none; }
.ht-partit-exclusions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin: 2px 0 0; }
.ht-partit-exclusions .ht-resum-exclusio { font-size: 11px; padding: 2px 8px; }

/* ---------------------------------------------------------------- */
/* Fitxa d'equip                                                     */
/* ---------------------------------------------------------------- */
.ht-fitxa-equip-capçalera { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ht-fitxa-equip-capçalera img { width: 64px; height: 64px; object-fit: contain; }
.ht-fitxa-equip-capçalera h3 { margin: 0; font-size: 22px; }
.ht-jugadors-graella { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ht-jugador-targeta { border-radius: 10px; padding: 14px 10px; text-align: center; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.07); transition: box-shadow .15s ease; }
.ht-jugador-targeta:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.ht-jugador-targeta img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.ht-jugador-targeta > div:nth-child(2) { font-weight: 600; font-size: 13.5px; }
.ht-jugador-dorsal { font-size: 11.5px; color: #8c8f94; margin-top: 2px; }

/* ---------------------------------------------------------------- */
/* Llistat de competicions                                           */
/* ---------------------------------------------------------------- */
.ht-llistat-competicions { display: flex; flex-direction: column; gap: 20px; }
.ht-categoria-titol { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: #8c8f94; margin-bottom: 8px; }
.ht-competicio-enllaç {
	display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
	background: #fff; border-radius: 10px; text-decoration: none; color: inherit;
	box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 8px; transition: box-shadow .15s ease, transform .15s ease;
}
.ht-competicio-enllaç:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); transform: translateY(-1px); }
.ht-competicio-enllaç strong { font-size: 15px; }
.ht-format-tag { font-size: 11px; color: #646970; background: #eceef0; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .3px; }

/* ---------------------------------------------------------------- */
/* Quadre d'eliminatòries                                            */
/* ---------------------------------------------------------------- */
.ht-quadre { display: flex; gap: 28px; overflow-x: auto; padding: 6px 4px 14px; }
.ht-quadre-ronda { display: flex; flex-direction: column; justify-content: space-around; gap: 18px; min-width: 210px; }
.ht-quadre-ronda-titol { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #8c8f94; text-align: center; margin-bottom: 6px; }
.ht-quadre-partit { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); font-size: 13.5px; }
.ht-quadre-equip { display: flex; justify-content: space-between; padding: 7px 12px; border-bottom: 1px solid #f0f1f3; }
.ht-quadre-equip:last-child { border-bottom: none; }
.ht-quadre-guanyador { font-weight: 700; background: #eef3ff; }

/* ---------------------------------------------------------------- */
/* Fitxa de jugador                                                  */
/* ---------------------------------------------------------------- */
.ht-fitxa-jugador-capçalera { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.ht-fitxa-jugador-capçalera img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ht-fitxa-jugador-sense-foto {
	width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg,var(--ht-accent) 0%,#153a9e 100%);
	color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800;
}
.ht-fitxa-jugador-capçalera h2 { margin: 0 0 6px; font-size: 24px; }
.ht-fitxa-jugador-subtitol { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: #646970; }
.ht-fitxa-jugador-dorsal { font-weight: 800; color: var(--ht-accent); font-size: 15px; }
.ht-fitxa-jugador-equip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; font-weight: 600; }
.ht-fitxa-jugador-equip img { width: 18px; height: 18px; object-fit: contain; }
.ht-fitxa-jugador-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; margin-bottom: 24px; }
.ht-fitxa-jugador-tile { background: #fff; border-radius: 10px; padding: 14px 8px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.07); }
.ht-fitxa-jugador-tile-valor { font-size: 22px; font-weight: 800; color: #1d2327; }
.ht-fitxa-jugador-tile-destacat { background: linear-gradient(135deg,var(--ht-accent) 0%,#153a9e 100%); }
.ht-fitxa-jugador-tile-destacat .ht-fitxa-jugador-tile-valor,
.ht-fitxa-jugador-tile-destacat .ht-fitxa-jugador-tile-etiqueta { color: #fff; }
.ht-fitxa-jugador-tile-etiqueta { font-size: 10.5px; text-transform: uppercase; letter-spacing: .4px; color: #8c8f94; margin-top: 2px; }
.ht-fitxa-jugador-titol-seccio { font-size: 15px; margin: 0 0 10px; }
.ht-fitxa-jugador-partits { display: flex; flex-direction: column; gap: 6px; }
.ht-fitxa-jugador-partit-fila {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px;
	background: #fff; border-radius: 8px; text-decoration: none; color: inherit; font-size: 13px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .15s ease;
}
.ht-fitxa-jugador-partit-fila:hover { box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.ht-fitxa-jugador-partit-resultat { font-weight: 800; }
.ht-fitxa-jugador-partit-gols { color: var(--ht-accent); font-weight: 700; }

/* ---------------------------------------------------------------- */
/* Portada del torneig                                              */
/* ---------------------------------------------------------------- */
.ht-portada-graella { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ht-portada-caixa { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.ht-portada-etiqueta { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 800; color: #8c8f94; margin-bottom: 12px; }
.ht-portada-competicio-tag {
	display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--ht-accent);
	background: #eef3ff; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.ht-portada-buit { color: #8c8f94; font-size: 13.5px; margin: 0; }
.ht-portada-proxim, .ht-portada-ultim { background: linear-gradient(160deg,#fff 0%,#f6f8fc 100%); }
.ht-portada-mini-partit { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.ht-portada-mini-equip { display: flex; align-items: center; gap: 8px; flex: 1; font-weight: 700; font-size: 13.5px; }
.ht-portada-mini-equip img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.ht-portada-mini-equip.visitant { justify-content: flex-end; text-align: right; }
.ht-portada-mini-resultat { font-size: 22px; font-weight: 800; min-width: 60px; text-align: center; }
.ht-portada-mini-vs { font-size: 13px; font-weight: 700; color: #b0b3b8; min-width: 40px; text-align: center; }
.ht-portada-mini-data { margin-top: 10px; font-size: 12px; color: #8c8f94; text-align: center; }
.ht-portada-golejador-fila { display: flex; align-items: center; gap: 12px; }
.ht-portada-golejador-medalla { font-size: 28px; }
.ht-portada-golejador-nom { font-weight: 800; font-size: 15px; }
.ht-portada-golejador-equip { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #646970; margin-top: 2px; }
.ht-portada-golejador-equip img { width: 16px; height: 16px; object-fit: contain; }
.ht-portada-golejador-gols { margin-left: auto; font-size: 28px; font-weight: 800; color: var(--ht-accent); }
.ht-portada-top3-llista { display: flex; flex-direction: column; gap: 6px; }
.ht-portada-top3-fila { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.ht-portada-top3-posicio { font-weight: 800; color: #8c8f94; width: 16px; }
.ht-portada-top3-fila img { width: 20px; height: 20px; object-fit: contain; }
.ht-portada-top3-nom { flex: 1; font-weight: 600; }
.ht-portada-top3-punts { font-weight: 800; color: var(--ht-accent); }

@media (max-width: 700px) {
	.ht-portada-graella { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.ht-partit-fila { flex-direction: column; align-items: stretch; }
	.ht-partit-equips { flex-direction: column; }
	.ht-partit-equip.visitant { justify-content: flex-start; text-align: left; }
	.ht-partit-meta { align-self: flex-end; }
	.ht-resum-marcador { gap: 14px; }
}

/* Cerca i filtres */
.ht-calendari-filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ht-calendari-filtres .ht-filtre-cerca { flex: 1; min-width: 160px; }
.ht-calendari-filtres input, .ht-calendari-filtres select {
	padding: 9px 12px; border-radius: 8px; border: 1px solid #dcdcde; font-size: 13.5px; background: #fff;
}

.ht-cerca { position: relative; max-width: 420px; }
.ht-cerca-input {
	width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid #dcdcde;
	font-size: 14px; box-sizing: border-box;
}
.ht-cerca-input:focus { outline: none; border-color: var(--ht-accent); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.ht-cerca-resultats {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
	background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14);
	max-height: 340px; overflow-y: auto; padding: 6px;
}
.ht-cerca-fila { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: inherit; }
.ht-cerca-fila:hover { background: #f3f4f6; }
.ht-cerca-escut { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; border-radius: 50%; }
.ht-cerca-escut-placeholder {
	width: 30px; height: 30px; border-radius: 50%; background: var(--ht-accent); color: #fff;
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.ht-cerca-detall { display: flex; flex-direction: column; min-width: 0; }
.ht-cerca-nom { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-cerca-sub { font-size: 11.5px; color: #8c8f94; }
.ht-cerca-buit { margin: 0; padding: 10px; font-size: 13px; color: #8c8f94; text-align: center; }

/* Convocatòria i alineació */
.ht-convocatoria { margin-top: 14px; }
.ht-convocatoria-toggle {
	width: 100%; text-align: left; padding: 10px 14px; border-radius: 10px; border: 1px solid #dcdcde;
	background: #f9fafb; font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.ht-convocatoria-toggle:hover { background: #f3f4f6; }
.ht-convocatoria-graella { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ht-convocatoria-columna { background: #fff; border-radius: 10px; padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.ht-convocatoria-equip-nom { font-weight: 800; font-size: 13.5px; margin-bottom: 8px; }
.ht-convocatoria-buida { color: #8c8f94; font-size: 12.5px; margin: 0; }
.ht-convocatoria-llista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ht-convocatoria-llista li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; }
.ht-convocatoria-llista li.ht-suplent { color: #646970; }
.ht-convocatoria-dorsal { font-weight: 800; color: #8c8f94; min-width: 26px; }
.ht-convocatoria-llista li.ht-titular .ht-convocatoria-dorsal { color: var(--ht-accent); }
.ht-convocatoria-nom { flex: 1; font-weight: 600; }
.ht-convocatoria-llista li.ht-titular .ht-convocatoria-nom { font-weight: 800; }
.ht-convocatoria-badge {
	font-size: 9.5px; text-transform: uppercase; letter-spacing: .4px; font-weight: 800; color: var(--ht-accent);
	background: #eef3ff; padding: 2px 7px; border-radius: 10px;
}

@media (max-width: 600px) {
	.ht-convocatoria-graella { grid-template-columns: 1fr; }
}

/* Mode pantalla TV */
.ht-tv {
	position: fixed; inset: 0; z-index: 999999;
	background: radial-gradient(circle at top, #16305e 0%, #0a1224 70%);
	color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 48px; box-sizing: border-box; overflow: hidden; font-family: inherit;
}
.ht-tv-rellotge {
	position: absolute; top: 26px; right: 36px; font-size: 18px; font-weight: 600; opacity: .75;
}
.ht-tv-contingut {
	width: 100%; max-width: 1080px; display: flex; flex-direction: column; align-items: center; position: relative;
}
.ht-tv-slide {
	display: none; width: 100%; max-width: 1080px; flex-direction: column; align-items: center;
	opacity: 0; transition: opacity .6s ease;
}
.ht-tv-slide.ht-tv-actiu { display: flex; opacity: 1; }
.ht-tv-capçalera { text-align: center; margin-bottom: 26px; }
.ht-tv-categoria { font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 800; color: #7fa8ff; }
.ht-tv-competicio { font-size: 32px; font-weight: 800; margin-top: 6px; }
.ht-tv-titol { font-size: 20px; text-transform: uppercase; letter-spacing: 1.5px; color: #9aa7c7; margin: 0 0 22px; font-weight: 700; text-align: center; }

.ht-tv-resultats { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.ht-tv-fila-resultat {
	display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,.06);
	border-radius: 16px; padding: 20px 30px; position: relative;
}
.ht-tv-equip { display: flex; align-items: center; gap: 14px; flex: 1; font-size: 24px; font-weight: 700; min-width: 0; }
.ht-tv-equip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-tv-equip.visitant { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.ht-tv-equip img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.ht-tv-marcador { font-size: 36px; font-weight: 900; min-width: 120px; text-align: center; letter-spacing: 1px; flex-shrink: 0; }
.ht-tv-data { font-size: 18px; font-weight: 700; color: #9aa7c7; min-width: 120px; text-align: center; flex-shrink: 0; }
.ht-tv-jornada {
	position: absolute; top: -10px; left: 24px; background: #1d4ed8; font-size: 11px; font-weight: 800;
	padding: 3px 10px; border-radius: 10px;
}

.ht-tv-classificacio { width: 100%; border-collapse: collapse; font-size: 20px; }
.ht-tv-classificacio th { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: #9aa7c7; padding: 10px 8px; font-weight: 700; }
.ht-tv-classificacio td { padding: 13px 8px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); }
.ht-tv-posicio { font-weight: 900; color: #7fa8ff; }
.ht-tv-equip-cel { text-align: left !important; }
.ht-tv-equip-cel-inner { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ht-tv-equip-cel-inner img { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.ht-tv-punts-cel { font-weight: 900; color: #ffd166; font-size: 22px; }
.ht-tv-classificacio tbody tr:first-child td { background: rgba(255,209,102,.08); }

.ht-tv-indicador { display: flex; gap: 9px; margin-top: 30px; }
.ht-tv-indicador:empty { margin-top: 0; }
.ht-tv-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .3s; }
.ht-tv-dot-actiu { background: #7fa8ff; }

@media (max-width: 700px) {
	.ht-tv-equip { font-size: 16px; }
	.ht-tv-equip img { width: 32px; height: 32px; }
	.ht-tv-marcador { font-size: 24px; min-width: 70px; }
	.ht-tv-competicio { font-size: 22px; }
	.ht-tv-classificacio { font-size: 13px; }
	.ht-tv-rellotge { font-size: 13px; top: 14px; right: 16px; }
}
