/* firma-espera.css */

html.con-acta, html.con-acta body { overflow: hidden; }

.acta {
  --papel: #fffdf8;
  --tinta: #15130f;
  --azul: #1d3f8f;
  --sello: rgb(190 24 34 / 0.82);
  --letra: clamp(12px, 1.55vh, 14.5px);
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  color: var(--text-primary);
  background: var(--ink-950);
  opacity: 0;
  transition: opacity 240ms var(--ease, ease);
}
.acta.es-visible { opacity: 1; }

.acta__fondo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: url('/assets/fotos/1600/modal-firma-2.webp') center / cover;
}
.acta__foto {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1400ms ease;
}
.acta__foto--on { opacity: 1; animation: acta-acerca 12s linear both; }
@keyframes acta-acerca { from { transform: scale(1.04); } to { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .acta__foto--on { animation: none; } }
.acta__fondo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 640px at 22% 30%, color-mix(in srgb, var(--club-color) 42%, transparent), transparent 70%),
    linear-gradient(180deg, rgb(0 0 0 / 0.74), rgb(0 0 0 / 0.9));
}

.acta__cerrar {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: var(--r-pill, 999px);
  background: rgb(0 0 0 / 0.35);
  color: var(--text-primary);
  font: 700 14px/1 var(--font-ui);
  cursor: pointer;
}
.acta__cerrar:hover { background: rgb(255 255 255 / 0.12); }
@media (min-width: 901px) { .acta__cerrar { display: none; } }

.acta__mesa {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 660px);
  gap: clamp(28px, 5vw, 72px);
  justify-content: center;
  align-items: center;
  padding: 56px 32px 24px;
  min-height: 0;
}

.acta__sala { display: grid; gap: 22px; align-content: center; }
.acta__escudo {
  width: clamp(96px, 16vh, 150px);
  height: clamp(96px, 16vh, 150px);
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgb(0 0 0 / 0.5));
}
.acta__rotulo, .acta__acto-rotulo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.acta__titulo {
  margin: 8px 0 0;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}
