﻿/* ============================================================
   actividades.css — landing de Actividades (/activities)
   Va encima de TournamentsV2/campeonatos.css (.cmp, cabecera, h2.sec) y de las tarjetas de las secciones
   del CMS (.mpc-curso, en la DLL). Aqui solo lo propio: accesos, filtros, tira de dias, filas de sesion,
   semana de un vistazo y monitores. Todo dentro de .act para no tocar el tema del club.
   ============================================================ */
/* campeonatos.css pone el enlace .mas en float: sin contenerlo, en movil baja y estrecha lo que viene detras. */
.cmp.act h2.sec { display: flow-root; }
.cmp.act h2.sec .mas { margin-left: 12px; }
/* Aviso al volver de reservar (Plaza reservada, lista de espera, cancelada) */
.act .act-aviso { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 12px 44px; margin: 0 0 16px; border-radius: var(--cmp-radio); background: var(--cmp-ok-cl);
  color: var(--cmp-ok); position: relative; font-size: 14px; }
.act .act-aviso::before { content: ''; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; background-color: var(--cmp-ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.act .act-aviso b { font-size: 15px; }
.act .act-aviso span { color: var(--cmp-texto); }
.cmp.act h2.sec small { font-size: 12.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--cmp-texto-sec); }
.act .act-vacio { margin-top: 16px; }
.act .act-mis { white-space: nowrap; }

/* Chips de estado (plaza, lista de espera, recepcion...) */
.act .act-chip { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--cmp-fondo); color: var(--cmp-texto); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.act .act-chip.act-ok { background: var(--cmp-ok-cl); color: var(--cmp-ok); }
.act .act-chip.act-al { background: var(--cmp-alerta-cl); color: var(--cmp-alerta); }
.act .act-chip.act-az { background: rgba(28,111,209,.1); color: var(--cmp-azul); }
.act .act-enl { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* Con sesion: tus proximas clases */
.act .act-mias { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.act .act-mia { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; background: var(--cmp-superficie); border: 1px solid var(--cmp-borde);
  border-left: 4px solid var(--cmp-ok); border-radius: var(--cmp-radio); box-shadow: 0 4px 14px rgba(0,0,0,.04); min-width: 0; }
.act .act-mia.act-mia-cola { border-left-color: var(--cmp-alerta); }
.act .act-mia h3 { margin: 0; font-size: 16px; text-transform: uppercase; }
.act .act-cuando { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--cmp-texto-sec); }
.act .act-det { font-size: 13px; color: var(--cmp-texto-sec); }
.act .act-pie { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 4px; }

/* Accesos rapidos */
.act .act-accesos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; margin: 20px 0 4px; }
.act .act-acceso { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--cmp-superficie); border: 1px solid var(--cmp-borde);
  border-radius: var(--cmp-radio); color: var(--cmp-texto) !important; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.04); transition: border-color .15s ease; }
.act .act-acceso:hover { border-color: var(--cmp-acento); }
.act .act-acceso.on { border-color: var(--cmp-ok); background: linear-gradient(0deg, var(--cmp-ok-cl), var(--cmp-superficie) 70%); }
.act .act-acceso b { display: block; font-size: 15px; line-height: 1.25; }
.act .act-acceso small { display: block; font-size: 13px; color: var(--cmp-texto-sec); line-height: 1.35; }
.act .act-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--cmp-fondo); position: relative; }
.act .act-ic::before { content: ''; position: absolute; inset: 10px; background-color: var(--cmp-texto);
  -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.act .act-ic-hoy::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.act .act-ic-semana::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.act .act-ic-catalogo::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.act .act-ic-monitor::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }

/* Filtros */
.act .act-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 16px 0 0; padding: 12px 14px;
  background: var(--cmp-fondo); border: 1px solid var(--cmp-borde); border-radius: var(--cmp-radio); }
.act .act-filtro { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.act .act-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--cmp-texto-sec); margin: 0; }
.act .act-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.act .act-chip-f { display: inline-block; padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--cmp-borde);
  font-size: 13px; font-weight: 600; color: var(--cmp-texto) !important; text-decoration: none; white-space: nowrap; }
