/* ============================================================
   CONEXA — El finde (js/finde.js)
   ------------------------------------------------------------
   Una entrada de color coral clavada en el tablón, con tres
   matrices para arrancar: jueves, viernes y sábado. Marcas tu
   noche y ves quién más sale. Se apoya en carnet.css y tablon.css.
   ============================================================ */
.cx-fn-sombra { filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.4)); transform: rotate(1.1deg); }
.cx-fn-entrada {
  --corte: 88px;   /* alto de las matrices: ahí van las dos muescas */
  background: var(--cx-coral) var(--cx-grano-papel); color: var(--cx-noche);
  -webkit-mask: radial-gradient(circle at 0 calc(100% - var(--corte)), transparent 9px, #000 9.5px) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% calc(100% - var(--corte)), transparent 9px, #000 9.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 calc(100% - var(--corte)), transparent 9px, #000 9.5px) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% calc(100% - var(--corte)), transparent 9px, #000 9.5px) right / 51% 100% no-repeat;
}
.cx-fn-cab { padding: 16px 20px 14px; }
.cx-fn-cab .cx-et { color: var(--cx-noche); }
.cx-fn-cab h3 { margin: 4px 0 0; font-weight: 900; font-stretch: 64%; font-size: 42px; line-height: 0.9; text-transform: uppercase; }
.cx-fn-cab p:last-child { margin: 7px 0 0; font-size: 14px; line-height: 1.35; }
.cx-fn-matrices { height: var(--corte); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px dashed var(--cx-noche); }
.cx-fn-matriz {
  min-width: 0; padding: 0; border: 0; border-left: 2px dashed var(--cx-noche); background: none; color: var(--cx-noche); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit;
}
.cx-fn-matriz:first-child { border-left: 0; }
.cx-fn-matriz b { font-weight: 900; font-stretch: 70%; font-size: 14px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; }
.cx-fn-matriz span { font: 400 27px/1.05 var(--cx-num); }
.cx-fn-matriz small { font-weight: 700; font-size: 11.5px; line-height: 1; }
.cx-fn-matriz[aria-pressed="true"] { background: var(--cx-noche); color: var(--cx-amarillo); }
.cx-fn-matriz:disabled { cursor: default; opacity: 0.45; }
.cx-tb .cx-fn-matriz:focus-visible { outline-offset: -5px; outline-color: var(--cx-noche); }
.cx-tb .cx-fn-matriz[aria-pressed="true"]:focus-visible { outline-color: var(--cx-amarillo); }
.cx-fn-matriz.recien span { animation: cxSella .4s cubic-bezier(.2, 1.6, .4, 1) both; }

/* Quién sale cada noche: una hoja con un renglón por noche */
.cx-fn-pila { flex: none; display: flex; min-width: 36px; }
.cx-fn-pila .cx-retrato { width: 26px; height: 34px; margin-left: -9px; box-shadow: 0 0 0 2px var(--cx-hoja); font-size: 12px; }
.cx-fn-pila .cx-retrato:first-child { margin-left: 0; }
