@layer components {
  /* ── RESULTS REVEAL BANNER (Top 10 / Top 5) ── */
  .reveal-banner {
    display: flex;
    align-items: flex-start;
    gap: var(--s4);
    padding: var(--s6);
    border-radius: var(--r-lg);
    margin-bottom: 24px;
  }

  .reveal-banner-success {
    background: linear-gradient(135deg, var(--forest-50) 0%, #fff 70%);
    border: 1px solid var(--forest-500);
  }

  .reveal-banner-empty {
    background: var(--forest-50);
    border: 1px solid var(--forest-100);
  }

  .reveal-banner-embargo {
    background: linear-gradient(135deg, var(--amber-50) 0%, #fff 70%);
    border: 1px solid var(--amber-300);
  }

  .reveal-banner-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--amber-500);
  }

  .reveal-banner-content { flex: 1; min-width: 0; }

  .reveal-banner-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--forest-900);
    margin-bottom: var(--s1);
  }

  .reveal-banner-body {
    font-size: 15px;
    line-height: 1.5;
    color: var(--forest-700);
    margin-bottom: var(--s5);
  }

  .reveal-banner-empty .reveal-banner-body,
  .reveal-banner-embargo .reveal-banner-note:last-child {
    margin-bottom: 0;
  }

  .reveal-banner-note {
    font-size: 13px;
    line-height: 1.5;
    color: var(--amber-700);
    background: var(--amber-100);
    border-radius: var(--r-md);
    padding: var(--s3) var(--s4);
    margin-bottom: var(--s4);
  }

  .reveal-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--s4);
  }

  .reveal-banner-photo {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .reveal-banner-photo-preview {
    aspect-ratio: 4/3;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--ink-950);
    margin-bottom: var(--s2);
  }

  .reveal-banner-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .reveal-banner-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .reveal-banner-photo-placeholder svg { width: 28px; height: 28px; }

  .reveal-banner-photo-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .reveal-banner-photo-category {
    font-size: 12px;
    color: var(--color-text-muted);
  }

  .reveal-banner-photo:hover .reveal-banner-photo-title { color: var(--forest-700); }

  @media (max-width: 640px) {
    .reveal-banner { flex-direction: column; }
    .reveal-banner-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  }
}
