:root {
  --bg: #f2f7f3;
  --card: #ffffff;
  --text: #14231a;
  --muted: #55665b;
  --accent: #1b7a43;
  --accent-text: #ffffff;
  --ok: #0f5a2f;
  --border: #d3e0d7;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a13;
    --card: #17251c;
    --text: #eaf3ec;
    --muted: #9db3a4;
    --accent: #3fb870;
    --accent-text: #07140c;
    --ok: #7be0a3;
    --border: #28402f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 600px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { font-size: 1.55rem; line-height: 1.25; margin: 8px 0 6px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 22px; }
a { color: var(--accent); }
.volver { display: inline-block; margin-bottom: 8px; text-decoration: none; font-weight: 600; }

/* Botones grandes de la portada */
.big {
  display: block;
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
}
.big strong { display: block; font-size: 1.15rem; margin-bottom: 2px; }
.big span { font-size: .92rem; opacity: .92; }
.big:active { opacity: .85; }

/* Tarjetas */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.card h2 { display: flex; align-items: center; gap: 10px; }
.num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.hint { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }

/* Botones normales */
.btn {
  display: block;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-text);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:active { opacity: .85; }
.btn.ok { background: var(--ok); color: var(--accent-text); }
.btn.suave {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

/* Texto para copiar */
.etiqueta { font-weight: 700; margin: 0 0 6px; }
.texto {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0 0 12px;
  font-size: 1rem;
  user-select: text;
}
.bloque + .bloque { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }

/* Galería de pasos */
.galeria a { display: block; margin-bottom: 12px; }
.galeria img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.sin-foto {
  display: none;
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 10px;
}

/* Resumen de reivindicaciones */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 14px;
}
summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  list-style-position: outside;
}
details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 8px; }
details ul { margin: 8px 0 14px; padding-left: 20px; }
details li { margin-bottom: 6px; }
.fuente { color: var(--muted); font-size: .9rem; margin: 18px 0 0; }

/* Música */
.musica { margin-top: 26px; text-align: center; }
.musica button {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

footer { color: var(--muted); font-size: .85rem; margin-top: 28px; }
