/* Real related content, kept separate from personal data and original list counts. */
.round-games,
.round-reading {
  margin-block: 20px;
  padding: 0;
}
.round-games > h2,
.round-reading > h2 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 12px;
}
[data-round-game-list] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}
.round-game {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.round-game-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2.2;
  overflow: hidden;
  border-radius: 4px;
}
.round-game-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.round-game-copy {
  display: block;
  min-width: 0;
  padding: 8px 0 10px;
}
.round-game small {
  font-size: 12px;
  line-height: 1.5;
  text-transform: capitalize;
}
.round-game h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 5px 0;
  overflow-wrap: anywhere;
}
.round-game p {
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0 0;
}
.round-reading ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.round-reading li {
  min-width: 0;
}
.round-reading li > a {
  display: block;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
  border-inline-start: 2px solid color-mix(in srgb, currentColor 28%, transparent);
}
.round-reading small {
  font-size: 12px;
  line-height: 1.5;
}
.round-reading h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 5px 0;
}
.round-reading p {
  font-size: 14px;
  line-height: 1.5;
  margin: 7px 0 0;
}
.round-game:hover,
.round-reading a:hover {
  background: color-mix(in srgb, currentColor 5%, transparent);
  text-decoration: none;
}
.round-game:focus-visible,
.round-reading a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
body > header a[data-current-page="true"],
nav[aria-label="Main"] a[data-current-page="true"] {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
body > header .identity-action[data-current-page="true"] {
  background: color-mix(in srgb, currentColor 10%, transparent);
  box-shadow: inset 0 -2px 0 currentColor;
}
@media (min-width: 768px) {
  .round-game-art {
    aspect-ratio: 3.5;
  }
  .round-reading {
    max-width: 760px;
  }
}

/* The original directory keeps all four complete article excerpts. */
body[data-design-site] .reading-directory .reading-summary {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
body[data-design-site] .reading-directory .reading-card h2 {
  -webkit-line-clamp: unset;
  max-height: none;
}
body > footer a[data-current-page="true"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
dialog.category-panel[data-filters] {
  height: fit-content;
  min-height: 0;
  max-height: calc(100dvh - 24px);
  color: var(--ink);
  background: var(--paper);
}
dialog.category-panel[data-filters] .category-links {
  min-height: 0;
  overflow: auto;
}
dialog.category-panel[data-filters] small {
  opacity: 1;
}
dialog.category-panel[data-filters] .category-number {
  flex: none;
  white-space: nowrap;
}

.round-reading {
  max-width: none;
}
dialog.category-panel[data-filters] .category-links a {
  flex-shrink: 0;
}

body[data-design-site="Game68"][data-design-page="home"] .focus-spread > [data-reading-preview] {
  grid-column: 1/-1 !important;
  margin-block: 8px;
}
.round-game {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.round-game-art {
  border-radius: 0;
}
.round-game-copy h3 {
  font-family: Georgia, serif;
  font-weight: 500;
}
.round-reading li > a {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.round-reading ol {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 600px) {
  .round-reading ol {
    grid-template-columns: 1fr;
  }
  .round-reading li:nth-child(2) {
    margin-inline-start: 18px;
  }
}

/* One native navigation rail stays available beside the original wordmark. */
body[data-design-site="Game68"] .site-header .header-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
body[data-design-site="Game68"] .site-header .wordmark {
  flex: 0 0 auto;
  margin-inline-end: 0;
}
body[data-design-site="Game68"] .site-header .primary-navigation {
  display: flex !important;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  align-items: center;
  overflow-x: auto;
  gap: 4px;
  white-space: nowrap;
}
body[data-design-site="Game68"] .site-header .primary-navigation a {
  flex: none;
  white-space: nowrap;
  font-size: 14px;
}
body[data-design-site="Game68"] .site-header [data-open-filters] {
  flex: 0 0 44px;
}

body[data-design-site="Game68"] .site-header .primary-navigation a {
  text-decoration: none;
}
body[data-design-site="Game68"] .site-header .primary-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
