/* AetherStream — site. Identité de l'app : thème « Matrix » (vert #00FF41,
   cyan #00CED1). Aucune police web : polices système, rien n'est chargé chez
   un tiers (cohérent avec la politique de confidentialité). */
:root {
  --bg: #0b0f0c;
  --surface: #121814;
  --text: #e6ede8;
  --muted: #9fb0a5;
  --accent: #00ff41;
  --accent-2: #00ced1;
  --line: #1f2a23;
  --radius: 10px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8f6;
    --surface: #ffffff;
    --text: #0f1a13;
    --muted: #4c5c52;
    /* Le vert pur est illisible sur fond clair : même teinte, assombrie. */
    --accent: #007a20;
    --accent-2: #00797c;
    --line: #dde5df;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  /* Un chemin ou une adresse trop longs ne débordent jamais sur téléphone. */
  overflow-wrap: break-word;
}
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .92em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .05em .35em;
}

.top, .page, .foot { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .04em;
}
.brand img { border-radius: 8px; }
.langs { color: var(--muted); font-size: .92rem; }
.langs [aria-current] { color: var(--accent); font-weight: 700; }

.page { padding-top: 28px; padding-bottom: 40px; }
h1 { font-size: 2rem; line-height: 1.2; margin: .2em 0 .4em; }
.page-index h1 { font-size: 2.6rem; color: var(--accent); letter-spacing: .03em; }
h2 {
  font-size: 1.25rem; margin: 2em 0 .6em; padding-top: .9em;
  border-top: 1px solid var(--line);
}
ul { padding-inline-start: 1.2em; }
li { margin: .35em 0; }
li::marker { color: var(--accent); }
strong { color: var(--text); }

.chooser { list-style: none; padding: 0; }
.chooser li { margin: .6em 0; }

.foot {
  border-top: 1px solid var(--line);
  padding-top: 18px; padding-bottom: 32px;
  color: var(--muted); font-size: .9rem;
}
.foot p { margin: .4em 0; }
.copy { opacity: .8; }
