/* One component size, full names, no horizontal strip or ellipsis. */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  grid-auto-rows: 156px;
  gap: 12px;
  overflow: visible;
  padding: 2px 0 5px;
}
.game-grid > .game {
  height: 156px;
  min-height: 156px;
  display: grid;
  grid-template-rows: 56px 1fr;
  justify-items: center;
  align-content: start;
  align-items: start;
  padding: 16px 10px 12px;
  gap: 12px;
  min-width: 0;
  border-radius: 10px;
}
.game-grid > .game > .game-art,
.game-grid > .game > .game-cover {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  box-sizing: border-box;
}
.game-grid > .game > .art-all {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}
.game-grid > .game > span:last-child {
  display: block;
  align-self: start;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.6;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
.game-art.game-cover {
  object-fit: contain;
  background: #fffefa;
  image-rendering: auto;
}
.catalog-games {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.catalog-games .catalog-game {
  display: flex;
  min-height: 100px;
  padding: 14px 12px;
  align-items: center;
  gap: 14px;
}
.catalog-games .catalog-game > .game-cover {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  flex: 0 0 56px;
  border-radius: 12px;
  object-fit: contain;
}
.catalog-games .catalog-game > span:last-child {
  min-width: 0;
  flex: 1;
  max-width: none;
  white-space: normal;
  text-overflow: clip;
  overflow: visible;
  text-align: left;
}
.catalog-game strong {
  font-size: 12px;
  line-height: 1.65;
  font-weight: 500;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: normal;
}
.catalog-game small {
  font-size: 10px;
  line-height: 1.6;
  white-space: normal;
}
.member > .game-cover {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  object-fit: contain;
}
@media (max-width: 650px) {
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
    grid-auto-rows: 156px;
    gap: 10px;
  }
  .game-grid > .game {
    padding: 16px 8px 12px;
  }
  .catalog-games {
    grid-template-columns: 1fr;
  }
  .catalog-games .catalog-game {
    min-height: 94px;
  }
  .catalog-game strong {
    font-size: 13px;
  }
}
