/* =========================================================
   MODAL ASISTENCIA · TIMELINE
   Diseño alineado con mp-tl de Mis Partidos
   ========================================================= */

.cf-asistencia-day-body{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ma-tl-day-shell{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(18,24,28,.96), rgba(13,18,22,.94));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.30);
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  margin-top: 0;
  backdrop-filter: saturate(115%) blur(1px);
}

.ma-tl-day-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ma-tl-day-title{
  color: #EAFBFF;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2px;
}

.ma-tl-day-counter{
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 800;
}

.ma-tl-inner{
  position: relative;
  width: 100%;
  padding: 10px 14px 12px 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(8,16,20,.86) 0%, rgba(6,12,16,.80) 100%);
  border: 1px solid rgba(255,255,255,.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    inset 0 0 0 1px rgba(0,0,0,.08);
  box-sizing: border-box;
  overflow: visible;
}

.ma-tl-inner::before{
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(120,255,210,.18),
    transparent
  );
  pointer-events: none;
}

.ma-tl-track{
  position: relative;
  width: 100%;
  margin-top: 4px;
  overflow: visible;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      to right,
      rgba(110,255,210,.03) 0px,
      rgba(110,255,210,.03) 1px,
      transparent 1px,
      transparent 6.666%
    );
}

.ma-tl-inner > div:first-child{
  margin-bottom: 10px;
}

/* =========================
   NO HORA
   ========================= */

.ma-tl-nohour-title{
  color: #b6ffd0;
  font-weight: 700;
  font-size: 14px;
  margin: 10px 0 6px 2px;
  letter-spacing: .3px;
}

.ma-tl-nohour-band{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(182,255,208,.05), rgba(182,255,208,.03));
  border: 1px solid rgba(182,255,208,.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow:
    0 1px 7px 0 #000a,
    inset 0 1px 0 rgba(255,255,255,.025);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 980px){
  .ma-tl-day-shell{
    padding: 9px 10px;
    border-radius: 12px;
  }

  .ma-tl-day-header{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-bottom: 8px;
  }

  .ma-tl-inner{
    padding: 9px 10px 10px 10px;
    border-radius: 12px;
  }

  .ma-tl-inner::before{
    left: 10px;
    right: 10px;
  }

  .ma-tl-track{
    border-radius: 10px;
  }

  .ma-tl-day-title{
    font-size: 14px;
  }

  .ma-tl-day-counter{
    font-size: 11px;
  }
}