/* One title for the two editions; the short games and animation stay separate. */
#games .life-shelf {
  position: relative;
  padding: 2px;
  background: var(--line);
  clip-path: var(--frame-cut);
}
#games .life-shelf-inner {
  background: #111c2d;
  clip-path: var(--frame-cut);
}
#games .life-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
}
#games .life-heading .game-icon { width: 48px; height: 48px; }
#games .life-heading h2, #games .life-heading h3 { font-size: 32px; line-height: 1.4; }
#games .keep-phrase { display: inline-block; }
#games .life-heading p { color: var(--muted); font-size: 18px; margin-top: 4px; }
#games .life-editions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
#games .life-edition { padding: 20px 28px; min-height: 104px; border-bottom: 0; }
#games .life-edition + .life-edition { border-left: 1px solid var(--line); }
#games .life-edition:focus-visible { outline-offset: -4px; }
#games .life-edition strong { font-size: 24px; color: var(--blue); }
#games .life-edition.expanded strong { color: #d2bce7; }
#games .life-edition .game-text > span { font-size: 16px; margin-top: 4px; }
#games .life-edition:hover strong { color: var(--accent); }
#games .small-games { margin-top: 32px; }
#games .small-games h2, #games .small-games h3 { color: var(--muted); font-size: 20px; margin-bottom: 12px; }
#games .small-game-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
#games .small-game-links .game-row { min-height: 112px; padding: 20px; border-bottom: 0; }
#games .small-game-links .game-row + .game-row { border-left: 1px solid var(--line); }
#games .small-game-links .game-icon { width: 32px; height: 32px; }
#games .small-game-links .game-text > span { font-size: 16px; margin-top: 4px; }
#games .animation-entry { margin-top: 24px; }
#games .animation-entry .game-row { min-height: 80px; padding: 16px 20px; border-bottom: 0; }
#games .animation-entry .game-icon { width: 28px; height: 28px; }
#games .animation-entry .game-text { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; }
#games .animation-entry .game-text > span { font-size: 16px; }
@media (max-width: 720px) {
  #games .life-heading { padding: 20px 16px; gap: 12px; }
  #games .life-heading .game-icon { width: 32px; height: 32px; }
  #games .life-heading h2, #games .life-heading h3 { font-size: 24px; }
  #games .life-heading p { font-size: 16px; }
  #games .life-editions, #games .small-game-links { grid-template-columns: minmax(0, 1fr); }
  #games .life-edition { padding: 16px 20px; min-height: 88px; gap: 12px; }
  #games .life-edition + .life-edition { border-left: 0; border-top: 1px solid var(--line); }
  #games .life-edition strong { font-size: 24px; }
  #games .small-games { margin-top: 28px; }
  #games .small-game-links .game-row { min-height: 96px; padding: 16px 8px; gap: 12px; }
  #games .small-game-links .game-row + .game-row { border-left: 0; border-top: 1px solid var(--line); }
  #games .animation-entry { margin-top: 20px; }
  #games .animation-entry .game-row { padding: 12px 8px; gap: 12px; }
}
