.statement code {
  overflow-wrap: anywhere;
}

.gallery {
  margin-top: 2em;
}

.artwork-link {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
}

.artwork-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.artwork-title {
  word-break: break-word;
}

.lightbox-frame-wrapper {
  background: var(--color-surface);
}

.lightbox-text {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1.5em;
  overflow: auto;
  background: var(--color-surface);
  color: var(--color-fg);
  font-family: "SF Mono", Menlo, "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1;
  white-space: pre;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.typed-grid {
  display: block;
}

.typed-row {
  display: block;
  height: 1em;
  line-height: 1;
  white-space: nowrap;
}

.typed-cell {
  display: inline-block;
  width: 0.6em;
  height: 1em;
  line-height: 1;
  white-space: pre;
  text-align: center;
  vertical-align: top;
  overflow: hidden;
}

.lightbox-text.is-centered {
  align-items: center;
}

.lightbox-frame-wrapper:where(:fullscreen, :-webkit-full-screen, .is-pseudo-fullscreen) .lightbox-text {
  background: #fff;
  padding: 2rem;
}

.lightbox-frame-wrapper[hidden],
.lightbox-btn[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .lightbox-text {
    padding: 0.9em;
  }
}