.act .act-chip-f:hover { border-color: var(--cmp-acento); }
.act .act-chip-f.on { background: var(--cmp-acento); border-color: var(--cmp-acento); color: #fff !important; }
.act .act-select { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid var(--cmp-borde); border-radius: 8px; background: #fff; color: var(--cmp-texto); max-width: 100%; width: auto; height: auto; margin: 0; }
.act .act-quitar { margin-left: auto; font-size: 13px; font-weight: 600; }

/* Tira de dias */
.act .act-dias { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 4px; -webkit-overflow-scrolling: touch; }
.act .act-dia { flex: none; width: 76px; border: 1px solid var(--cmp-borde); border-radius: 10px; text-align: center; padding: 7px 4px; background: var(--cmp-superficie);
  color: var(--cmp-texto) !important; text-decoration: none; line-height: 1.2; }
.act .act-dia:hover { border-color: var(--cmp-acento); }
.act .act-dia small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--cmp-texto-sec); }
.act .act-dia b { display: block; font-size: 21px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.act .act-dia em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--cmp-ok); }
.act .act-dia em.no { color: var(--cmp-texto-sec); font-weight: 500; }
.act .act-dia.act-dia-vacio { opacity: .55; }
.act .act-dia.on { background: var(--cmp-acento); border-color: var(--cmp-acento); color: #fff !important; opacity: 1; }
.act .act-dia.on small, .act .act-dia.on em { color: #fff; }

/* Filas de sesion */
.act .act-franja { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--cmp-texto-sec); margin: 16px 0 8px; }
.act .act-ses { display: grid; grid-template-columns: 76px minmax(0, 1fr) 160px 130px 150px; gap: 14px; align-items: center; padding: 10px 14px; margin-bottom: 8px;
  background: var(--cmp-superficie); border: 1px solid var(--cmp-borde); border-left: 4px solid var(--act-col, var(--cmp-borde)); border-radius: 10px; }
.act .act-ses.act-llena { background: var(--cmp-fondo); }
.act .act-ses.act-tuya { border-color: var(--cmp-ok); border-left-color: var(--act-col, var(--cmp-ok)); }
.act .act-h b { display: block; font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.act .act-h small { font-size: 12px; color: var(--cmp-texto-sec); }
.act .act-n { min-width: 0; }
.act .act-n h3 { margin: 0 0 2px; font-size: 15px; text-transform: uppercase; line-height: 1.25; }
.act .act-n h3 a { color: var(--cmp-texto) !important; text-decoration: none; }
.act .act-n h3 a:hover { text-decoration: underline; }
.act .act-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--cmp-texto-sec); }
.act .act-int { font-weight: 600; }
.act .act-pl { font-size: 13px; }
.act .act-q { font-weight: 700; color: var(--cmp-ok); }
.act .act-q.act-al { color: var(--cmp-alerta); }
.act .act-q.act-ko { color: var(--cmp-error); }
.act .act-barra { display: block; height: 5px; background: var(--cmp-fondo); border-radius: 4px; margin-top: 5px; overflow: hidden; }
.act .act-barra i { display: block; height: 100%; background: var(--cmp-ok); }
.act .act-barra i.act-al { background: var(--cmp-alerta); }
.act .act-barra i.act-ko { background: var(--cmp-error); }
.act .act-pr { font-size: 13px; color: var(--cmp-texto-sec); }
.act .act-pr b { font-size: 17px; color: var(--cmp-texto); font-variant-numeric: tabular-nums; }
.act .act-bt { display: flex; flex-direction: column; align-items: stretch; gap: 4px; text-align: center; }
.act .act-bt .boton { margin: 0; text-align: center; white-space: nowrap; }

/* Catalogo: la tarjeta es la del CMS; solo se ajusta la rejilla */
.act .act-catalogo.mpc-cursos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }

/* Semana de un vistazo */
.act .act-semwrap { overflow-x: auto; border: 1px solid var(--cmp-borde); border-radius: var(--cmp-radio); background: var(--cmp-superficie); -webkit-overflow-scrolling: touch; }
.act .act-sem { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 12.5px; margin: 0; table-layout: fixed; }
.act .act-sem thead th:first-child { width: 76px; }
.act .act-sem th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: var(--cmp-texto-sec); padding: 8px 6px; text-align: left;
  background: var(--cmp-fondo); border: 0; border-bottom: 1px solid var(--cmp-borde); }
