/* «Entrar» y «Mis invitaciones» con el aspecto de la portada B: una tarjeta blanca sobre el papel. Usa las fichas de
   portada/css/tokens.css (colores, letras, radios y sombras) y los botones de portada/css/componentes.css, enlazados sin
   tocarlos; aquí solo lo propio de estas páginas, todo bajo .listachan. Contraste AA con las fichas medidas en
   test/portada-css.test.js: la tinta sobre la tarjeta y el papel (14,3:1), la tinta suave (7,6:1), el texto del botón
   sobre el acento (5,2:1) y la tinta del acento sobre la tarjeta (6,9:1); los bordes de campos y tarjetas, en tinta
   suave (más de 3:1). Dianas de 44 px o más. */

.listachan .acceso { min-height: 100svh; display: grid; place-items: start center; align-content: start; padding: 32px var(--margen) 48px; }
.listachan .acceso-hoja {
  width: 100%; max-width: 560px; display: grid; gap: 20px; padding: 28px clamp(20px, 5vw, 36px) 32px;
  background: var(--tarjeta); border-radius: var(--radio-tarjeta); box-shadow: var(--sombra-tarjeta);
}
.listachan .acceso-hoja h1 { font: 700 clamp(2rem, 1.4rem + 2vw, 2.75rem)/1.05 var(--letra-titulo); letter-spacing: var(--tracking-titular); text-wrap: balance; }
/* Los títulos de las tarjetas (los cumpleañeros) se reparten como el <h1>: sin un carácter suelto debajo («岁» en chino) */
.listachan .acceso-hoja h2 { font: 700 clamp(1.5rem, 1.2rem + 1vw, 1.875rem)/1.1 var(--letra-titulo); letter-spacing: var(--tracking-titular); text-wrap: balance; }
/* La marca, arriba de la hoja: «Listachán» en Coiny con el globo pequeño delante (26 px: cabe en los 44 px del enlace) */
.listachan .acceso-marca {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--tinta); font: 400 1.375rem/1 var(--letra-marca); text-decoration: none;
}
.listachan .acceso-globo { flex: none; width: 26px; height: auto; }
.listachan .acceso-entradilla { color: var(--tinta-suave); }
.listachan .acceso-ingles { color: var(--tinta-suave); font-size: .875rem; } /* la 404: el inglés, tras la explicación y más pequeño */

/* Los dos caminos de la puerta: tarjetas grandes, todo el bloque es la diana */
.listachan .acceso-opciones { display: grid; gap: 14px; }
.listachan .acceso-opcion {
  display: grid; gap: 4px; min-height: 88px; padding: 16px 20px;
  border: 1.5px solid var(--tinta-suave); border-radius: var(--radio-tarjeta);
  background: var(--papel); color: var(--tinta); text-decoration: none; transition: background-color .2s ease;
}
.listachan .acceso-opcion-titulo { font: 700 1.375rem/1.15 var(--letra-titulo); letter-spacing: -.02em; }
.listachan .acceso-opcion-ayuda { color: var(--tinta-suave); font-size: 1rem; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) {
  .listachan .acceso-opcion:hover { background: var(--menta); }
}
@media (prefers-reduced-motion: no-preference) {
  .listachan .acceso-opcion { transition: transform var(--muelle-t) var(--muelle), background-color .2s ease; }
  .listachan .acceso-opcion:active { transform: scale(.98); transition-duration: .1s; }
}

/* El formulario del correo */
.listachan .acceso-form { display: grid; gap: 16px; }
.listachan .acceso-campo { display: grid; gap: 6px; }
.listachan .acceso-campo label { font-weight: 700; }
.listachan .acceso-campo input, .listachan .enlace-cuadro {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--tinta-suave); border-radius: 14px;
  background: var(--tarjeta); color: var(--tinta); font: 400 1.0625rem/1.3 var(--letra);
}
/* Un campo con problema se ve marcado (no solo lo dice aria-invalid), con el borde del aviso de error */
.listachan .acceso-campo input[aria-invalid="true"] { border: 2px solid var(--acento-tinta); }
.listachan .enlace-cuadro { font: 500 .9375rem/1.3 var(--letra-mono); }
.listachan .acceso .boton { justify-self: start; padding-inline: 24px; }
.listachan .acceso .boton[aria-disabled="true"] { cursor: progress; }
/* En el móvil la píldora toma el ancho de la hoja y su texto no se parte */
@media (max-width: 479px) {
  .listachan .acceso .boton { justify-self: stretch; padding-inline: 12px; white-space: nowrap; }
}
/* La línea del estado: vacía, sin relleno ni fondo, pero en la página (una región viva oculta no se anuncia) */
.listachan .acceso-estado { padding: 12px 14px; border-radius: 14px; background: var(--menta); color: var(--tinta); }
.listachan .acceso-estado:empty { padding: 0; background: none; }
.listachan .acceso-estado[data-tono="error"] { background: var(--tarjeta); border: 2px solid var(--acento-tinta); }

