.wall-page {
  --measure: 42rem;
  --gold: #c4a046;
  --silver: #9a9a9a;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lede a,
.wall-cta-copy a,
.apps-section h2 a {
  font-family: inherit;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.lede a:hover,
.lede a:focus-visible,
.wall-cta-copy a:hover,
.wall-cta-copy a:focus-visible,
.apps-section h2 a:hover,
.apps-section h2 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.wall-spots {
  margin: 0.7rem 0 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wall-tier,
.wall-cta-copy {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.wall-actions {
  gap: 0.65rem;
}

.wall-cta {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 0.45rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.wall-cta-alt {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.wall-cta:hover,
.wall-cta:focus-visible {
  text-decoration: none;
  opacity: 0.88;
}

.at-mosaic {
  display: grid;
  margin: 0.35rem 0 0;
  width: 100%;
  max-width: 26rem;
  gap: 0.14rem;
}

.at-cell {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 50%;
}

.at-cell.is-gap {
  visibility: hidden;
}

.at-cell.is-empty {
  background: #ececec;
  box-shadow: inset 0 0 0 1px #e2e2e2;
}

.at-cell.is-filled {
  display: block;
  background: var(--line);
  text-decoration: none;
}

.at-cell.is-filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.at-cell.is-founding {
  box-shadow: 0 0 0 1.5px var(--gold);
}

.at-cell.is-early {
  box-shadow: 0 0 0 1.5px var(--silver);
}

.at-cell.is-filled:hover,
.at-cell.is-filled:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.latest,
.overflow,
.made-by {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.latest-item,
.overflow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 3.2rem;
  text-decoration: none;
  color: inherit;
}

.latest-item img,
.overflow-item img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--line);
}

.latest-item span,
.overflow-item span {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  max-width: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-item:hover span,
.latest-item:focus-visible span,
.overflow-item:hover span,
.overflow-item:focus-visible span {
  color: var(--ink);
}

.made-by-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.made-by-item img {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 22%;
}

.made-by-item span {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
}

.made-by-item:hover span,
.made-by-item:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.wall-loading {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 520px) {
  .at-mosaic {
    max-width: 100%;
    gap: 0.1rem;
  }
}

/* Background (spots 501+): dimmer so the X stays readable */
.at-cell.is-empty.is-bg {
  background: #f3f3f3;
  box-shadow: none;
}

.at-cell.is-filled.is-bg {
  opacity: 0.45;
  filter: grayscale(0.6);
}
