[data-game-copy][hidden] {
  display: none;
}

.website-copy-intro {
  margin-block: 1.5rem;
  overflow-wrap: anywhere;
}

.game-copy-section {
  max-width: 72ch;
  overflow-wrap: anywhere;
}

.game-copy-section p {
  white-space: pre-line;
  line-height: 1.72;
}

.game-copy-section + .game-copy-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.game-details-head [data-game-copy='intro'] {
  overflow-wrap: anywhere;
}

.game-screenshots .screenshot-grid-joe {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.screenshot-grid-joe figure {
  grid-column: span 2;
  max-width: none;
}

.screenshot-grid-joe figure:nth-child(-n+2) {
  grid-column: span 3;
}

.screenshot-grid-joe img {
  display: block;
}

@media (max-width: 740px) {
  .game-screenshots .screenshot-grid-joe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-grid-joe figure:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 460px) {
  .game-screenshots .screenshot-grid-joe {
    grid-template-columns: minmax(0, 1fr);
  }
}

.game-feature .detail-controls {
  margin: 12px 0 0;
  font-size: .875rem;
  color: var(--muted);
}

.detail-optional {
  margin-top: .7rem;
  max-width: 56ch;
  font-size: .875rem;
}

.detail-optional summary {
  cursor: pointer;
  width: fit-content;
  color: var(--cyan);
}

.detail-optional p {
  line-height: 1.6;
  margin: .6rem 0 0;
}

.detail-optional a, .detail-credits a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.game-feature .game-about .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 34ch), 1fr));
  gap: 1.5rem 3rem;
}

.game-feature .game-copy-section + .game-copy-section {
  margin: 0;
  padding: 0;
  border: 0;
}

.detail-credits {
  border-top: 1px solid var(--line);
  padding-block: 1.8rem;
}

.detail-credits h2 {
  font-size: 1.2rem;
  margin: 0 0 .7rem;
}

.detail-credits ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}


.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1rem 0 .65rem;
}
.detail-tags > span {
  padding: .25rem .55rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
}
.detail-tags > [data-page-field="preview-label"] {
  color: var(--cyan);
}
.detail-tags > span:empty {
  display: none;
}
