  /* ---------- Result cards ---------- */

  #nameResults {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.75rem;
  }

  #nameResults article {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.75rem 1.4rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(90, 130, 60, 0.10);
    border: 1px solid #eaf1e0;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    animation: pngPop 0.45s ease both;
  }
  #nameResults article:nth-child(2) { animation-delay: 0.08s; }
  #nameResults article:nth-child(3) { animation-delay: 0.16s; }

  #nameResults article:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(90, 130, 60, 0.15);
  }

  @keyframes pngPop {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  #nameResults h2 {
    font-size: 1.7rem;
    margin: 0.25rem 0 0.9rem;
    color: #4a7a35;
    line-height: 1.15;
    font-weight: 800;
  }

  #nameResults article > p:first-of-type {
    color: #4a5a4a;
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0 0 0.9rem;
  }

  #nameResults article em {
    display: inline-block;
    color: #b48ac9;
    font-size: 0.92rem;
    line-height: 1.45;
    background: #f7f1fb;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    font-style: italic;
  }

  #nameResults article p:has(em) { margin: 0.4rem 0 1.2rem; }

  #nameResults button {
    margin-top: auto;
    background: transparent;
    color: #7cb342;
    border: 2px solid #7cb342;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    align-self: center;
    transition: all 0.18s ease;
  }
  #nameResults button:hover {
    background: #7cb342;
    color: #fff;
  }

  .png-loading {
    text-align: center;
    color: #6b7a6b;
    font-style: italic;
    padding: 1rem;
  }

  @media (max-width: 520px) {
    .png-hero { padding: 2rem 1rem 1.5rem; border-radius: 22px; }
    #nameResults { gap: 1rem; }
  }