.act .act-sem thead th.on { color: var(--cmp-texto); }
.act .act-sem tbody th { width: 76px; background: transparent; vertical-align: top; border-bottom: 1px solid var(--cmp-borde); }
.act .act-sem td { vertical-align: top; padding: 6px; border: 0; border-left: 1px solid var(--cmp-borde); border-bottom: 1px solid var(--cmp-borde); }
.act .act-sem tbody tr:last-child td, .act .act-sem tbody tr:last-child th { border-bottom: 0; }
.act .act-pas { display: block; margin-bottom: 4px; padding: 3px 6px; border-left: 3px solid var(--act-col, var(--cmp-texto-sec)); border-radius: 4px; background: var(--cmp-fondo);
  font-weight: 600; color: var(--cmp-texto) !important; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act .act-pas:hover { background: var(--cmp-acento-cl); }
.act .act-pas small { font-weight: 500; color: var(--cmp-texto-sec); font-variant-numeric: tabular-nums; }
.act .act-pas.act-llena { opacity: .55; }
.act .act-pas.act-tuya { background: var(--cmp-ok-cl); }

/* Monitores */
.act .act-profs.mpc-cursos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.act .act-prof .mpc-cuerpo { padding: 16px; gap: 10px; }
.act .act-prof .mpc-nombre { font-size: 1.05em; }
.act .act-prof-cab { display: flex; align-items: center; gap: 12px; min-width: 0; }
.act .act-prof-cab > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.act .act-av { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--cmp-fondo); display: inline-flex; align-items: center; justify-content: center; }
.act .act-av img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; margin: 0; border-radius: 0; }
.act .act-av-ini { color: #fff; font-weight: 700; font-size: 17px; }
.act .act-prox { font-size: 13px; background: var(--cmp-fondo); border-radius: 8px; padding: 7px 10px; }

@media (max-width: 900px) {
  .act .act-ses { grid-template-columns: 64px minmax(0, 1fr) 140px; grid-template-areas: "h n bt" "h pl pr"; row-gap: 8px; }
  .act .act-h { grid-area: h; align-self: start; }
  .act .act-n { grid-area: n; }
  .act .act-pl { grid-area: pl; }
  .act .act-pr { grid-area: pr; text-align: right; }
  .act .act-bt { grid-area: bt; }
}
@media (max-width: 600px) {
  .act .act-accesos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .act .act-acceso { padding: 10px; gap: 8px; }
  .act .act-ic { width: 32px; height: 32px; }
  .act .act-ic::before { inset: 8px; }
  .act .act-quitar { margin-left: 0; }
  .act .act-ses { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "h n" "h pl" "h pr" "bt bt"; gap: 8px 10px; }
  .act .act-pr { text-align: left; align-self: center; }
  .act .act-pr:empty { display: none; }
  .act .act-bt { align-items: stretch; }
  .act .act-bt:empty { display: none; }
}

/* ============================================================
   Ficha de actividad (/activities/{id}): Ficha.aspx
   ============================================================ */
.act .act-migas { font-size: 13px; color: var(--cmp-texto-sec); margin-bottom: 14px; }
.act .act-migas a { color: var(--cmp-texto-sec) !important; }
.act .act-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.act .act-hero-foto { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--cmp-radio); overflow: hidden; background: var(--cmp-fondo); }
.act .act-hero-foto img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; margin: 0; border-radius: 0; }
.act .act-hero-foto .cmp-fmt { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #000; background: rgba(255,255,255,.92); border-radius: 6px; padding: 4px 9px; }
.act .act-info { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.act .act-grupo { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--cmp-texto-sec); }
.act .act-info h1 { font-size: 32px; font-weight: 800; margin: 0; text-transform: uppercase; line-height: 1.08; }
.act .act-info .mpc-datos { margin: 0; }
.act .act-resumen { margin: 0; color: var(--cmp-texto-sec); max-width: 60ch; }
.act .act-proxbox { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; padding: 14px 16px; margin-top: 4px;
  border: 1px solid var(--cmp-ok); border-radius: var(--cmp-radio); background: linear-gradient(0deg, var(--cmp-ok-cl), var(--cmp-superficie) 75%); }
.act .act-proxbox.act-proxbox-no { border-color: var(--cmp-borde); background: var(--cmp-fondo); }
.act .act-proxq { min-width: 0; flex: 1 1 220px; }
.act .act-proxq small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--cmp-ok); }
.act .act-proxq b { display: block; font-size: 19px; line-height: 1.25; }
.act .act-proxq span { display: block; font-size: 13px; color: var(--cmp-texto-sec); }
.act .act-proxpr { font-size: 13px; color: var(--cmp-texto-sec); text-align: right; }
.act .act-proxpr b { display: block; font-size: 20px; color: var(--cmp-texto); font-variant-numeric: tabular-nums; }
.act .act-proxbt { margin: 0; flex: 1 1 100%; text-align: center; }
.act .act-mons { display: flex; align-items: center; gap: 0; font-size: 13px; color: var(--cmp-texto-sec); }
.act .act-mons .act-av { width: 34px; height: 34px; font-size: 12px; border: 2px solid var(--cmp-superficie); }
.act .act-mons .act-av + .act-av { margin-left: -10px; }
.act .act-mons > span:last-child { margin-left: 10px; }

