:root {
      --gap: 16px;
      --bg: #0b0c10;
      --card: #111319;
      --border: rgba(255,255,255,.12);
    }

    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: var(--bg);
      color: white;
    }

    /* ===== Header centré (logo + menu en colonne) ===== */
    header {
      border-bottom: 1px solid var(--border);
      background: rgba(11, 12, 16, 0.92);
      backdrop-filter: blur(10px);
    }
    
    p {
      font-family: "Courier New", Courier, monospace;
    }
    
    .header-inner {
      width: 75%;
      margin: 0 auto;
      padding: 18px 0 14px;
      text-align: center;
    }

    /* Logo */
    .ascii-wrapper{
      margin-top: 10px;
      display: flex;
      justify-content: center;
    
      /* on empêche le scroll horizontal global */
      overflow-x: hidden;
    
      padding: 0 10px;
    }
    
    .ascii{
      margin: 0;
      white-space: pre;
      text-align: left;
    
      /* Police mono plus fiable sur mobile */
      font-family: "Courier New", Courier, monospace;
    
      font-size: 14px;
      line-height: 1;
      letter-spacing: 0;
    
      /* 🔥 La clé : on scale le bloc pour qu'il rentre */
      transform: scale(min(1, calc((100vw - 20px) / 1200)));
      transform-origin: top center;
    
      /* on évite que le pre prenne toute la place */
      width: max-content;
    }



    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: white;
      font-weight: 800;
      letter-spacing: .3px;
      font-size: 20px;
    }

    .logo-box {
      width: 42px;
      height: 42px;
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      font-size: 12px;
      opacity: .9;
    }

    /* Menu sous le logo */
    nav {
      margin-top: 12px;
    }

    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    nav a {
      color: rgba(255,255,255,.85);
      text-decoration: none;
      font-size: 14px;
      padding: 8px 10px;
      border: 1px solid transparent;
    }

    nav a:hover {
      color: white;
      border-color: var(--border);
    }

    /* ===== Galerie centrée à 75% ===== */
    main {
      width: 75%;
      margin: 0 auto;
      padding: 18px 0 28px;
    }

    @media (max-width: 900px) {
      .header-inner, main {
        width: 92%;
      }
    }

    /* Masonry "Pinterest" */
    .masonry {
      column-gap: var(--gap);
      column-count: 1;
    }

    @media (min-width: 600px)  { .masonry { column-count: 2; } }
    @media (min-width: 900px)  { .masonry { column-count: 3; } }
    @media (min-width: 1200px) { .masonry { column-count: 4; } }

    .item {
      break-inside: avoid;
      margin-bottom: var(--gap);
      background: var(--card);
      box-shadow: 0 10px 30px rgba(0,0,0,.35);
    }

    .item img {
      width: 100%;
      height: auto;
      display: block;
    }
    
    
    .site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;

  padding: 10px 0;
  text-align: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  /*color: black;*/
  background: black;
  /*border-top: 1px solid #ddd;*/
}