/* Los botones secundarios (Copiar, Abrir, Salir, Probar con otro correo) y la vuelta atrás */
.listachan .acceso-secundario {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px 18px;
  border: 1.5px solid var(--tinta-suave); border-radius: var(--radio-pildora); background: var(--tarjeta); color: var(--tinta);
  font: 600 1rem/1.2 var(--letra); text-decoration: none; cursor: pointer;
}
/* min-width: un texto corto («Back», «返回») no deja la diana en menos de 44 px */
.listachan .acceso-volver { justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--acento-tinta); font-weight: 700; }

/* La primera capa de privacidad (src/legal/primera-capa.js): pequeña, debajo del formulario, con contraste AA */
.listachan .primera-capa { margin: 12px 0 0; font-size: .875rem; line-height: 1.45; color: var(--tinta-suave); overflow-wrap: anywhere; }
.listachan .primera-capa a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* «Mis invitaciones»: una tarjeta por invitación, con sus dos enlaces y su borde a la vista sobre la hoja blanca */
.listachan .acceso-tarjetas { display: grid; gap: 18px; }
.listachan .acceso-tarjeta { display: grid; gap: 10px; padding: 18px; background: var(--papel); border: 1.5px solid var(--tinta-suave); border-radius: var(--radio-tarjeta); }
.listachan .acceso-dato { color: var(--tinta-suave); }
.listachan .acceso-aviso { color: var(--tinta); font-weight: 700; }
.listachan .acceso-enlace { display: grid; gap: 6px; }
.listachan .acceso-enlace h3 { font-size: 1rem; }
.listachan .acceso-botones { display: flex; flex-wrap: wrap; gap: 8px; }
.listachan .copiar-estado { flex-basis: 100%; color: var(--tinta-suave); font-size: .9375rem; }
.listachan .acceso-salir { justify-self: start; }

/* El desistimiento: el enlace de cada tarjeta, discreto pero a la vista (decisión del dueño del 15/10/2026): texto subrayado en
   la tinta suave, a la izquierda y con diana de 44 px; el botón de confirmar, en la tinta del acento sobre la tarjeta (6,9:1) con
   su filete, para que no se confunda con el de compra */
.listachan .acceso-desistir {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta-suave);
  font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .listachan .acceso-desistir:hover { color: var(--tinta); }
}
.listachan .acceso-plazos { margin-top: 6px; font-size: .9375rem; font-weight: 600; line-height: 1.45; } /* las fechas, sobre el enlace */
.listachan .acceso-fecha { white-space: nowrap; } /* una fecha en chino («11月16日») no se parte al final de la línea */
.listachan .acceso .boton-peligro { background: var(--tarjeta); color: var(--acento-tinta); border: 2px solid var(--acento-tinta); }
@media (hover: hover) and (pointer: fine) {
  .listachan .acceso .boton-peligro:hover { background: var(--papel); }
}

/* Los enlaces legales bajo la hoja (src/legal/enlaces.js), en la tinta suave y con dianas de 44 px de alto y de ancho */
.listachan .acceso-legales { width: 100%; max-width: 560px; margin-top: 16px; }
.listachan .acceso-legales ul { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 20px; }
.listachan .acceso-legales a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--tinta-suave);
  font-size: .9375rem; font-weight: 600;
}

/* La línea de contacto bajo los enlaces legales (src/portada/contacto.js), centrada como ellos */
.listachan .acceso > .contacto { width: 100%; max-width: 560px; margin-top: 4px; text-align: center; }
