/* Futbol.click Datos — móvil primero */
:root {
  --fc-verde: #0b7a3e;
  --fc-verde-claro: #e6f4ec;
  --fc-ambar: #b45309;
  --fc-ambar-claro: #fdf2e3;
  --fc-rojo: #c0262d;
  --fc-gris: #5f6670;
  --fc-borde: #e3e6ea;
  --fc-fondo: #f7f8fa;
  --fc-tinta: #14181d;
  --fc-radio: 12px;
}

.fc-aviso, .fc-sello, .fc-leyenda { color: var(--fc-gris); font-size: .9rem; }
.fc-sello { margin-top: 1.5rem; }

/* Equipo con escudo */
.fc-eq { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.fc-eq img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.fc-eq span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-eq.fc-grande { flex-direction: column; gap: .4rem; text-align: center; font-weight: 700; }
.fc-eq.fc-grande img { width: 56px; height: 56px; }

/* Tabla */
.fc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0; border: 1px solid var(--fc-borde); border-radius: var(--fc-radio); }
.fc-tabla { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; margin: 0; }
.fc-tabla th, .fc-tabla td { padding: .55rem .4rem; text-align: center; border: 0; border-bottom: 1px solid var(--fc-borde); }
.fc-tabla thead th { background: var(--fc-fondo); color: var(--fc-gris); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; position: sticky; top: 0; }
.fc-tabla .fc-izq { text-align: left; }
.fc-tabla a { color: inherit; text-decoration: none; }
.fc-tabla a:hover span { text-decoration: underline; }
.fc-tabla .fc-pts { font-weight: 800; }
.fc-tabla tr.fc-z-directo td:first-child { box-shadow: inset 4px 0 var(--fc-verde); }
.fc-tabla tr.fc-z-playin td:first-child { box-shadow: inset 4px 0 var(--fc-ambar); }
.fc-tabla tbody tr { animation: fc-entra .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 28ms); }
.fc-ancho { display: none; }
.fc-forma { white-space: nowrap; }
.fc-f { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; margin: 0 1px; border-radius: 4px; font-style: normal; font-size: .7rem; font-weight: 700; color: #fff; }
.fc-f-G { background: var(--fc-verde); } .fc-f-E { background: #8a929c; } .fc-f-P { background: var(--fc-rojo); }
.fc-leyenda span { display: inline-block; padding-left: .6rem; margin-right: 1rem; }
.fc-leyenda .fc-z-directo { box-shadow: inset 4px 0 var(--fc-verde); }
.fc-leyenda .fc-z-playin { box-shadow: inset 4px 0 var(--fc-ambar); }

/* Lista de partidos */
.fc-partidos { list-style: none; margin: .5rem 0 1.25rem; padding: 0; }
.fc-dia { font-size: .8rem; font-weight: 700; color: var(--fc-gris); text-transform: uppercase; letter-spacing: .04em; padding: .9rem 0 .3rem; }
.fc-partido { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; padding: .65rem .75rem; background: #fff; border: 1px solid var(--fc-borde); border-radius: var(--fc-radio); margin-bottom: .4rem; animation: fc-entra .4s ease both; animation-delay: calc(var(--i, 0) * 35ms); }
.fc-partido .fc-local { justify-content: flex-end; flex-direction: row-reverse; text-align: right; }
.fc-partido .fc-sede { grid-column: 1 / -1; text-align: center; font-size: .75rem; color: var(--fc-gris); }
.fc-marcador { font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; padding: .15rem .55rem; background: var(--fc-fondo); border-radius: 6px; }
.fc-hora { font-weight: 700; color: var(--fc-verde); }
.fc-estado { font-size: .8rem; color: var(--fc-ambar); font-weight: 700; }
.fc-vivo { margin-left: .3rem; font-size: .7rem; font-weight: 800; color: #fff; background: var(--fc-rojo); padding: .1rem .35rem; border-radius: 4px; animation: fc-late 1.4s ease-in-out infinite; }

/* Calendario */
.fc-calendario details { border: 1px solid var(--fc-borde); border-radius: var(--fc-radio); margin-bottom: .5rem; background: var(--fc-fondo); }
.fc-calendario summary { cursor: pointer; padding: .8rem 1rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.fc-calendario summary::after { content: "+"; color: var(--fc-gris); }
.fc-calendario details[open] summary::after { content: "–"; }
.fc-calendario summary em { font-style: normal; font-size: .75rem; color: var(--fc-verde); background: var(--fc-verde-claro); padding: .1rem .5rem; border-radius: 99px; margin-left: auto; margin-right: .75rem; }
.fc-calendario .fc-partidos { padding: 0 .75rem .5rem; }

/* ¿A qué hora juega? */
.fc-tarjeta { border-radius: 18px; padding: 1.25rem; background: linear-gradient(160deg, #fff 0%, var(--fc-fondo) 100%); border: 1px solid var(--fc-borde); margin: 1rem 0; animation: fc-revela .7s cubic-bezier(.2,.7,.2,1) both; }
.fc-tarjeta.fc-es-hoy { border-color: var(--fc-verde); box-shadow: 0 10px 30px -18px var(--fc-verde); }
.fc-etiqueta { display: inline-block; margin: 0 0 .75rem; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fc-verde); background: var(--fc-verde-claro); padding: .2rem .65rem; border-radius: 99px; }
.fc-duelo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.fc-duelo .fc-hora { font-size: 1.6rem; }
.fc-duelo .fc-marcador { font-size: 1.6rem; }
.fc-datos { display: grid; gap: .6rem; margin: 0; }
.fc-datos div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .5rem; border-top: 1px solid var(--fc-borde); padding-top: .6rem; }
.fc-datos dt { color: var(--fc-gris); font-size: .85rem; margin: 0; }
.fc-datos dd { margin: 0; font-weight: 600; }
.fc-datos small, .fc-local-tz { color: var(--fc-gris); font-weight: 400; }
.fc-local-tz { display: block; font-size: .85rem; }
.fc-contexto { background: var(--fc-fondo); border-radius: var(--fc-radio); padding: .75rem 1rem; }

/* Equipo */
.fc-cifras { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; list-style: none; padding: 0; margin: 1rem 0; }
.fc-cifras li { background: var(--fc-fondo); border-radius: var(--fc-radio); padding: .9rem; text-align: center; animation: fc-entra .5s ease both; }
.fc-cifras li:nth-child(2) { animation-delay: 60ms; } .fc-cifras li:nth-child(3) { animation-delay: 120ms; } .fc-cifras li:nth-child(4) { animation-delay: 180ms; }
.fc-cifras b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.fc-cifras span { font-size: .8rem; color: var(--fc-gris); }

@media (min-width: 640px) {
  .fc-ancho { display: table-cell; }
  .fc-cifras { grid-template-columns: repeat(4, 1fr); }
  .fc-partido { grid-template-columns: 1fr auto 1fr 12rem; }
  .fc-partido .fc-sede { grid-column: auto; text-align: right; }
}

@keyframes fc-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fc-revela { from { opacity: 0; clip-path: inset(0 0 100% 0 round 18px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 18px); } }
@keyframes fc-late { 50% { opacity: .55; } }

@media (prefers-reduced-motion: reduce) {
  .fc-tabla tbody tr, .fc-partido, .fc-tarjeta, .fc-cifras li, .fc-vivo { animation: none; }
}