.acta__liga { margin-top: 8px; font-size: 15px; color: var(--text-secondary); }
.acta__voz {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  color: #fff;
}
.acta__presi { display: flex; align-items: center; gap: 14px; }
.acta__cara {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.1);
  outline: 2px solid var(--club-color);
  font-weight: 800;
  font-size: 18px;
}
.acta__presi b { display: block; font-size: 17px; }
.acta__presi small { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.acta__lado { display: grid; gap: 14px; min-height: 0; }

.acta__papel {
  position: relative;
  padding: 22px 28px 16px;
  border-radius: 6px;
  background: var(--papel);
  color: var(--tinta);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: var(--letra);
  line-height: 1.42;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.04), 0 18px 50px rgb(0 0 0 / 0.55);
}
.acta__membrete {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 2px solid #24211c;
}
.acta__membrete-escudo { width: 44px; height: 44px; object-fit: contain; flex: none; }
.acta__membrete b { display: block; font-size: 1.15em; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; }
.acta__membrete small {
  display: block;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4336;
}
.acta__lugar { margin: 0 0 0 auto; text-align: right; font-style: italic; font-size: 0.92em; color: #4a4336; }
.acta__nombre-del-papel {
  margin: 2px 0 8px;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.acta__intro { margin: 0 0 8px; }
.acta__clausulas {
  display: grid;
  gap: 0.45em;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: clausula;
}
.acta__clausulas li { display: grid; grid-template-columns: 1.7em 1fr; counter-increment: clausula; }
.acta__clausulas li::before { content: counter(clausula) '.'; font-weight: 700; }
.acta__t {
  font-family: var(--font-ui);
  font-size: 0.78em;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.acta__firmas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  margin-top: 12px;
}
.acta__zona { position: relative; height: clamp(58px, 9vh, 84px); }
.acta__firma--dt .acta__zona {
  border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(90deg, rgb(29 63 143 / 0.06) 0 1px, transparent 1px 10px);
  outline: 1.5px dashed rgb(29 63 143 / 0.45);
  outline-offset: -1px;
}
.acta--firmada .acta__firma--dt .acta__zona { background: none; outline-color: transparent; }
.acta__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.acta__pista {
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--azul);
  pointer-events: none;
}
.acta__pista::before { content: '✕ '; font-size: 15px; }
.acta__borrar {
  position: absolute;
  top: 4px;
  right: 4px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgb(29 63 143 / 0.08);
  color: var(--azul);
  font: 700 12px/1 var(--font-ui);
  cursor: pointer;
}
.acta--presi .acta__borrar { display: none; }
.acta__linea { padding-top: 4px; border-top: 1.5px solid #24211c; font-size: 0.92em; line-height: 1.25; }
.acta__linea b { display: block; }
.acta__linea small {
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4336;
}
.acta__rubrica {
  position: absolute;
  left: 6px;
  bottom: 6px;
  max-width: calc(100% - 12px);
  overflow: hidden;
  font-family: 'Snell Roundhand', 'Brush Script MT', 'Segoe Script', cursive;
  font-weight: 700;
  font-size: clamp(26px, 4.2vh, 38px);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--azul);
  transform: rotate(-5deg);
  transform-origin: left bottom;
  pointer-events: none;
}
.acta__rubrica--presi { clip-path: inset(0 100% 0 0); }
.acta--presi .acta__rubrica--presi { animation: acta-escribe 700ms cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.acta--escribe .acta__rubrica--dt { animation: acta-escribe 760ms cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes acta-escribe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.acta__sello {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 112px;
  height: 112px;
  margin-left: -56px;
  display: grid;
  place-items: center;
  border: 3px double var(--sello);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-14deg) scale(1.7);
  pointer-events: none;
}
.acta__sello-escudo { width: 50px; height: 50px; rotate: 14deg;  object-fit: contain; opacity: 0.5; filter: grayscale(1) sepia(1) saturate(7) hue-rotate(-30deg); }
.acta__sello svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.acta__sello text { font-family: var(--font-ui); font-size: 10px; font-weight: 800; fill: var(--sello); }
.acta--sello .acta__sello { animation: acta-sella 340ms cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards; }
@keyframes acta-sella {
  0% { opacity: 0; transform: rotate(-14deg) scale(1.7); }
  70% { opacity: 1; transform: rotate(-14deg) scale(0.94); }
  100% { opacity: 1; transform: rotate(-14deg) scale(1); }
}

.acta__volanta {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--text-secondary);
}
.acta__club { display: block; max-width: 100%; min-width: 0; white-space: nowrap; }
.acta__club.acta--parte { white-space: normal; text-wrap: balance; }
.acta__liga, .acta__rotulo, .acta__membrete b, .acta__presi small, .acta__linea small, .acta__dia-bajada { text-wrap: balance; }
.acta__nombre-club, .acta__dato { white-space: nowrap; text-wrap-mode: nowrap; }
.acta--parte .acta__nombre-club, .acta--parte .acta__dato { white-space: normal; }
.acta__membrete-nombre, .acta__quien, .acta__presi > div, .acta__linea, .acta__firma { min-width: 0; }
.acta__presi small, .acta__linea small { display: block; max-width: 100%; }
.acta__acto-centro, .acta__dia { max-width: 100%; min-width: 0; }
.acta__acto-club, .acta__dia-titulo { display: grid; justify-items: center; gap: 8px; max-width: min(92vw, 1100px); min-width: 0; margin: 0; }
.acta__acto-club .acta__club { font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; }
.acta__dia-titulo .acta__volanta { margin: 0; font-size: clamp(18px, 2vw, 26px); }

.acta__botones { display: flex; justify-content: flex-end; gap: 12px; }
.acta__boton { min-height: 52px; padding: 0 22px; font-size: 16px; }
.acta__boton--si:disabled { background: var(--accent-degradado); color: var(--text-on-accent); border-color: transparent; opacity: 0.38; }
.acta__aviso:empty { display: none; }

.acta__acto {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(900px 600px at 50% 40%, color-mix(in srgb, var(--club-color) 45%, transparent), transparent 70%),
    linear-gradient(180deg, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.85)),
    var(--foto-acto, url('/assets/fotos/1600/modal-firma-8.webp')) center / cover;
  transition: opacity 360ms var(--ease, ease), visibility 0s 360ms;
}
.acta--dia .acta__acto {
  background:
    radial-gradient(900px 600px at 50% 40%, color-mix(in srgb, var(--club-color) 40%, transparent), transparent 70%),
    linear-gradient(180deg, rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.84)),
    var(--foto-dia, url('/assets/fotos/1600/predio-tarde.webp')) center / cover;
}
.acta--acto .acta__acto { visibility: visible; opacity: 1; transition: opacity 360ms var(--ease, ease); }
.acta__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.acta--acto .acta__flash { animation: acta-flash 700ms ease-out 80ms; }
@keyframes acta-flash { 0% { opacity: 0; } 12% { opacity: 0.92; } 100% { opacity: 0; } }
.acta__acto-centro, .acta__dia {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}
.acta__acto-escudo { width: clamp(110px, 18vh, 160px); height: clamp(110px, 18vh, 160px); object-fit: contain; filter: drop-shadow(0 12px 32px rgb(0 0 0 / 0.5)); }
.acta__acto-nombre {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transform: skewX(-6deg);
}
.acta__acto-nombre span { display: inline-block; padding: 0 0.25em; }
.acta--acto .acta__acto-nombre span { animation: acta-escribe 760ms cubic-bezier(0.65, 0, 0.35, 1) 200ms both; }
.acta__dia { opacity: 0; }
.acta.acta--corrida { visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 360ms var(--ease, ease), visibility 0s 360ms; }
.acta--dia .acta__acto-centro { opacity: 0; transition: opacity 360ms; }
.acta--dia .acta__dia { opacity: 1; transition: opacity 420ms 200ms; }
.acta__dia-titulo { margin: 0; font-size: clamp(2rem, 5.6vw, 4rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; }
.acta__dia-bajada { margin: 0; font-size: clamp(16px, 1.6vw, 21px); color: var(--text-secondary); }

@media (max-width: 900px) {
  .acta { --letra: clamp(11.5px, 1.82vh, 15px); }
  .acta__mesa {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  }
  .acta__sala {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding-right: 104px;
  }
  .acta__escudo { width: 44px; height: 44px; }
  .acta__titulo { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
  .acta__volanta { margin-bottom: 1px; font-size: 11px; }
  .acta__quien { display: flex; flex-direction: column-reverse; gap: 3px; }
  .acta__rotulo { font-size: 10px; letter-spacing: 0.08em; }
  .acta__liga, .acta__voz, .acta__presi { display: none; }
  .acta__cerrar { top: 14px; right: 12px; min-height: 38px; font-size: 13px; padding: 0 12px; }
  .acta__lado { grid-template-rows: minmax(0, 1fr) auto auto; gap: 10px; }
  .acta__papel { padding: 12px 14px 10px; overflow: hidden; display: flex; flex-direction: column; }
  .acta__membrete { display: none; }
  .acta__nombre-del-papel { font-size: 11px; margin: 0 0 6px; }
  .acta__clausulas li { grid-template-columns: 1.4em 1fr; }
  .acta__firmas { gap: 12px; margin-top: auto; padding-top: 10px; }
  .acta__zona { height: clamp(62px, 13vh, 112px); }
  .acta__clausulas { gap: 0.6em; }
  .acta__rubrica { font-size: 25px; }
  .acta__sello { width: 84px; height: 84px; margin-left: -42px; bottom: 26px; }
  .acta__sello-escudo { width: 36px; height: 36px; }
  .acta__botones { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
  .acta__botones [data-acta='pensarlo'] { display: none; }
  .acta__boton { min-height: 50px; padding: 0 10px; font-size: 15px; justify-content: center; }
}
@media (max-width: 900px) and (min-height: 760px) {
  .acta__membrete { display: flex; padding-bottom: 8px; margin-bottom: 8px; }
  .acta__membrete-escudo { width: 34px; height: 34px; }
  .acta__membrete b { font-size: 1em; }
  .acta__lugar { display: none; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .acta__mesa { padding-top: 48px; }
  .acta__sala { gap: 14px; }
  .acta__papel { padding: 16px 24px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .acta, .acta.acta--corrida, .acta__acto, .acta--dia .acta__acto-centro, .acta--dia .acta__dia { transition: none; }
  .acta * { animation: none !important; }
  .acta--presi .acta__rubrica--presi { clip-path: none; }
  .acta--sello .acta__sello { opacity: 1; transform: rotate(-14deg); }
}

/* acto-firma.css */

.acto-firma {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--sp-7);
  background:
    radial-gradient(900px 600px at 50% 40%,
      color-mix(in srgb, var(--club-alto) 45%, transparent) 0%, transparent 70%),
    radial-gradient(1400px 900px at 50% 120%, var(--club-hondo) 0%, transparent 60%),
    var(--ink-950);
  opacity: 0;
  transition: opacity 260ms var(--ease);
}
.acto-firma.es-visible { opacity: 1; }
.acto-firma__centro {
  display: grid;
  justify-items: center;
  gap: var(--sp-5);
  text-align: center;
}
.acto-firma__escudo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: var(--halo-filtro, ) var(--escudo-sobre-foto) drop-shadow(0 12px 32px rgb(0 0 0 / 0.5));
}
.acto-firma__rotulo {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.acto-firma__nombre {
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  transform: skewX(-6deg);
}
.acto-firma__nombre span { display: inline-block; padding: 0 0.25em; clip-path: inset(0 100% 0 0); }
.acto-firma__raya {
  width: min(420px, 70vw);
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.acto-firma.es-visible .acto-firma__escudo { animation: acto-escudo-llega 560ms cubic-bezier(0.34, 1.56, 0.64, 1) 80ms both; }
.acto-firma.es-visible .acto-firma__rotulo { animation: acto-sube 400ms var(--ease-entrada) 260ms both; }
.acto-firma.es-visible .acto-firma__nombre span { animation: se-escribe 760ms cubic-bezier(0.65, 0, 0.35, 1) 420ms forwards; }
.acto-firma.es-visible .acto-firma__raya { animation: se-subraya 420ms var(--ease-entrada) 1080ms forwards; }
@keyframes se-escribe { to { clip-path: inset(0 0 0 0); } }
@keyframes se-subraya { to { transform: scaleX(1); } }
@keyframes acto-escudo-llega { from { opacity: 0; transform: scale(0.7) rotate(-6deg); } }
@keyframes acto-sube { from { opacity: 0; transform: translateY(10px); } }

@media (prefers-reduced-motion: reduce) {
  .acto-firma { transition: none; }
  .acto-firma.es-visible * { animation: none !important; }
  .acto-firma__nombre span { clip-path: none; }
  .acto-firma__raya { transform: none; }
}

.conferencia {
  display: grid;
  gap: var(--sp-5);
  justify-items: center;
  width: min(720px, 92vw);
  margin-top: var(--sp-7);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease-entrada);
}
.conferencia.es-visible { opacity: 1; transform: none; }
.conferencia__quien {
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label-color);
}
.conferencia__pregunta { font-size: var(--fs-xl); font-weight: 700; color: var(--text-primary); text-align: center; }
.conferencia__opciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  width: 100%;
}
.conferencia__opcion {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  justify-items: center;
  padding: var(--sp-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--ink-950) 80%, transparent);
  color: var(--text-primary);
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.conferencia__opcion strong { font-size: var(--fs-md); }
.conferencia__opcion span { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.35; }
@media (hover: hover) {
  .conferencia__opcion:hover:not(:disabled) { border-color: var(--accent); transform: translateY(-2px); }
}
.conferencia__opcion:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.conferencia__opcion.es-elegida { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--ink-950)); }
.conferencia__opcion:disabled:not(.es-elegida) { opacity: 0.45; cursor: default; }
@media (prefers-reduced-motion: reduce) { .conferencia { transition: none; transform: none; } }
.acto-firma { overflow-y: auto; }

