/* ── Acknowledgements Screen ────────────────────────── */

#screen-acknowledgements {
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}

.ack-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
  background: var(--surface);
  border-radius: var(--radius, 4px);
  border: 1px solid var(--border);
}

/* "Acknowledgements" is one unbreakable ~320px word in the pixel font;
   scale it down on narrow screens instead of clipping. */
.ack-container .page-header h2 {
  font-size: clamp(12px, 3.5vw, 18px);
  overflow-wrap: anywhere;
}

.ack-intro,
.ack-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 10px;
}

.ack-note {
  color: var(--text-dim);
}

.ack-section h3 {
  font-family: var(--font-pixel);
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}

.ack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px 16px;
}

.ack-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: var(--surface2, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius, 4px);
}

.ack-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  width: fit-content;
}

.ack-name:hover,
.ack-name:focus-visible {
  text-decoration: underline;
}

.ack-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .ack-grid {
    grid-template-columns: 1fr;
  }
}
