/* TuaLua 17: pantallas de plumas (rachas, ranking, muro de racha). Propuesta Claude Code.
   No cambia la estructura de cada pantalla: solo las lleva al mismo sistema
   que el home y el chat (DM Sans + Fraunces, sin MAYÚSCULAS, mismo botón de
   volver). Se carga al final del <head>, así gana a igual especificidad. */

body {
  font-family: var(--fuente) !important;
  background-color: var(--bg);
  -webkit-tap-highlight-color: transparent;
}
body button,
body input,
body select,
body textarea { font-family: inherit; }

/* Títulos: Fraunces en blanco (el teal queda para lo que se toca) */
body h1,
body .hero-title,
body .wall-title,
body .header h1 {
  font-family: var(--fuente-titulo);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
body .hero-title { font-size: 1.6rem; line-height: 1.2; }

/* Etiquetas en sentence case, sin tracking */
body .mechanic-title,
body .plumas-title,
body .plumas-meta,
body .plumas-meta .tier-label,
body .tier-badge,
body .section-label,
body .badge {
  text-transform: none;
  letter-spacing: normal;
}
body .mechanic-title,
body .plumas-title,
body .section-label {
  font-size: 0.95rem;
  font-weight: 600;
}

/* Volver: mismo botón que el chat, respetando la zona segura */
.tl-volver {
  position: fixed;
  top: calc(12px + var(--seguro-arriba));
  left: 12px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(21, 34, 41, 0.86);
  border: 1px solid var(--linea);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tl-volver:hover { border-color: var(--teal); }
.tl-volver:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

a:focus-visible,
button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Muro de racha: botones con la misma fuente y el mismo botón lleno del chat */
body .btn-primary,
body .btn-secondary {
  font-family: var(--fuente);
  font-weight: 600;
  min-height: 48px;
  border-radius: var(--radio-m);
}
body .btn-primary {
  background: var(--teal);
  box-shadow: none;
}