.acto-firma { isolation: isolate; background: var(--ink-950); }
.acto-firma__fondo { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.acto-firma__foto {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1600ms var(--ease);
}
.acto-firma__foto--on { opacity: 1; animation: acto-acerca 12s linear both; }
@keyframes acto-acerca { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.acto-firma__fondo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 640px at 30% 45%, color-mix(in srgb, var(--club-alto) 42%, transparent), transparent 70%),
    radial-gradient(1400px 900px at 50% 120%, color-mix(in srgb, var(--club-hondo) 80%, transparent), transparent 60%),
    linear-gradient(90deg, rgb(6 7 10 / 0.86), rgb(6 7 10 / 0.62) 50%, rgb(6 7 10 / 0.86));
}
.acto-firma__id { display: grid; justify-items: center; gap: var(--sp-5); }

.acto-firma--conferencia .acto-firma__centro {
  width: min(1440px, 100%);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 64px;
  text-align: left;
}
.acto-firma--conferencia .acto-firma__id { justify-items: center; text-align: center; animation: acto-se-corre 520ms var(--ease-entrada) both; }
.acto-firma--conferencia .acto-firma__escudo { width: 180px; height: 180px; }
.acto-firma--conferencia .acto-firma__nombre { font-size: clamp(2.4rem, 4vw, 3.9rem); }
.acto-firma--conferencia .acto-firma__rotulo { font-size: var(--fs-sm); }

.acto-firma--conferencia .acto-firma__raya { width: min(420px, 100%); transform-origin: center; }
@keyframes acto-se-corre { from { opacity: 0.4; transform: translateX(40px); } to { opacity: 1; transform: none; } }

