/* ── Геймдев: слева карточка проекта Unreal, в центре диалог с помощником ── */

.game__body {
  grid-template-columns: 320px minmax(0, 1fr);
}

.game__title {
  font-size: var(--text-md);
  font-weight: 600;
}

.game__side,
.game__chat {
  display: flex;
  flex-direction: column;
}

.game__side .panel__content {
  flex: 1;
  user-select: text;
  -webkit-user-select: text;
}

/* Диалог - главное в разделе: лента не шире удобной для чтения строки. */
.game__chat .chat {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.game__project {
  overflow: hidden;
  font-size: var(--text-md);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game__facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  margin: 4px 0 0;
  font-size: var(--text-xs);
  line-height: 1.5;
}

.game__facts dt {
  color: var(--bone-faint);
}

.game__facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.game__abilities {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--bone-faint);
  font-size: var(--text-xs);
  line-height: 1.5;
  list-style: none;
}

.game__abilities li {
  padding-left: 14px;
  border-left: 2px solid var(--slate-600);
}

.game__abilities li.is-ready {
  border-left-color: var(--patina);
  color: var(--bone-dim);
}

@media (max-width: 900px) {
  .game__body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .game__side {
    max-height: 38vh;
  }
}
