/* Cámara de llamados (static/home/camara.js) — prefijo .a3cl- */
.a3cl { --n: #0b4789; --g: #ffca7d; --oro: #b7791f; --lin: #e2e8f0; --mut: #64748b; --ink: #0f172a;
  display: grid; gap: 16px; padding: 24px clamp(14px, 2.4vw, 32px) 40px; font-family: "Geist", "Inter", system-ui, sans-serif; color: var(--ink); }
.a3cl-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.a3cl-cab small { font-family: "Oswald", sans-serif; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--oro); }
.a3cl-cab h1 { margin: 4px 0 2px; font-size: 26px; font-weight: 600; }
.a3cl-cab p { margin: 0; color: var(--mut); font-size: 14px; }
.a3cl-reloj { display: grid; justify-items: end; background: var(--n); color: #fff; border-radius: 14px; padding: 10px 16px; min-width: 150px; }
.a3cl-reloj small { color: var(--g); font-size: 10.5px; letter-spacing: .12em; }
.a3cl-reloj strong { font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.a3cl-reloj span { font-size: 12px; color: #dbe7f5; }
.a3cl-barra { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.a3cl-barra label { display: grid; gap: 4px; }
.a3cl-barra label > span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.a3cl-barra select, .a3cl-barra input { height: 42px; border: 1px solid var(--lin); border-radius: 11px; background: #fff; padding: 0 12px; font: inherit; font-size: 14px; min-width: 280px; }
.a3cl-sim { background: #fff8ec; border: 1px dashed #f3d9a8; border-radius: 12px; padding: 6px 10px; grid-template-columns: auto auto; }
.a3cl-sim > span { grid-column: 1 / -1; color: var(--oro) !important; }
.a3cl-sim input { min-width: 220px; height: 36px; }
.a3cl-sim button { border: 0; background: none; color: var(--n); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.a3cl-grid { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.a3cl-lista, .a3cl-det { background: #fff; border: 1px solid var(--lin); border-radius: 18px; padding: 14px; }
.a3cl-lista { display: grid; gap: 10px; position: sticky; top: 12px; max-height: calc(100vh - 40px); overflow: auto; }
.a3cl-buscar { height: 40px; border: 1px solid var(--lin); border-radius: 11px; padding: 0 12px; font: inherit; font-size: 14px; background: #f8fafc; }
.a3cl-filtros { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a3cl-filtros select { height: 38px; border: 1px solid var(--lin); border-radius: 10px; background: #fff; padding: 0 8px; font: inherit; font-size: 13.5px; }
.a3cl-seg { display: grid; grid-template-columns: repeat(3, 1fr); background: #f1f5f9; border-radius: 11px; padding: 3px; }
.a3cl-seg button { border: 0; background: none; border-radius: 9px; height: 32px; font: inherit; font-size: 13px; color: var(--mut); cursor: pointer; }
.a3cl-seg button.is-on { background: #fff; color: var(--n); font-weight: 600; box-shadow: 0 1px 3px rgb(15 23 42 / .1); }
.a3cl-lista ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.a3cl-dia { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--oro); padding: 8px 4px 2px; font-weight: 600; }
.a3cl-item { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--lin); background: #fff; border-radius: 12px; padding: 9px 10px; cursor: pointer; font: inherit; }
.a3cl-item:hover { border-color: #bcd0ea; }
.a3cl-item.is-on { border-color: var(--n); box-shadow: inset 3px 0 0 var(--n); background: #f5f9ff; }
.a3cl-item.is-prio { border-color: #15803d; box-shadow: inset 3px 0 0 #15803d; }
.a3cl-hora { display: grid; font-size: 17px; font-weight: 700; color: var(--n); font-variant-numeric: tabular-nums; line-height: 1; }
.a3cl-hora small { font-size: 10px; font-weight: 500; color: var(--mut); margin-top: 3px; }
.a3cl-nom { display: grid; min-width: 0; }
.a3cl-nom b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3cl-nom small { font-size: 12px; color: var(--mut); }
.a3cl-der { display: grid; justify-items: end; gap: 4px; }
.a3cl-der i { font-style: normal; font-size: 12px; color: var(--mut); font-variant-numeric: tabular-nums; }
.a3cl-chip { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #f1f5f9; color: #475569; }
.a3cl-chip.is-verde { background: #e7f6ec; color: #166534; } .a3cl-chip.is-ambar { background: #fff4dc; color: #92400e; }
.a3cl-chip.is-rojo { background: #fde8e8; color: #991b1b; } .a3cl-chip.is-azul { background: #eaf1fa; color: var(--n); }
.a3cl-chip.is-morado { background: #f1ebfd; color: #5b21b6; }
.a3cl-chip--g { font-size: 13px; padding: 6px 12px; }
.a3cl-det { display: grid; gap: 14px; }
.a3cl-tit { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.a3cl-tit h2 { margin: 0; font-size: 21px; font-weight: 600; }
.a3cl-tit p { margin: 3px 0 0; color: var(--mut); font-size: 13.5px; }
.a3cl-linea { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.a3cl-linea li { border-top: 4px solid #dbe5f3; padding-top: 6px; display: grid; }
.a3cl-linea li.is-hecho { border-color: var(--n); }
.a3cl-linea small { font-size: 11px; color: var(--mut); text-transform: uppercase; letter-spacing: .08em; }
.a3cl-linea b { font-size: 16px; font-variant-numeric: tabular-nums; }
.a3cl-aviso { margin: 0; border-radius: 12px; padding: 10px 14px; font-size: 14px; background: #eef3fa; color: var(--n); }
.a3cl-aviso.is-verde { background: #e7f6ec; color: #166534; } .a3cl-aviso.is-ambar { background: #fff4dc; color: #92400e; font-weight: 600; }
.a3cl-aviso.is-rojo { background: #fde8e8; color: #991b1b; font-weight: 600; }
.a3cl-cifras { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--mut); }
.a3cl-cifras b { color: var(--ink); font-size: 18px; }
.a3cl-cifras .a3cl-btn { margin-left: auto; }
.a3cl-tabla { display: grid; border: 1px solid var(--lin); border-radius: 14px; overflow: hidden; }
.a3cl-fila { display: grid; grid-template-columns: 96px 64px minmax(0, 1fr) 130px 210px; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid #eef2f7; }
.a3cl-fila--cab { border-top: 0; background: #f8fafc; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); padding: 8px 14px; }
.a3cl-fila.is-aus { opacity: .55; }
.a3cl-pos { font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; }
.a3cl-dorsal { font-weight: 700; color: var(--n); font-size: 16px; font-variant-numeric: tabular-nums; }
.a3cl-dep { display: grid; min-width: 0; }
.a3cl-dep b { font-weight: 600; font-size: 14.5px; }
.a3cl-dep small { font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3cl-accs { display: flex; justify-content: flex-end; }
.a3cl-acc { display: flex; gap: 6px; }
.a3cl-btn { height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--n); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.a3cl-btn--sec { background: #fff; color: var(--n); border: 1px solid var(--lin); }
.a3cl-btn:disabled { opacity: .45; cursor: not-allowed; }
.a3cl-nota { font-size: 13px; color: var(--mut); }
.a3cl-nota.is-ok { color: #166534; font-weight: 600; }
.a3cl-vacia { color: var(--mut); font-size: 14px; text-align: center; padding: 24px 8px; margin: 0; }
@media (max-width: 960px) {
  .a3cl-grid { grid-template-columns: 1fr; }
  .a3cl-lista { position: static; max-height: 46vh; }
  .a3cl-fila { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .a3cl-fila > :nth-child(1), .a3cl-fila--cab { display: none; }
  .a3cl-fila > :nth-child(4) { grid-column: 2; }
  .a3cl-accs { grid-column: 3; grid-row: 1 / span 2; }
  .a3cl-linea b { font-size: 14px; }
}
.a3cl-barra label.a3cl-fin { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; cursor: pointer; }
.a3cl-barra label.a3cl-fin > span { font-size: 14px; letter-spacing: 0; text-transform: none; color: inherit; }
.a3cl-btn--aus { background: #fff; color: #b42318; border: 1px solid #f3c4bf; }
.a3cl-btn--aus:hover:not(:disabled) { background: #fef3f2; }
.a3cl-cifras > .a3cl-acc { margin-left: auto; flex-wrap: wrap; }
.a3cl-cifras > .a3cl-acc .a3cl-btn { margin-left: 0; }
.a3cl-acc { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.a3cl-barra label.a3cl-fin input { width: 18px; height: 18px; min-width: 0; padding: 0; margin: 0; flex: none; }

/* Deportes de la cámara */
.a3cl-deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; margin: 0 0 12px; }
.a3cl-dep { position: relative; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; text-align: left; cursor: pointer; font: inherit; color: #0f172a; }
.a3cl-dep:hover { border-color: #94a3b8; }
.a3cl-dep__ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: #f1f5f9; }
.a3cl-dep__txt { display: grid; min-width: 0; }
.a3cl-dep__txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a3cl-dep__txt small { font-size: 11.5px; color: #64748b; }
.a3cl-dep.is-on { background: #0f3b7a; border-color: #0f3b7a; color: #fff; box-shadow: 0 6px 18px rgb(15 59 122 / .25); }
.a3cl-dep.is-on small { color: #c8d6ea; }
.a3cl-dep.is-on .a3cl-dep__ico { background: #ffca7d; }
.a3cl-dep__ab { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #16a34a; color: #fff; font: 700 11px/20px system-ui, sans-serif; font-style: normal; text-align: center; }
.a3cl-alcance { margin: 0 0 12px; }
@media (max-width: 760px) { .a3cl-deps { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

/* Cámara por partido (deportes de conjunto) */
.a3cl-partidos { display: grid; gap: 12px; }
.a3cl-partidos__barra { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.a3cl-partidos__barra .a3cl-buscar { flex: 1 1 220px; margin: 0; }
.a3cl-partidos__barra select { border: 1px solid #e2e8f0; border-radius: 10px; padding: 8px 10px; font: inherit; background: #fff; }
.a3cl-vacia--grande { padding: 30px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 16px; background: #fff; }
.a3cl-partido { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 12px 14px; display: grid; gap: 10px; }
.a3cl-partido.is-listo { border-color: #86efac; box-shadow: 0 0 0 3px rgb(22 163 74 / .08); }
.a3cl-partido.is-jugado { background: #f8fafc; }
.a3cl-partido header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.a3cl-partido__hora { display: grid; min-width: 86px; font-weight: 700; color: #0f3b7a; font-variant-numeric: tabular-nums; }
.a3cl-partido__hora small { font-weight: 500; color: #64748b; font-size: 12px; }
.a3cl-partido__fase { display: grid; flex: 1; min-width: 180px; }
.a3cl-partido__fase small { color: #64748b; font-size: 12px; }
.a3cl-partido__eqs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.a3cl-vs { align-self: center; font: 700 13px/1 Oswald, sans-serif; letter-spacing: .1em; color: #94a3b8; text-transform: uppercase; }
.a3cl-eq { border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; align-content: start; }
.a3cl-eq.is-verde { border-color: #86efac; background: #f0fdf4; }
.a3cl-eq.is-rojo { border-color: #fecaca; background: #fef2f2; }
.a3cl-eq__cab { display: flex; justify-content: space-between; align-items: center; }
.a3cl-eq__cab small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.a3cl-eq__nom { font-size: 15px; line-height: 1.25; }
.a3cl-eq__org { color: #64748b; font-size: 12px; }
.a3cl-eq__n { display: grid; gap: 3px; font-size: 12px; color: #475569; }
.a3cl-eq__n input { width: 110px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 8px; font: inherit; }
.a3cl-eq__acc { display: flex; gap: 6px; flex-wrap: wrap; }
.a3cl-btn { min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: #0f172a; }
.a3cl-btn.is-pri { background: #0f3b7a; border-color: #0f3b7a; color: #fff; }
.a3cl-btn.is-rojo { background: #fff; border-color: #fca5a5; color: #b91c1c; }
.a3cl-btn:disabled { opacity: .5; cursor: not-allowed; }
.a3cl-partido footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid #f1f5f9; padding-top: 8px; }
.a3cl-partido footer .a3cl-fin { font-size: 12.5px; color: #475569; }
@media (max-width: 760px) { .a3cl-partido__eqs { grid-template-columns: 1fr; } .a3cl-vs { justify-self: center; } }
.a3cl-partido label, .a3cl-eq__n span { text-transform: none !important; letter-spacing: 0 !important; }