.acto-firma--conferencia .conferencia {
  width: 100%; margin-top: 0; justify-items: stretch; gap: var(--sp-4);
  padding: var(--sp-7, 32px); border-radius: 20px;
  background: rgb(10 12 16 / 0.62); border: 1px solid rgb(255 255 255 / 0.1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
}
.acto-firma--conferencia .conferencia__quien { font-size: var(--fs-xs); display: flex; align-items: center; gap: var(--sp-3); color: var(--accent-texto, var(--accent)); }
.conferencia__vivo { width: 8px; height: 8px; border-radius: 50%; background: #ff4b4b; box-shadow: 0 0 0 0 rgb(255 75 75 / 0.6); animation: conf-vivo 1.6s ease-out infinite; }
@keyframes conf-vivo { to { box-shadow: 0 0 0 10px rgb(255 75 75 / 0); } }
.acto-firma--conferencia .conferencia__pregunta {
  margin: 0; text-align: left; font-size: clamp(1.9rem, 2.9vw, 2.75rem); line-height: 1.05; font-weight: 800;
  font-stretch: var(--wd-condensed); text-wrap: balance;
}
.acto-firma--conferencia .conferencia__opciones { grid-template-columns: 1fr; gap: var(--sp-3); }
.acto-firma--conferencia .conferencia__opcion {
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'cita comp' 'pista comp';
  justify-items: start; align-items: center; gap: var(--sp-1) var(--sp-5);
  padding: var(--sp-5) var(--sp-6); text-align: left; border-radius: 16px;
  background: rgb(255 255 255 / 0.05); border-color: rgb(255 255 255 / 0.1);
  animation: conf-asoma 420ms var(--ease-entrada) both; animation-delay: calc(var(--k) * 90ms + 120ms);
}
@keyframes conf-asoma { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
.acto-firma--conferencia .conferencia__opcion { transition: transform 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.conferencia__opcion .conferencia__cita { transition: color 200ms var(--ease); }
.conferencia__riesgo s { transition: background 200ms var(--ease), transform 200ms var(--ease); }
@media (hover: hover) {
  .acto-firma--conferencia .conferencia__opcion:hover:not(:disabled) {
    transform: translateX(6px);
    background: color-mix(in srgb, var(--accent) 9%, rgb(255 255 255 / 0.06));
    border-color: var(--accent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 14px 40px rgb(0 0 0 / 0.4), 0 0 32px color-mix(in srgb, var(--accent) 16%, transparent);
  }
  .acto-firma--conferencia .conferencia__opcion:hover:not(:disabled) .conferencia__cita { color: var(--accent-texto, var(--accent)); }
  .acto-firma--conferencia .conferencia__opcion:hover:not(:disabled) .conferencia__riesgo s { transform: scaleY(1.3); }
  .acto-firma--conferencia .conferencia__opcion:hover:not(:disabled) .conferencia__riesgo[data-n='0'] s { background: rgb(255 255 255 / 0.3); }
}
.acto-firma--conferencia .conferencia__opcion:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.conferencia__opcion .conferencia__cita { grid-area: cita; font-size: 1.875rem; font-weight: 800; color: var(--text-primary); line-height: 1.15; }
.conferencia__opcion .conferencia__pista { grid-area: pista; font-size: var(--fs-md); color: var(--text-secondary); line-height: 1.4; }
.conferencia__opcion .conferencia__compromiso { grid-area: comp; display: grid; justify-items: end; gap: 8px; text-align: right; min-width: 12.5rem; }
.conferencia__compromiso b { font-size: var(--fs-md); color: var(--text-primary); }
.conferencia__compromiso small { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-muted); }
.conferencia__riesgo { display: flex; gap: 4px; }
.conferencia__riesgo s { display: block; width: 30px; height: 7px; border-radius: 3px; background: rgb(255 255 255 / 0.14); text-decoration: none; }
.conferencia__riesgo[data-n='3'] s { background: var(--warn); }
.conferencia__riesgo[data-n='2'] s:nth-child(-n+2) { background: var(--accent); }
.conferencia__opcion.es-elegida { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, rgb(10 12 16 / 0.8)); }

@media (max-width: 900px) {
  .acto-firma--conferencia { padding-top: 76px; place-items: start center; }
  .acto-firma--conferencia .acto-firma__centro { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); justify-items: stretch; }
  .acto-firma--conferencia .acto-firma__id { justify-items: center; text-align: center; animation: none; }
  .acto-firma--conferencia .acto-firma__escudo { width: 96px; height: 96px; }
  .acto-firma--conferencia .acto-firma__nombre { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .acto-firma--conferencia .conferencia { padding: var(--sp-4); }
  .acto-firma--conferencia .conferencia__pregunta { font-size: var(--fs-2xl); text-align: center; }
  .acto-firma--conferencia .conferencia__opcion { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'cita' 'pista' 'comp'; }
  .conferencia__opcion .conferencia__compromiso { justify-items: start; text-align: left; grid-template-columns: auto auto; align-items: center; column-gap: var(--sp-3); }
  .conferencia__compromiso small { grid-column: 1 / -1; }
  .conferencia__opcion .conferencia__cita { font-size: var(--fs-xl); }
  .conferencia__compromiso b { font-size: var(--fs-md); }
  .conferencia__opcion .conferencia__pista { font-size: var(--fs-md); }
}
@media (prefers-reduced-motion: reduce) {
  .acto-firma__foto--on, .acto-firma--conferencia .acto-firma__id, .acto-firma--conferencia .conferencia__opcion, .conferencia__vivo { animation: none; }
}

.acto-firma--tapas { padding: clamp(16px, 3vh, 40px) clamp(16px, 3.5vw, 60px); }
.acto-firma--tapas .acto-firma__centro {
  width: min(1440px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'pregunta id' 'tapas tapas';
  align-items: stretch;
  justify-items: stretch;
  gap: clamp(14px, 2.6vh, 26px) 22px;
  text-align: left;
}
.acto-firma--tapas .conferencia--tapas { display: contents; }
.acto-firma--tapas .acto-firma__id {
  grid-area: id; grid-template-columns: auto auto; grid-template-areas: 'esc rot' 'esc nom' 'esc raya';
  justify-items: start; align-content: center; column-gap: 18px; row-gap: 2px;
  padding: 14px 24px 14px 16px; text-align: left;
  background: rgb(10 12 16 / 0.8); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: acto-se-corre 520ms var(--ease-entrada) both;
}
.acto-firma--tapas .acto-firma__escudo { grid-area: esc; width: 72px; height: 72px; align-self: center; }
.acto-firma--tapas .acto-firma__rotulo { grid-area: rot; font-size: var(--fs-xs); }
.acto-firma--tapas .acto-firma__nombre { grid-area: nom; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.05; }
.acto-firma--tapas .acto-firma__raya { grid-area: raya; width: 100%; margin-top: 6px; }
.tapas-conf__pregunta {
  grid-area: pregunta; outline: none; display: flex; align-items: center; gap: 16px; padding: 16px 22px;
  background: rgb(10 12 16 / 0.8); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 16px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(8px); transition: opacity 300ms var(--ease), transform 300ms var(--ease-entrada);
}
.conferencia--tapas.es-visible .tapas-conf__pregunta { opacity: 1; transform: none; }
.tapas-conf__cara {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-800); border: 2px solid rgb(255 255 255 / 0.14);
  font-size: var(--fs-sm); font-weight: 700; color: var(--text-secondary);
}
.acto-firma--tapas .conferencia__quien {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; margin: 0 0 4px;
  font-size: var(--fs-sm); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-secondary);
}
.acto-firma--tapas .conferencia__quien b { color: var(--text-primary); font-weight: 700; }
.acto-firma--tapas .conferencia__vivo { margin-right: 4px; }
.acto-firma--tapas .conferencia__pregunta {
  margin: 0; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.05; font-weight: 800;
  font-stretch: var(--wd-condensed); text-wrap: balance; text-align: left;
}
.tapas-conf { grid-area: tapas; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 22px; }
.tapa-conf {
  display: flex; flex-direction: column; gap: clamp(6px, 1.1vh, 10px); text-align: left;
  padding: clamp(12px, 2vh, 18px) 22px; border: 0; border-radius: 6px;
  background: #f3efe6; color: #151515; font: inherit; cursor: pointer;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.45);
  transform: rotate(var(--giro, 0deg));
  animation: tapa-cae 480ms var(--ease-entrada) backwards; animation-delay: calc(var(--k) * 110ms + 160ms);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 460ms cubic-bezier(0.22, 1, 0.36, 1), filter 460ms ease, opacity 300ms ease;
}
@keyframes tapa-cae { from { opacity: 0; transform: translateY(18px) rotate(calc(var(--giro, 0deg) * 3)); } }
@media (hover: hover) {
  .tapa-conf:hover:not(:disabled) { transform: rotate(calc(var(--giro, 0deg) * 0.25)) translateY(-8px) scale(1.015); box-shadow: 0 0 0 2px var(--accent), 0 30px 60px rgb(0 0 0 / 0.5); }
  .tapas-conf:has(.tapa-conf:hover:not(:disabled)) .tapa-conf:not(:hover):not(.es-elegida):not(:disabled) { transform: rotate(var(--giro, 0deg)) scale(0.985); filter: brightness(0.82); }
  .tapa-conf__foto { transition: filter 600ms ease; }
  .tapa-conf:hover:not(:disabled) .tapa-conf__foto { filter: grayscale(0.55) contrast(1.05); }
}
.tapa-conf:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tapa-conf.es-elegida { transform: rotate(0) scale(1.02); box-shadow: 0 0 0 4px var(--accent), 0 24px 50px rgb(0 0 0 / 0.5); }
.tapa-conf:disabled:not(.es-elegida) { opacity: 0.4; cursor: default; }
.tapa-conf__cabeza { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 3px double #151515; }
.tapa-conf__logo {
  display: block; height: 26px; width: calc(26px * var(--aspecto, 4)); max-width: 150px; background-color: #151515;
  -webkit-mask: var(--logo) left center / contain no-repeat; mask: var(--logo) left center / contain no-repeat;
}
.tapa-conf__nombre { font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.tapa-conf__cabeza small { flex: none; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #555; }
.tapa-conf__foto {
  position: relative; display: block; height: clamp(84px, 21vh, 260px); border-radius: 3px;
  background-size: cover; background-position: center; filter: grayscale(1) contrast(1.05);
}
.tapa-conf__foto small {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 10px;
  background: rgb(243 239 230 / 0.94); color: #444; font-size: 12px; font-style: italic;
}
.tapa-conf__titular {
  font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #151515;
  font-size: clamp(1.25rem, 2vw, 2.125rem); line-height: 1.1; text-wrap: balance;
}
.tapa-conf__bajada { font-size: var(--fs-sm); color: #333; line-height: 1.4; }
.tapa-conf__pie { margin-top: auto; display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid #c9c2b2; font-size: var(--fs-sm); color: #333; }
.tapa-conf__compromiso { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 2px; }
.tapa-conf__compromiso b { font-size: var(--fs-md); color: #151515; }
.tapa-conf__pie em { font-style: normal; font-weight: 700; color: #1d7a4f; }
.tapa-conf__pie u { text-decoration: none; font-weight: 700; color: #b33a2c; }
.tapa-conf .conferencia__riesgo s { background: #d6d0c2; width: 24px; height: 6px; }
.tapa-conf .conferencia__riesgo[data-n='3'] s { background: #e08a12; }
.tapa-conf .conferencia__riesgo[data-n='2'] s:nth-child(-n+2) { background: #8a9a00; }

@media (max-width: 900px) {
  .acto-firma--tapas { place-items: start center; padding: 16px; }
  .acto-firma--tapas .acto-firma__centro { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'id' 'pregunta' 'tapas'; gap: 10px; }
  .acto-firma--tapas .acto-firma__id { animation: none; padding: 10px 16px 10px 10px; column-gap: 12px; }
  .acto-firma--tapas .acto-firma__escudo { width: 44px; height: 44px; }
  .acto-firma--tapas .acto-firma__nombre { font-size: 1.5rem; }
  .tapas-conf__pregunta { padding: 12px 14px; gap: 10px; }
  .tapas-conf__cara { width: 36px; height: 36px; font-size: 12px; }
  .tapas-conf__acto { display: none; }
  .acto-firma--tapas .acto-firma__rotulo { font-size: 11px; }
  .acto-firma--tapas .conferencia__pregunta { font-size: 1.5rem; }
  .tapas-conf { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tapa-conf { transform: none; padding: 10px 14px; gap: 5px; }
  .tapa-conf__foto, .tapa-conf__bajada { display: none; }
  .tapa-conf__logo { height: 18px; width: calc(18px * var(--aspecto, 4)); }
  .tapa-conf__nombre { font-size: 1.125rem; }
  .tapa-conf__titular { font-size: 1.1875rem; }
  .tapa-conf__pie { padding-top: 8px; }
}
@media (max-width: 900px) and (max-height: 740px) {
  .acto-firma--tapas { padding-top: 10px; padding-bottom: 10px; }
  .acto-firma--tapas .acto-firma__centro { gap: 8px; }
  .acto-firma--tapas .acto-firma__rotulo { display: none; }
  .acto-firma--tapas .acto-firma__id { padding: 6px 14px 6px 8px; }
  .acto-firma--tapas .acto-firma__escudo { width: 34px; height: 34px; }
  .acto-firma--tapas .acto-firma__nombre { font-size: 1.25rem; }
  .acto-firma--tapas .acto-firma__raya { margin-top: 3px; }
  .tapas-conf__pregunta { padding: 8px 12px; }
  .acto-firma--tapas .conferencia__quien { font-size: var(--fs-xs); margin-bottom: 2px; }
  .acto-firma--tapas .conferencia__pregunta { font-size: 1.3125rem; }
  .tapas-conf { gap: 8px; }
  .tapa-conf { padding: 8px 12px; gap: 4px; }
  .tapa-conf__cabeza { padding-bottom: 5px; }
  .tapa-conf__cabeza small { display: none; }
  .tapa-conf__titular { font-size: 1.0625rem; }
  .tapa-conf__pie { padding-top: 6px; gap: 2px; font-size: var(--fs-xs); }
  .tapa-conf__compromiso b { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: reduce) {
  .tapa-conf, .acto-firma--tapas .acto-firma__id { animation: none; }
  .tapas-conf__pregunta { transition: none; transform: none; }
}

/* asuncion-seleccion.css */
.acta--seleccion .acta__bandera { object-fit: contain; border-radius: 4px; box-shadow: 0 10px 28px rgb(0 0 0 / 0.45); }
.acta--seleccion .acta__acto-escudo.acta__bandera { width: auto; max-width: min(240px, 60vw); height: auto; max-height: 150px; }
.acto-firma--seleccion .acto-firma__bandera { width: auto; height: auto; max-width: 168px; max-height: 112px; border-radius: 4px; }
.acto-firma--seleccion .acto-firma__rotulo span { display: block; }
.acto-firma--seleccion .acto-firma__rotulo .acta__nombre-club {
  margin-top: 6px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; letter-spacing: -0.01em; text-transform: none;
  color: var(--text-primary); white-space: nowrap;
}
@media (max-width: 900px) {
  .acto-firma--seleccion.acto-firma--conferencia .acto-firma__bandera { max-width: 96px; max-height: 64px; }
  .acto-firma--seleccion .acto-firma__rotulo .acta__nombre-club { font-size: 22px; }
}

/* menu.css */

.menu {
  position: fixed;
  z-index: var(--z-flotante);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  min-width: 200px;
  max-width: 340px;
  max-height: calc(var(--alto-ventana) - 2 * var(--sp-4));
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--sp-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg-panel);
}

.menu__item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: var(--sp-4);
  min-height: 26px;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-xs);
  font-size: var(--fs-md);
  color: var(--text-secondary);
  text-align: left;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

@media (pointer: coarse) and (max-width: 860px) {
  .menu__item { min-height: 44px; }
}

.menu__item .i { color: var(--icon-quiet); }

.menu__hueco { width: 13px; flex: none; }

.menu__item:focus {
  background: var(--bg-hover);
  color: var(--text-primary);
}
@media (hover: hover) {
  .menu__item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
  }
}

.menu__item:focus .i { color: inherit; }
@media (hover: hover) {
  .menu__item:hover .i { color: inherit; }
}

.menu__item[disabled] {
  color: var(--text-disabled);
  cursor: default;
  background: none;
}

.menu__item[disabled] .i { color: var(--text-disabled); }

.menu__texto {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu__pista {
  margin-left: auto;
  padding-left: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu__pie {
  margin: var(--sp-2) 0 0;
  padding: var(--sp-3) var(--sp-3) var(--sp-2);
  border-top: 1px solid var(--line-hairline);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.menu__sep {
  height: 1px;
  margin: var(--sp-2) 0;
  border: 0;
  background: var(--line-hairline);
}

.menu { animation: menu-aparece var(--dur-fast) var(--ease); }

@keyframes menu-aparece { from { opacity: 0; } }

.menu[data-yendose] {
  animation: menu-se-va var(--dur-fast) var(--ease-salida) forwards;
  pointer-events: none;
}

@keyframes menu-se-va { to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .menu { animation: none; }
  .menu[data-yendose] { animation-duration: 1ms; }
}


.menu__grupo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  min-width: 0;
}

.menu__item--sigue {
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 700;
}
.menu__item--sigue .i { color: var(--text-on-accent); }
.menu__item--sigue:focus { background: var(--accent-strong); color: var(--text-on-accent); }
@media (hover: hover) {
  .menu__item--sigue:hover { background: var(--accent-strong); color: var(--text-on-accent); }
}
.menu__rival {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  flex: none;
  margin-left: auto;
  padding-left: var(--sp-4);
  font-size: var(--fs-2xs);
  font-weight: 500;
  white-space: nowrap;
}

.menu__escudo { flex: none; }

.menu__titulo {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-width: 0;
  padding: var(--sp-2) var(--sp-3) var(--sp-1);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.menu__titulo .i { color: var(--icon-quiet); flex: none; }
.menu__titulo-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu__salidas {
  display: grid;
  grid-template-columns: repeat(var(--salidas, 3), minmax(0, 1fr));
  gap: var(--sp-1);
}
.menu__salida {
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-1);
  font-size: var(--fs-2xs);
  text-align: center;
}
.menu__salida-txt {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu__rotulo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
  padding-block: var(--sp-1);
}
.menu__rotulo > .menu__pista {
  margin-left: 0;
  padding-left: 0;
  font-size: var(--fs-2xs);
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* movimiento.css */


@view-transition { navigation: auto; }


.chrome { view-transition-name: chrome; }
.crest[data-f='crest-club'] { view-transition-name: escudo-club; }

::view-transition-old(chrome),
::view-transition-new(chrome) {
  object-fit: none;
  object-position: top left;
}

::view-transition-old(escudo-club),
::view-transition-new(escudo-club) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(escudo-club) { opacity: 1; }
::view-transition-new(escudo-club) { opacity: 0; }


::view-transition-old(root) { animation: mov-sale-funde var(--mov-salida, 80ms) linear both; z-index: 1; mix-blend-mode: normal; }
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(chrome) { animation: none; opacity: 1; mix-blend-mode: normal; }
::view-transition-new(chrome) { animation: mov-entra-funde 60ms linear 200ms both; mix-blend-mode: normal; }
:root { --mov-viaje: 6px; }
:root[data-mov='atras'] { --mov-viaje: -6px; }


:root.mov-yendo body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  z-index: 2147483000;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  transform-origin: left;
  pointer-events: none;
  animation: mov-yendo 900ms var(--ease) 150ms both;
}
@keyframes mov-yendo {
  0% { transform: scaleX(0); opacity: 1; }
  70% { transform: scaleX(0.8); opacity: 1; }
  100% { transform: scaleX(0.92); opacity: 0.85; }
}

.nav-sub__item:active, .franja-club__sub:active { color: var(--nav-aqui, var(--accent)); transition-duration: 0s; }

:root.mov-yendo :is(.nav-sub__item, .nav-primary__item, .franja-club__sub) { transition: none !important; }

@keyframes mov-sale-funde  { to   { opacity: 0; } }
@keyframes mov-sale-corre  { to   { transform: translateY(calc(-1 * var(--mov-viaje, 10px))); } }
@keyframes mov-entra-funde { from { opacity: 0; } }
@keyframes mov-entra-corre { from { transform: translateY(var(--mov-viaje, 10px)); } }

:root[data-mov='atras'] { --mov-viaje: -10px; }


:root[data-pantalla='partido'] .pitch__lienzo {
  animation: mov-reflectores var(--dur-escena) var(--ease-entrada) backwards;
}

:root:not(.sin-vt)[data-pantalla='partido'] .pitch__lienzo {
  animation-delay: var(--dur-pantalla);
}

@keyframes mov-reflectores {
  from { opacity: 0; transform: scale(0.985); }
}


.action .i { transition: transform var(--dur-fast) var(--ease); }
@media (hover: hover) {
  .action:hover .i { transform: translateX(2px); }
}
.action:active .i { transform: translateX(0); }


.marcador__cifra[data-gol='true'] {
  animation: mov-gol 420ms var(--ease-entrada);
}

@keyframes mov-gol {
  0%   { transform: scale(1); }
  24%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.clubes--entra .carta {
  animation: mov-carta-entra var(--mov-cambio) var(--mov-curva) both;
  animation-delay: min(calc(var(--fila, 0) * 26ms), 100ms);
}

@keyframes mov-carta-entra {
  from { opacity: 0; transform: translateY(6px); }
}

.paso--entra .nacion,
.paso--entra .liga {
  animation: mov-carta-entra var(--mov-cambio) var(--mov-curva) both;
  animation-delay: min(calc(var(--fila, 0) * 26ms), 100ms);
}

.pie--entra > * {
  animation: mov-pie-entra var(--mov-cambio) var(--mov-curva) both;
}

@keyframes mov-pie-entra {
  from { opacity: 0; transform: translateY(4px); }
}

.btn:active:not([disabled]),
.icon-btn:active,
.segmented__btn:active,
.pais:active {
  filter: brightness(0.86);
  transition-duration: 0s;
}
.segmented__btn:active:not([aria-pressed='true']) { background: var(--bg-hover); }


.data-table--entra tbody {
  animation: mov-carta-entra var(--mov-cambio) var(--mov-curva);
}

[data-contesta] {
  animation: mov-contesta var(--mov-cambio) var(--mov-curva);
}

@keyframes mov-contesta {
  from { opacity: 0; transform: translateY(3px); }
}

:where(.action, .btn):not([disabled]):active { scale: 0.97; transition: scale 0s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :where(.sobre, .diario__seccion, .pre__kpi, .proximo__rival, .despa__ir-paso, .tile) {
    transition: translate var(--dur) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  }
  :where(.sobre, .diario__seccion, .pre__kpi, .proximo__rival, .despa__ir-paso, .tile):hover { translate: 0 -2px; }
  :where(.sobre, .diario__seccion, .pre__kpi, .proximo__rival, .despa__ir-paso, .tile):active { translate: 0 0; transition-duration: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.action, .btn):not([disabled]):active { scale: none; }
}



:where(.dialogo) {
  opacity: 0;
  transform: translateY(4px) scale(0.98);
  transition:
    opacity var(--dur-fast) var(--ease-salida),
    transform var(--dur-fast) var(--ease-salida),
    overlay var(--dur-pantalla) allow-discrete,
    display var(--dur-pantalla) allow-discrete;
}

:where(.dialogo):not([open]) { pointer-events: none; }

:where(.dialogo)::backdrop {
  opacity: 0;
  transition:
    opacity var(--dur-pantalla) var(--ease-salida),
    overlay var(--dur-pantalla) allow-discrete,
    display var(--dur-pantalla) allow-discrete;
}

.dialogo[open] {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-pantalla) ease-out,
    transform var(--dur-pantalla) var(--ease-entrada),
    overlay var(--dur-pantalla) allow-discrete,
    display var(--dur-pantalla) allow-discrete;
}

.dialogo[open]::backdrop {
  opacity: 1;
  transition:
    opacity var(--dur-escena) var(--ease),
    overlay var(--dur-escena) allow-discrete,
    display var(--dur-escena) allow-discrete;
}

@starting-style {
  .dialogo[open] { opacity: 0; transform: translateY(4px) scale(0.98); }
  .dialogo[open]::backdrop { opacity: 0; }
}

:where(dialog:not(.dialogo)) {
  transition:
    opacity var(--dur-fast) var(--ease-salida),
    overlay var(--dur-pantalla) allow-discrete,
    display var(--dur-pantalla) allow-discrete;
}
:where(dialog:not(.dialogo, [open])) { opacity: 0; pointer-events: none; }
:where(dialog:not(.dialogo))::backdrop {
  transition:
    opacity var(--dur-pantalla) var(--ease-salida),
    overlay var(--dur-pantalla) allow-discrete,
    display var(--dur-pantalla) allow-discrete;
}
:where(dialog:not(.dialogo, [open]))::backdrop { opacity: 0; }
:where(dialog:not(.dialogo)[open]) {
  opacity: 1;
  transition:
    opacity var(--dur-pantalla) ease-out,
    overlay var(--dur-pantalla) allow-discrete,
    display var(--dur-pantalla) allow-discrete;
}
:where(dialog:not(.dialogo)[open])::backdrop {
  opacity: 1;
  transition:
    opacity var(--dur-escena) var(--ease),
    overlay var(--dur-escena) allow-discrete,
    display var(--dur-escena) allow-discrete;
}
@starting-style {
  :where(dialog:not(.dialogo)[open]) { opacity: 0; }
  :where(dialog:not(.dialogo)[open])::backdrop { opacity: 0; }
}



:root.sin-vt:not(.mov-hecho) main:not([data-pinta-js]),
:root.sin-vt:not(.mov-hecho):not(.sin-pintar) main[data-pinta-js] {
  animation: mov-entra-funde var(--dur-pantalla) ease-out both,
             mov-entra-corre var(--dur-pantalla) var(--ease-entrada) both;
}

:root.sin-vt.sin-pintar main[data-pinta-js] { opacity: 0; }

:root.sin-vt.sin-pintar :is(
  .chrome .crest,
  .chrome .comp-marca,
  .chrome .clock,
  .chrome .action,
  .chrome__utiles,
  .marcadores) { opacity: 0; }

:root.sin-vt.sin-pintar .chrome__row--primary::before { opacity: 0; }

:root.sin-vt.sin-pintar .chrome .nav-primary__chev { display: none; }

:root.sin-vt:not(.mov-hecho):not(.sin-pintar) :is(
  .chrome .crest,
  .chrome .comp-marca,
  .chrome .clock,
  .chrome .action,
  .chrome .nav-primary__chev,
  .chrome__utiles,
  .marcadores),
:root.sin-vt:not(.mov-hecho):not(.sin-pintar) .chrome__row--primary::before {
  animation: mov-entra-funde var(--dur-pantalla) ease-out both;
}


@media (prefers-reduced-motion: reduce) {
  :root.mov-yendo body::after { animation: none; opacity: 0; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }

  :root.sin-vt:not(.mov-hecho) main:not([data-pinta-js]),
  :root.sin-vt:not(.mov-hecho):not(.sin-pintar) main[data-pinta-js],
  :root.sin-vt:not(.mov-hecho):not(.sin-pintar) :is(
    .chrome .crest, .chrome .comp-marca, .chrome .clock, .chrome .action,
    .chrome .nav-primary__chev, .chrome__utiles, .marcadores),
  :root.sin-vt:not(.mov-hecho):not(.sin-pintar) .chrome__row--primary::before,
  :root[data-pantalla='partido'] .pitch__lienzo,
  .marcador__cifra[data-gol='true'],
  .clubes--entra .carta,
  .paso--entra .nacion,
  .paso--entra .liga,
  .pie--entra > * { animation: none !important; }

  @media (hover: hover) {
    .action:hover .i { transform: none; }
  }
}

html.en-modo-club .franja-club { view-transition-name: franja; }
::view-transition-group(franja) { animation-duration: var(--mov-cambio, 320ms); animation-timing-function: var(--mov-curva); }
::view-transition-old(franja) { animation: mov-sale-funde var(--mov-salida, 80ms) linear both; }
::view-transition-new(franja) { animation: none; }
html:not(.sin-vt) .franja-club { animation: none; }

html.en-modo-club:not(.sin-vt) main .tarjeta[class*="__hero"] { animation: none; }

:root.mov-llegando main, :root.mov-llegando main * { animation-play-state: paused !important; }

.ipad__vista[aria-current='page'] { view-transition-name: vista-portal; }
::view-transition-group(vista-portal) { animation-duration: var(--mov-cambio, 320ms); animation-timing-function: var(--mov-curva); }
::view-transition-old(vista-portal), ::view-transition-new(vista-portal) { width: 100%; height: 100%; object-fit: none; }

::view-transition-group(pastilla-menu) { animation-duration: var(--mov-pastilla-menu, 220ms); animation-timing-function: var(--mov-curva); }
::view-transition-old(pastilla-menu), ::view-transition-new(pastilla-menu) { width: 100%; height: 100%; object-fit: none; }
:root.menu-viaja .franja-club__sub { transition: none !important; }

.cortina-modales { position: fixed; inset: 0; z-index: 94; background: var(--velo, hsl(0 0% 0% / 0.82)); pointer-events: none; opacity: 1; transition: opacity var(--dur-escena, 320ms) var(--ease, ease); }
.cortina-modales--fuera { opacity: 0; }