.act .act-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.act .act-principal, .act .act-lateral { min-width: 0; }
.act .act-texto { max-width: 72ch; }
.act .act-texto p { margin: 0 0 10px; }
.act .act-caja { background: var(--cmp-superficie); border: 1px solid var(--cmp-borde); border-radius: var(--cmp-radio); padding: 16px 18px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.act .act-caja + .act-caja { margin-top: 14px; }
.act .act-caja h3 { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .3px; }
.act .act-filas { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.act .act-fila { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--cmp-borde); }
.act .act-fila:last-child { padding-bottom: 0; border-bottom: 0; }
.act .act-fila b { font-variant-numeric: tabular-nums; text-align: right; }
.act .act-normas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.act .act-normas li { display: flex; gap: 9px; align-items: flex-start; margin: 0; }
.act .act-ni { flex: none; width: 18px; height: 18px; margin-top: 1px; background-color: var(--cmp-texto-sec);
  -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; mask-position: center; mask-repeat: no-repeat; mask-size: contain; }
.act .act-ni-cal { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.act .act-ni-reloj { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.act .act-ni-lista { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h10M4 18h7'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h10M4 18h7'/%3E%3C/svg%3E"); }
.act .act-ni-mas { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E"); }
.act .act-ni-persona { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }

/* Calendario mensual + clases del dia */
.act .act-agenda { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 22px; align-items: start; }
.act .act-cal { background: var(--cmp-superficie); border: 1px solid var(--cmp-borde); border-radius: var(--cmp-radio); padding: 14px; }
.act .act-cal-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.act .act-cal-cab b { font-size: 16px; }
.act .act-cal-nav { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--cmp-borde); font-size: 18px; line-height: 1;
  color: var(--cmp-texto) !important; text-decoration: none; background: var(--cmp-superficie); }
.act a.act-cal-nav:hover { border-color: var(--cmp-acento); }
.act .act-cal-nav.off { opacity: .35; }
.act .act-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.act .act-cal-ds { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--cmp-texto-sec); text-align: center; padding: 4px 0; }
.act .act-cal-d { aspect-ratio: 1; max-width: 100%; border-radius: 9px; border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 14px; color: #a3abb2; font-variant-numeric: tabular-nums; text-decoration: none; }
.act a.act-cal-d { color: var(--cmp-texto) !important; font-weight: 700; background: var(--cmp-fondo); border-color: var(--cmp-borde); }
.act a.act-cal-d:hover { border-color: var(--cmp-acento); }
.act .act-cal-d.hoy { box-shadow: inset 0 0 0 1px var(--cmp-texto-sec); }
.act a.act-cal-d.on { background: var(--cmp-acento); border-color: var(--cmp-acento); color: #fff !important; }
.act .act-pt { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: none; }
.act .act-pt-l { background: var(--cmp-ok); }
.act .act-pt-c { background: var(--cmp-error); }
.act .act-pt-f { background: var(--cmp-azul); }
.act .act-pt-t { background: var(--cmp-texto-sec); }
.act a.act-cal-d.on .act-pt { outline: 1.5px solid #fff; }
.act .act-leyenda { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--cmp-texto-sec); margin-top: 10px; }
.act .act-leyenda span { display: inline-flex; align-items: center; gap: 5px; }
.act .act-leyenda .act-pt { width: 8px; height: 8px; }
.act .act-diaclases { min-width: 0; }
.act .act-dia-tit { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
/* Al lado del calendario no caben cinco columnas: fila compacta (hora | sala y boton / plazas y precio). */
.act .act-ses.act-ses-f { grid-template-columns: 64px minmax(0, 1fr) 140px; grid-template-areas: "h n bt" "h pl pr"; row-gap: 8px; }
.act .act-ses-f .act-h { grid-area: h; align-self: start; }
.act .act-ses-f .act-n { grid-area: n; }
.act .act-ses-f .act-pl { grid-area: pl; }
.act .act-ses-f .act-pr { grid-area: pr; text-align: right; }
.act .act-ses-f .act-bt { grid-area: bt; }
.act .act-ses-f .act-n { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--cmp-texto-sec); }
.act .act-ses-f .act-n b { color: var(--cmp-texto); font-size: 14px; }

/* Mas actividades del grupo */
.act .act-otras.mpc-cursos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }

@media (max-width: 1100px) {
  .act .act-agenda { grid-template-columns: minmax(0, 1fr); }
  .act .act-cal { max-width: 420px; }
}
@media (max-width: 900px) {
  .act .act-hero, .act .act-cuerpo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .act .act-info h1 { font-size: 26px; }
  .act .act-proxpr { text-align: left; }
  .act .act-cal { max-width: none; }
  .act .act-ses.act-ses-f { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "h n" "h pl" "h pr" "bt bt"; }
}
