:root { color-scheme: light dark; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem;
  line-height: 1.5;
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  word-break: break-all;
}

ul { list-style: none; padding: 0; margin: 0; }

li a {
  display: block;
  padding: 0.85rem 1rem;          /* big, thumb-friendly tap targets */
  margin-bottom: 0.5rem;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  border-radius: 0.6rem;
  text-decoration: none;
  color: inherit;
}

li a:hover, li a:focus-visible {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

/* folder / file hint */
li a[href$="/"]::before       { content: "📁  "; }
li a:not([href$="/"])::before { content: "📄  "; }
